/* Tokens compartilhados das composições diurnas Evolua. */
body.theme-day, body.theme-minimal.theme-day {
  --dashboard-bg:#f6f5ef!important;
  --dashboard-card:#ffffff!important;
  --dashboard-line:#d4dacb!important;
  --dashboard-text:#152820!important;
  --dashboard-muted:#4b5d52!important;
  --dashboard-green:var(--evolua-green)!important;
  --dashboard-blue:var(--evolua-green)!important;
  --dashboard-series-0:var(--evolua-green)!important;
  --dashboard-series-1:#557e64!important;
  --dashboard-series-2:#778c5e!important;
  --evolua-paper:#f6f5ef;
  --evolua-paper-band:#eceee6;
  --evolua-surface:#ffffff;
  --evolua-surface-soft:#f9faf5;
  --evolua-surface-sage:#e8efe0;
  --evolua-surface-dark:var(--evolua-green);
  --evolua-surface-dark-2:var(--evolua-green-hover);
  --evolua-ink:#152820;
  --evolua-muted:#4b5d52;
  --evolua-green:#326653;
  --evolua-green-border:#63927e;
  --evolua-on-green:#f7fbf6;
  --evolua-on-green-muted:#dfede5;
  --evolua-green-hover:#294e42;
  --brand-primary:var(--evolua-green);
  --brand-primary-hover:var(--evolua-green-hover);
  --btn-primary-bg:var(--evolua-green);
  --btn-primary-border:var(--evolua-green);
  --btn-primary-hover:var(--evolua-green-hover);
  --evolua-lime:#ddedb1;
  --evolua-line:#d4dacb;
  --evolua-control-border:#96a599;
  --evolua-amber-bg:#fdf2dc;
  --evolua-amber-border:#e5cb94;
  --evolua-amber-text:#6b4b19;
}

/* Cor de ação compartilhada, inclusive nos controles legados. */
body.theme-day .primary,
body.theme-day #topicsCard .topicActions .blockReadingButton {
  background:var(--evolua-green)!important;
  border-color:var(--evolua-green)!important;
  color:var(--evolua-on-green)!important
}

body.theme-day .primary:hover,
body.theme-day #topicsCard .topicActions .blockReadingButton:hover {
  background:var(--evolua-green-hover)!important;
  border-color:var(--evolua-green-hover)!important;
  color:var(--evolua-on-green)!important
}

body.theme-day #mainContent, body.theme-day .evoluaMain {
  background:#f6f5ef!important;
  color:#152820
}

body.theme-day #mainContent, body.theme-day #evoluaSidebar, body.theme-day #userControl, body.theme-day .appDialogBackdrop .appDialog {
  font-family:"DM Sans",system-ui,-apple-system,sans-serif
}

body.theme-day #mainContent h1, body.theme-day #mainContent h2, body.theme-day #mainContent h3, body.theme-day #evoluaSidebar .evoluaBrandTitle, body.theme-day .appDialogBackdrop .appDialog h1, body.theme-day .appDialogBackdrop .appDialog h2, body.theme-day .appDialogBackdrop .appDialog h3 {
  font-family:Manrope,"DM Sans",system-ui,sans-serif;
  letter-spacing:-.02em
}

/* Shell, menu e largura de conteúdo iguais à referência. */
@media(min-width:851px) {
  body.theme-day .app:not(.cycleMode) #evoluaSidebar, body.theme-day .app.cycleMode #evoluaSidebar {
    width:248px!important;
    min-width:248px!important;
    max-width:248px!important;
    padding:16px 12px 62px!important;
    background:#fff!important;
    border-right:1px solid #d4dacb!important
  }
  body.theme-day .app.homeMode:has(#evoluaSidebar) {
    grid-template-columns:248px minmax(0,1fr)!important
  }
  body.theme-day .app.homeMode #evoluaSidebar {
    display:flex!important
  }
  body.theme-day .app.homeMode #mainContent {
    width:auto;
    max-width:none;
    margin:0;
    padding:20px 28px 34px!important
  }
  body.theme-day #mainContent:not(.homeMode #mainContent) {
    padding:20px 28px 34px!important
  }
  body.theme-day #userControl {
    left:12px!important;
    bottom:8px!important;
    width:224px!important;
    max-width:224px!important;
    gap:4px!important
  }
  body.theme-day #userControl .userAccountButton {
    flex:1 1 auto!important;
    min-width:0!important;
    padding:4px 7px!important
  }
  body.theme-day #userControl .userAdminButton {
    min-width:44px!important;
    min-height:44px!important;
    padding:0!important;
    justify-content:center!important
  }
  body.theme-day #userControl .userAdminButton .userAdminText {
    display:none!important
  }
  body.theme-day #userControl .themeDayNightToggle,
  body.theme-day #userControl .userLogoutButton {
    min-width:32px!important;
    height:32px!important;
    padding:0 7px!important
  }
}

body.theme-day #evoluaSidebar {
  background:#fff!important;
  color:#152820!important;
  border-color:#d4dacb!important
}

body.theme-day #evoluaSidebar .evoluaBrandTitle {
  color:#152820!important;
  font-size:16px!important;
  font-weight:800!important
}

body.theme-day #evoluaSidebar .evoluaBrandTagline {
  color:#4b5d52!important
}

body.theme-day #evoluaSidebar .evoluaBrandSymbol {
  color:var(--evolua-green)!important
}

body.theme-day #evoluaSidebar .evoluaNavItem {
  min-height:38px!important;
  padding:8px 10px!important;
  gap:9px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  color:#263a30!important;
  font:600 13px/1.35 "DM Sans",sans-serif!important
}

body.theme-day #evoluaSidebar .evoluaNavItem:hover {
  background:#f9faf5!important;
  color:#152820!important
}

body.theme-day #evoluaSidebar .evoluaNavItem.active {
  background:#e8efe0!important;
  border-color:#b8cda9!important;
  color:var(--evolua-green)!important
}

body.theme-day #evoluaSidebar .evoluaNavItem.active::before {
  display:none
}

body.theme-day #evoluaSidebar .evoluaSectionHeader {
  padding:6px 8px 8px!important;
  color:#4b5d52!important;
  font-size:10px!important;
  letter-spacing:.06em!important
}

body.theme-day #evoluaSidebar #subjects .subject {
  min-height:36px!important;
  padding:7px 8px 7px 34px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  color:#263a30!important
}

body.theme-day #evoluaSidebar #subjects .subject:hover {
  background:#f9faf5!important;
  border-color:#d4dacb!important
}

body.theme-day #evoluaSidebar .evoluaSidebarFooter {
  border-color:#d4dacb!important
}

body.theme-day #evoluaSidebar #themeToggleBtn {
  min-height:36px!important;
  padding:6px 9px!important;
  border-color:#d4dacb!important;
  background:#f9faf5!important;
  color:#263a30!important
}

body.theme-day #userControl {
  background:#fff!important;
  border-color:#d4dacb!important;
  color:#152820!important
}

body.theme-day #userControl button {
  background:#f9faf5!important;
  border-color:#d4dacb!important;
  color:#152820!important
}

body.theme-day #evoluaSidebar .sidebarEditalActive,
body.theme-day #evoluaSidebar #subjects .subject.currentSubject {
  background:#e8efe0!important;
  border-color:#b8cda9!important;
  color:var(--evolua-green)!important
}

body.theme-day #evoluaSidebar .sidebarEditalActive:hover {
  background:#dde8d3!important;
  border-color:#9fc08d!important;
  color:var(--evolua-green-hover)!important
}

body.theme-day #evoluaSidebar #sideGenerationPanel {
  padding:8px 10px!important;
  border:1px solid #d4dacb!important;
  border-radius:10px!important;
  background:#f9faf5!important;
  color:#152820!important
}


body.theme-day #evoluaSidebar .sideGenerationDot {
  background:var(--evolua-green)!important
}


@media(max-width:850px) {
  body.theme-day .evoluaMobileHeader {
    background:#f6f5ef!important;
    border-bottom:1px solid #d4dacb!important;
    color:#152820!important
  }
  body.theme-day .evoluaMobileBrand,
  body.theme-day .evoluaMobileBrandName {
    color:#152820!important
  }
  body.theme-day .evoluaMobileBrandDot,
  body.theme-day .evoluaMobileBrandSlogan {
    color:#4b5d52!important
  }
  body.theme-day .evoluaMobileHeader button.evoluaMobileNavToggle,
  body.theme-day .evoluaMobileHeader button.evoluaMobileHomeBtn,
  body.theme-day .evoluaMobileNavToggle,
  body.theme-day .evoluaMobileHomeBtn {
    background:#fff!important;
    border:1px solid #d4dacb!important;
    color:#152820!important;
    box-shadow:none!important
  }
  body.theme-day .evoluaMobileHeader button.evoluaMobileNavToggle:hover,
  body.theme-day .evoluaMobileHeader button.evoluaMobileHomeBtn:hover,
  body.theme-day .evoluaMobileNavToggle:hover,
  body.theme-day .evoluaMobileHomeBtn:hover {
    background:#e8efe0!important;
    border-color:var(--evolua-green)!important;
    color:var(--evolua-green)!important
  }
}

/* Matéria aberta: resumo, abas e lista de módulos. */
body.theme-day #workspace {
  color:#152820
}

body.theme-day #workspace .workspaceHeaderRow {
  margin-bottom:14px
}

body.theme-day #workspace .workspaceHeaderLeft #subjectTitle {
  color:#152820!important;
  font:800 24px/1.25 Manrope,"DM Sans",sans-serif!important;
  letter-spacing:-.02em;
  text-shadow:none!important
}

body.theme-day #workspace .subjectTopGrid {
  grid-template-columns:166px minmax(0,1fr);
  gap:14px;
  margin-bottom:14px
}

body.theme-day #workspace .subjectTopGrid>.card, body.theme-day #workspace .subjectTopGrid>.subjectProgressBanner {
  min-height:96px;
  padding:14px 18px;
  border:1px solid #d4dacb!important;
  border-radius:14px;
  background:#fff!important;
  color:#152820!important;
  box-shadow:none!important
}

body.theme-day #workspace .subjectTopGrid>.card h2 {
  margin:0 0 8px;
  color:#152820!important;
  font:700 14px/1.3 "DM Sans",sans-serif!important
}

body.theme-day #workspace .subjectTopGrid>.card .uploadToggle {
  min-height:36px;
  padding:8px 14px!important;
  border:1px solid var(--evolua-green)!important;
  border-radius:9px;
  background:var(--evolua-green)!important;
  color:#fff!important;
  font-size:12px!important
}

body.theme-day #workspace .subjectProgressHeader {
  grid-template-columns:auto repeat(3,minmax(0,1fr));
  align-items:center;
  gap:10px 18px;
  margin-bottom:7px
}

body.theme-day #workspace .subjectProgressBadge, body.theme-day #workspace .subjectProgressBadge.glow-stage-1 {
  min-width:0;
  padding:5px 10px;
  border:1px solid #b8cda9!important;
  border-radius:999px;
  background:#e8efe0!important;
  color:var(--evolua-green)!important;
  font-size:11px;
  box-shadow:none!important
}

body.theme-day #workspace .subjectProgressBadge.complete {
  background:#e8efe0!important;
  border-color:#b8cda9!important;
  color:var(--evolua-green)!important
}

body.theme-day #workspace .subjectProgressStatItem small {
  color:#4b5d52!important;
  font-size:9px;
  font-weight:800;
  letter-spacing:.05em
}

body.theme-day #workspace .subjectProgressStatItem span, body.theme-day #workspace .subjectProgressStatItem b {
  color:#152820!important;
  font-size:12px
}

body.theme-day #workspace .subjectProgressPerfPct.perf-good, body.theme-day #workspace .subjectProgressCorrect {
  color:#166534!important
}

body.theme-day #workspace .subjectProgressPerfPct.perf-mid {
  color:#854d0e!important
}

body.theme-day #workspace .subjectProgressPerfPct.perf-bad, body.theme-day #workspace .subjectProgressWrong {
  color:#b4232d!important
}

body.theme-day #workspace .subjectProgressBar {
  height:7px;
  margin-top:5px;
  border:0;
  background:#eceee6!important
}

body.theme-day #workspace .subjectProgressBar span {
  background:var(--evolua-green)!important;
  box-shadow:none!important
}

body.theme-day #workspace .materialTabsNav {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
  padding:0 0 8px;
  border-bottom:1px solid #d4dacb!important;
  background:transparent!important
}

body.theme-day #workspace .materialTabBtn {
  min-height:36px;
  padding:7px 13px;
  border:1px solid #96a599!important;
  border-radius:999px;
  background:#fff!important;
  color:#152820!important;
  font:700 12px/1.2 "DM Sans",sans-serif;
  box-shadow:none!important
}

body.theme-day #workspace .materialTabBtn:hover {
  background:#f9faf5!important;
  border-color:var(--evolua-green)!important;
  color:var(--evolua-green-hover)!important
}

body.theme-day #workspace .materialTabBtn.active {
  background:var(--evolua-surface-dark)!important;
  border-color:var(--evolua-surface-dark)!important;
  color:#ddedb1!important
}

body.theme-day #workspace .materialTabBtn .tabBadge {
  background:#eceee6!important;
  border-color:#eceee6!important;
  color:#4b5d52!important
}

body.theme-day #workspace .materialTabBtn.active .tabBadge {
  background:var(--evolua-surface-dark-2)!important;
  border-color:var(--evolua-surface-dark-2)!important;
  color:#ddedb1!important
}

body.theme-day #workspace .doc {
  padding:15px 18px;
  border:1px solid #d4dacb!important;
  border-radius:14px;
  background:#fff!important;
  color:#152820!important;
  box-shadow:none!important
}

body.theme-day #workspace .doc:hover {
  border-color:#b8cda9!important;
  background:#fff!important
}

body.theme-day #workspace .doc b, body.theme-day #workspace .doc strong {
  color:#152820
}

body.theme-day #workspace .documentMeta, body.theme-day #workspace .documentMeta .documentChip {
  color:#4b5d52!important
}

body.theme-day #workspace .docGenerationBadge {
  background:#f9faf5!important;
  border-color:#d4dacb!important;
  color:#4b5d52!important
}

body.theme-day #workspace .doc .primary {
  background:var(--evolua-green)!important;
  border-color:var(--evolua-green)!important;
  color:#fff!important
}

/* Início: layout e cartões do mockup, sem dados estáticos. */
body.theme-day .app.homeMode {
  background:#f6f5ef!important
}

body.theme-day #dashboard {
  font-family:"DM Sans",system-ui,sans-serif!important;
  color:#152820!important
}

body.theme-day #dashboard h1, body.theme-day #dashboard h2 {
  font-family:Manrope,"DM Sans",system-ui,sans-serif!important;
  letter-spacing:-.02em;
  color:#152820!important
}

body.theme-day #dashboard .muted {
  color:#4b5d52!important
}

body.theme-day #dashboard .evoluaHomeHero {
  grid-template-columns:minmax(0,.68fr) minmax(0,1.52fr)!important;
  gap:14px!important;
  margin:0 0 14px!important
}

body.theme-day #dashboard .evoluaHeroGreetingCol, body.theme-day #dashboard .evoluaContinuityCard {
  min-height:224px!important;
  border:1px solid #d4dacb!important;
  border-radius:14px!important;
  box-shadow:none!important
}

body.theme-day #dashboard .evoluaHeroGreetingCol {
  justify-content:center;
  padding:20px 22px!important;
  border-inline-start:4px solid var(--evolua-green)!important;
  background:linear-gradient(110deg,#e5efe5,#fdfefb 94%)!important
}

body.theme-day #dashboard .evoluaHeroEyebrow {
  margin-bottom:6px;
  color:var(--evolua-green)!important;
  font:800 10.5px/1.3 "DM Sans",sans-serif!important;
  letter-spacing:.06em;
  text-transform:uppercase
}

body.theme-day #dashboard .evoluaHeroTitle {
  margin:0 0 6px;
  font:800 clamp(21px,1.85vw,27px)/1.2 Manrope,"DM Sans",sans-serif!important;
  letter-spacing:-.02em;
  color:#152820!important
}

body.theme-day #dashboard .evoluaHeroGreetingCol .evoluaHeroSubtitle {
  max-width:300px;
  color:#4b5d52!important;
  font-size:13px;
  line-height:1.45
}

body.theme-day #dashboard .evoluaContinuityCard,
body.theme-day #cyclePage .evoluaContinuityCard {
  justify-content:space-between;
  padding:18px 20px!important;
  border:1px solid var(--evolua-green-border)!important;
  border-radius:14px!important;
  background:var(--evolua-green)!important;
  color:var(--evolua-on-green)!important;
  box-shadow:none!important
}

body.theme-day #cyclePage .evoluaContinuityCard {
  min-height:0!important;
  margin-bottom:14px
}

body.theme-day #dashboard .evoluaActionTag,
body.theme-day #cyclePage .evoluaActionTag {
  padding:3px 10px;
  border:0;
  border-radius:999px;
  background:#ddedb1!important;
  color:#172a24!important;
  font-size:10px;
  font-weight:800;
  letter-spacing:.03em
}

body.theme-day #dashboard .evoluaActionCategory,
body.theme-day #cyclePage .evoluaActionCategory {
  margin:0 0 3px;
  color:var(--evolua-on-green-muted)!important;
  font-size:12px
}

body.theme-day #dashboard .evoluaContinuityCard .evoluaEmptyActionContent h2,
body.theme-day #cyclePage .evoluaContinuityCard .evoluaEmptyActionContent h2 {
  color:var(--evolua-on-green)!important
}

body.theme-day #dashboard .evoluaContinuityCard .evoluaEmptyActionContent > p,
body.theme-day #cyclePage .evoluaContinuityCard .evoluaEmptyActionContent > p,
body.theme-day #dashboard .evoluaContinuityCard .evoluaHeroSubtitle,
body.theme-day #cyclePage .evoluaContinuityCard .evoluaHeroSubtitle {
  color:var(--evolua-on-green-muted)!important
}

body.theme-day #dashboard .evoluaActionSubjectTitle,
body.theme-day #cyclePage .evoluaActionSubjectTitle {
  margin:0 0 10px;
  color:var(--evolua-on-green)!important;
  font:800 20px/1.2 Manrope,"DM Sans",sans-serif!important
}

body.theme-day #dashboard .evoluaActionMetricsRow,
body.theme-day #cyclePage .evoluaActionMetricsRow {
  grid-template-columns:1.2fr .85fr 1.2fr;
  margin:2px 0 12px;
  padding:4px 0 0!important;
  border:0!important;
  border-top:1px solid var(--evolua-green-border)!important;
  border-radius:0!important;
  background:transparent!important
}

body.theme-day #dashboard .evoluaActionMetricItem,
body.theme-day #cyclePage .evoluaActionMetricItem {
  padding:8px 12px;
  border-color:var(--evolua-green-border)!important
}

body.theme-day #dashboard .evoluaActionMetricItem:first-child,
body.theme-day #cyclePage .evoluaActionMetricItem:first-child {
  padding-left:0
}

body.theme-day #dashboard .evoluaActionMetricLabel,
body.theme-day #cyclePage .evoluaActionMetricLabel {
  color:var(--evolua-on-green-muted)!important;
  font-size:10px
}

body.theme-day #dashboard .evoluaActionMetricValue, body.theme-day #dashboard .evoluaActionMetricValue strong,
body.theme-day #cyclePage .evoluaActionMetricValue, body.theme-day #cyclePage .evoluaActionMetricValue strong {
  color:var(--evolua-on-green)!important;
  font-size:12px;
  font-weight:700
}

body.theme-day #dashboard .evoluaActionMetricItem:last-child .evoluaActionMetricValue strong,
body.theme-day #cyclePage .evoluaActionMetricItem:last-child .evoluaActionMetricValue strong {
  color:#ddedb1!important
}

body.theme-day #dashboard .evoluaActionProgress,
body.theme-day #cyclePage .evoluaActionProgress {
  height:7px;
  background:var(--evolua-green-hover)!important
}

body.theme-day #dashboard .evoluaActionProgress>span,
body.theme-day #cyclePage .evoluaActionProgress>span {
  background:#ddedb1!important
}

body.theme-day #dashboard .evoluaActionButtonsRow,
body.theme-day #cyclePage .evoluaActionButtonsRow {
  justify-content:flex-end;
  gap:8px;
  margin-top:8px
}

body.theme-day #dashboard .evoluaPrimaryCtaBtn, body.theme-day #dashboard .evoluaSecondaryActionBtn,
body.theme-day #cyclePage .evoluaContinuityCard button.evoluaPrimaryCtaBtn, body.theme-day #cyclePage .evoluaContinuityCard button.evoluaSecondaryActionBtn {
  min-width:0;
  min-height:36px;
  padding:8px 13px;
  border-radius:9px;
  font-size:12px;
  font-weight:750
}

body.theme-day #dashboard .evoluaPrimaryCtaBtn,
body.theme-day #cyclePage .evoluaContinuityCard button.evoluaPrimaryCtaBtn {
  background:#ddedb1!important;
  border:1px solid #ddedb1!important;
  color:#172a24!important
}

body.theme-day #dashboard .evoluaPrimaryCtaBtn:hover,
body.theme-day #cyclePage .evoluaContinuityCard button.evoluaPrimaryCtaBtn:hover {
  background:#cde494!important;
  border-color:#cde494!important;
  color:#172a24!important
}

body.theme-day #dashboard .evoluaSecondaryActionBtn,
body.theme-day #cyclePage .evoluaContinuityCard button.evoluaSecondaryActionBtn {
  background:var(--evolua-green-hover)!important;
  border:1px solid #8bb19f!important;
  color:var(--evolua-on-green)!important
}

body.theme-day #dashboard .evoluaSecondaryActionBtn:hover,
body.theme-day #cyclePage .evoluaContinuityCard button.evoluaSecondaryActionBtn:hover {
  background:var(--evolua-green)!important;
  border-color:#a1c3b2!important;
  color:#fff!important
}

body.theme-day #dashboard .evoluaSecondaryActionBtn:nth-of-type(3) {
  bottom:18px;
  left:20px;
  color:var(--evolua-on-green-muted)!important
}

body.theme-day #cyclePage .evoluaContinuityCard button.evoluaSecondaryActionBtn:nth-of-type(3) {
  order:-1;
  margin-right:auto;
  padding:4px 0!important;
  border:0!important;
  background:transparent!important;
  color:var(--evolua-on-green-muted)!important;
  font-size:11px;
  box-shadow:none!important
}

body.theme-day #cyclePage .evoluaContinuityCard button.evoluaSecondaryActionBtn:nth-of-type(3):hover {
  background:transparent!important;
  color:var(--evolua-on-green)!important;
  text-decoration:underline
}

body.theme-day #dashboard .dashboardPlanningRow {
  gap:14px;
  margin-bottom:14px
}

body.theme-day #dashboard .editalPanelCard, body.theme-day #dashboard .reviewPanel {
  border:1px solid #d4dacb!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#152820!important
}

body.theme-day #dashboard .editalPanelCard {
  min-height:118px;
  padding:13px 18px 12px!important
}

body.theme-day #dashboard .dashboardPlanActions summary {
  width:36px!important;
  height:36px!important;
  min-height:36px!important;
  border:1px solid #d4dacb!important;
  border-radius:9px!important;
  background:#f9faf5!important;
  color:#152820!important
}

body.theme-day #dashboard .dashboardPlanActions summary:hover {
  border-color:var(--evolua-green)!important;
  background:#e8efe0!important
}

body.theme-day #dashboard #homeGenPill {
  height:auto!important;
  min-height:30px;
  margin-top:9px!important;
  padding:6px 12px!important;
  border:1px solid #e5cb94!important;
  border-radius:9px!important;
  background:#fdf2dc!important;
  color:#6b4b19!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:normal!important
}


body.theme-day #dashboard .dashboardSubjectCategory {
  background:#e8efe0!important;
  border-color:#b8cda9!important;
  color:var(--evolua-green)!important
}

body.theme-day #dashboard .recentBar {
  background:linear-gradient(#477f67,var(--evolua-green))!important
}

body.theme-day #dashboard .recentBar.correct {
  background:linear-gradient(#84b493,#557e64)!important
}

body.theme-day #dashboard .recentLegend i {
  background:var(--evolua-green)!important
}

body.theme-day #dashboard .recentLegend .correctLegend i {
  background:#699d7a!important
}

body.theme-day #dashboard .dashboardCards {
  gap:12px!important;
  margin-bottom:14px!important
}

body.theme-day #dashboard .dashboardMetric {
  min-height:98px;
  padding:14px 16px 12px!important;
  border:1px solid #d4dacb!important;
  border-radius:14px!important;
  background:#fff!important
}

body.theme-day #dashboard .dashboardMetric>.strong, body.theme-day #dashboard .dashboardMetric>strong {
  color:#152820!important;
  font:800 22px/1.2 Manrope,"DM Sans",sans-serif!important
}

body.theme-day #dashboard .metricHeader {
  color:#4b5d52!important;
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em
}

body.theme-day #dashboard .dashboardGrid {
  gap:14px!important
}

body.theme-day #dashboard .dashboardSubjectsCard, body.theme-day #dashboard .dashboardAttentionCard, body.theme-day #dashboard .dashboardRecentCard {
  border:1px solid #d4dacb!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important
}

body.theme-day #dashboard .dashboardTable th {
  color:#4b5d52!important;
  border-bottom-color:#d4dacb!important
}

body.theme-day #dashboard .dashboardTable td {
  border-bottom-color:#eceee6!important;
  color:#152820!important
}

/* Ciclo manual: painel de anel, sequência e próxima etapa verde profunda. */
body.theme-day #cyclePage {
  max-width:none!important;
  padding:0 0 8px;
  color:#152820!important
}

body.theme-day #cyclePage .cycleTop {
  margin-bottom:8px
}

body.theme-day #cyclePage .cycleTop h1 {
  font:800 24px/1.2 Manrope,"DM Sans",sans-serif;
  letter-spacing:-.02em;
  color:#152820!important
}

body.theme-day #cyclePage .cycleTop p {
  margin-top:3px;
  color:#4b5d52!important;
  font-size:12px
}

body.theme-day #cyclePage .card {
  border:1px solid #d4dacb!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#152820!important;
  box-shadow:none!important
}

body.theme-day #cyclePage .cycleTabs {
  justify-content:flex-start;
  gap:14px;
  margin:4px 0 14px;
  border-color:#d4dacb!important
}

body.theme-day #cyclePage .cycleTabs button {
  min-height:38px;
  padding:9px 8px;
  border:0!important;
  border-bottom:2px solid transparent!important;
  border-radius:0!important;
  background:transparent!important;
  color:#4b5d52!important;
  font-size:13px
}

body.theme-day #cyclePage .cycleTabs button.active {
  border-bottom-color:var(--evolua-green)!important;
  background:transparent!important;
  color:var(--evolua-green)!important
}

body.theme-day #cyclePage .cycleHomeGrid {
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:14px
}

body.theme-day #cyclePage .cycleRingCard {
  padding:16px 18px!important;
  text-align:center
}

body.theme-day #cyclePage .cycleRingCard>span {
  color:#4b5d52!important;
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase
}

body.theme-day #cyclePage .cycleRingCard h2 {
  margin:0;
  color:#152820!important;
  font:800 14px/1.25 Manrope,"DM Sans",sans-serif
}

body.theme-day #cyclePage .cycleRing {
  width:158px;
  height:158px;
  margin:12px auto;
  background:conic-gradient(var(--evolua-green) var(--cycle-progress),#eceee6 0)!important;
  box-shadow:none!important
}

body.theme-day #cyclePage .cycleRing::before {
  inset:12px;
  background:#fff!important;
  box-shadow:none!important
}

body.theme-day #cyclePage .cycleRing small, body.theme-day #cyclePage .cycleRing span {
  color:#4b5d52!important
}

body.theme-day #cyclePage .cycleRing strong {
  color:#152820!important;
  font:800 22px/1.15 Manrope,"DM Sans",sans-serif
}

body.theme-day #cyclePage .cycleMiniMetrics {
  border-top:1px solid #d4dacb!important
}

body.theme-day #cyclePage .cycleMiniMetrics b {
  color:#152820!important
}

body.theme-day #cyclePage .cycleFocus {
  min-height:168px;
  margin-top:14px;
  padding:20px!important;
  border:1px solid var(--evolua-green-border)!important;
  border-radius:14px!important;
  background:var(--evolua-surface-dark)!important;
  text-align:center
}

body.theme-day #cyclePage .cycleFocus h2 {
  color:var(--evolua-on-green)!important;
  font:800 20px/1.25 Manrope,"DM Sans",sans-serif
}

body.theme-day #cyclePage .cycleTimer {
  margin:14px 0;
  color:#ddedb1!important;
  font:800 40px/1.1 Manrope,"DM Sans",sans-serif;
  letter-spacing:0
}

body.theme-day #cyclePage .cycleNextBadge {
  border:0;
  border-radius:999px;
  background:#ddedb1!important;
  color:#172a24!important;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase
}

body.theme-day #cyclePage .cycleFocus button:not(.primary) {
  border-color:#4f6e5f!important;
  background:var(--evolua-surface-dark-2)!important;
  color:var(--evolua-on-green)!important
}

body.theme-day #cyclePage .cycleFocus button.primary {
  border-color:#ddedb1!important;
  background:#ddedb1!important;
  color:#172a24!important
}

body.theme-day #cyclePage .cycleSequenceRow, body.theme-day #cyclePage .cycleHistoryRow, body.theme-day #cyclePage .cycleItem {
  border-color:#d4dacb!important;
  border-radius:10px!important;
  background:#f9faf5!important;
  color:#152820!important
}

body.theme-day #cyclePage .cycleSequenceRow.next {
  border-color:#b8cda9!important;
  background:#e8efe0!important
}

body.theme-day #cyclePage .cycleOrder {
  border-color:#b8cda9!important;
  background:#e8efe0!important;
  color:var(--evolua-green)!important
}

body.theme-day #cyclePage .cycleSetup input, body.theme-day #cyclePage .cycleSetup select, body.theme-day #cyclePage .cycleSetup button:not(.primary) {
  border-color:#96a599!important;
  background:#fff!important;
  color:#152820!important
}

body.theme-day #cyclePage .cycleSequenceFooterActions .cycleResetBtn {
  border:1px solid #b8cda9!important;
  background:#e8efe0!important;
  color:var(--evolua-green)!important;
  font-weight:750
}

body.theme-day #cyclePage .cycleSequenceFooterActions .cycleResetBtn:hover {
  background:#dce8d0!important;
  color:var(--evolua-green-hover)!important
}

body.theme-day #cyclePage .cycleSequenceFooterActions .cycleDeleteBtn {
  border:1px solid #f4a6a6!important;
  background:#fff5f5!important;
  color:#a52630!important;
  font-weight:750
}

body.theme-day #cyclePage button.primary {
  border-color:var(--evolua-green)!important;
  background:var(--evolua-green)!important;
  color:#fff!important
}

/* Modal de criação de plano, escopado ao fluxo real #editalDialog. */
body.theme-day #editalDialog {
  background:rgba(21,40,32,.45)!important
}

body.theme-day #editalDialog .appDialog {
  width:min(500px,100%)!important;
  padding:22px 24px!important;
  gap:12px!important;
  border:1px solid #d4dacb!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#152820!important;
  box-shadow:0 24px 60px rgba(21,40,32,.22)!important;
  font-family:"DM Sans",system-ui,sans-serif
}

body.theme-day #editalDialog .appDialog h2 {
  margin:0;
  color:#152820!important;
  font:800 20px/1.25 Manrope,"DM Sans",sans-serif!important;
  text-shadow:none!important
}

body.theme-day #editalDialog .appDialog label {
  display:block;
  margin:0 0 5px!important;
  color:#152820!important;
  font-size:12px;
  font-weight:700
}

body.theme-day #editalDialog .appDialog input:not([type="checkbox"]), body.theme-day #editalDialog .appDialog select {
  width:100%;
  height:38px;
  padding:0 12px!important;
  border:1px solid #96a599!important;
  border-radius:9px!important;
  background:#f9faf5!important;
  color:#152820!important;
  font:500 13px "DM Sans",sans-serif;
  box-shadow:none!important
}

body.theme-day #editalDialog .appDialog input:focus, body.theme-day #editalDialog .appDialog select:focus {
  border-color:var(--evolua-green)!important;
  outline:2px solid rgba(33,88,63,.18)!important;
  background:#fff!important
}

body.theme-day #editalDialog .appDialog input::placeholder {
  color:#596b60!important
}

body.theme-day #editalDialog .editalSubjectCheckboxList, body.theme-day #editalDialog .editalRenameList {
  max-height:150px;
  border:1px solid #d4dacb!important;
  border-radius:10px!important;
  background:#f9faf5!important;
  box-shadow:none!important
}

body.theme-day #editalDialog .editalSubjectCheckboxItem {
  display:flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:7px 9px;
  color:#152820!important
}

body.theme-day #editalDialog .editalSubjectCheckboxItem input {
  accent-color:var(--evolua-green)
}

body.theme-day #editalDialog #newEditalSubjectNameInput {
  height:38px!important;
  padding:0 12px!important;
  border:1px solid #96a599!important;
  border-radius:9px!important;
  background:#f9faf5!important;
  color:#152820!important
}

body.theme-day #editalDialog #newEdictFromPdf {
  min-height:36px;
  padding:7px 12px!important;
  border:1px solid #b8cda9!important;
  border-radius:9px!important;
  background:#e8efe0!important;
  color:var(--evolua-green)!important;
  font-weight:800
}

body.theme-day #editalDialog .appDialog button.primary {
  border:1px solid var(--evolua-green)!important;
  border-radius:9px!important;
  background:var(--evolua-green)!important;
  color:#fff!important
}

body.theme-day #editalDialog .appDialog button.primary:hover {
  background:var(--evolua-green-hover)!important
}

body.theme-day #editalDialog .dialogActions button:not(.primary) {
  border:1px solid #96a599!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#152820!important
}

@media(max-width:900px) {
  body.theme-day #workspace .subjectTopGrid {
    grid-template-columns:minmax(0,1fr)!important
  }
  body.theme-day #workspace .subjectProgressHeader {
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
  body.theme-day #dashboard .evoluaHomeHero {
    grid-template-columns:minmax(0,1fr)!important
  }
  body.theme-day #dashboard .evoluaHeroGreetingCol, body.theme-day #dashboard .evoluaContinuityCard {
    min-height:0!important
  }
  body.theme-day #dashboard .dashboardCards {
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
  body.theme-day #dashboard .dashboardPlanningRow, body.theme-day #dashboard .dashboardGrid {
    grid-template-columns:minmax(0,1fr)!important
  }
  body.theme-day #dashboard .editalPanelCard {
    grid-column:1
  }
  body.theme-day #cyclePage .cycleHomeGrid {
    grid-template-columns:minmax(0,1fr)!important
  }
}

@media(max-width:560px) {
  body.theme-day #workspace .subjectProgressHeader {
    grid-template-columns:minmax(0,1fr)!important
  }
  body.theme-day #workspace .subjectProgressBadge {
    justify-self:start
  }
  body.theme-day #workspace .materialTabsNav {
    overflow-x:auto;
    flex-wrap:nowrap;
    scrollbar-width:thin
  }
  body.theme-day #workspace .materialTabBtn {
    flex:0 0 auto
  }
  body.theme-day #dashboard .dashboardCards {
    grid-template-columns:minmax(0,1fr)!important
  }
  body.theme-day #dashboard .evoluaActionMetricsRow {
    grid-template-columns:minmax(0,1fr)!important
  }
  body.theme-day #dashboard .evoluaActionMetricItem {
    padding:5px 0;
    border:0
  }
  body.theme-day #dashboard .evoluaActionButtonsRow {
    justify-content:flex-start;
    flex-wrap:wrap
  }
  body.theme-day #cyclePage .cycleSetup {
    grid-template-columns:minmax(0,1fr)!important
  }
  body.theme-day #editalDialog .appDialog {
    padding:18px!important
  }
}

/* A lista de módulos mantém o histórico em linhas curtas, sem grade de quatro métricas. */
body.theme-day #workspace .doc {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 7px 14px;
  min-height: 0;
  padding: 14px 16px !important;
  border: 1px solid #d4dacb !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #152820 !important;
  box-shadow: none !important;
}

body.theme-day #workspace .docTitleBtn {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  padding: 0 190px 0 0 !important;
  text-align: left;
}

body.theme-day #workspace .docTitleBtn b {
  color: #152820 !important;
  font: 750 15px/1.35 "DM Sans", sans-serif !important;
}

body.theme-day #workspace .doc > .moduleCompleteBadge {
  top: 15px !important;
  right: 54px !important;
  color: var(--evolua-green) !important;
  font-size: 10px !important;
}

body.theme-day #workspace .documentMeta {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 7px 12px !important;
  min-width: 0;
  margin: 0 !important;
}

body.theme-day #workspace .documentMetaLeft {
  gap: 6px;
  min-width: 0;
}

body.theme-day #workspace .documentChip {
  height: 23px;
  padding: 0 8px;
  border: 1px solid #d4dacb !important;
  border-radius: 999px;
  background: #f9faf5 !important;
  color: #34463b !important;
  font-size: 10px;
}

body.theme-day #workspace .moduleBlockStatus.complete {
  border-color: #b8cda9 !important;
  background: #e8efe0 !important;
  color: var(--evolua-green) !important;
}

body.theme-day #workspace .moduleDailySummary {
  display:flex;
  align-items:center;
  gap:10px;
  width:auto;
  max-width:none;
  min-width:0;
  margin:0;
  padding:5px 11px;
  border:1px solid #d4dacb!important;
  border-radius:10px;
  background:#f9faf5!important;
  color:#34463b !important;
  white-space:nowrap;
}

body.theme-day #workspace .moduleOverallSummary {
  display:flex;
  align-items:center;
  gap:6px;
  width:auto;
  max-width:none;
  min-width:0;
  margin:0;
  padding:0 4px;
  border:0;
  color:#34463b !important;
  white-space:nowrap;
}

body.theme-day #workspace .moduleDailySummary .dailyScopeTitle, body.theme-day #workspace .moduleOverallSummary .dailyScopeTitle {
  color:#4b5d52 !important;
  font-size:9px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

body.theme-day #workspace .moduleDailyBoxMetrics > span {
  color:#34463b !important;
  font-size:11px;
}

body.theme-day #workspace .moduleDailyBoxMetrics .dailyCorrect,
body.theme-day #workspace .moduleDailyBoxMetrics .dailyPerformanceGood {
  color:#166534 !important;
}

body.theme-day #workspace .moduleDailyBoxMetrics .dailyWrong,
body.theme-day #workspace .moduleDailyBoxMetrics .dailyPerformanceBad {
  color:#b4232d !important;
}

body.theme-day #workspace .moduleDailyBoxMetrics .dailyPerformanceMid {
  color:#854d0e !important;
}

body.theme-day #workspace .moduleDailyCompact, body.theme-day #workspace .overallCompact {
  color: #34463b !important;
  font-size: 10px;
  font-weight: 700;
}

body.theme-day #workspace .moduleDailyCompact.dailyPerformanceGood, body.theme-day #workspace .overallCompact.dailyPerformanceGood {
  color: #1b6b45 !important;
}

body.theme-day #workspace .moduleDailyCompact.dailyPerformanceMid, body.theme-day #workspace .overallCompact.dailyPerformanceMid {
  color: #6b4b19 !important;
}

body.theme-day #workspace .moduleDailyCompact.dailyPerformanceBad, body.theme-day #workspace .overallCompact.dailyPerformanceBad {
  color: #a52630 !important;
}

body.theme-day #workspace .docGenerationBadge {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 5px !important;
  min-height: 0;
  margin: 0 !important;
  padding: 8px 11px !important;
  border: 1px solid #e2e5dc !important;
  border-radius: 9px !important;
  background: #f9faf5 !important;
}

body.theme-day #workspace .docGenerationBadge:not(.hasStudyProgress) {
  grid-template-columns: auto minmax(0, 1fr) auto auto !important;
  align-items: center;
  gap: 6px 12px !important;
}

body.theme-day #workspace .docGenerationBadge:not(.hasStudyProgress) .sideGenerationDot {
  background: var(--evolua-green) !important;
}

body.theme-day #workspace .docGenerationBadge:not(.hasStudyProgress) > strong {
  color: #152820 !important;
  font-size: 16px;
  font-weight: 800;
}

body.theme-day #workspace .docGenerationBadge:not(.hasStudyProgress) .docCancelGeneration {
  min-height: 32px;
  padding: 6px 12px !important;
  border: 1px solid #d4dacb !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #34463b !important;
  font-size: 11px !important;
  font-weight: 700;
  white-space: nowrap;
}

body.theme-day #workspace .docGenerationBadge:not(.hasStudyProgress) .docCancelGeneration:hover {
  border-color: #b4232d !important;
  background: #fff5f5 !important;
  color: #b4232d !important;
}

body.theme-day #workspace .docGenerationBadge > span > b {
  color: #263a30 !important;
  font-size: 11px !important;
}

body.theme-day #workspace .docGenerationBadge > span > small {
  color: #4b5d52 !important;
  font-size: 10px !important;
}

body.theme-day #workspace .moduleStudyProgress {
  padding: 0;
  border: 0;
  color: #34463b !important;
}

body.theme-day #workspace .moduleStudyProgress > b {
  margin: 0 0 5px;
  color: #4b5d52 !important;
  font-size: 9px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body.theme-day #workspace .moduleStudyStageRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
}

body.theme-day #workspace .moduleStudyArrow {
  color: #6b7d72 !important;
}

body.theme-day #workspace .moduleStudyStage {
  padding: 3px 9px;
  border: 1px solid #d4dacb;
  border-radius: 999px;
  background: #fff;
  color: #4b5d52 !important;
  font-size: 10px;
  font-weight: 700;
}

body.theme-day #workspace .moduleStudyStage.done {
  border-color: #b8cda9;
  background: #e8efe0;
  color: var(--evolua-green) !important;
}

body.theme-day #workspace .moduleStudyStage.isCurrent {
  border-color: #e5cb94;
  background: #fdf2dc;
  color: #6b4b19 !important;
}

body.theme-day #workspace .moduleStudyStage.pending {
  color: #4b5d52 !important;
}

body.theme-day #workspace .documentMenu {
  top: 10px;
  right: 10px;
}

body.theme-day #workspace .documentMenu summary {
  border-color: #d4dacb !important;
  background: #f9faf5 !important;
  color: #34463b !important;
}

body.theme-day #workspace .doc .documentLink {
  grid-column: 1 / -1;
  color: var(--evolua-green) !important;
}

body.theme-day #workspace .subjectTopGrid {
  grid-template-columns: minmax(145px, 190px) minmax(0, 1fr) !important;
}

body.theme-day #workspace .subjectProgressHeader {
  grid-template-columns: max-content repeat(3, minmax(0, 1fr)) !important;
  gap: 8px 12px !important;
}

body.theme-day #workspace .subjectProgressStatItem {
  min-width: 0;
}

body.theme-day #workspace .subjectProgressStatItem span {
  overflow-wrap: anywhere;
}

body.theme-day #workspace .subjectProgressStatItem:last-child span {
  display: block;
  font-size: 10px !important;
  line-height: 1.35;
}

body.theme-day #workspace .subjectProgressStatItem:last-child b {
  font-size: 11px !important;
}

@media (max-width: 850px) {
  body.theme-day #evoluaSidebar .evoluaNavItem, body.theme-day #evoluaSidebar #subjects .subject, body.theme-day #evoluaSidebar #themeToggleBtn {
    min-height: 44px !important;
  }
  body.theme-day #workspace .subjectTopGrid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.theme-day #workspace .subjectProgressHeader {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.theme-day #workspace .doc {
    grid-template-columns: minmax(0, 1fr);
  }
  body.theme-day #workspace .documentMeta {
    grid-column: 1;
    flex-wrap: wrap;
  }
  body.theme-day #workspace .moduleDailySummary, body.theme-day #workspace .moduleOverallSummary {
    white-space: normal;
  }
  body.theme-day #workspace .docGenerationBadge {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  body.theme-day #workspace .subjectProgressHeader {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.theme-day #workspace .docTitleBtn {
    padding-right: 130px !important;
  }
  body.theme-day #workspace .doc > .moduleCompleteBadge {
    right: 44px !important;
    max-width: 105px;
  }
}

/* Aplicações finais de tema após as folhas globais e componentes da plataforma. */
body.theme-day #editalDialog .appDialog button.primary, body.theme-day #editalDialog .dialogActions button.primary {
  border-color: var(--evolua-green) !important;
  background: var(--evolua-green) !important;
  color: #fff !important;
}


/* Módulo aberto: folha única consolidada do tema diurno. */
body.theme-day .evoluaMain:has(#workspace.moduleFocus) {
  background:#f6f5ef !important;
}

body.theme-day #workspace.moduleFocus #topicsCard {
  padding:0;
  border:0 !important;
  background:transparent !important;
  color:#152820 !important;
  box-shadow:none !important;
}

body.theme-day #topicsCard .moduleBackRow button {
  border:1px solid #96a599 !important;
  background:#fff !important;
  color:#152820 !important;
}

body.theme-day #topicsCard .moduleBackRow button:hover {
  border-color:var(--evolua-green) !important;
  background:#f9faf5 !important;
  color:var(--evolua-green-hover) !important;
}

body.theme-day #topicsCard .moduleBackRow .moduleSubjectContext {
  color:#4b5d52 !important;
}

body.theme-day #topicsCard .moduleSubjectContext strong {
  color:#152820 !important;
}

body.theme-day #topicsCard .moduleBackRow .moduleCollapseControl {
  background:#f9faf5 !important;
}

body.theme-day #topicsCard #moduleTitle {
  display:block;
  margin:0;
  padding:0;
}

body.theme-day #topicsCard .moduleHero {
  box-sizing:border-box;
  padding:20px;
  border:1px solid var(--evolua-green-border) !important;
  border-radius:16px;
  background:var(--evolua-surface-dark) !important;
  color:var(--evolua-on-green) !important;
}

body.theme-day #topicsCard .moduleEyebrow {
  margin:0 0 7px;
  color:#ddedb1 !important;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

body.theme-day #topicsCard .moduleHeader {
  margin:0;
  align-items:flex-start;
}

body.theme-day #topicsCard .moduleHeader h2 {
  color:var(--evolua-on-green) !important;
  font-size:18px !important;
  line-height:1.25;
  text-shadow:none !important;
}

body.theme-day #topicsCard .moduleIntro {
  margin:5px 0 13px;
  color:var(--evolua-on-green-muted) !important;
  font-size:12px;
  line-height:1.45;
}

body.theme-day #topicsCard .moduleOverview {
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:9px;
  margin:0;
}

body.theme-day #topicsCard .moduleHero .moduleMetric {
  min-height:78px;
  padding:10px 12px;
  border:1px solid var(--evolua-green-border) !important;
  border-radius:10px;
  background:var(--evolua-surface-dark-2) !important;
  box-shadow:none !important;
  color:var(--evolua-on-green) !important;
}

body.theme-day #topicsCard .moduleHero .moduleMetric .metricHeader {
  color:var(--evolua-on-green-muted) !important;
  font-size:11px !important;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}

body.theme-day #topicsCard .moduleHero .moduleMetric > strong,
body.theme-day #topicsCard .moduleHero .moduleMetric .moduleMetricReadyRow > strong {
  min-height:0 !important;
  margin:3px 0 !important;
  color:var(--evolua-on-green) !important;
  font:800 18px/1.15 Manrope, "DM Sans", sans-serif !important;
}

body.theme-day #topicsCard .moduleHero #moduleQuestionsReady {
  color:var(--evolua-on-green) !important;
  font:800 18px/1.15 Manrope, "DM Sans", sans-serif !important;
}

body.theme-day #topicsCard .moduleHero .moduleMetric > span {
  color:var(--evolua-on-green-muted) !important;
  font-size:11.5px !important;
  line-height:1.3;
}

body.theme-day #topicsCard .moduleHero .moduleMetric .metricUnit {
  color:#ddedb1 !important;
  font-size:11px !important;
}

body.theme-day #topicsCard .moduleHero .modulePerfBreakdown {
  color:var(--evolua-on-green-muted) !important;
}

body.theme-day #topicsCard .moduleHero .modulePerfGood {
  color:#ddedb1 !important;
}

body.theme-day #topicsCard .moduleHero .modulePerfBad {
  color:#ffc3b8 !important;
}


body.theme-day #topicsCard .moduleHero .moduleBlockCountBadge {
  background:#ddedb1 !important;
  color:#172a24 !important;
}

body.theme-day #topicsCard .moduleToolbar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:14px 0;
  padding:10px 12px;
  border:1px solid #d4dacb !important;
  border-radius:12px;
  background:#fff !important;
}

body.theme-day #topicsCard .moduleToolbar > button.primary {
  min-height:38px;
  padding:8px 14px;
  border-color:var(--evolua-green) !important;
  background:var(--evolua-green) !important;
  color:#fff !important;
  font-size:12px;
}

body.theme-day #topicsCard .moduleToolbar .allQuestionsQuantity {
  display:flex;
  align-items:center;
  gap:7px;
  color:#4b5d52 !important;
  font-size:12px;
}

body.theme-day #topicsCard .moduleToolbar .allQuestionsQuantity select,
body.theme-day #topicsCard .topicQuestionCreator select {
  border:1px solid #96a599 !important;
  background:#fff !important;
  color:#152820 !important;
}

body.theme-day #topicsCard .generationEstimatesGroup {
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.theme-day #topicsCard .topicGenerationEstimate,
body.theme-day #topicsCard .simGenerationEstimate {
  border:1px solid #d4dacb !important;
  background:#f9faf5 !important;
  color:#34463b !important;
}

body.theme-day #topicsCard .topicGenerationEstimate.generationActivity,
body.theme-day #topicsCard .simGenerationEstimate.generationActivity {
  border-color:#b8cda9 !important;
  background:#f4f8ee !important;
}

body.theme-day #topicsCard .topicGenerationEstimate.generationActivity::before,
body.theme-day #topicsCard .simGenerationEstimate.generationActivity::before {
  background:var(--evolua-green) !important;
}

body.theme-day #topicsCard .topicGenerationEstimate span,
body.theme-day #topicsCard .simGenerationEstimate span,
body.theme-day #topicsCard .topicGenerationEstimate small,
body.theme-day #topicsCard .simGenerationEstimate small {
  color:#34463b !important;
}

body.theme-day #topicsCard .topicGenerationEstimate strong,
body.theme-day #topicsCard .simGenerationEstimate strong {
  color:#152820 !important;
}


body.theme-day #topicsCard .topicCards {
  display:grid;
  gap:10px;
}

body.theme-day #topicsCard .topicBlockCard {
  border:1px solid #d4dacb !important;
  border-radius:11px !important;
  background:#fff !important;
  color:#152820 !important;
  box-shadow:none !important;
}

body.theme-day #topicsCard .topicBlockCard:hover {
  border-color:#b6c4ad !important;
  background:#fff !important;
}

body.theme-day #topicsCard .topicBlockCard .topicCardHead {
  grid-template-columns:minmax(0, 1fr) auto !important;
}

body.theme-day #topicsCard .topicCardTitle,
body.theme-day #topicsCard .topicTitleBtn {
  color:#152820 !important;
  font-weight:750;
}

body.theme-day #topicsCard .topicTitleBtn:hover {
  color:var(--evolua-green) !important;
  text-decoration:underline;
}

body.theme-day #topicsCard .topicState {
  padding:4px 9px;
  border:1px solid #d4dacb;
  border-radius:999px;
  background:#eceee6;
  color:#34463b;
  font-size:10px;
  font-weight:750;
}

body.theme-day #topicsCard .topicState.stateDone,
body.theme-day #topicsCard .topicState.stateProgress {
  border-color:#b8cda9 !important;
  background:#e8efe0 !important;
  color:var(--evolua-green) !important;
}

body.theme-day #topicsCard .topicBlockCard .topicMeta,
body.theme-day #topicsCard .topicBlockCard .topicMeta .topicBlockPages,
body.theme-day #topicsCard .topicBlockCard .topicMetaStat {
  color:#4b5d52 !important;
}

body.theme-day #topicsCard .topicBlockCard .topicMeta .topicBlockPages {
  font-weight:650;
}

body.theme-day #topicsCard .topicBlockCard .topicReadingBar {
  height:5px;
  margin:6px 0 7px;
  border:0;
  background:#eceee6 !important;
}

body.theme-day #topicsCard .topicBlockCard .topicReadingBar span {
  background:var(--evolua-green) !important;
}

body.theme-day #topicsCard .blockReviewStatus:not(.active) {
  display:none;
}

body.theme-day #topicsCard .blockReviewStatus.active {
  margin:5px 0;
  padding:6px 8px;
  border-radius:7px;
  background:#fdf2dc !important;
  border-color:#e5cb94 !important;
  color:#6b4b19 !important;
  font-size:11px;
}

body.theme-day #topicsCard .topicActions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  margin-top:8px;
}

body.theme-day #topicsCard .topicActions button:not(.blockReadingButton):not(.resetReadingButton):not(.isCompleted) {
  min-height:36px;
  padding:7px 11px;
  border:1px solid #96a599 !important;
  border-radius:8px;
  background:#fff !important;
  color:#152820 !important;
  font-size:11px;
  font-weight:700;
}

body.theme-day #topicsCard .topicActions button:not(.blockReadingButton):not(.resetReadingButton):not(.isCompleted):hover {
  border-color:var(--evolua-green) !important;
  background:#f9faf5 !important;
  color:var(--evolua-green-hover) !important;
}

body.theme-day #topicsCard .topicActions .blockPdfQuestions {
  border-color:#b8cda9 !important;
  background:#e8efe0 !important;
  color:var(--evolua-green) !important;
}

body.theme-day #topicsCard .topicActions .blockPdfQuestions.isCompleted {
  border-color:var(--evolua-green-hover) !important;
  background:var(--evolua-green-hover) !important;
  color:#fff !important;
}

body.theme-day #topicsCard .topicActions .resetReadingButton {
  min-height:36px;
  padding:7px 11px;
  border:1px solid #d4dacb !important;
  border-radius:8px;
  background:#f9faf5 !important;
  color:#4b5d52 !important;
  font-size:11px;
  font-weight:700;
}

body.theme-day #topicsCard .blockDailySummary,
body.theme-day #topicsCard .blockDailySummary .dailyScopeTitle,
body.theme-day #topicsCard .blockDailyCompact {
  color:#4b5d52 !important;
}

body.theme-day #topicsCard .moduleReviewCard {
  margin-top:12px;
  padding:13px 16px;
  border:1px solid #d4dacb !important;
  border-radius:13px;
  background:#fff !important;
  color:#152820 !important;
}

body.theme-day #topicsCard .moduleReviewCard h3 {
  color:#152820 !important;
  font-size:14px;
}

body.theme-day #topicsCard .moduleReviewCard p {
  color:#4b5d52 !important;
  font-size:11px;
}

body.theme-day #topicsCard .moduleReviewCard .moduleReviewStatus {
  background:#f9faf5 !important;
  border:1px solid #d4dacb !important;
  color:#34463b !important;
}

body.theme-day #topicsCard .moduleReviewCard .primary {
  min-height:36px;
  background:var(--evolua-green) !important;
  border-color:var(--evolua-green) !important;
  color:#fff !important;
}

body.theme-day #topicsCard .finalExamCard {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:7px 14px;
  margin-top:12px;
  padding:13px 16px;
  border:1px solid #b8cda9 !important;
  border-radius:13px;
  background:#e8efe0 !important;
  color:#152820 !important;
}

body.theme-day #topicsCard .finalExamCard h3 {
  grid-column:1/-1;
  margin:0;
  color:#152820 !important;
  font-size:14px;
}

body.theme-day #topicsCard .finalExamCard p {
  margin:0;
  color:#4b5d52 !important;
  font-size:11px;
}

body.theme-day #topicsCard .finalExamQueueStatus {
  grid-column:1/-1;
  color:#34463b !important;
  font-size:11px;
}

body.theme-day #topicsCard .finalExamCard.hasExamWarning .finalExamQueueStatus {
  padding:9px 11px;
  border:1px solid #e5cb94 !important;
  border-radius:8px;
  background:#fdf2dc !important;
  color:#6b4b19 !important;
}

body.theme-day #topicsCard .finalExamCard .examMainButton {
  min-height:36px;
  border-color:var(--evolua-green) !important;
  background:var(--evolua-green) !important;
  color:#fff !important;
}

body.theme-day #topicsCard .finalExamCard .examMainButton[disabled] {
  border-color:#96a599 !important;
  background:#eceee6 !important;
  color:#34463b !important;
}

@media (max-width: 900px) {
  body.theme-day #topicsCard .moduleToolbar {
    flex-wrap:wrap !important;
  }
  body.theme-day #topicsCard .moduleQueueActions {
    flex:1 1 auto;
    margin-left:0;
  }
}

@media (max-width: 560px) {
  body.theme-day #topicsCard .moduleOverview {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body.theme-day #topicsCard .moduleOverview .moduleMetric:last-child {
    grid-column:1 / -1 !important;
  }
  body.theme-day #topicsCard .moduleToolbar > button,
  body.theme-day #topicsCard .moduleToolbar .allQuestionsQuantity {
    width:100%;
    justify-content:space-between;
  }
  body.theme-day #topicsCard .topicActions button {
    min-height:44px;
  }
}

/* Símbolo oficial SVG da Erudiva restaurado no modo claro. */
body.theme-day #evoluaSidebar .evoluaBrandSymbol {
  display: grid !important;
  width: 32px !important;
  height: 32px !important;
  place-items: center !important;
  flex: 0 0 32px;
  border-radius: 8px !important;
  background: #0f172a !important;
  color: #fff !important;
}

body.theme-day #evoluaSidebar .evoluaBrandSymbol svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
}


/* Painel administrativo: usuários e filas de geração no modo diurno */
body.theme-day #adminUsersDialog .accountDialogHeader {
  border-bottom: 1px solid #d4dacb;
  background: #fff;
  color: #152820;
}
body.theme-day #adminUsersDialog .accountDialogHeader h2 {
  color: #152820 !important;
}
body.theme-day #adminUsersDialog .accountDialogHeader p,
body.theme-day #adminUsersDialog .accountEyebrow {
  color: #4b5d52 !important;
}
body.theme-day #adminUsersDialog button:not(.primary):not(.adminTabBtn):not(.studentSummaryButton):not(.adminStudentChip) {
  background: #fff !important;
  border: 1px solid #96a599 !important;
  color: #152820 !important;
  box-shadow: none !important;
}
body.theme-day #adminUsersDialog button:not(.primary):not(.adminTabBtn):not(.studentSummaryButton):not(.adminStudentChip):hover {
  background: #f9faf5 !important;
  border-color: var(--evolua-green) !important;
  color: var(--evolua-green-hover) !important;
}
body.theme-day #adminUsersDialog .adminJobCancelBtn {
  background: #fff5f5 !important;
  border-color: #f4a6a6 !important;
  color: #a52630 !important;
}
body.theme-day #adminUsersDialog .adminJobCancelBtn:hover {
  background: #fee2e2 !important;
  border-color: #dc2626 !important;
  color: #7f1d1d !important;
}
body.theme-day #adminUsersDialog .adminJobRetryBtn {
  background: #e8efe0 !important;
  border-color: #b8cda9 !important;
  color: var(--evolua-green) !important;
}
body.theme-day #adminUsersDialog .adminJobRetryBtn:hover {
  background: #dce8d0 !important;
  border-color: var(--evolua-green) !important;
  color: var(--evolua-green-hover) !important;
}
body.theme-day #adminUsersDialog .adminDialogTabs {
  background: #f9faf5 !important;
  border-bottom-color: #d4dacb !important;
}
body.theme-day #adminUsersDialog .adminTabBtn {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  color: #4b5d52 !important;
}
body.theme-day #adminUsersDialog .adminTabBtn:hover {
  background: rgba(33, 88, 63, 0.05) !important;
  color: #152820 !important;
}
body.theme-day #adminUsersDialog .adminTabBtn.active {
  background: transparent !important;
  border-bottom-color: var(--evolua-green) !important;
  color: var(--evolua-green) !important;
}
body.theme-day #adminUsersDialog .adminQueueControls select,
body.theme-day #adminUsersDialog .adminQueueControls input {
  background: #fff !important;
  border: 1px solid #96a599 !important;
  color: #152820 !important;
}
body.theme-day #adminUsersDialog .adminQueueKpi {
  background: #f9faf5 !important;
  border-color: #d4dacb !important;
}
body.theme-day #adminUsersDialog .adminQueueKpi span,
body.theme-day #adminUsersDialog .adminQueueKpi small,
body.theme-day #adminUsersDialog .adminQueueControls label,
body.theme-day #adminUsersDialog .adminJobMeta,
body.theme-day #adminUsersDialog .adminJobStudent span,
body.theme-day #adminUsersDialog .adminJobContext {
  color: #4b5d52 !important;
}
body.theme-day #adminUsersDialog .adminQueueKpi strong,
body.theme-day #adminUsersDialog .adminJobStudent {
  color: #152820 !important;
}
body.theme-day #adminUsersDialog .adminQueueKpi.hasError {
  background: #fff5f5 !important;
  border-color: #f4a6a6 !important;
}
body.theme-day #adminUsersDialog .adminQueueKpi.hasError strong,
body.theme-day #adminUsersDialog .adminQueueKpi.hasError small {
  color: #a52630 !important;
}
body.theme-day #adminUsersDialog .adminQueueKpi.hasWarn {
  background: #fdf2dc !important;
  border-color: #e5cb94 !important;
}
body.theme-day #adminUsersDialog .adminQueueKpi.hasWarn strong,
body.theme-day #adminUsersDialog .adminQueueKpi.hasWarn small {
  color: #6b4b19 !important;
}
body.theme-day #adminUsersDialog .adminJobCard {
  background: #fff !important;
  border-color: #d4dacb !important;
}
body.theme-day #adminUsersDialog .adminJobCard.status-error {
  border-color: #f4a6a6 !important;
}
body.theme-day #adminUsersDialog .adminJobType {
  background: #f9faf5 !important;
  border-color: #d4dacb !important;
  color: #34463b !important;
}
body.theme-day #adminUsersDialog .adminJobStatus.isError {
  background: #fff5f5 !important;
  border-color: #f4a6a6 !important;
  color: #a52630 !important;
}
body.theme-day #adminUsersDialog .adminJobStatus.isRunning,
body.theme-day #adminUsersDialog .adminJobStatus.isDone {
  background: #e8efe0 !important;
  border-color: #b8cda9 !important;
  color: var(--evolua-green) !important;
}
body.theme-day #adminUsersDialog .adminJobStatus.isStale {
  background: #fdf2dc !important;
  border-color: #e5cb94 !important;
  color: #6b4b19 !important;
}
body.theme-day #adminUsersDialog .adminJobStatus.isQueued,
body.theme-day #adminUsersDialog .adminJobStatus.isCancelled {
  background: #eceee6 !important;
  border-color: #d4dacb !important;
  color: #34463b !important;
}
body.theme-day #adminUsersDialog .primary {
  background: var(--evolua-green) !important;
  border-color: var(--evolua-green) !important;
  color: #fff !important;
}
body.theme-day #adminUsersDialog .adminQueueStudentChips {
  background: #f9faf5 !important;
  border-color: #d4dacb !important;
}
body.theme-day #adminUsersDialog .adminStudentChipsTitle,
body.theme-day #adminUsersDialog .adminJobOwnerLabel,
body.theme-day #adminUsersDialog .adminJobOwnerEmail {
  color: #4b5d52 !important;
}
body.theme-day #adminUsersDialog .adminStudentChip {
  background: #fff !important;
  border-color: #d4dacb !important;
  color: #152820 !important;
}
body.theme-day #adminUsersDialog .adminStudentChip small {
  color: #4b5d52 !important;
}
body.theme-day #adminUsersDialog .adminStudentChip.hasError {
  background: #fff5f5 !important;
  border-color: #f4a6a6 !important;
}
body.theme-day #adminUsersDialog .adminStudentChip.hasError small {
  color: #a52630 !important;
}
body.theme-day #adminUsersDialog .adminStudentChip.active {
  background: var(--evolua-surface-dark) !important;
  border-color: var(--evolua-surface-dark) !important;
  color: var(--evolua-on-green) !important;
}
body.theme-day #adminUsersDialog .adminStudentChip.active small {
  color: #ddedb1 !important;
}
body.theme-day #adminUsersDialog .adminJobOwnerBar {
  background: #f9faf5 !important;
  border-color: #d4dacb !important;
}
body.theme-day #adminUsersDialog .adminJobOwnerName {
  color: #152820 !important;
}
body.theme-day #adminUsersDialog .adminJobOwnerId {
  background: #e8efe0 !important;
  border-color: #b8cda9 !important;
  color: var(--evolua-green) !important;
}

body.theme-day #adminUsersDialog .adminJobOwnerAvatar {
  background: var(--evolua-green) !important;
  color: var(--evolua-on-green) !important;
}

/* ============================================================================
   Modo Noturno (body.theme-minimal:not(.theme-day)):
   Mantém as cores escuras originais do modo noturno (#0e1217 / #12161f / #151a23)
   e espelha exatamente o design, proporções compactas e estrutura do modo diurno.
   Não altera seletores internos do leitor de PDF (.paper / .readerMode).
   ============================================================================ */
body.theme-minimal:not(.theme-day) {
  --bg: #0e1217;
  --side: #12161f;
  --panel: #151a23;
  --line: #232a35;
  --text: #e6edf3;
  --muted: #9aa8b8;
  --dashboard-bg: #0e1217 !important;
  --dashboard-card: #151a23 !important;
  --dashboard-line: #232a35 !important;
  --dashboard-text: #e6edf3 !important;
  --dashboard-muted: #9aa8b8 !important;
  --dashboard-green: #4fd08a !important;
  --dashboard-blue: #60a5fa !important;
  --dashboard-series-0: #3b82f6 !important;
  --dashboard-series-1: #10b981 !important;
  --dashboard-series-2: #8b5cf6 !important;
}

body.theme-minimal:not(.theme-day) #mainContent,
body.theme-minimal:not(.theme-day) .evoluaMain,
body.theme-minimal:not(.theme-day) .evoluaMain:has(#workspace.moduleFocus),
body.theme-minimal:not(.theme-day) .app.homeMode {
  background: #0e1217 !important;
  color: #e6edf3;
}

body.theme-minimal:not(.theme-day) #mainContent,
body.theme-minimal:not(.theme-day) #evoluaSidebar,
body.theme-minimal:not(.theme-day) #userControl,
body.theme-minimal:not(.theme-day) .appDialogBackdrop .appDialog {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
}

body.theme-minimal:not(.theme-day) #mainContent h1,
body.theme-minimal:not(.theme-day) #mainContent h2,
body.theme-minimal:not(.theme-day) #mainContent h3,
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaBrandTitle,
body.theme-minimal:not(.theme-day) .appDialogBackdrop .appDialog h1,
body.theme-minimal:not(.theme-day) .appDialogBackdrop .appDialog h2,
body.theme-minimal:not(.theme-day) .appDialogBackdrop .appDialog h3 {
  font-family: Manrope, "DM Sans", system-ui, sans-serif;
  letter-spacing: -.02em;
}

/* Shell desktop 248px + rodapé compacto (mesmas dimensões do diurno) */
@media (min-width: 851px) {
  body.theme-minimal:not(.theme-day) .app:not(.cycleMode) #evoluaSidebar,
  body.theme-minimal:not(.theme-day) .app.cycleMode #evoluaSidebar {
    width: 248px !important;
    min-width: 248px !important;
    max-width: 248px !important;
    padding: 16px 12px 62px !important;
    background: #12161f !important;
    border-right: 1px solid #202630 !important;
  }
  body.theme-minimal:not(.theme-day) .app.homeMode:has(#evoluaSidebar) {
    grid-template-columns: 248px minmax(0, 1fr) !important;
  }
  body.theme-minimal:not(.theme-day) .app.homeMode #evoluaSidebar {
    display: flex !important;
  }
  body.theme-minimal:not(.theme-day) .app.homeMode #mainContent,
  body.theme-minimal:not(.theme-day) #mainContent:not(.homeMode #mainContent) {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 20px 28px 34px !important;
  }
  body.theme-minimal:not(.theme-day) #userControl {
    left: 12px !important;
    bottom: 8px !important;
    width: 224px !important;
    max-width: 224px !important;
    gap: 4px !important;
  }
  body.theme-minimal:not(.theme-day) #userControl .userAccountButton {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 4px 7px !important;
  }
  body.theme-minimal:not(.theme-day) #userControl .userAdminButton {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  body.theme-minimal:not(.theme-day) #userControl .userAdminButton .userAdminText {
    display: none !important;
  }
  body.theme-minimal:not(.theme-day) #userControl .themeDayNightToggle,
  body.theme-minimal:not(.theme-day) #userControl .userLogoutButton {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 7px !important;
  }
}

body.theme-minimal:not(.theme-day) #evoluaSidebar {
  background: #12161f !important;
  color: #e6edf3 !important;
  border-color: #202630 !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaBrandTitle {
  color: #f8fafc !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaBrandTagline,
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaSectionHeader {
  color: #9aa8b8 !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaBrandSymbol {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaNavItem {
  min-height: 38px !important;
  padding: 8px 10px !important;
  gap: 9px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #cbd5e1 !important;
  font: 600 13px/1.35 "DM Sans", sans-serif !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaNavItem:hover {
  background: #1a212d !important;
  color: #ffffff !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaNavItem.active {
  background: #182232 !important;
  border-color: #29384d !important;
  color: #93c5fd !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaNavItem.active::before {
  display: none;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaSectionHeader {
  padding: 6px 8px 8px !important;
  font-size: 10px !important;
  letter-spacing: .06em !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar #subjects .subject {
  min-height: 36px !important;
  padding: 7px 8px 7px 34px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #cbd5e1 !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar #subjects .subject:hover {
  background: #1a212d !important;
  border-color: #263142 !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar .sidebarEditalActive,
body.theme-minimal:not(.theme-day) #evoluaSidebar #subjects .subject.currentSubject {
  background: #182232 !important;
  border-color: #2b3c54 !important;
  color: #93c5fd !important;
}
body #evoluaSidebar #subjects .subject.currentSubject b {
  color: inherit !important;
  font-weight: 700 !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaSidebarFooter {
  border-color: #202630 !important;
}
body.theme-minimal:not(.theme-day) #evoluaSidebar #themeToggleBtn {
  min-height: 36px !important;
  padding: 6px 9px !important;
  border-color: #26303d !important;
  background: #151a23 !important;
  color: #cbd5e1 !important;
}
body.theme-minimal:not(.theme-day) #userControl {
  background: #12161f !important;
  border-color: #202630 !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #userControl button {
  background: #181f2b !important;
  border-color: #293545 !important;
  color: #e6edf3 !important;
}

@media (max-width: 850px) {
  body.theme-minimal:not(.theme-day) .evoluaMobileHeader {
    background: #12161f !important;
    border-bottom: 1px solid #202630 !important;
    color: #e6edf3 !important;
  }
  body.theme-minimal:not(.theme-day) .evoluaMobileBrand,
  body.theme-minimal:not(.theme-day) .evoluaMobileBrandName {
    color: #f8fafc !important;
  }
  body.theme-minimal:not(.theme-day) .evoluaMobileBrandDot,
  body.theme-minimal:not(.theme-day) .evoluaMobileBrandSlogan {
    color: #9aa8b8 !important;
  }
  body.theme-minimal:not(.theme-day) .evoluaMobileNavToggle,
  body.theme-minimal:not(.theme-day) .evoluaMobileHomeBtn {
    background: #181f2b !important;
    border: 1px solid #2d3746 !important;
    color: #e6edf3 !important;
    box-shadow: none !important;
  }
}

/* Cards gerais em escuro neutro original (#151a23 / #232a35) */
body.theme-minimal:not(.theme-day) .card,
body.theme-minimal:not(.theme-day) .app.homeMode .card,
body.theme-minimal:not(.theme-day) .futuristicAnalyticsCard,
body.theme-minimal:not(.theme-day) .editalPanelCard,
body.theme-minimal:not(.theme-day) .reviewPanel,
body.theme-minimal:not(.theme-day) #workspace .card,
body.theme-minimal:not(.theme-day) .subjectTopGrid > .card,
body.theme-minimal:not(.theme-day) .subjectTopGrid > .subjectProgressBanner,
body.theme-minimal:not(.theme-day) .simuladoCard,
body.theme-minimal:not(.theme-day) .simuladoTopBar,
body.theme-minimal:not(.theme-day) .simuladoReportHero,
body.theme-minimal:not(.theme-day) .simuladoReviewItem,
body.theme-minimal:not(.theme-day) .simuladoReportMetricCard {
  background: #151a23 !important;
  border-color: #232a35 !important;
  color: #e6edf3 !important;
  box-shadow: none !important;
}

/* Início (#dashboard): proporções idênticas ao diurno com paleta escura original */
body.theme-minimal:not(.theme-day) #dashboard {
  font-family: "DM Sans", system-ui, sans-serif !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #dashboard h1,
body.theme-minimal:not(.theme-day) #dashboard h2 {
  font-family: Manrope, "DM Sans", system-ui, sans-serif !important;
  letter-spacing: -.02em;
  color: #f8fafc !important;
}
body.theme-minimal:not(.theme-day) #dashboard .muted {
  color: #9aa8b8 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaHomeHero {
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.52fr) !important;
  gap: 14px !important;
  margin: 0 0 14px !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaHeroGreetingCol,
body.theme-minimal:not(.theme-day) #dashboard .evoluaContinuityCard {
  min-height: 224px !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaHeroGreetingCol {
  justify-content: center;
  padding: 20px 22px !important;
  border: 1px solid #232a35 !important;
  background: #151a23 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaHeroEyebrow {
  margin-bottom: 6px;
  color: #60a5fa !important;
  font: 800 10.5px/1.3 "DM Sans", sans-serif !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaHeroTitle {
  margin: 0 0 6px;
  font: 800 clamp(21px, 1.85vw, 27px)/1.2 Manrope, "DM Sans", sans-serif !important;
  color: #f8fafc !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaHeroGreetingCol .evoluaHeroSubtitle {
  max-width: 300px;
  color: #9aa8b8 !important;
  font-size: 13px;
  line-height: 1.45;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaContinuityCard,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaContinuityCard {
  justify-content: space-between;
  padding: 18px 20px !important;
  border: 1px solid #283649 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #131b26, #182233) !important;
  color: #f1f5f9 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .evoluaContinuityCard {
  min-height: 0 !important;
  margin-bottom: 14px;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionTag,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionTag {
  padding: 3px 10px;
  border: 1px solid #2f4b6e;
  border-radius: 999px;
  background: #1a2b42 !important;
  color: #bfdbfe !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionCategory,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionCategory {
  margin: 0 0 3px;
  color: #b8c6d8 !important;
  font-size: 12px;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionSubjectTitle,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionSubjectTitle {
  margin: 0 0 10px;
  color: #ffffff !important;
  font: 800 20px/1.2 Manrope, "DM Sans", sans-serif !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionMetricsRow,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionMetricsRow {
  grid-template-columns: 1.2fr .85fr 1.2fr;
  margin: 2px 0 12px;
  padding: 4px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid #2a374b !important;
  background: transparent !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionMetricItem,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionMetricItem {
  padding: 8px 12px;
  border-color: #2a374b !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionMetricItem:first-child,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionMetricItem:first-child {
  padding-left: 0;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionMetricLabel,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionMetricLabel {
  color: #a6b6ca !important;
  font-size: 10px;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionMetricValue,
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionMetricValue strong,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionMetricValue,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionMetricValue strong {
  color: #f8fafc !important;
  font-size: 12px;
  font-weight: 700;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionMetricItem:last-child .evoluaActionMetricValue strong,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionMetricItem:last-child .evoluaActionMetricValue strong {
  color: #69d19b !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionProgress,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionProgress {
  height: 7px;
  background: #232d3c !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionProgress > span,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionProgress > span {
  background: #3b82f6 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaActionButtonsRow,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaActionButtonsRow {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaPrimaryCtaBtn,
body.theme-minimal:not(.theme-day) #dashboard .evoluaSecondaryActionBtn,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaContinuityCard button.evoluaPrimaryCtaBtn,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaContinuityCard button.evoluaSecondaryActionBtn {
  min-width: 0;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaPrimaryCtaBtn,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaContinuityCard button.evoluaPrimaryCtaBtn {
  background: #1d68e1 !important;
  border: 1px solid #3b82f6 !important;
  color: #ffffff !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaPrimaryCtaBtn:hover,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaContinuityCard button.evoluaPrimaryCtaBtn:hover {
  background: #2563eb !important;
  border-color: #60a5fa !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaSecondaryActionBtn,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaContinuityCard button.evoluaSecondaryActionBtn {
  background: #1c2432 !important;
  border: 1px solid #313f54 !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaSecondaryActionBtn:hover,
body.theme-minimal:not(.theme-day) #cyclePage .evoluaContinuityCard button.evoluaSecondaryActionBtn:hover {
  background: #253042 !important;
  border-color: #455873 !important;
  color: #ffffff !important;
}
body.theme-minimal:not(.theme-day) #dashboard .evoluaSecondaryActionBtn:nth-of-type(3) {
  bottom: 18px;
  left: 20px;
  color: #a6b6ca !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardPlanningRow {
  gap: 14px;
  margin-bottom: 14px;
}
body.theme-minimal:not(.theme-day) #dashboard .editalPanelCard,
body.theme-minimal:not(.theme-day) #dashboard .reviewPanel,
body.theme-minimal:not(.theme-day) #dashboard .homeTodayMetric {
  border: 1px solid #232a35 !important;
  border-radius: 14px !important;
  background: #151a23 !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .editalPanelCard {
  min-height: 118px;
  padding: 13px 18px 12px !important;
}
body.theme-minimal:not(.theme-day) #dashboard .homeTodayMetric {
  min-height: 118px;
  padding: 14px 18px !important;
}
body.theme-minimal:not(.theme-day) #dashboard #editalSelect {
  border-color: #2c3748 !important;
  background: #11161f !important;
  color: #f8fafc !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardPlanActions summary {
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  border: 1px solid #2c3748 !important;
  border-radius: 9px !important;
  background: #1a212d !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardReviewsAction {
  border-color: #2d394b !important;
  background: #1a212d !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardCards {
  gap: 12px !important;
  margin-bottom: 14px !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardMetric {
  min-height: 98px;
  padding: 14px 16px 12px !important;
  border: 1px solid #232a35 !important;
  border-radius: 14px !important;
  background: #151a23 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardMetric > strong,
body.theme-minimal:not(.theme-day) #dashboard .dashboardMetric:nth-child(even) > strong {
  color: #f8fafc !important;
  font: 800 22px/1.2 Manrope, "DM Sans", sans-serif !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardMetricIcon {
  width: 44px;
  height: 44px;
  top: 26px;
  right: 16px;
  border-color: #2f4e45 !important;
  color: #4fd08a !important;
  background: #111720 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardMetric:nth-child(even) .dashboardMetricIcon {
  border-color: #2c435f !important;
  color: #60a5fa !important;
}
body.theme-minimal:not(.theme-day) #dashboard .metricHeader {
  color: #9aa8b8 !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardGrid {
  gap: 14px !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardSubjectsCard,
body.theme-minimal:not(.theme-day) #dashboard .dashboardAttentionCard,
body.theme-minimal:not(.theme-day) #dashboard .dashboardRecentCard {
  border: 1px solid #232a35 !important;
  border-radius: 14px !important;
  background: #151a23 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardSubjectCategory {
  background: #1a2332 !important;
  border-color: #2b3a50 !important;
  color: #bfdbfe !important;
}
body.theme-minimal:not(.theme-day) #dashboard .dashboardAllSubjects {
  color: #7eb6ff !important;
}
body.theme-minimal:not(.theme-day) #dashboard .performanceBar {
  background: #232c3b !important;
}
body.theme-minimal:not(.theme-day) #dashboard .recentBar {
  background: linear-gradient(#3b82f6, #1d68e1) !important;
}
body.theme-minimal:not(.theme-day) #dashboard .recentBar.correct {
  background: linear-gradient(#4fd08a, #10b981) !important;
}
body.theme-minimal:not(.theme-day) #dashboard .recentLegend i {
  background: #3b82f6 !important;
}
body.theme-minimal:not(.theme-day) #dashboard .recentLegend .correctLegend i {
  background: #4fd08a !important;
}

/* Matéria aberta (#workspace) */
body.theme-minimal:not(.theme-day) #workspace {
  color: #e6edf3;
}
body.theme-minimal:not(.theme-day) #workspace .workspaceHeaderRow {
  margin-bottom: 14px;
}
body.theme-minimal:not(.theme-day) #workspace .workspaceHeaderLeft #subjectTitle {
  color: #f8fafc !important;
  font: 800 24px/1.25 Manrope, "DM Sans", sans-serif !important;
  letter-spacing: -.02em;
  text-shadow: none !important;
}
body.theme-minimal:not(.theme-day) #workspace .subjectTopGrid {
  grid-template-columns: minmax(145px, 190px) minmax(0, 1fr) !important;
  gap: 14px;
  margin-bottom: 14px;
}
body.theme-minimal:not(.theme-day) #workspace .subjectTopGrid > .card,
body.theme-minimal:not(.theme-day) #workspace .subjectTopGrid > .subjectProgressBanner {
  min-height: 96px;
  padding: 14px 18px;
  border: 1px solid #232a35 !important;
  border-radius: 14px;
  background: #151a23 !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #workspace .subjectTopGrid > .card h2 {
  margin: 0 0 8px;
  color: #f8fafc !important;
  font: 700 14px/1.3 "DM Sans", sans-serif !important;
}
body.theme-minimal:not(.theme-day) #workspace .subjectTopGrid > .card .uploadToggle {
  min-height: 36px;
  padding: 8px 14px !important;
  border: 1px solid #3b82f6 !important;
  border-radius: 9px !important;
  background: #1d68e1 !important;
  color: #ffffff !important;
  font-size: 12px !important;
}
body.theme-minimal:not(.theme-day) #workspace .subjectTopGrid > .card .uploadToggle:hover {
  background: #2563eb !important;
}
body.theme-minimal:not(.theme-day) #workspace .subjectProgressHeader {
  grid-template-columns: max-content repeat(3, minmax(0, 1fr)) !important;
  align-items: center;
  gap: 8px 12px !important;
  margin-bottom: 7px;
}
body.theme-minimal:not(.theme-day) #workspace .subjectProgressBadge,
body.theme-minimal:not(.theme-day) #workspace .subjectProgressBadge.complete {
  padding: 5px 10px;
  border: 1px solid #2c415c !important;
  border-radius: 999px;
  background: #182334 !important;
  color: #bfdbfe !important;
  font-size: 11px;
  box-shadow: none !important;
}
body.theme-minimal:not(.theme-day) #workspace .subjectProgressStatItem small {
  color: #9aa8b8 !important;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
}
body.theme-minimal:not(.theme-day) #workspace .subjectProgressStatItem span,
body.theme-minimal:not(.theme-day) #workspace .subjectProgressStatItem b {
  color: #e6edf3 !important;
  font-size: 12px;
}
body.theme-minimal:not(.theme-day) #workspace .subjectProgressPerfPct.perf-good,
body.theme-minimal:not(.theme-day) #workspace .subjectProgressCorrect,
body.theme-minimal:not(.theme-day) #workspace .moduleDailyBoxMetrics .dailyCorrect,
body.theme-minimal:not(.theme-day) #workspace .moduleDailyBoxMetrics .dailyPerformanceGood {
  color: #4fd08a !important;
}
body.theme-minimal:not(.theme-day) #workspace .subjectProgressPerfPct.perf-mid,
body.theme-minimal:not(.theme-day) #workspace .moduleDailyBoxMetrics .dailyPerformanceMid {
  color: #fcd34d !important;
}
body.theme-minimal:not(.theme-day) #workspace .subjectProgressPerfPct.perf-bad,
body.theme-minimal:not(.theme-day) #workspace .subjectProgressWrong,
body.theme-minimal:not(.theme-day) #workspace .moduleDailyBoxMetrics .dailyWrong,
body.theme-minimal:not(.theme-day) #workspace .moduleDailyBoxMetrics .dailyPerformanceBad {
  color: #fda4af !important;
}
body.theme-minimal:not(.theme-day) #workspace .subjectProgressBar {
  height: 7px;
  margin-top: 5px;
  border: 0;
  background: #232c3b !important;
}
body.theme-minimal:not(.theme-day) #workspace .subjectProgressBar span {
  background: #3b82f6 !important;
  box-shadow: none !important;
}
body.theme-minimal:not(.theme-day) #workspace .materialTabsNav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0 0 8px;
  border-bottom: 1px solid #232a35 !important;
  background: transparent !important;
}
body.theme-minimal:not(.theme-day) #workspace .materialTabBtn {
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid #2c3748 !important;
  border-radius: 999px;
  background: #151a23 !important;
  color: #e6edf3 !important;
  font: 700 12px/1.2 "DM Sans", sans-serif;
}
body.theme-minimal:not(.theme-day) #workspace .materialTabBtn:hover {
  background: #1a212d !important;
  border-color: #475a75 !important;
}
body.theme-minimal:not(.theme-day) #workspace .materialTabBtn.active {
  background: #1a2840 !important;
  border-color: #3b82f6 !important;
  color: #dbeafe !important;
}
body.theme-minimal:not(.theme-day) #workspace .materialTabBtn .tabBadge {
  background: #11161f !important;
  border-color: #232a35 !important;
  color: #9aa8b8 !important;
}
body.theme-minimal:not(.theme-day) #workspace .materialTabBtn.active .tabBadge {
  background: #233859 !important;
  border-color: #233859 !important;
  color: #dbeafe !important;
}
body.theme-minimal:not(.theme-day) #workspace .doc {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 7px 14px;
  min-height: 0;
  padding: 14px 16px !important;
  border: 1px solid #232a35 !important;
  border-radius: 12px !important;
  background: #151a23 !important;
  color: #e6edf3 !important;
  box-shadow: none !important;
}
body.theme-minimal:not(.theme-day) #workspace .doc:hover {
  border-color: #334054 !important;
}
body.theme-minimal:not(.theme-day) #workspace .docTitleBtn {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  padding: 0 190px 0 0 !important;
  text-align: left;
}
body.theme-minimal:not(.theme-day) #workspace .docTitleBtn b {
  color: #f8fafc !important;
  font: 750 15px/1.35 "DM Sans", sans-serif !important;
}
body.theme-minimal:not(.theme-day) #workspace .documentMeta {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 7px 12px !important;
  margin: 0 !important;
}
body.theme-minimal:not(.theme-day) #workspace .documentChip {
  height: 23px;
  padding: 0 8px;
  border: 1px solid #263142 !important;
  border-radius: 999px;
  background: #11161f !important;
  color: #cbd5e1 !important;
  font-size: 10px;
}
body.theme-minimal:not(.theme-day) #workspace .moduleDailySummary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 5px 11px;
  border: 1px solid #263142 !important;
  border-radius: 10px;
  background: #11161f !important;
  color: #cbd5e1 !important;
  white-space: nowrap;
}
body.theme-minimal:not(.theme-day) #workspace .moduleOverallSummary {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 4px;
  color: #cbd5e1 !important;
  white-space: nowrap;
}
body.theme-minimal:not(.theme-day) #workspace .docGenerationBadge {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 5px !important;
  min-height: 0;
  margin: 0 !important;
  padding: 8px 11px !important;
  border: 1px solid #263142 !important;
  border-radius: 9px !important;
  background: #11161f !important;
}
body.theme-minimal:not(.theme-day) #workspace .moduleStudyStage {
  padding: 3px 9px;
  border: 1px solid #283344;
  border-radius: 999px;
  background: #151a23;
  color: #9aa8b8 !important;
  font-size: 10px;
  font-weight: 700;
}
body.theme-minimal:not(.theme-day) #workspace .moduleStudyStage.done {
  border-color: #275e45;
  background: #122920;
  color: #a7f3d0 !important;
}
body.theme-minimal:not(.theme-day) #workspace .moduleStudyStage.isCurrent {
  border-color: #6b5324;
  background: #2b2210;
  color: #fde68a !important;
}
body.theme-minimal:not(.theme-day) #workspace .doc .primary {
  background: #1d68e1 !important;
  border-color: #3b82f6 !important;
  color: #fff !important;
}
body.theme-minimal:not(.theme-day) #workspace .documentMenu summary {
  border-color: #2c3748 !important;
  background: #181f2b !important;
  color: #cbd5e1 !important;
}

/* Módulo aberto (#workspace.moduleFocus #topicsCard):
   Design e dimensões compactas idênticas ao diurno com as cores escuras originais */
body.theme-minimal:not(.theme-day) #workspace.moduleFocus #topicsCard {
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: #e6edf3 !important;
  box-shadow: none !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleBackRow button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #2d3849 !important;
  border-radius: 9px;
  background: #151a23 !important;
  color: #e6edf3 !important;
  font-size: 12px;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleBackRow button:hover {
  border-color: #485b75 !important;
  background: #1b222e !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleBackRow .moduleSubjectContext {
  color: #9aa8b8 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleSubjectContext strong {
  color: #f8fafc !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero {
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid #263244 !important;
  border-radius: 16px;
  background: #161d28 !important;
  color: #f1f5f9 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleEyebrow {
  margin: 0 0 7px;
  color: #93c5fd !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHeader {
  margin: 0;
  align-items: flex-start;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHeader h2 {
  color: #f8fafc !important;
  font-size: 18px !important;
  line-height: 1.25;
  text-shadow: none !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleIntro {
  margin: 5px 0 13px;
  color: #aebcd0 !important;
  font-size: 12px;
  line-height: 1.45;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleOverview {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero .moduleMetric {
  min-height: 78px;
  padding: 10px 12px;
  border: 1px solid #2d3a4e !important;
  border-radius: 10px !important;
  background: #1c2432 !important;
  color: #f1f5f9 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero .moduleMetric .metricHeader {
  color: #aebcd0 !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 0;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero .moduleMetric > strong,
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero .moduleMetric .moduleMetricReadyRow > strong {
  min-height: 0 !important;
  margin: 3px 0 !important;
  color: #ffffff !important;
  font: 800 18px/1.15 Manrope, "DM Sans", sans-serif !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero #moduleQuestionsReady {
  color: #ffffff !important;
  font: 800 18px/1.15 Manrope, "DM Sans", sans-serif !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero .moduleMetric > span {
  color: #cbd5e1 !important;
  font-size: 11.5px !important;
  line-height: 1.3;
  margin-top: 0;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero .moduleMetric .metricUnit {
  color: #c5d1e0 !important;
  font-size: 11px !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero .modulePerfGood {
  color: #4fd08a !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero .modulePerfBad {
  color: #ff9e9e !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleHero .moduleBlockCountBadge {
  background: #1e2d44 !important;
  border: 1px solid #30476b;
  color: #dbeafe !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleToolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  padding: 10px 12px;
  border: 1px solid #232a35 !important;
  border-radius: 12px;
  background: #151a23 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleToolbar > button.primary {
  min-height: 38px;
  padding: 8px 14px;
  border-color: #3b82f6 !important;
  background: #1d68e1 !important;
  color: #fff !important;
  font-size: 12px;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleToolbar > button.primary:hover {
  background: #2563eb !important;
  border-color: #60a5fa !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleToolbar .allQuestionsQuantity {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9aa8b8 !important;
  font-size: 12px;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleToolbar .allQuestionsQuantity select,
body.theme-minimal:not(.theme-day) #topicsCard .topicQuestionCreator select {
  border: 1px solid #2d3849 !important;
  background: #11161f !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicCards {
  display: grid;
  gap: 10px;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicBlockCard {
  padding: 14px 16px;
  border: 1px solid #232a35 !important;
  border-radius: 11px !important;
  background: #151a23 !important;
  color: #e6edf3 !important;
  box-shadow: none !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicBlockCard:hover {
  border-color: #334054 !important;
  background: #151a23 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicBlockCard .topicCardHead {
  grid-template-columns: minmax(0, 1fr) auto !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicCardTitle,
body.theme-minimal:not(.theme-day) #topicsCard .topicTitleBtn {
  color: #f8fafc !important;
  font-size: 15px;
  font-weight: 750;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicTitleBtn:hover {
  color: #93c5fd !important;
  text-decoration: underline;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicState {
  padding: 4px 9px;
  border: 1px solid #283344;
  border-radius: 999px;
  background: #18202d;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 750;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicState.stateDone,
body.theme-minimal:not(.theme-day) #topicsCard .topicState.stateProgress {
  border-color: #335a8a !important;
  background: #17283d !important;
  color: #bfdbfe !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicBlockCard .topicMeta,
body.theme-minimal:not(.theme-day) #topicsCard .topicBlockCard .topicMeta .topicBlockPages,
body.theme-minimal:not(.theme-day) #topicsCard .topicBlockCard .topicMetaStat {
  color: #9aa8b8 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicBlockCard .topicMeta {
  margin: 6px 0;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicBlockCard .topicMeta .topicBlockPages {
  font-weight: 650;
  color: #c5d1e0 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicBlockCard .topicReadingBar {
  height: 5px;
  margin: 6px 0 7px;
  border: 0;
  background: #232c3b !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicBlockCard .topicReadingBar span {
  background: #10b981 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicActions .blockReadingButton {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #3b82f6 !important;
  border-radius: 8px;
  background: #1d68e1 !important;
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 700;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicActions .blockReadingButton:hover {
  background: #2563eb !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicActions button:not(.blockReadingButton):not(.resetReadingButton):not(.isCompleted),
body.theme-minimal:not(.theme-day) #topicsCard .topicQuestionCreator button:not(.topicCancelGeneration) {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #2e3846 !important;
  border-radius: 8px;
  background: #1e2633 !important;
  color: #e6edf3 !important;
  font-size: 11px;
  font-weight: 700;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicActions button:not(.blockReadingButton):not(.resetReadingButton):not(.isCompleted):hover,
body.theme-minimal:not(.theme-day) #topicsCard .topicQuestionCreator button:not(.topicCancelGeneration):hover {
  border-color: #46576e !important;
  background: #283344 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicActions .blockPdfQuestions {
  border-color: #2c435f !important;
  background: #172334 !important;
  color: #bfdbfe !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicActions .blockPdfQuestions.isCompleted {
  border-color: #276447 !important;
  background: #143627 !important;
  color: #fff !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicActions .resetReadingButton {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #2d3746 !important;
  border-radius: 8px;
  background: #181f2b !important;
  color: #cbd5e1 !important;
  font-size: 11px;
  font-weight: 700;
}
body.theme-minimal:not(.theme-day) #topicsCard .topicActions .resetReadingButton:hover {
  border-color: #7f2d36 !important;
  background: #2d171a !important;
  color: #fecaca !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .blockDailySummary,
body.theme-minimal:not(.theme-day) #topicsCard .blockDailySummary .dailyScopeTitle,
body.theme-minimal:not(.theme-day) #topicsCard .blockDailyCompact {
  color: #9aa8b8 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleReviewCard {
  margin-top: 12px !important;
  padding: 13px 16px !important;
  border: 1px solid #232a35 !important;
  border-radius: 13px !important;
  background: #151a23 !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleReviewCard h3 {
  color: #f8fafc !important;
  font-size: 14px;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleReviewCard p {
  color: #9aa8b8 !important;
  font-size: 11px;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleReviewCard .moduleReviewStatus,
body.theme-minimal:not(.theme-day) #topicsCard .moduleReviewCard .moduleReviewStatus b,
body.theme-minimal:not(.theme-day) #topicsCard .moduleReviewCard .moduleReviewStatus strong,
body.theme-minimal:not(.theme-day) .moduleBlockStatus {
  background: #11161f !important;
  border: 1px solid #263142 !important;
  color: #cbd5e1 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleReviewCard .moduleReviewStatus b,
body.theme-minimal:not(.theme-day) #topicsCard .moduleReviewCard .moduleReviewStatus strong {
  background: transparent !important;
  border: 0 !important;
}
body.theme-minimal:not(.theme-day) .moduleBlockStatus.complete {
  background: #122920 !important;
  border-color: #275e45 !important;
  color: #a7f3d0 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .moduleReviewCard .primary {
  min-height: 36px;
  background: #1d68e1 !important;
  border-color: #3b82f6 !important;
  color: #fff !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .finalExamCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 14px;
  margin-top: 12px !important;
  padding: 13px 16px !important;
  border: 1px solid #2a394e !important;
  border-radius: 13px !important;
  background: #16202e !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .finalExamCard h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #f8fafc !important;
  font-size: 14px;
}
body.theme-minimal:not(.theme-day) #topicsCard .finalExamCard p {
  margin: 0;
  color: #cbd5e1 !important;
  font-size: 11px;
}
body.theme-minimal:not(.theme-day) #topicsCard .finalExamCard .examMainButton {
  min-height: 36px;
  border-color: #3b82f6 !important;
  background: #1d68e1 !important;
  color: #fff !important;
}
body.theme-minimal:not(.theme-day) #topicsCard .finalExamCard .examMainButton[disabled] {
  border-color: #283344 !important;
  background: #18202c !important;
  color: #9aa8b8 !important;
}

/* Ciclo manual (#cyclePage): anel 158px e proporções compactas nas cores escuras originais */
body.theme-minimal:not(.theme-day) #cyclePage {
  max-width: none !important;
  padding: 0 0 8px;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleTop {
  margin-bottom: 8px;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleTop h1 {
  font: 800 24px/1.2 Manrope, "DM Sans", sans-serif;
  letter-spacing: -.02em;
  color: #f8fafc !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleTop p {
  margin-top: 3px;
  color: #9aa8b8 !important;
  font-size: 12px;
}
body.theme-minimal:not(.theme-day) #cyclePage .card {
  border: 1px solid #232a35 !important;
  border-radius: 14px !important;
  background: #151a23 !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleTabs {
  justify-content: flex-start;
  gap: 14px;
  margin: 4px 0 14px;
  border-color: #232a35 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleTabs button,
body.theme-minimal:not(.theme-day) #cyclePage nav.cycleTabs > button {
  min-height: 38px;
  padding: 9px 8px;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #9aa8b8 !important;
  font-size: 13px;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleTabs button.active,
body.theme-minimal:not(.theme-day) #cyclePage nav.cycleTabs > button.active {
  border-bottom-color: #60a5fa !important;
  background: transparent !important;
  color: #ffffff !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleHomeGrid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 14px;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleRingCard {
  padding: 16px 18px !important;
  text-align: center;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleRingCard > span {
  color: #9aa8b8 !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleRingCard h2 {
  margin: 0;
  color: #f8fafc !important;
  font: 800 14px/1.25 Manrope, "DM Sans", sans-serif;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleRing {
  width: 158px;
  height: 158px;
  margin: 12px auto;
  background: conic-gradient(#2563eb var(--cycle-progress), #1e293b 0) !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleRing::before {
  inset: 12px;
  background: #151a23 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleRing small,
body.theme-minimal:not(.theme-day) #cyclePage .cycleRing span {
  color: #9aa8b8 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleRing strong {
  color: #ffffff !important;
  font: 800 22px/1.15 Manrope, "DM Sans", sans-serif;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleMiniMetrics {
  border-top: 1px solid #232a35 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleMiniMetrics b {
  color: #ffffff !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleFocus {
  min-height: 168px;
  margin-top: 14px;
  padding: 20px !important;
  border: 1px solid #283649 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #131b26, #182233) !important;
  text-align: center;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleFocus h2 {
  color: #f8fafc !important;
  font: 800 20px/1.25 Manrope, "DM Sans", sans-serif;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleTimer {
  margin: 14px 0;
  color: #ffffff !important;
  font: 800 40px/1.1 Manrope, "DM Sans", sans-serif;
  letter-spacing: 0;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleNextBadge {
  border: 1px solid #2f4b6e;
  border-radius: 999px;
  background: #1a2b42 !important;
  color: #bfdbfe !important;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleFocus button:not(.primary) {
  border-color: #313f54 !important;
  background: #1c2432 !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleFocus button.primary {
  border-color: #3b82f6 !important;
  background: #1d68e1 !important;
  color: #ffffff !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleSequenceRow,
body.theme-minimal:not(.theme-day) #cyclePage .cycleHistoryRow,
body.theme-minimal:not(.theme-day) #cyclePage .cycleItem {
  border-color: #242c38 !important;
  border-radius: 10px !important;
  background: #181e28 !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleSequenceRow.next {
  border-color: #334a6b !important;
  background: #1a2434 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleSequenceTitle strong {
  color: #f8fafc !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleOrder {
  border-color: #2b4568 !important;
  background: #1a273b !important;
  color: #bfdbfe !important;
}
body.theme-minimal:not(.theme-day) #cyclePage select,
body.theme-minimal:not(.theme-day) #cyclePage #cycleTopActions button,
body.theme-minimal:not(.theme-day) #cyclePage .card button:not(.primary):not(.cycleResetBtn):not(.cycleDeleteBtn):not(.evoluaPrimaryCtaBtn) {
  border: 1px solid #2d3849 !important;
  background: #1c222c !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleSequenceFooterActions .cycleResetBtn {
  border: 1px solid #2d425f !important;
  background: #182334 !important;
  color: #bfdbfe !important;
  font-weight: 750;
}
body.theme-minimal:not(.theme-day) #cyclePage .cycleSequenceFooterActions .cycleDeleteBtn {
  border: 1px solid #6b2b32 !important;
  background: #2b1719 !important;
  color: #fecaca !important;
}
body.theme-minimal:not(.theme-day) #cyclePage button.primary {
  border-color: #3b82f6 !important;
  background: #1d68e1 !important;
  color: #fff !important;
}

/* Modais (#editalDialog, #adminUsersDialog) com design compacto do diurno no escuro neutro */
body.theme-minimal:not(.theme-day) #editalDialog .appDialog {
  width: min(500px, 100%) !important;
  padding: 22px 24px !important;
  gap: 12px !important;
  border: 1px solid #26303d !important;
  border-radius: 16px !important;
  background: #151a23 !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #editalDialog .appDialog h2 {
  color: #f8fafc !important;
  font: 800 20px/1.25 Manrope, "DM Sans", sans-serif !important;
}
body.theme-minimal:not(.theme-day) #editalDialog .appDialog label {
  display: block;
  margin: 0 0 5px !important;
  color: #cbd5e1 !important;
  font-size: 12px;
  font-weight: 700;
}
body.theme-minimal:not(.theme-day) #editalDialog .appDialog input:not([type="checkbox"]),
body.theme-minimal:not(.theme-day) #editalDialog .appDialog select,
body.theme-minimal:not(.theme-day) #editalDialog .editalSubjectCheckboxList,
body.theme-minimal:not(.theme-day) #editalDialog .editalRenameList {
  border-color: #2d3849 !important;
  background: #11161f !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #editalDialog .editalSubjectCheckboxItem {
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) #editalDialog #newEdictFromPdf {
  border-color: #2f4b6e !important;
  background: #182334 !important;
  color: #bfdbfe !important;
}
body.theme-minimal:not(.theme-day) #editalDialog .dialogActions button:not(.primary) {
  border-color: #2d3746 !important;
  background: #1c222c !important;
  color: #e6edf3 !important;
}
body.theme-minimal:not(.theme-day) .reviewItem {
  border-color: #232a35 !important;
  border-radius: 12px !important;
  background: #181e28 !important;
}

@media (max-width: 900px) {
  body.theme-minimal:not(.theme-day) #dashboard .evoluaHomeHero {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.theme-minimal:not(.theme-day) #dashboard .evoluaHeroGreetingCol,
  body.theme-minimal:not(.theme-day) #dashboard .evoluaContinuityCard {
    min-height: 0 !important;
  }
  body.theme-minimal:not(.theme-day) #dashboard .dashboardCards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.theme-minimal:not(.theme-day) #dashboard .dashboardPlanningRow,
  body.theme-minimal:not(.theme-day) #dashboard .dashboardGrid,
  body.theme-minimal:not(.theme-day) #cyclePage .cycleHomeGrid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.theme-minimal:not(.theme-day) #workspace .subjectTopGrid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.theme-minimal:not(.theme-day) #workspace .subjectProgressHeader {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.theme-minimal:not(.theme-day) #topicsCard .moduleToolbar {
    flex-wrap: wrap !important;
  }
  body.theme-minimal:not(.theme-day) #topicsCard .finalExamCard {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 850px) {
  body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaNavItem,
  body.theme-minimal:not(.theme-day) #evoluaSidebar #subjects .subject,
  body.theme-minimal:not(.theme-day) #evoluaSidebar #themeToggleBtn {
    min-height: 44px !important;
  }
  body.theme-minimal:not(.theme-day) #workspace .doc {
    grid-template-columns: minmax(0, 1fr);
  }
  body.theme-minimal:not(.theme-day) #workspace .documentMeta {
    grid-column: 1;
    flex-wrap: wrap;
  }
  body.theme-minimal:not(.theme-day) #workspace .moduleDailySummary,
  body.theme-minimal:not(.theme-day) #workspace .moduleOverallSummary {
    white-space: normal;
  }
  body.theme-minimal:not(.theme-day) #workspace .docGenerationBadge {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  body.theme-minimal:not(.theme-day) #workspace .subjectProgressHeader {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.theme-minimal:not(.theme-day) #workspace .docTitleBtn {
    padding-right: 130px !important;
  }
  body.theme-minimal:not(.theme-day) #workspace .materialTabsNav {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }
  body.theme-minimal:not(.theme-day) #workspace .materialTabBtn {
    flex: 0 0 auto;
  }
  body.theme-minimal:not(.theme-day) #dashboard .dashboardCards,
  body.theme-minimal:not(.theme-day) #dashboard .evoluaActionMetricsRow,
  body.theme-minimal:not(.theme-day) #cyclePage .cycleSetup {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.theme-minimal:not(.theme-day) #dashboard .evoluaActionButtonsRow {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  body.theme-minimal:not(.theme-day) #topicsCard .moduleOverview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.theme-minimal:not(.theme-day) #topicsCard .moduleOverview .moduleMetric:last-child {
    grid-column: 1 / -1 !important;
  }
  body.theme-minimal:not(.theme-day) #topicsCard .moduleToolbar > button,
  body.theme-minimal:not(.theme-day) #topicsCard .moduleToolbar .allQuestionsQuantity {
    width: 100%;
    justify-content: space-between;
  }
  body.theme-minimal:not(.theme-day) #topicsCard .topicActions button {
    min-height: 44px;
  }
  body.theme-minimal:not(.theme-day) #editalDialog .appDialog {
    padding: 18px !important;
  }
}

/* === PR #42: Harmonização do Tema Claro em Planos de Estudo (#studyPlanPage) === */
body.theme-day #studyPlanPage .cycleTop > button,
body.theme-day #studyPlanPage .studyPlanActions button,
body.theme-day #studyPlanPage .studyPlanNotice button:not(.primary),
body.theme-day #studyPlanPage .studyPlanOrder button,
body.theme-day #studyPlanPage .studyPlanSettings button:not(.primary),
body.theme-day #studyPlanPage .evoluaContinuityCard button.evoluaSecondaryActionBtn {
  background: #ffffff !important;
  border: 1px solid #d7e0db !important;
  color: #17231e !important;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(23, 35, 30, 0.05) !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.theme-day #studyPlanPage .cycleTop > button:hover,
body.theme-day #studyPlanPage .studyPlanActions button:hover,
body.theme-day #studyPlanPage .studyPlanNotice button:not(.primary):hover,
body.theme-day #studyPlanPage .studyPlanOrder button:hover,
body.theme-day #studyPlanPage .studyPlanSettings button:not(.primary):hover,
body.theme-day #studyPlanPage .evoluaContinuityCard button.evoluaSecondaryActionBtn:hover {
  background: #f4f7f5 !important;
  border-color: #b8c7bf !important;
  color: #111c17 !important;
}

body.theme-day #studyPlanPage .studyPlanNotice button:not(.primary) {
  background: #f4f7f5 !important;
  padding: 9px 14px;
  margin: 0 6px 8px 0;
}

body.theme-day #studyPlanPage .studyPlanNotice button:not(.primary):hover {
  background: #e8f0ec !important;
  border-color: #aebfb6 !important;
}

body.theme-day #studyPlanPage .studyPlanActions button[onclick*="confirmDeleteActiveEdital"] {
  background: #fff6f6 !important;
  border: 1px solid #f0c9c9 !important;
  color: #9b2c2c !important;
}

body.theme-day #studyPlanPage .studyPlanActions button[onclick*="confirmDeleteActiveEdital"]:hover {
  background: #fdeaea !important;
  border-color: #e4a3a3 !important;
  color: #7f1d1d !important;
}

body.theme-day #studyPlanPage .evoluaContinuityCard button.evoluaPrimaryCtaBtn,
body.theme-day #studyPlanPage button.primary {
  background: #1d4d3e !important;
  border: 1px solid #1d4d3e !important;
  color: #ffffff !important;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(29, 77, 62, 0.18) !important;
}

body.theme-day #studyPlanPage .evoluaContinuityCard button.evoluaPrimaryCtaBtn:hover,
body.theme-day #studyPlanPage button.primary:hover {
  background: #163c30 !important;
  border-color: #163c30 !important;
  color: #ffffff !important;
}

body.theme-day #studyPlanPage .studyPlanOrder button {
  min-width: 44px;
  padding: 6px 10px;
}

body.theme-day #studyPlanPage button:focus-visible {
  outline: 2px solid #1d4d3e !important;
  outline-offset: 2px;
}
/* ==========================================================================
   PR #43 — Polimento Global do Modo Claro (body.theme-day),
   Ocultação Segura do Card Simulado Final e Toast de Questões Prontas
   ========================================================================== */

/* 0. Ocultação segura do card "Simulado Final" por matéria (preservando nó no DOM para syncModuleGeneralReviewCard) */
#topics .finalExamCard,
.finalExamCard,
#readerTopics .topic[onclick*="openFinalExam"] {
  display: none !important;
}

/* 0b. Toast flutuante de questões prontas do bloco (alto contraste nos modos escuro e claro) */
.evoluaQuestionToast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 12500;
  width: min(420px, calc(100vw - 32px));
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #38bdf8;
  border-left: 4px solid #22c55e;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.evoluaQuestionToastTitle {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #f8fafc;
}

.evoluaQuestionToastActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.evoluaQuestionToastActions button {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.evoluaQuestionToastActions .evoluaToastPrimaryBtn {
  background: #1d4d3e;
  border: 1px solid #1d4d3e;
  color: #ffffff;
}

.evoluaQuestionToastActions .evoluaToastPrimaryBtn:hover {
  background: #163c30;
  border-color: #163c30;
}

.evoluaQuestionToastActions .evoluaToastCloseBtn {
  background: #1e293b;
  border: 1px solid #475569;
  color: #e2e8f0;
}

.evoluaQuestionToastActions .evoluaToastCloseBtn:hover {
  background: #334155;
}

body.theme-day .evoluaQuestionToast {
  background: #ffffff !important;
  color: #17231e !important;
  border: 1px solid #b5d5c5 !important;
  border-left: 4px solid #1d4d3e !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16) !important;
}

body.theme-day .evoluaQuestionToastTitle {
  color: #17231e !important;
}

body.theme-day .evoluaQuestionToastActions .evoluaToastCloseBtn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #17231e !important;
}

body.theme-day .evoluaQuestionToastActions .evoluaToastCloseBtn:hover {
  background: #f1f5f9 !important;
}

/* 1. Todos os modais .appDialog globalmente no Modo Claro */
body.theme-day .appDialogBackdrop {
  background: rgba(15, 23, 42, 0.45) !important;
}

body.theme-day .appDialogBackdrop .appDialog,
body.theme-day .appDialog {
  background: #ffffff !important;
  border: 1px solid #d7e0db !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14) !important;
  color: #17231e !important;
}

body.theme-day .appDialog h2,
body.theme-day .appDialog h3,
body.theme-day .appDialog h4,
body.theme-day .appDialog strong,
body.theme-day .appDialog b {
  color: #17231e !important;
  text-shadow: none !important;
}

body.theme-day .appDialog label,
body.theme-day .appDialog .dialogMessage,
body.theme-day .appDialog .muted,
body.theme-day .appDialog p,
body.theme-day .appDialog small {
  color: #475569 !important;
}

body.theme-day .appDialog input:not([type="checkbox"]):not([type="radio"]),
body.theme-day .appDialog select,
body.theme-day .appDialog textarea {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #17231e !important;
  box-shadow: none !important;
}

body.theme-day .appDialog input:not([type="checkbox"]):not([type="radio"]):focus,
body.theme-day .appDialog select:focus,
body.theme-day .appDialog textarea:focus {
  border-color: #1d4d3e !important;
  outline: 2px solid rgba(29, 77, 62, 0.2) !important;
}

body.theme-day .appDialog #examCespeFormatOptions,
body.theme-day .appDialog #examGeneralFormatNotice,
body.theme-day .appDialog .dialogFormatCard,
body.theme-day .appDialog .uploadPreviewBox {
  background: #f4f7f5 !important;
  border: 1px solid #d7e0db !important;
  color: #17231e !important;
  box-shadow: none !important;
}

body.theme-day .appDialog #examCespeFormatOptions label,
body.theme-day .appDialog #examGeneralFormatNotice span {
  color: #17231e !important;
}

body.theme-day .appDialog .dialogActions button:not(.primary):not(.dialogDanger),
body.theme-day .appDialog button:not(.primary):not(.dialogDanger):not(.simCountBtn) {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #17231e !important;
  min-height: 44px;
  min-width: 44px;
  box-shadow: none !important;
}

body.theme-day .appDialog .dialogActions button:not(.primary):not(.dialogDanger):hover,
body.theme-day .appDialog button:not(.primary):not(.dialogDanger):not(.simCountBtn):hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

body.theme-day .appDialog button.primary {
  background: #1d4d3e !important;
  border: 1px solid #1d4d3e !important;
  color: #ffffff !important;
  min-height: 44px;
  min-width: 44px;
}

body.theme-day .appDialog button.primary:hover {
  background: #163c30 !important;
  border-color: #163c30 !important;
  color: #ffffff !important;
}

body.theme-day .appDialog button.dialogDanger {
  background: #dc2626 !important;
  border: 1px solid #dc2626 !important;
  color: #ffffff !important;
  min-height: 44px;
  min-width: 44px;
}

/* 2. Tela de Login (body.theme-day #authGate) */
body.theme-day #authGate .authGoogleBtn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1f2937 !important;
  min-height: 44px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
}

body.theme-day #authGate .authGoogleBtn:hover:not(:disabled) {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #111827 !important;
}

body.theme-day #authGate .authTextButton {
  background: #f8fafc !important;
  border: 1px solid #d7e0db !important;
  color: #17231e !important;
  min-height: 44px;
  min-width: 44px;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  text-decoration: none !important;
}

body.theme-day #authGate .authTextButton:hover,
body.theme-day #authGate .authTextButton:focus-visible {
  background: #eef4f1 !important;
  border-color: #b5c9bf !important;
  color: #111c17 !important;
  text-decoration: none !important;
}

/* 3. Planos de estudo — Destaque do card principal Próximo estudo */
body.theme-day #studyPlanPage .evoluaContinuityCard {
  background: linear-gradient(135deg, #e2efe9 0%, #d5e8de 100%) !important;
  border: 1px solid #b5d5c5 !important;
  border-left: 4px solid #1d4d3e !important;
  box-shadow: 0 8px 24px rgba(29, 77, 62, 0.09) !important;
}

/* 4. Onboarding (#evoluaOnboardingCard) & Banner Central (#hubHomeBanner) */
body.theme-day #evoluaOnboardingCard .evoluaOnboardingDismissBtn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  min-height: 44px;
  min-width: 44px;
}

body.theme-day #evoluaOnboardingCard .evoluaOnboardingDismissBtn:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #17231e !important;
}

body.theme-day #evoluaOnboardingCard .evoluaOnboardingStep:first-child .evoluaOnboardingStepBtn {
  background: #1d4d3e !important;
  border: 1px solid #1d4d3e !important;
  color: #ffffff !important;
  min-height: 44px;
  min-width: 44px;
}

body.theme-day #evoluaOnboardingCard .evoluaOnboardingStep:first-child .evoluaOnboardingStepBtn:hover {
  background: #163c30 !important;
  border-color: #163c30 !important;
  color: #ffffff !important;
}

body.theme-day #evoluaOnboardingCard .evoluaOnboardingStep:nth-child(n+2) .evoluaOnboardingStepBtn {
  background: #eef5f1 !important;
  border: 1px solid #b9d3c6 !important;
  color: #17231e !important;
  min-height: 44px;
  min-width: 44px;
}

body.theme-day #evoluaOnboardingCard .evoluaOnboardingStep:nth-child(n+2) .evoluaOnboardingStepBtn:hover {
  background: #e1ede7 !important;
  border-color: #9ec2b0 !important;
  color: #111c17 !important;
}

body.theme-day #hubHomeBanner #hubBannerOpenBtn {
  background: #1d4d3e !important;
  border: 1px solid #1d4d3e !important;
  color: #ffffff !important;
  min-height: 44px;
  min-width: 44px;
}

body.theme-day #hubHomeBanner #hubBannerOpenBtn:hover {
  background: #163c30 !important;
  border-color: #163c30 !important;
  color: #ffffff !important;
}

/* 5. Central de editais e IA (body.theme-day #evoluaHub) */
body.theme-day #evoluaHub .hubTabBtn,
body.theme-day #evoluaHub .hubPlanPillBtn,
body.theme-day #evoluaHub .hubBtnSecondary,
body.theme-day #evoluaHub #hubCustomEdictBtn,
body.theme-day #evoluaHub .hubSearchActions button {
  background: #ffffff !important;
  border: 1px solid #d7e0db !important;
  color: #17231e !important;
  min-height: 44px;
  min-width: 44px;
  box-shadow: none !important;
}

body.theme-day #evoluaHub .hubTabBtn:hover,
body.theme-day #evoluaHub .hubPlanPillBtn:hover,
body.theme-day #evoluaHub .hubBtnSecondary:hover,
body.theme-day #evoluaHub #hubCustomEdictBtn:hover,
body.theme-day #evoluaHub .hubSearchActions button:hover {
  background: #f4f7f5 !important;
  border-color: #b8c7bf !important;
  color: #111c17 !important;
}

body.theme-day #evoluaHub .hubTabBtn.active,
body.theme-day #evoluaHub .hubTabBtn[aria-selected="true"],
body.theme-day #evoluaHub .hubPlanPillBtn.is-active,
body.theme-day #evoluaHub .hubBancaCard .hubBtnPrimary,
body.theme-day #evoluaHub .hubRealExamActions .hubBtnPrimary,
body.theme-day #evoluaHub .hubFormCard .hubBtnPrimary,
body.theme-day #evoluaHub .hubGovCard .hubBtnPrimary {
  background: #1d4d3e !important;
  border: 1px solid #1d4d3e !important;
  color: #ffffff !important;
  min-height: 44px;
  min-width: 44px;
}

body.theme-day #evoluaHub .hubTabBtn.active:hover,
body.theme-day #evoluaHub .hubTabBtn[aria-selected="true"]:hover,
body.theme-day #evoluaHub .hubPlanPillBtn.is-active:hover,
body.theme-day #evoluaHub .hubBancaCard .hubBtnPrimary:hover,
body.theme-day #evoluaHub .hubRealExamActions .hubBtnPrimary:hover,
body.theme-day #evoluaHub .hubFormCard .hubBtnPrimary:hover,
body.theme-day #evoluaHub .hubGovCard .hubBtnPrimary:hover {
  background: #163c30 !important;
  border-color: #163c30 !important;
  color: #ffffff !important;
}

/* 6. Simulado Geral (body.theme-day #simuladoConfigDialog, body.theme-day #simuladoPage) */
body.theme-day #simuladoConfigDialog .simConfigAccent {
  color: #1d4d3e !important;
}

body.theme-day #simuladoConfigDialog .simConfigNotice {
  background: #eef5f1 !important;
  border: 1px solid #b9d3c6 !important;
  color: #17231e !important;
}

body.theme-day #simuladoConfigDialog #simSummaryCountBadge {
  color: #1d4d3e !important;
}

body.theme-day #simuladoConfigDialog #simModeAutoBtn:not(.primary),
body.theme-day #simuladoConfigDialog #simModeCustomBtn:not(.primary),
body.theme-day #simuladoConfigDialog .simCountBtn:not(.primary) {
  background: #f8faf9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #17231e !important;
  min-height: 44px;
  min-width: 44px;
}

body.theme-day #simuladoConfigDialog #simModeAutoBtn:not(.primary):hover,
body.theme-day #simuladoConfigDialog #simModeCustomBtn:not(.primary):hover,
body.theme-day #simuladoConfigDialog .simCountBtn:not(.primary):hover {
  background: #eef5f1 !important;
  border-color: #9ec2b0 !important;
  color: #111c17 !important;
}

body.theme-day #simuladoConfigDialog #simModeAutoBtn.primary,
body.theme-day #simuladoConfigDialog #simModeCustomBtn.primary,
body.theme-day #simuladoConfigDialog .simCountBtn.primary {
  background: #1d4d3e !important;
  border: 1px solid #1d4d3e !important;
  color: #ffffff !important;
  min-height: 44px;
  min-width: 44px;
}

body.theme-day #simuladoConfigDialog .editalSubjectCheckboxList {
  background: #f8faf9 !important;
  border: 1px solid #d7e0db !important;
  border-radius: 10px !important;
  color: #17231e !important;
}

body.theme-day #simuladoConfigDialog .editalSubjectCheckboxList label,
body.theme-day #simuladoConfigDialog .editalSubjectCheckboxList span {
  color: #17231e !important;
}

body.theme-day #simuladoConfigDialog .editalSubjectCheckboxList label:has(input:disabled),
body.theme-day #simuladoConfigDialog .editalSubjectCheckboxList label:has(input:disabled) span,
body.theme-day #simuladoConfigDialog .editalSubjectCheckboxList .muted {
  color: #64748b !important;
  opacity: 1 !important;
}

body.theme-day #simuladoConfigDialog label:has(input[name="simMode"]) {
  background: #f8faf9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #17231e !important;
}

body.theme-day #simuladoConfigDialog label:has(input[name="simMode"]:checked) {
  background: #e6f2ec !important;
  border: 1px solid #1d4d3e !important;
}

body.theme-day #simuladoConfigDialog label:has(input[name="simMode"]) b {
  color: #17231e !important;
}

body.theme-day #simuladoConfigDialog label:has(input[name="simMode"]) .muted {
  color: #475569 !important;
}

body.theme-day #simuladoPage .simuladoCard,
body.theme-day #simuladoPage .simuladoTopBar {
  background: #ffffff !important;
  border: 1px solid #d7e0db !important;
  color: #17231e !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}

body.theme-day #simuladoPage .simuladoQuestionStatement,
body.theme-day #simuladoPage h2,
body.theme-day #simuladoPage strong,
body.theme-day #simuladoPage b {
  color: #17231e !important;
}

body.theme-day #simuladoPage .simuladoSubjectTag,
body.theme-day #simuladoPage .simuladoTimerBadge {
  background: #eef5f1 !important;
  border: 1px solid #b9d3c6 !important;
  color: #1d4d3e !important;
  box-shadow: none !important;
}

body.theme-day #simuladoPage .simuladoPageSizeSelector button:not(.active),
body.theme-day #simuladoPage .simuladoPageNav button:not(.primary),
body.theme-day #simuladoPage .simuladoMarkBtn {
  background: #f8faf9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #17231e !important;
  min-height: 44px;
  min-width: 44px;
}

body.theme-day #simuladoPage .simuladoPageSizeSelector button.active {
  background: #1d4d3e !important;
  border: 1px solid #1d4d3e !important;
  color: #ffffff !important;
  min-height: 44px;
  min-width: 44px;
}

/* 7. Botões Certo / Errado em Questões originais do PDF e barra superior do leitor */
body.theme-day .ceOptions button {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #17231e !important;
  min-height: 44px;
  min-width: 120px;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body.theme-day .ceOptions button:hover:not(:disabled) {
  background: #eef5f1 !important;
  border-color: #9ec2b0 !important;
  color: #111c17 !important;
}

body.theme-day .ceOptions button.correct {
  background: #d9f4df !important;
  border-color: #62b878 !important;
  color: #12351d !important;
}

body.theme-day .ceOptions button.wrong {
  background: #f6dddd !important;
  border-color: #cf777d !important;
  color: #7f1d1d !important;
}

body.theme-day .readerTop button:not(.readerZoomBtn):not(.readerPaperBtn),
body.theme-day .readerTop .readerTopBtn {
  background: #f3f6f4 !important;
  border: 1px solid #cfd9d2 !important;
  color: #152820 !important;
  min-height: 31px;
  min-width: 31px;
  box-shadow: none !important;
}

body.theme-day .readerTop button:not(.readerZoomBtn):not(.readerPaperBtn):hover,
body.theme-day .readerTop .readerTopBtn:hover {
  background: #eef5f1 !important;
  border-color: #295e4b !important;
  color: #111c17 !important;
}

body.theme-day .readerTop button.active:not(.readerPaperBtn):not(#readerThemeToggleBtn),
body.theme-day .readerTop button[aria-pressed="true"]:not(.readerPaperBtn):not(#readerThemeToggleBtn),
body.theme-day .readerTop .readerTopBtn.active:not(#readerThemeToggleBtn),
body.theme-day .readerTop .readerTopBtn[aria-pressed="true"]:not(#readerThemeToggleBtn) {
  background: #1d4d3e !important;
  border-color: #1d4d3e !important;
  color: #ffffff !important;
}

.reader-home-brand {
  display: none;
}

@media (min-width: 1320px) {
  #readerMode.indexClosed #readerHomeButton > .btnIcon,
  #readerMode.indexClosed #readerHomeButton > .btnText {
    display: none;
  }

  .readerIndexHeader .reader-home-brand,
  #readerMode.indexClosed .reader-home-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: left;
    line-height: 1.1;
  }

  .reader-home-brand img {
    border-radius: 5px;
  }

  .reader-home-brand strong,
  .reader-home-brand small {
    display: block;
  }

  .reader-home-brand small {
    font-size: 10px;
    font-weight: 500;
  }

  .readerIndexHeader .reader-home-brand {
    margin-bottom: .75rem;
  }
}

/* A aba do extrator acompanha o direito de acesso do plano ativo. */
#evoluaHub:not(.hubExtractorAvailable) .hubTabsNav,
#evoluaHub:not(.hubExtractorAvailable) #hubTabExtractor,
#evoluaHub:not(.hubExtractorAvailable) #hubPanelExtractor,
#evoluaHub .hubTabBadge,
#hubTabAiTutor,
#hubPanelAiTutor,
#hubTabGovernance,
#hubPanelGovernance,
#evoluaHub .hubPlanPillBtn[data-action="switch-plan"] {
  display: none !important;
}

/* ==========================================================================
   PR #44: Polimento Visual Compacto — Revisões Programadas, Leitor e Questões
   ========================================================================== */

/* 1. Barra superior do leitor (ambos os temas): ocultar botão quebrado Professor IA sem remover do DOM */
#readerMode .readerTop #tabAI,
#tabAI {
  display: none !important;
}

/* 2. Tela de Revisões Programadas (modo claro: body.theme-day) */
body.theme-day .reviewGroup {
  margin-bottom: 16px;
}

body.theme-day .reviewGroup > h3 {
  border-bottom: 1px solid #d4dacb !important;
  color: #17231e !important;
}

body.theme-day .reviewGroup > h3 span {
  background: #eef5f1 !important;
  border: 1px solid #c7dcd1 !important;
  color: #17231e !important;
  font-weight: 800 !important;
}

body.theme-day .reviewGroupOverdue > h3 {
  color: #b91c1c !important;
}

body.theme-day .reviewGroupOverdue > h3 span {
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  color: #991b1b !important;
  font-weight: 800 !important;
}

body.theme-day .reviewGroupAvailable > h3 {
  color: #9a5b08 !important;
}

body.theme-day .reviewGroupAvailable > h3 span {
  background: #fef3c7 !important;
  border: 1px solid #f59e0b !important;
  color: #78350f !important;
}

body.theme-day .reviewGroupAdvance > h3 {
  color: #1d4d3e !important;
}

body.theme-day .reviewGroupScheduled > h3 {
  color: #4b5d52 !important;
}

body.theme-day .reviewItemCompact.overdue {
  background: #fff5f5 !important;
  border: 1px solid #fecaca !important;
  border-left: 4px solid #dc2626 !important;
  color: #17231e !important;
}

body.theme-day .reviewItemCompact.overdue:hover {
  background: #fee2e2 !important;
  border-color: #f87171 !important;
  border-left-color: #b91c1c !important;
}

body.theme-day .reviewOverdueMeta {
  color: #991b1b !important;
}

body.theme-day .reviewActionBtn {
  min-height: 44px;
  min-width: 44px;
}

body.theme-day .reviewActionBtn.reviewOpenBtn,
body.theme-day .reviewOpenBtn {
  background: #1d4d3e !important;
  border: 1px solid #1d4d3e !important;
  color: #ffffff !important;
  box-shadow: none !important;
  min-height: 44px;
  min-width: 44px;
}

body.theme-day .reviewActionBtn.reviewOpenBtn:hover,
body.theme-day .reviewOpenBtn:hover {
  background: #163b2f !important;
  border-color: #163b2f !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(29, 77, 62, 0.22) !important;
}

/* 3. Revisão aberta no leitor (.adaptedFlow / .aiContent — modo claro e sépia) */
body.theme-day #paper .adaptedFlow,
body.theme-day #paper .aiContent,
#readerMode.readerSepia #paper .adaptedFlow,
#readerMode.readerSepia #paper .aiContent {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.theme-day #paper .adaptedFlow > *,
body.theme-day #paper .aiContent > *,
#readerMode.readerSepia #paper .adaptedFlow > *,
#readerMode.readerSepia #paper .aiContent > * {
  margin-top: 0;
  margin-bottom: 0;
}

body.theme-day #paper .adaptedFlow h2,
body.theme-day #paper .aiContent h2,
#readerMode.readerSepia #paper .adaptedFlow h2,
#readerMode.readerSepia #paper .aiContent h2 {
  margin: 12px 0 4px !important;
  padding-bottom: 6px;
  border-bottom: 1px solid #d7e0db;
}

body.theme-day #paper .adaptedFlow h3,
body.theme-day #paper .aiContent h3,
#readerMode.readerSepia #paper .adaptedFlow h3,
#readerMode.readerSepia #paper .aiContent h3 {
  margin: 12px 0 2px !important;
}

body.theme-day #paper .adaptedFlow p,
body.theme-day #paper .aiContent p,
body.theme-day #paper .adaptedFlow ul,
body.theme-day #paper .aiContent ul,
body.theme-day #paper .adaptedFlow ol,
body.theme-day #paper .aiContent ol,
body.theme-day #paper .adaptedFlow blockquote,
body.theme-day #paper .aiContent blockquote,
#readerMode.readerSepia #paper .adaptedFlow p,
#readerMode.readerSepia #paper .aiContent p,
#readerMode.readerSepia #paper .adaptedFlow ul,
#readerMode.readerSepia #paper .aiContent ul,
#readerMode.readerSepia #paper .adaptedFlow ol,
#readerMode.readerSepia #paper .aiContent ol,
#readerMode.readerSepia #paper .adaptedFlow blockquote,
#readerMode.readerSepia #paper .aiContent blockquote {
  margin: 0 !important;
}

body.theme-day #paper .adaptedFlow hr,
body.theme-day #paper .aiContent hr,
body.theme-day #paper .aiDivider,
#readerMode.readerSepia #paper .adaptedFlow hr,
#readerMode.readerSepia #paper .aiContent hr,
#readerMode.readerSepia #paper .aiDivider {
  margin: 12px 0 !important;
  border: 0;
  border-top: 1px solid #d7e0db;
}

/* Harmonizar o cabeçalho + card de Tempo Estimado de Leitura (pill claro/sálvia suave) */
body.theme-day #paper > div:has(#readingTimeText),
#readerMode.readerSepia #paper > div:has(#readingTimeText) {
  gap: 12px !important;
  margin-bottom: 16px !important;
  align-items: center !important;
}

body.theme-day #paper div:has(> div > #readingTimeText),
#readerMode.readerSepia #paper div:has(> div > #readingTimeText) {
  background: #eef5f1 !important;
  border: 1px solid #c7dcd1 !important;
  color: #17231e !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  margin-bottom: 0 !important;
  gap: 10px !important;
  box-shadow: none !important;
}

body.theme-day #paper div:has(> div > #readingTimeText) > div:first-child,
#readerMode.readerSepia #paper div:has(> div > #readingTimeText) > div:first-child {
  background: #d8ebe1 !important;
  width: 34px !important;
  height: 34px !important;
  font-size: 16px !important;
}

body.theme-day #paper div:has(> div > #readingTimeText) > div:last-child > div:first-child,
#readerMode.readerSepia #paper div:has(> div > #readingTimeText) > div:last-child > div:first-child {
  color: #3f5c4e !important;
  font-size: 11px !important;
}

body.theme-day #paper #readingTimeText,
#readerMode.readerSepia #paper #readingTimeText {
  color: #17231e !important;
  font-size: 14px !important;
}

body.theme-day #paper #readingTimeText span,
#readerMode.readerSepia #paper #readingTimeText span {
  color: #4b5d52 !important;
  font-size: 12px !important;
}

/* Tabelas Markdown (Tabela Anti-Pegadinha): limpas, compactas, bordas suaves #d7e0db e cabeçalho #eef5f1 */
body.theme-day #paper .tableWrapper,
#readerMode.readerSepia #paper .tableWrapper {
  margin: 12px 0 !important;
  border: 1px solid #d7e0db !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.theme-day #paper .aiTable,
#readerMode.readerSepia #paper .aiTable {
  font-size: 0.9em !important;
  line-height: 1.45 !important;
  color: #17231e !important;
}

body.theme-day #paper .aiTable th,
#readerMode.readerSepia #paper .aiTable th {
  background: #eef5f1 !important;
  color: #17231e !important;
  border-bottom: 1px solid #c7dcd1 !important;
  padding: 9px 12px !important;
  font-weight: 700 !important;
}

body.theme-day #paper .aiTable td,
#readerMode.readerSepia #paper .aiTable td {
  padding: 9px 12px !important;
  border-bottom: 1px solid #d7e0db !important;
  color: #1f2e27 !important;
}

body.theme-day #paper .aiTable tr:last-child td,
#readerMode.readerSepia #paper .aiTable tr:last-child td {
  border-bottom: none !important;
}

body.theme-day #paper .aiTable tr:nth-child(even) td,
#readerMode.readerSepia #paper .aiTable tr:nth-child(even) td {
  background: #f8fbf9 !important;
}

body.theme-day #paper .aiTable tr:hover td,
#readerMode.readerSepia #paper .aiTable tr:hover td {
  background: #eef5f1 !important;
}

/* 4. Padronização das Questões da Revisão (#reviewQuizArea) — alinhadas às Questões da IA */
#reviewQuizArea {
  text-align: left !important;
}

#reviewQuizArea .quizQuestion {
  text-align: left !important;
  margin-bottom: 24px !important;
  padding-bottom: 18px !important;
}

#reviewQuizArea .quizQuestion h3,
#reviewQuizArea .quizQuestion h3 p {
  text-align: left !important;
  margin-bottom: 14px !important;
}

#reviewQuizArea .questionOptionRow {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 10px !important;
}

body.theme-day .eliminateOption,
body.theme-day .pdfEliminateOption,
#readerMode.readerSepia .eliminateOption,
#readerMode.readerSepia .pdfEliminateOption,
#reviewQuizArea .eliminateOption {
  background: #f8faf9 !important;
  border: 1px solid #d7e0db !important;
  color: #475569 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 10px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

body.theme-day .eliminateOption:hover:not(:disabled),
#readerMode.readerSepia .eliminateOption:hover:not(:disabled),
#reviewQuizArea .eliminateOption:hover:not(:disabled) {
  background: #eef5f1 !important;
  border-color: #9ec2b0 !important;
  color: #17231e !important;
}

body.theme-day .questionOptionRow.eliminated .eliminateOption,
#readerMode.readerSepia .questionOptionRow.eliminated .eliminateOption,
#reviewQuizArea .questionOptionRow.eliminated .eliminateOption {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
}

#reviewQuizArea button[id^="btn_submit_q_"],
#reviewQuizArea .quizQuestion button.secondary {
  background: #1d4d3e !important;
  border: 1px solid #1d4d3e !important;
  color: #ffffff !important;
  min-height: 44px !important;
  min-width: 140px;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

#reviewQuizArea button[id^="btn_submit_q_"]:hover:not(:disabled),
#reviewQuizArea .quizQuestion button.secondary:hover:not(:disabled) {
  background: #163b2f !important;
  border-color: #163b2f !important;
  color: #ffffff !important;
}

#reviewQuizArea button[id^="btn_submit_q_"]:disabled,
#reviewQuizArea .quizQuestion button.secondary:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}


/* ============================================================================
 * PR #45: Marca SVG no Login, Rodapé Minimalista da Sidebar, Central de Ajuda,
 * Gráfico 14d, Ver todos em Pontos de Atenção e Exportação PDF A4
 * ============================================================================ */

/* 1. Símbolo SVG oficial do Evolua na tela de Login (#authGate) */
#authGate .authBrandLogoRow {
  display: flex;
  align-items: center;
  gap: 12px;
}

#authGate .authBrandSymbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

#authGate .authBrandSymbol svg {
  display: block;
  width: 26px;
  height: 26px;
}

body.theme-day #authGate .authBrandSymbol {
  background: #0f172a;
  border: 1px solid rgba(123, 224, 190, 0.25);
  color: #ffffff;
}

/* Link de ajuda no rodapé do card de login */
#authGate .authFormPane {
  display: flex;
  flex-direction: column;
}

#authGate .authHelpFooter {
  order: 20;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
  color: #94a3b8;
}

#authGate .authHelpLink {
  color: #6ee7b7;
  font-weight: 600;
  text-decoration: none;
}

#authGate .authHelpLink:hover,
#authGate .authHelpLink:focus-visible {
  text-decoration: underline;
}

body.theme-day #authGate .authHelpFooter {
  border-top-color: #d4dacb;
  color: #4b5d52;
}

body.theme-day #authGate .authHelpLink {
  color: #1d4d3e;
}

/* 2. Rodapé minimalista da barra lateral: ocultar botão duplicado de tema */
#evoluaSidebar #themeToggleBtn,
body.theme-day #evoluaSidebar #themeToggleBtn,
body.theme-minimal:not(.theme-day) #evoluaSidebar #themeToggleBtn {
  display: none !important;
}

/* Layout limpo em 2 linhas no #userControl desktop para nome + ações >= 44x44px */
@media (min-width: 851px) {
  body.theme-day #evoluaSidebar,
  body.theme-minimal:not(.theme-day) #evoluaSidebar {
    padding-bottom: 156px !important;
  }

  body.theme-day #userControl,
  body.theme-minimal:not(.theme-day) #userControl {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 8px !important;
    border-radius: 12px !important;
  }

  body.theme-day #userControl .userAccountButton,
  body.theme-minimal:not(.theme-day) #userControl .userAccountButton {
    width: 100% !important;
    min-height: 36px !important;
    justify-content: flex-start !important;
    padding: 4px 8px !important;
  }
}

#userControl .userControlActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
}

#userControl .userHelpButton,
#userControl .userAdminButton,
#userControl .themeDayNightToggle,
#userControl .userLogoutButton {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px !important;
  min-height: 44px !important;
  height: 44px !important;
  border-radius: 8px !important;
  padding: 0 8px !important;
}

#userControl .userHelpButton,
#userControl .userAdminButton,
#userControl .themeDayNightToggle {
  width: 44px !important;
  padding: 0 !important;
  flex: 0 0 44px !important;
}

#userControl .userLogoutButton {
  flex: 1 1 auto !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}

#userControl .evoluaMinimalSvg {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
}

/* 3. Modal da Central de Ajuda (.evoluaHelpDialog) */
.evoluaHelpDialog {
  width: min(560px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  padding: 22px 24px !important;
}

.evoluaHelpHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.evoluaHelpEyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #34d399;
  margin-bottom: 4px;
}

.evoluaHelpHeader h2 {
  margin: 0;
  font-size: 19px;
}

.evoluaHelpCloseBtn {
  min-width: 44px !important;
  min-height: 44px !important;
  width: 44px;
  height: 44px;
  padding: 0 !important;
  font-size: 22px;
  line-height: 1;
  border-radius: 8px;
}

.evoluaHelpFaqList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.evoluaHelpFaqItem {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.35);
}

.evoluaHelpFaqItem summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  list-style: none;
}

.evoluaHelpFaqItem p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
}

.evoluaHelpActions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.evoluaHelpMailBtn,
.evoluaHelpWhatsappBtn,
.evoluaHelpDismissBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.evoluaHelpMailBtn {
  background: #1d4d3e;
  border: 1px solid #1d4d3e;
  color: #ffffff !important;
}

.evoluaHelpMailBtn:hover {
  background: #163b2f;
}

.evoluaHelpWhatsappBtn {
  background: #15803d;
  border: 1px solid #15803d;
  color: #ffffff !important;
}

.evoluaHelpDismissBtn {
  margin-left: auto;
}

body.theme-day .evoluaHelpEyebrow {
  color: #1d4d3e;
}

body.theme-day .evoluaHelpFaqItem {
  background: #f9faf5;
  border-color: #d4dacb;
  color: #152820;
}

/* 4. Home Dashboard — Pontos de Atenção ("Ver todos" + filtro) e Gráfico 14 dias */
#dashboard .dashboardAttentionCard {
  height: auto !important;
  min-height: 178px !important;
}

#dashboard .dashboardAttentionList {
  height: auto !important;
  max-height: 162px;
  overflow: hidden;
}

#dashboard .dashboardAttentionMore {
  font-size: 12px !important;
  font-weight: 600 !important;
  min-height: 36px !important;
  padding: 6px 10px !important;
}

#dashboard .dashboardAttentionDialogHeader {
  align-items: center;
}

#dashboard .dashboardAttentionDialogMeta {
  display: block;
  font-size: 12px;
  color: var(--dashboard-muted);
  margin-top: 2px;
}

#dashboard .dashboardAttentionFilterBar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--dashboard-line);
}

#dashboard .dashboardAttentionFilterChip {
  min-height: 34px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--dashboard-line);
  background: transparent;
  color: var(--dashboard-muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

#dashboard .dashboardAttentionFilterChip.active {
  background: #1d4d3e !important;
  border-color: #1d4d3e !important;
  color: #ffffff !important;
  font-weight: 600;
}

/* Gráfico 14 dias: altura equilibrada sem buraco vazio + linha de base 0 clara */
#dashboard .homeActivityCard {
  min-height: 210px !important;
  padding: 12px 14px 10px !important;
  justify-content: space-between;
}

#dashboard .dashboardChart {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 148px !important;
  margin-top: 10px !important;
  align-items: stretch;
}

#dashboard .dashboardChartAxis {
  padding-bottom: 22px !important;
}

#dashboard .recentDays {
  height: auto !important;
  min-height: 148px !important;
  gap: 3px !important;
  background: repeating-linear-gradient(to top, transparent 0, transparent 32px, rgba(128, 144, 160, 0.22) 33px, transparent 34px) 0 0 / 100% calc(100% - 22px) no-repeat !important;
}

#dashboard .recentGroup {
  height: auto !important;
  min-height: 148px;
}

#dashboard .recentGroupBars {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 118px;
  border-bottom: 1.5px solid var(--dashboard-line);
  padding-bottom: 1px;
}

#dashboard .recentGroup.isZero .recentBar {
  min-height: 0 !important;
  opacity: 0;
}

#dashboard .recentGroup > span {
  font-size: 9px !important;
  line-height: 20px !important;
  height: 20px;
}

#dashboard .recentGroup > span.isSecondaryTick {
  opacity: 0;
}

@media (min-width: 1380px) {
  #dashboard .recentGroup > span.isSecondaryTick {
    opacity: 0.72;
  }
}

/* 5. Botão Exportar Revisão em PDF A4 (.readerTop #exportReviewPdfBtn) */
#readerMode .readerTop #exportReviewPdfBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#readerMode .readerTop #exportReviewPdfBtn.hidden {
  display: none !important;
}

#readerMode .readerTop #exportReviewPdfBtn.isLocked {
  opacity: 0.85;
}

/* Fallback @media print limpo caso pop-up de impressão seja bloqueado */
@media print {
  body.evoluaPrintingReview .app,
  body.evoluaPrintingReview #userControl,
  body.evoluaPrintingReview .readerIndex,
  body.evoluaPrintingReview .readerTop,
  body.evoluaPrintingReview #readerImmersiveExitBtn,
  body.evoluaPrintingReview #practice,
  body.evoluaPrintingReview #reviewQuizArea,
  body.evoluaPrintingReview #settings,
  body.evoluaPrintingReview #notesPanel {
    display: none !important;
  }

  body.evoluaPrintingReview #readerMode,
  body.evoluaPrintingReview .readerMain,
  body.evoluaPrintingReview .readerShell,
  body.evoluaPrintingReview #paper {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #152820 !important;
    box-shadow: none !important;
    border: 0 !important;
  }
}

/* 6. Ajustes extras do PR #45 (Paulo) */
/* 6a. Ocultar botão duplicado 'Acessar questões' quando 'Questões da IA (N)' já existe */
#topics .topicBlockCard:has(.blockAiQuestions) .topicPracticeShortcut {
  display: none !important;
}

#topics .topicBlockCard .topicActions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

/* 6b. Replicar borda esquerda verde no card de boas-vindas no modo escuro (igual ao modo claro e #hubHomeBanner) */
body:not(.theme-day) #dashboard .evoluaHeroGreetingCol {
  border-inline-start: 4px solid #256d63 !important;
}

/* 6c. Hierarquia da Sidebar: Pill do Edital/Plano ativo PRIMEIRO, depois cabeçalho MATÉRIAS +, depois lista de matérias */
#evoluaSidebar .evoluaSidebarSection {
  display: flex !important;
  flex-direction: column !important;
}

#evoluaSidebar .evoluaSidebarSection #sidebarEditalBox {
  order: -1 !important;
  margin-bottom: 6px;
}

#evoluaSidebar .evoluaSidebarSection #sidebarEditalBox:empty {
  margin-bottom: 0;
}

#evoluaSidebar .evoluaSidebarSection .evoluaSectionHeader {
  order: 0 !important;
}

#evoluaSidebar .evoluaSidebarSection #subjects {
  order: 1 !important;
}

#evoluaSidebar .sidebarEditalActive {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  text-align: left !important;
}

#evoluaSidebar .sidebarEditalActive .sidebarEditalIcon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  display: block;
}

/* Padronizacao global da tesoura (.eliminateOption) com icone SVG minimalista unico */
.eliminateOption {
  font-size: 0 !important;
  line-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.eliminateOption::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #64748b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cline x1='20' y1='4' x2='8.12' y2='15.88'/%3E%3Cline x1='14.47' y1='14.48' x2='20' y2='20'/%3E%3Cline x1='8.12' y1='8.12' x2='12' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cline x1='20' y1='4' x2='8.12' y2='15.88'/%3E%3Cline x1='14.47' y1='14.48' x2='20' y2='20'/%3E%3Cline x1='8.12' y1='8.12' x2='12' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.eliminateOption:hover::before {
  background-color: #1d4d3e;
}
body:not(.theme-day) .eliminateOption::before {
  background-color: #94a3b8;
}
body:not(.theme-day) .eliminateOption:hover::before {
  background-color: #e2e8f0;
}
@media (min-width: 851px) {
  body.theme-day #evoluaSidebar,
  body.theme-minimal:not(.theme-day) #evoluaSidebar {
    padding-bottom: 12px !important;
  }
  body.theme-day #evoluaSidebar .evoluaSidebarFooter,
  body.theme-minimal:not(.theme-day) #evoluaSidebar .evoluaSidebarFooter {
    padding-bottom: 126px !important;
  }

}

/* Botões da barra superior do leitor no padrão do modo claro (especificidade com #readerMode) */
body.theme-day #readerMode .readerTop button:not(.readerZoomBtn):not(.readerPaperBtn),
body.theme-day #readerMode .readerTop .readerTopBtn {
  background: #f3f6f4 !important;
  border: 1px solid #cfd9d2 !important;
  color: #152820 !important;
  box-shadow: none !important;
}
body.theme-day #readerMode .readerTop button:not(.readerZoomBtn):not(.readerPaperBtn):hover,
body.theme-day #readerMode .readerTop .readerTopBtn:hover {
  background: #eef5f1 !important;
  border-color: #295e4b !important;
  color: #152820 !important;
}
body.theme-day #readerMode .readerTop button.active:not(.readerPaperBtn):not(#readerThemeToggleBtn),
body.theme-day #readerMode .readerTop button.tabOn,
body.theme-day #readerMode .readerTop button[aria-pressed="true"]:not(.readerPaperBtn):not(#readerThemeToggleBtn),
body.theme-day #readerMode .readerTop .readerTopBtn.active:not(#readerThemeToggleBtn),
body.theme-day #readerMode .readerTop .readerTopBtn[aria-pressed="true"]:not(#readerThemeToggleBtn) {
  background: #1d4d3e !important;
  border-color: #1d4d3e !important;
  color: #ffffff !important;
}
/* === PR #61: Uniformidade de negrito na tabela e destaque suave em code no modo claro === */
body.theme-day #paper .aiTable td:first-child,
body.theme-day #paper .aiTable strong,
#readerMode.readerSepia #paper .aiTable td:first-child,
#readerMode.readerSepia #paper .aiTable strong {
  color: #17231e !important;
  font-weight: 700 !important;
}
body.theme-day #paper code {
  background: #eef3f0 !important;
  border: 1px solid #d7e0db !important;
  color: #17231e !important;
  padding: 0.06em 0.34em !important;
  border-radius: 5px !important;
  font-size: 0.92em !important;
}

#readerMode.readerSepia #paper :is(code, kbd, samp, tt, .phonetic, .ipa),
#readerMode.readerSepia #practice :is(code, kbd, samp, tt, .phonetic, .ipa) {
  background: color-mix(in srgb, #6b4b19 14%, #dcc8aa) !important;
  border: 1px solid color-mix(in srgb, #6b4b19 26%, #dcc8aa) !important;
  color: #342b22 !important;
  padding: 0.06em 0.34em !important;
  border-radius: 5px !important;
  font-size: 0.92em !important;
}

/* === PR #78: Layout Mobile sem Estouro Horizontal, #userControl Compacto e Blocos === */
@media (max-width: 850px) {
  html,
  body,
  .app,
  .app.homeMode,
  .app.cycleMode,
  .app.simuladoMode {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .evoluaMobileHeader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 42 !important;
  }

  .evoluaMain,
  #mainContent,
  body .app.homeMode > #mainContent,
  body.theme-day #mainContent,
  body.theme-day .evoluaMain,
  body.theme-minimal:not(.theme-day) #mainContent,
  body.theme-minimal:not(.theme-day) .evoluaMain {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: calc(122px + env(safe-area-inset-top, 0px)) 12px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  #home,
  #workspace,
  #topicsCard,
  #cyclePage,
  #studyPlanPage,
  #simuladoPage {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Barra #userControl mobile fixa sob o cabeçalho sem distorcer o botão Sair */
  #userControl,
  body.theme-day #userControl,
  body.theme-minimal:not(.theme-day) #userControl {
    position: fixed !important;
    top: calc(56px + env(safe-area-inset-top, 0px)) !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 5px 12px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    z-index: 40 !important;
  }

  #userControl .userAccountButton,
  body.theme-day #userControl .userAccountButton,
  body.theme-minimal:not(.theme-day) #userControl .userAccountButton {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 44px !important;
    padding: 4px 8px !important;
    justify-content: flex-start !important;
    margin-right: 0 !important;
  }

  #userControl .userAccountName {
    max-width: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #userControl .userControlActions {
    width: auto !important;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    gap: 6px !important;
  }

  #userControl .userHelpButton,
  #userControl .userAdminButton,
  #userControl .themeDayNightToggle {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    flex: 0 0 44px !important;
    padding: 0 !important;
  }

  #userControl .userLogoutButton,
  body.theme-day #userControl .userLogoutButton,
  body.theme-minimal:not(.theme-day) #userControl .userLogoutButton {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 56px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
  }

  #dashboard .dashboardTableScroll,
  #workspace .materialTabsNav {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  #workspace .materialTabsNav {
    flex-wrap: nowrap !important;
    scrollbar-width: thin;
  }

  #workspace .materialTabBtn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  #workspace .documentMeta,
  #topicsCard .topicBlockCard .topicCardHead,
  .docGenerationBadge.hasStudyProgress {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #workspace .documentMetaLeft,
  #workspace .moduleDailySummary,
  #workspace .moduleOverallSummary,
  #topicsCard .blockDailySummary,
  #topicsCard .moduleDailyBoxMetrics,
  #topicsCard .dailyMetricGrid {
    max-width: 100% !important;
    white-space: normal !important;
    flex-wrap: wrap !important;
  }

  #topicsCard .moduleHero {
    padding: 16px 14px !important;
  }

  #topicsCard .moduleHero .moduleBlockCountBadge {
    position: static !important;
    margin-bottom: 8px !important;
    display: inline-flex !important;
  }

  #topicsCard .moduleHero .moduleHeader h2 {
    padding-right: 0 !important;
  }

  #topicsCard .moduleOverview,
  body.theme-day #topicsCard .moduleOverview,
  body.theme-minimal:not(.theme-day) #topicsCard .moduleOverview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #topicsCard .moduleOverview .moduleMetric:last-child,
  body.theme-day #topicsCard .moduleOverview .moduleMetric:last-child,
  body.theme-minimal:not(.theme-day) #topicsCard .moduleOverview .moduleMetric:last-child {
    grid-column: 1 / -1 !important;
  }

  #topicsCard .moduleToolbar,
  #topicsCard .moduleQueueActions {
    flex-wrap: wrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #topicsCard .moduleToolbar > button,
  #topicsCard .moduleToolbar .allQuestionsQuantity,
  #topicsCard .moduleToolbar #allQuestionsTarget,
  #topicsCard .topicQuestionCreator {
    max-width: 100% !important;
    flex-wrap: wrap !important;
  }

  #topicsCard .moduleBackRow {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  #workspace .docTitleBtn {
    padding-right: 44px !important;
  }

  #workspace .doc > .moduleCompleteBadge {
    position: static !important;
    margin: 2px 0 4px !important;
  }
}

@media (max-width: 600px) {
  body.theme-day #dashboard .dashboardPlanActions summary,
  body.theme-minimal:not(.theme-day) #dashboard .dashboardPlanActions summary {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }
}

/* === PR #91: Tema Noturna / Tema Global Escuro na Aula-Resumo e Questões da IA + Sépia em #practice === */
#readerMode.readerSepia #practice {
  background: var(--reader-paper-sepia, #dcc8aa) !important;
  color: var(--reader-ink-sepia, #342b22) !important;
  border-color: color-mix(in srgb, #6b4b19 24%, #dcc8aa) !important;
}

#readerMode.readerSepia #practice :is(h1, h2, h3, h4, p, li, .questionStatement, .answerExplanation, .questionSourceItem) {
  color: var(--reader-ink-sepia, #342b22) !important;
}

#readerMode.readerSepia #practice .option:not(.correct):not(.wrong) {
  background: color-mix(in srgb, #6b4b19 9%, #dcc8aa) !important;
  border-color: color-mix(in srgb, #6b4b19 25%, #dcc8aa) !important;
  color: #342b22 !important;
}

#readerMode.readerNight,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) {
  color-scheme: dark;
  --paper: #161e29;
  --paperText: #e6edf3;
  --rs-stage-bg: #0e1217;
  --rs-header-bg: #12161f;
  --rs-header-border: #202630;
  --rs-text: #e6edf3;
  --rs-muted: #9aa8b8;
  --rs-pill-bg: #1e2633;
  --rs-pill-border: #2e3846;
  --rs-pill-active-bg: #182232;
  --rs-pill-active-border: #3b82f6;
}

#readerMode.readerNight:not(.rhmReadingActive) .readerMain,
#readerMode.readerNight:not(.rhmReadingActive) .readerShell,
body.theme-minimal:not(.theme-day) #readerMode:not(.rhmReadingActive):not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) .readerMain,
body.theme-minimal:not(.theme-day) #readerMode:not(.rhmReadingActive):not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) .readerShell {
  background: #0e1217 !important;
  color: #e6edf3 !important;
}

#readerMode.readerNight:not(.rhmReadingActive) .readerTop,
body.theme-minimal:not(.theme-day) #readerMode:not(.rhmReadingActive):not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) .readerTop {
  background: #12161f !important;
  border-color: #202630 !important;
  color: #e6edf3 !important;
}

#readerMode.readerNight:not(.rhmReadingActive) .readerTop :is(#readerTopicTitle, .readerSubStatusLine, .readerSubStatusLine span),
body.theme-minimal:not(.theme-day) #readerMode:not(.rhmReadingActive):not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) .readerTop :is(#readerTopicTitle, .readerSubStatusLine, .readerSubStatusLine span) {
  color: #e6edf3 !important;
}

#readerMode.readerNight:not(.rhmReadingActive) .readerTop button:not(.readerZoomBtn):not(.readerPaperBtn):not(.rhmSegBtn):not(.tabOn),
body.theme-minimal:not(.theme-day) #readerMode:not(.rhmReadingActive):not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) .readerTop button:not(.readerZoomBtn):not(.readerPaperBtn):not(.rhmSegBtn):not(.tabOn) {
  background: #1e2633 !important;
  border-color: #2e3846 !important;
  color: #e6edf3 !important;
}

#readerMode.readerNight :is(.paper:not(.pdfPaper), .aiContent, #practice),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) :is(.paper:not(.pdfPaper), .aiContent, #practice) {
  background: #161e29 !important;
  color: #e6edf3 !important;
  border-color: #263244 !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45) !important;
}

#readerMode.readerNight #paper :is(h1, h2, h3, h4, p, li, strong, blockquote, .adaptedFlow, .aiContent),
#readerMode.readerNight #practice :is(h1, h2, h3, h4, p, li, .questionStatement, .practiceHeader h2, .answerExplanation, .answerExplanation p, .answerExplanation li, .explanationItem, .explanationNote, .questionSourceItem, .questionQualityFeedback > span, .batchLabel),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper :is(h1, h2, h3, h4, p, li, strong, blockquote, .adaptedFlow, .aiContent),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #practice :is(h1, h2, h3, h4, p, li, .questionStatement, .practiceHeader h2, .answerExplanation, .answerExplanation p, .answerExplanation li, .explanationItem, .explanationNote, .questionSourceItem, .questionQualityFeedback > span, .batchLabel) {
  color: #e6edf3 !important;
}

#readerMode.readerNight #paper :is(h2, hr, .aiDivider),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper :is(h2, hr, .aiDivider) {
  border-color: #2a3649 !important;
}

#readerMode.readerNight #paper :is(code, pre),
#readerMode.readerNight #practice :is(code, pre),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper :is(code, pre),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #practice :is(code, pre) {
  background: #0f1621 !important;
  border-color: #2c3a4f !important;
  color: #e2e8f0 !important;
}

#readerMode.readerNight #paper div:has(> div > #readingTimeText),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper div:has(> div > #readingTimeText) {
  background: #1d2736 !important;
  border-color: #324157 !important;
  color: #e6edf3 !important;
}

#readerMode.readerNight #paper div:has(> div > #readingTimeText) > div:first-child,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper div:has(> div > #readingTimeText) > div:first-child {
  background: #273448 !important;
}

#readerMode.readerNight #paper #readingTimeText,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper #readingTimeText {
  color: #f8fafc !important;
}

#readerMode.readerNight #paper #readingTimeText span,
#readerMode.readerNight #paper div:has(> div > #readingTimeText) > div:last-child > div:first-child,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper #readingTimeText span,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper div:has(> div > #readingTimeText) > div:last-child > div:first-child {
  color: #94a3b8 !important;
}

#readerMode.readerNight #paper .tableWrapper,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper .tableWrapper {
  background: #121923 !important;
  border-color: #2b384b !important;
}

#readerMode.readerNight #paper .aiTable th,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper .aiTable th {
  background: #1e2a3b !important;
  color: #f1f5f9 !important;
  border-bottom-color: #33455e !important;
}

#readerMode.readerNight #paper .aiTable td,
#readerMode.readerNight #paper .aiTable td:first-child,
#readerMode.readerNight #paper .aiTable strong,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper .aiTable td,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper .aiTable td:first-child,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper .aiTable strong {
  color: #e2e8f0 !important;
  border-bottom-color: #263244 !important;
}

#readerMode.readerNight #paper .aiTable tr:nth-child(even) td,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper .aiTable tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03) !important;
}

#readerMode.readerNight #paper .aiTable tr:hover td,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper .aiTable tr:hover td {
  background: rgba(59, 130, 246, 0.12) !important;
}

#readerMode.readerNight :is(.reviewNoticeBadge, .prepBadge, .questionSourcesBox, .answerExplanation, .questionQualityFeedback),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) :is(.reviewNoticeBadge, .prepBadge, .questionSourcesBox, .answerExplanation, .questionQualityFeedback) {
  background: #1b2433 !important;
  border-color: #2d3c52 !important;
  color: #e2e8f0 !important;
}

#readerMode.readerNight #practice .questionCardItem,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #practice .questionCardItem {
  border-bottom-color: #2b384b !important;
}

#readerMode.readerNight #practice .questionNumberLabel,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #practice .questionNumberLabel {
  background: rgba(59, 130, 246, 0.18) !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
  color: #93c5fd !important;
}

#readerMode.readerNight #practice .questionBatchSelector,
#readerMode.readerNight #practice .questionBatchSelector .batchBtn:not(.active),
#readerMode.readerNight #practice .questionQualityActions button:not(.selected),
#readerMode.readerNight #practice .eliminateOption,
#readerMode.readerNight #paper #reviewQuizArea .eliminateOption,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #practice .questionBatchSelector,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #practice .questionBatchSelector .batchBtn:not(.active),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #practice .questionQualityActions button:not(.selected),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #practice .eliminateOption,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper #reviewQuizArea .eliminateOption {
  background: #1e2633 !important;
  border-color: #324055 !important;
  color: #e2e8f0 !important;
}

#readerMode.readerNight :is(#practice, #paper) .questionOptionRow .option:not(.correct):not(.wrong),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) :is(#practice, #paper) .questionOptionRow .option:not(.correct):not(.wrong) {
  background: #1a2332 !important;
  border-color: #2f3e53 !important;
  color: #e6edf3 !important;
}

#readerMode.readerNight :is(#practice, #paper) .questionOptionRow .option.selected:not(.correct):not(.wrong),
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) :is(#practice, #paper) .questionOptionRow .option.selected:not(.correct):not(.wrong) {
  background: #1e334d !important;
  border-color: #60a5fa !important;
  color: #ffffff !important;
}

#readerMode.readerNight :is(#practice, #paper) .questionOptionRow .option:not(.correct):not(.wrong) .pdfAlternativeKey,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) :is(#practice, #paper) .questionOptionRow .option:not(.correct):not(.wrong) .pdfAlternativeKey {
  background: #253247 !important;
  border-color: #3a4c68 !important;
  color: #f1f5f9 !important;
}

#readerMode.readerNight :is(#practice, #paper) .questionOptionRow .option.correct,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) :is(#practice, #paper) .questionOptionRow .option.correct {
  background: #143627 !important;
  border-color: #34d399 !important;
  color: #d1fae5 !important;
}

#readerMode.readerNight :is(#practice, #paper) .questionOptionRow .option.wrong,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) :is(#practice, #paper) .questionOptionRow .option.wrong {
  background: #3f1c22 !important;
  border-color: #f87171 !important;
  color: #fee2e2 !important;
}

#readerMode.readerNight #paper #reviewQuizArea .reviewQuizFeedback,
#readerMode.readerNight #paper #reviewQuizArea .reviewQuizExplanation,
#readerMode.readerNight #paper #reviewQuizArea .reviewQuizFeedback *,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper #reviewQuizArea .reviewQuizFeedback,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper #reviewQuizArea .reviewQuizExplanation,
body.theme-minimal:not(.theme-day) #readerMode:not(.readerSepia):not(.readerSage):not([data-paper-theme="paper"]) #paper #reviewQuizArea .reviewQuizFeedback * {
  background: #1b2433 !important;
  color: #e6edf3 !important;
  border-color: #324055 !important;
}
