/* Meduvita — first-time dashboard onboarding */
#mv-onboard-root {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: 'Sora', sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#mv-onboard-root.mv-on-show {
  opacity: 1;
  pointer-events: auto;
}
.mv-on-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}
.mv-on-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(92vh, 720px);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: mvOnSlide 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes mvOnSlide {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.mv-on-visual {
  background: linear-gradient(155deg, #0f172a 0%, #1e293b 55%, #134e4a 100%);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mv-on-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 184, 166, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.mv-on-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.35) 0%, transparent 70%);
  top: -60px;
  right: -40px;
  pointer-events: none;
}
.mv-on-mock {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.mv-on-mock-hd {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.mv-on-mock-av {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
}
.mv-on-mock-title { font-size: 0.72rem; font-weight: 700; color: #fff; }
.mv-on-mock-sub { font-size: 0.58rem; color: rgba(255, 255, 255, 0.45); }
.mv-on-mock-badge {
  margin-left: auto;
  font-size: 0.52rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  padding: 0.18rem 0.45rem;
  border-radius: 20px;
}
.mv-on-bars { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 0.75rem; }
.mv-on-bar-row { display: flex; align-items: center; gap: 0.45rem; }
.mv-on-bar-lbl { width: 52px; font-size: 0.55rem; font-weight: 600; color: rgba(255, 255, 255, 0.55); }
.mv-on-bar-track { flex: 1; height: 5px; background: rgba(255, 255, 255, 0.08); border-radius: 3px; overflow: hidden; }
.mv-on-bar-fill { height: 100%; border-radius: 3px; transition: width 0.8s ease; }
.mv-on-ai-bubble {
  background: rgba(13, 148, 136, 0.18);
  border: 1px solid rgba(13, 148, 136, 0.35);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-size: 0.62rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.mv-on-ai-bubble strong { color: #5eead4; }
.mv-on-chip-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.65rem; }
.mv-on-chip {
  font-size: 0.52rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.mv-on-chip.hot { background: rgba(13, 148, 136, 0.25); color: #99f6e4; border-color: rgba(13, 148, 136, 0.4); }
.mv-on-loop-steps { display: flex; flex-direction: column; gap: 0.4rem; }
.mv-on-loop-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.8);
}
.mv-on-loop-num {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(13, 148, 136, 0.3);
  color: #5eead4;
  font-size: 0.58rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mv-on-mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.mv-on-mini-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 0.55rem 0.6rem;
  text-align: center;
}
.mv-on-mini-card .n { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: #5eead4; }
.mv-on-mini-card .l { font-size: 0.52rem; color: rgba(255, 255, 255, 0.45); margin-top: 0.1rem; }
.mv-on-uni-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.55rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 8px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
}
.mv-on-uni-tag {
  font-size: 0.52rem;
  font-weight: 700;
  padding: 0.12rem 0.38rem;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}
.mv-on-body {
  padding: 1.75rem 1.65rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.mv-on-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.mv-on-step-pill {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0d9488;
  background: #f0fdfa;
  padding: 0.28rem 0.65rem;
  border-radius: 20px;
}
.mv-on-skip {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.mv-on-skip:hover { color: #64748b; background: #f1f5f9; }
.mv-on-content { flex: 1; overflow-y: auto; min-height: 0; }
.mv-on-content::-webkit-scrollbar { width: 4px; }
.mv-on-content::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }
.mv-on-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0d9488;
  margin-bottom: 0.45rem;
}
.mv-on-h {
  font-family: 'DM Serif Display', serif;
  font-size: 1.65rem;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 0.65rem;
}
.mv-on-h em { font-style: italic; color: #0d9488; }
.mv-on-p {
  font-size: 0.82rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1rem;
}
.mv-on-feats { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin: 0; padding: 0; }
.mv-on-feats li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.76rem;
  line-height: 1.55;
  color: #334155;
}
.mv-on-feats li i {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #f0fdfa;
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.mv-on-feats li strong { display: block; color: #0f172a; font-size: 0.78rem; margin-bottom: 0.08rem; }
.mv-on-foot {
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
}
.mv-on-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.mv-on-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}
.mv-on-dot.on { width: 22px; border-radius: 4px; background: #0d9488; }
.mv-on-actions { display: flex; gap: 0.55rem; }
.mv-on-btn {
  flex: 1;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.mv-on-btn-ghost {
  background: #f8fafc;
  color: #475569;
  border: 1.5px solid #e2e8f0;
}
.mv-on-btn-ghost:hover { border-color: #0d9488; color: #0d9488; }
.mv-on-btn-ghost:disabled { opacity: 0.35; cursor: not-allowed; }
.mv-on-btn-primary {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
}
.mv-on-btn-primary:hover { box-shadow: 0 6px 22px rgba(13, 148, 136, 0.45); transform: translateY(-1px); }
.mv-on-free-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin: 0.75rem 0 1rem;
}
.mv-on-free-card {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.mv-on-free-card .v { font-family: 'DM Serif Display', serif; font-size: 1.35rem; color: #0d9488; }
.mv-on-free-card .l { font-size: 0.58rem; color: #64748b; margin-top: 0.15rem; line-height: 1.35; }
@media (max-width: 768px) {
  .mv-on-panel { grid-template-columns: 1fr; max-height: 94vh; }
  .mv-on-visual { display: none; }
  .mv-on-body { padding: 1.35rem 1.15rem 1.1rem; }
  .mv-on-h { font-size: 1.35rem; }
}
