/* 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 {
    font-size:0!important;
    min-width:32px!important;
    width:32px!important;
    padding:0!important;
    justify-content:center!important
  }
  body.theme-day #userControl .userAdminButton::after {
    content:"👥";
    font-size:13px
  }
  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 .sideGenerationHead,
body.theme-day #evoluaSidebar .sideGenerationRow>b,
body.theme-day #evoluaSidebar .sideGenerationProgress b {
  color:#152820!important
}

body.theme-day #evoluaSidebar .sideGenerationHead span:last-child {
  color:var(--evolua-green)!important;
  font-weight:800
}

body.theme-day #evoluaSidebar .sideGenerationRow,
body.theme-day #evoluaSidebar .sideGenerationBreakdown,
body.theme-day #evoluaSidebar .sideGenerationProgress,
body.theme-day #evoluaSidebar .sideGenerationIdle {
  color:#4b5d52!important
}

body.theme-day #evoluaSidebar .sideGenerationDot {
  background:var(--evolua-green)!important
}

body.theme-day #evoluaSidebar .sideGenerationProgress {
  border-top-color:#d4dacb!important
}

body.theme-day #evoluaSidebar .sideGenerationBar {
  background:#eceee6!important
}

body.theme-day #evoluaSidebar .sideGenerationBar i {
  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;
  background:#fff!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 .homeGenDot {
  background:var(--evolua-green)!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;
}

body.theme-day #editalDialog .appDialog button.primary:hover {
  background: var(--evolua-green-hover) !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 .metricQueue {
  color:var(--evolua-on-green-muted) !important;
  font-size:11.5px !important;
}

body.theme-day #topicsCard .moduleHero .metricQueue.isActive {
  color:#ddedb1 !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 .topicGenerationEstimate .miniProgress,
body.theme-day #topicsCard .simGenerationEstimate .miniProgress {
  background:#eceee6 !important;
  border-color:#d4dacb !important;
}

body.theme-day #topicsCard .topicGenerationEstimate .miniProgress span,
body.theme-day #topicsCard .simGenerationEstimate .miniProgress span {
  background:var(--evolua-green) !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;
  }
}

/* Marca quadrada usada na referência; o botão da marca mantém seu rótulo acessível. */
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: var(--evolua-green) !important;
  color: #fff !important;
}

body.theme-day #evoluaSidebar .evoluaBrandSymbol svg {
  display: none !important;
}

body.theme-day #evoluaSidebar .evoluaBrandSymbol::after {
  content: "E";
  color: #fff;
  font: 800 19px/1 Manrope, "DM Sans", sans-serif;
}


/* 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 .adminJobError {
  background: #fff5f5 !important;
  border-color: #f4a6a6 !important;
  color: #8f1d28 !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 {
    font-size: 0 !important;
    min-width: 32px !important;
    width: 32px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  body.theme-minimal:not(.theme-day) #userControl .userAdminButton::after {
    content: "\1F465";
    font-size: 13px;
  }
  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;
  }
}
