/* MISSAO PRINTOU - CORRECAO DE CONTRASTE V5 */
/* Alta especificidade para neutralizar regras herdadas do modo claro/escuro. */
html body #tipBtn,
html[data-theme="dark"] body #tipBtn,
html[data-theme="light"] body #tipBtn {
  background:linear-gradient(115deg,#064b9e,#1266c8) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  border:2px solid #ff9b35 !important;
  text-shadow:none !important;
  font-weight:850 !important;
  font-size:1rem !important;
  min-height:52px !important;
  letter-spacing:.01em !important;
  box-shadow:0 7px 22px rgba(0,40,100,.25) !important;
}
html body #tipBtn:hover {background:linear-gradient(115deg,#1167c9,#07509d) !important;filter:brightness(1.1)}
html body #tipBtn:focus-visible {outline:3px solid #ffba53!important;outline-offset:3px}
/* Relógio criado dinamicamente no painel do professor */
html body .teacher-live-clock,
html[data-theme="dark"] body .teacher-live-clock,
html[data-theme="light"] body .teacher-live-clock {
  background:#103e77 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  border:2px solid #72bbff !important;
  box-shadow:0 8px 22px rgba(4,25,63,.22)!important;
  font-size:1.15rem!important;
  font-weight:900!important;
  line-height:1.5!important;
  padding:11px 15px!important;
  border-radius:12px!important;
  font-variant-numeric:tabular-nums;
}
html body .teacher-finishers {color:#064b86!important;font-weight:850!important}
html[data-theme="dark"] body .teacher-finishers {color:#b7ffe3!important}
/* Controles do professor, mesmo com estilos do tema aplicados */
html body #backBtn,html body #refreshBtn,html body #historyRefreshBtn,
html[data-theme="dark"] body #backBtn,html[data-theme="dark"] body #refreshBtn {
  background:#104da5!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  border:2px solid #7db5ff!important;font-weight:850!important;
}
html body #backBtn:hover,html body #refreshBtn:hover {background:#1468d3!important}
html body #backBtn:focus-visible,html body #refreshBtn:focus-visible {outline:3px solid #ffb547!important;outline-offset:3px}
/* Créditos visíveis em telas grandes e celulares. */
html body .footer .project-credit {
  display:block;max-width:800px;margin:16px auto 0;
  padding:15px 18px;border-radius:15px;
  background:#103b74!important;color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid #4f9df1;box-shadow:0 8px 22px rgba(0,33,88,.19);
  font-size:clamp(13px,2vw,16px);font-weight:800;line-height:1.6;text-align:center;
}
html body .footer .project-credit strong {color:#ffe2a6!important;-webkit-text-fill-color:#ffe2a6!important}
@media (prefers-reduced-motion:reduce){html body #tipBtn{transition:none!important}}
