/* vf-prof-atividades-detetive-patch v1 — hub Detetive + abas Atividades/Notas (append) */
[data-vf-portal="professor"] .vf-prof-atividades-notas-tab {
  flex: 1;
  text-align: center;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
  background: #eef1ec;
  color: #1a2e1a;
  cursor: pointer;
}

[data-vf-portal="professor"] .vf-prof-atividades-notas-tab--active {
  background: linear-gradient(180deg, #c68642 0%, #a86e35 100%);
  color: #1a2a1a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.vf-prof-detetive-hub-injected {
  margin: 10px 12px 12px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(165deg, #f4faf0 0%, #ffffff 55%);
  border: 1px solid #c9d6c2;
  box-shadow: 0 2px 12px rgba(26, 46, 26, 0.06);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.vf-prof-detetive-hub-injected .vf-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8973e;
}

.vf-prof-detetive-hub-injected .vf-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #1f3b2d;
  line-height: 1.3;
}

.vf-prof-detetive-hub-injected ol {
  margin: 0 0 14px;
  padding-left: 1.15em;
  font-size: 12px;
  color: #5c6f5e;
  line-height: 1.5;
}

.vf-prof-detetive-hub-injected li + li {
  margin-top: 6px;
}

.vf-prof-detetive-hub-injected .vf-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vf-prof-detetive-hub-injected button {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.vf-prof-detetive-hub-injected .vf-btn-primary {
  border: none;
  background: linear-gradient(180deg, #3d7a3d 0%, #2d4a2d 100%);
  color: #fff;
}

.vf-prof-detetive-hub-injected .vf-btn-secondary {
  background: #fff;
  color: #2d4a2d;
  border: 2px solid #c9d6c2;
}

.vf-prof-atividades-help-injected {
  margin: 0 12px 10px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8e3db;
  font-size: 12px;
  color: #5c6f5e;
  line-height: 1.45;
}

.vf-prof-atividades-help-injected strong {
  color: #1f3b2d;
}

/* vf-prof-missao-detetive-hub-v1 — painel na edição de missão gamificada */
.vf-prof-missao-detetive-hub {
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf2e6 0%, #fff 55%);
  border: 1px solid #c5d4c0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.vf-prof-missao-detetive-hub__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.vf-prof-missao-detetive-hub__cover {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #dce8d8;
}
.vf-prof-missao-detetive-hub__kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8973e;
}
.vf-prof-missao-detetive-hub__title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #1f3b2d;
  line-height: 1.35;
}
.vf-prof-missao-detetive-hub__sub {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #5c6f5e;
}
.vf-prof-missao-detetive-hub__weeks {
  margin: 10px 0 12px;
  padding: 10px;
  border-radius: 10px;
  background: #f7faf5;
  border: 1px dashed #d0ddd0;
  font-size: 11px;
  color: #4a5c50;
  line-height: 1.45;
}
.vf-prof-missao-detetive-hub__weeks strong {
  color: #1f3b2d;
}
.vf-prof-missao-detetive-hub__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vf-prof-missao-detetive-hub__actions button {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.vf-prof-missao-detetive-hub__btn-primary {
  border: none;
  background: linear-gradient(180deg, #3d7a3d 0%, #2d4a2d 100%);
  color: #fff;
}
.vf-prof-missao-detetive-hub__btn-secondary {
  background: #fff;
  color: #2d4a2d;
  border: 2px solid #c9d6c2;
}
.vf-prof-missao-detetive-hub__btn-link {
  background: transparent;
  border: none;
  color: #163a42;
  text-decoration: underline;
  min-height: 36px !important;
  font-size: 12px !important;
}

/* vf-prof-missao-detetive-hub-v2 — formulário missão (professor) */
[data-vf-portal='professor'] .vf-prof-missao-form__card .vf-prof-missao-detetive-hub,
.vf-prof-missao-form-screen .vf-prof-missao-detetive-hub {
  max-width: 100%;
  overflow: hidden;
}
[data-vf-portal='professor'] .vf-prof-missao-form__card .vf-prof-missao-detetive-hub__cover,
.vf-prof-missao-form-screen .vf-prof-missao-detetive-hub__cover {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
}
[data-vf-portal='professor'] .vf-prof-missao-form__card .vf-prof-missao-detetive-hub__actions button,
.vf-prof-missao-form-screen .vf-prof-missao-detetive-hub__actions button {
  appearance: none;
  -webkit-appearance: none;
}
