/* Meu Portal — tutorial guiado (spotlight + balão). Mesmo esquema do tutorial do Easy AI Docs
   (easy-ai-docs-tour.css), com a paleta do portal. Acima da lateral e da barra do celular,
   abaixo dos painéis e diálogos (o tour espera que eles fechem). */
.mp-tour-block { position: fixed; inset: 0; z-index: 99; display: none; }
.mp-tour-spot {
  position: fixed; z-index: 100; pointer-events: none;
  width: 0; height: 0; top: -20px; left: -20px;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(19, 32, 34, .58), 0 0 0 3px rgba(15, 118, 110, .95), 0 0 24px 6px rgba(15, 118, 110, .35);
  transition: top .25s ease, left .25s ease, width .25s ease, height .25s ease;
}
body.mp-tour-active .mp-tour-spot { pointer-events: auto; }
.mp-tour-tip {
  --mp-tour-arrow: 50%;
  position: fixed; z-index: 101; left: -9999px; top: 0;
  background: #fff; color: var(--mp-ink, #132022);
  border: 1px solid var(--mp-line, #e1e5df); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  padding: 14px 16px 12px; box-sizing: border-box;
  font-family: var(--mp-font, "Space Grotesk", system-ui, sans-serif);
  transition: top .25s ease, left .25s ease;
}
.mp-tour-tip::after {
  content: ""; position: absolute; width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--mp-line, #e1e5df); border-top: 1px solid var(--mp-line, #e1e5df);
  transform: rotate(45deg);
}
.mp-tour-tip[data-place="bottom"]::after { top: -7px; left: calc(var(--mp-tour-arrow) - 6px); }
.mp-tour-tip[data-place="top"]::after { bottom: -7px; left: calc(var(--mp-tour-arrow) - 6px); transform: rotate(225deg); }
.mp-tour-tip[data-place="right"]::after { left: -7px; top: calc(var(--mp-tour-arrow) - 6px); transform: rotate(-45deg); }
.mp-tour-tip[data-place="left"]::after { right: -7px; top: calc(var(--mp-tour-arrow) - 6px); transform: rotate(135deg); }
.mp-tour-tip[data-place="none"]::after { display: none; }
.mp-tour-progress { display: flex; align-items: center; gap: 10px; font-size: .74rem; color: var(--mp-muted, #5e6c70); font-weight: 600; margin-bottom: 8px; }
.mp-tour-bar { flex: 1; height: 4px; background: #eef0ea; border-radius: 999px; overflow: hidden; }
.mp-tour-bar i { display: block; height: 100%; width: 0; background: var(--mp-brand, #0f766e); transition: width .25s ease; }
.mp-tour-title { margin: 0 0 6px; font-family: var(--mp-display, "Sora", sans-serif); font-size: 1rem; letter-spacing: -.01em; }
.mp-tour-text { margin: 0 0 12px; font-size: .9rem; line-height: 1.45; color: var(--mp-ink2, #2b3a3c); }
.mp-tour-actions { display: flex; align-items: center; gap: 8px; }
.mp-tour-spacer { flex: 1; }
.mp-tour-actions button { font: inherit; font-size: .84rem; font-weight: 600; border-radius: 10px; padding: 7px 12px; min-height: 36px; cursor: pointer; border: 1px solid var(--mp-line, #e1e5df); background: #fff; color: var(--mp-ink, #132022); }
.mp-tour-actions button:disabled { opacity: .45; cursor: default; }
.mp-tour-actions button:focus-visible { outline: 2px solid var(--mp-brand, #0f766e); outline-offset: 2px; }
.mp-tour-actions .mp-tour-skip { border-color: transparent; color: var(--mp-muted, #5e6c70); padding-left: 4px; }
.mp-tour-actions .mp-tour-skip:hover { color: var(--mp-red, #b42318); }
.mp-tour-actions .mp-tour-next { background: var(--mp-brand, #0f766e); color: #fff; border-color: var(--mp-brand, #0f766e); }
.mp-tour-actions .mp-tour-next:hover { background: var(--mp-brand-d, #0b5f58); border-color: var(--mp-brand-d, #0b5f58); }
@media (max-width: 600px) {
  .mp-tour-tip { padding: 12px; }
  .mp-tour-actions { flex-wrap: wrap; }
  .mp-tour-actions button { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-tour-spot, .mp-tour-tip, .mp-tour-bar i { transition: none; }
}
