/* ============================================================
   MOCKUPS HTML5 ANIMADOS — Curso de Agentes de IA
   Inspirado nos mockups do Vendou — janelas fake, fluxos, chats
   ============================================================ */

.mk-wrap {
  margin: 0 0 24px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.mk {
  background: #0f172a;
  color: #f1f5f9;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}

/* Glow ambient sempre presente nos mockups (sutil halo colorido) */
.mk-wrap {
  position: relative;
}
.mk-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(200,81,28,0.4), rgba(79,70,229,0.4), rgba(16,185,129,0.4));
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity .6s;
}
.lesson-playing .mk-wrap::before { opacity: 0.35; }
.lesson:hover .mk-wrap::before { opacity: 0.5; }

/* Status dots "ao vivo" pulsando em vários mockups */
.mk-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 999px;
  font-size: 10px;
  color: #6ee7b7;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mk-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: mkPulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(16,185,129,0.8);
}

/* Animações base — fade-in escalonado */
@keyframes mkFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mkSlideRight {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes mkScaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes mkPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes mkTyping {
  0% { width: 0; }
  100% { width: 100%; }
}
@keyframes mkBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Estado inicial: invisivel */
.mk [class*='mk-anim-'] { opacity: 0; transform: translateY(10px); }
/* Quando a aula esta tocando, anima */
.lesson-playing .mk-anim-1 { animation: mkFadeIn .6s cubic-bezier(.4,0,.2,1) 0.15s forwards; }
.lesson-playing .mk-anim-2 { animation: mkFadeIn .6s cubic-bezier(.4,0,.2,1) 0.45s forwards; }
.lesson-playing .mk-anim-3 { animation: mkFadeIn .6s cubic-bezier(.4,0,.2,1) 0.75s forwards; }
.lesson-playing .mk-anim-4 { animation: mkFadeIn .6s cubic-bezier(.4,0,.2,1) 1.05s forwards; }
.lesson-playing .mk-anim-5 { animation: mkFadeIn .6s cubic-bezier(.4,0,.2,1) 1.35s forwards; }
.lesson-playing .mk-anim-6 { animation: mkFadeIn .6s cubic-bezier(.4,0,.2,1) 1.65s forwards; }
.lesson-playing .mk-anim-7 { animation: mkFadeIn .6s cubic-bezier(.4,0,.2,1) 1.95s forwards; }
/* Quando a aula abre, glow sutil no mockup */
.lesson-playing .mk-wrap { animation: mkContainerIn .5s cubic-bezier(.4,0,.2,1); }
@keyframes mkContainerIn {
  from { opacity: 0; transform: scale(.98); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  [class*='mk-anim-'] { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   BROWSER MOCKUP (janela fake)
   ============================================================ */
.mk-browser {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
}
.mk-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}
.mk-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.mk-dot-r { background: #ef4444; }
.mk-dot-y { background: #f59e0b; }
.mk-dot-g { background: #10b981; }
.mk-url {
  flex: 1;
  background: #0f172a;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 11px;
  color: #94a3b8;
  margin-left: 12px;
  font-family: var(--font-mono);
}
.mk-globe {
  font-size: 14px;
  margin-left: 8px;
  animation: mkPulse 2s ease-in-out infinite;
}

/* ============================================================
   CHAT MOCKUP (Claude.ai) — com typing effect e shimmer ambient
   ============================================================ */
.mk-chat {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, #0f172a, #131c30);
  position: relative;
}
.mk-chat::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,81,28,0.4), transparent);
  animation: mkScanLine 4s ease-in-out infinite;
}
@keyframes mkScanLine {
  0%, 100% { transform: translateX(-50%); opacity: 0; }
  50% { transform: translateX(50%); opacity: 1; }
}
.mk-msg { display: flex; gap: 10px; max-width: 90%; }
.mk-msg-user { align-self: flex-end; }
.mk-msg-bot { align-self: flex-start; align-items: flex-start; }
.mk-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8511c, #f59e0b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.mk-msg-bubble {
  background: #1e293b;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.55;
  max-width: 100%;
}
.mk-msg-user .mk-msg-bubble {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.mk-msg-bot .mk-msg-bubble {
  border-bottom-left-radius: 4px;
}
.mk-thinking {
  color: #94a3b8;
  font-style: italic;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mk-thinking-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c8511c;
  animation: mkPulse 1.4s ease-in-out infinite;
}
.mk-thinking-dot:nth-child(2) { animation-delay: 0.2s; }
.mk-thinking-dot:nth-child(3) { animation-delay: 0.4s; margin-right: 6px; }
.mk-cursor {
  display: inline-block;
  animation: mkBlink 1s steps(1) infinite;
  font-weight: 700;
  color: #c8511c;
}
.mk-response {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #334155;
  font-size: 13px;
  line-height: 1.6;
}
.mk-response strong { color: #f59e0b; display: block; margin-top: 8px; }
.mk-response strong:first-child { margin-top: 0; }
.mk-response ol { margin: 6px 0 0 18px; padding: 0; }
.mk-response li { margin-bottom: 3px; color: #cbd5e1; }

/* ============================================================
   DIAGRAMA — 4 COMPONENTES (Percepção→Raciocínio→Ação→Feedback)
   ============================================================ */
.mk-diagram {
  padding: 28px 20px 22px;
  background: linear-gradient(135deg, #0f172a, #1a1530);
  text-align: center;
}
.mk-diagram-title {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.mk-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mk-flow-node {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 16px 14px;
  min-width: 110px;
  transition: all .3s;
}
.mk-flow-node:hover {
  border-color: #c8511c;
  transform: translateY(-3px);
}
.mk-flow-icon { font-size: 28px; margin-bottom: 8px; }
.mk-flow-label {
  font-weight: 700;
  font-size: 13px;
  color: #f1f5f9;
  margin-bottom: 3px;
}
.mk-flow-desc {
  font-size: 11px;
  color: #94a3b8;
}
.mk-flow-arrow {
  font-size: 20px;
  color: #c8511c;
  font-weight: 700;
}
.mk-flow-loop {
  margin-top: 18px;
  font-size: 12px;
  color: #f59e0b;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   COMPARAÇÃO (Sem X vs Com X) — REDESIGN PREMIUM
   ============================================================ */
.mk-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px 18px;
  background: linear-gradient(135deg, #0f172a, #131c30);
}
@media (max-width: 600px) {
  .mk-compare { grid-template-columns: 1fr; }
}
.mk-compare-side {
  background: linear-gradient(180deg, #1e293b, #1a2236);
  border-radius: 14px;
  padding: 18px 16px 16px;
  border: 1px solid #334155;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mk-compare-bad {
  border-color: rgba(239,68,68,0.35);
  box-shadow: inset 0 0 60px -20px rgba(239,68,68,0.15);
}
.mk-compare-good {
  border-color: rgba(16,185,129,0.45);
  box-shadow:
    inset 0 0 60px -20px rgba(16,185,129,0.2),
    0 0 0 1px rgba(16,185,129,0.1);
}
.mk-compare-good::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
  animation: mkShimmer 3s ease-in-out infinite;
}
@keyframes mkShimmer {
  0%, 100% { opacity: 0.4; transform: translateX(-30%); }
  50% { opacity: 1; transform: translateX(30%); }
}
.mk-compare-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.mk-compare-bad .mk-compare-head { color: #f87171; }
.mk-compare-good .mk-compare-head { color: #6ee7b7; }
.mk-compare-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mk-compare-dot-bad {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239,68,68,0.6);
}
.mk-compare-dot-good {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
  animation: mkPulse 2s ease-in-out infinite;
}
.mk-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c8511c;
  margin-bottom: 4px;
  display: block;
  text-transform: uppercase;
}
.mk-tag-bot { color: #94a3b8; }
.mk-compare-prompt, .mk-compare-response {
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.55;
}
.mk-compare-text {
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.55;
}
.mk-compare-arrow {
  text-align: center;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}
.mk-compare-step {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}
.mk-compare-step .mk-step-n {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,0.18);
  color: #6ee7b7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.mk-compare-rec {
  margin-top: 4px;
  padding: 8px 10px;
  background: rgba(16,185,129,0.12);
  border-radius: 6px;
  color: #6ee7b7;
  font-weight: 600;
}
.mk-compare-rec .mk-step-n {
  background: #10b981;
  color: #fff;
}
.mk-quality {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
}
.mk-quality-bar {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
}
.mk-quality-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.mk-quality-low {
  color: #f87171;
}
.mk-quality-low .mk-quality-fill {
  background: linear-gradient(90deg, #dc2626, #ef4444);
  width: 0 !important;
}
.lesson-playing .mk-quality-low .mk-quality-fill { width: 25% !important; transition-delay: 0.6s; }
.mk-quality-high {
  color: #6ee7b7;
}
.mk-quality-high .mk-quality-fill {
  background: linear-gradient(90deg, #059669, #10b981);
  width: 0 !important;
  box-shadow: 0 0 12px rgba(16,185,129,0.5);
}
.lesson-playing .mk-quality-high .mk-quality-fill { width: 92% !important; transition-delay: 0.8s; }

/* ============================================================
   REACT CYCLE
   ============================================================ */
.mk-react {
  padding: 20px 18px;
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
}
.mk-react-title {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.mk-react-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.mk-react-step {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #1e293b;
  border-radius: 10px;
  padding: 10px 14px;
  border-left: 3px solid #475569;
}
.mk-react-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mk-react-thought {
  background: rgba(79,70,229,0.2);
  color: #a5b4fc;
}
.mk-react-action {
  background: rgba(200,81,28,0.2);
  color: #fdba74;
}
.mk-react-obs {
  background: rgba(16,185,129,0.2);
  color: #6ee7b7;
}
.mk-react-step:has(.mk-react-thought) { border-left-color: #4f46e5; }
.mk-react-step:has(.mk-react-action) { border-left-color: #c8511c; }
.mk-react-step:has(.mk-react-obs) { border-left-color: #10b981; }
.mk-react-text {
  font-size: 12.5px;
  color: #e2e8f0;
  flex: 1;
}
.mk-react-final {
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(217,119,6,0.15));
  border-left-color: #f59e0b;
}
.mk-react-final-badge {
  background: #f59e0b;
  color: #0f172a;
}

/* ============================================================
   TREE OF THOUGHTS
   ============================================================ */
.mk-tot {
  padding: 22px 18px;
  background: linear-gradient(135deg, #0f172a, #1a1530);
  text-align: center;
}
.mk-tot-title {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.mk-tot-root {
  display: inline-block;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  color: #f1f5f9;
  margin-bottom: 18px;
}
.mk-tot-branches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}
.mk-tot-branch {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px 10px;
  transition: all .3s;
}
.mk-tot-winner {
  border-color: #10b981;
  box-shadow: 0 0 0 1px rgba(16,185,129,0.3);
  transform: scale(1.04);
}
.mk-tot-node {
  font-weight: 700;
  font-size: 12px;
  color: #f1f5f9;
  margin-bottom: 8px;
}
.mk-tot-leaves {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.mk-tot-leaf {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}
.mk-tot-pro { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.mk-tot-con { background: rgba(239,68,68,0.15); color: #f87171; }
.mk-tot-score {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
  margin-top: 4px;
}
.mk-tot-winner .mk-tot-score { color: #6ee7b7; }
.mk-tot-decision {
  margin-top: 16px;
  padding: 10px 16px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 10px;
  color: #6ee7b7;
  font-weight: 600;
  font-size: 12.5px;
  display: inline-block;
}

/* ============================================================
   RAG FLOW
   ============================================================ */
.mk-rag {
  padding: 22px 18px;
  background: linear-gradient(135deg, #0f172a, #0c1b3e);
}
.mk-rag-title {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.mk-rag-stages {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mk-rag-stage {
  flex: 1;
  min-width: 140px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  position: relative;
}
.mk-rag-num {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: #4f46e5;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.mk-rag-icon { font-size: 26px; margin: 8px 0 8px; }
.mk-rag-label {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
}
.mk-rag-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
}
.mk-rag-doc {
  background: #0f172a;
  padding: 3px 8px;
  margin: 2px 0;
  border-radius: 4px;
  font-size: 10.5px;
  text-align: left;
}
.mk-rag-arrow {
  display: flex;
  align-items: center;
  color: #c8511c;
  font-size: 18px;
  font-weight: 700;
}
.mk-rag-guarantee {
  margin-top: 20px;
  padding: 12px 18px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 10px;
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================================
   MULTI-AGENT
   ============================================================ */
.mk-multi {
  padding: 22px 18px;
  background: linear-gradient(135deg, #0f172a, #1a1530);
  text-align: center;
}
.mk-multi-supervisor {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  border-radius: 14px;
  padding: 14px 22px;
  margin-bottom: 6px;
  box-shadow: 0 8px 24px -8px rgba(79,70,229,0.5);
}
.mk-multi-supervisor .mk-multi-icon { font-size: 24px; margin-bottom: 4px; }
.mk-multi-supervisor .mk-multi-name { font-weight: 700; font-size: 13px; color: #fff; }
.mk-multi-supervisor .mk-multi-role { font-size: 10px; color: rgba(255,255,255,0.7); }
.mk-multi-lines {
  height: 24px;
  position: relative;
  margin: 0 auto;
  max-width: 80%;
}
.mk-multi-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, #4f46e5, transparent);
}
.mk-multi-line:nth-child(1) { left: 16%; }
.mk-multi-line:nth-child(2) { left: 50%; }
.mk-multi-line:nth-child(3) { left: 84%; }
.mk-multi-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.mk-multi-member {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 12px 8px;
  transition: all .3s;
}
.mk-multi-member:hover {
  border-color: #c8511c;
  transform: translateY(-2px);
}
.mk-multi-member .mk-multi-icon { font-size: 22px; margin-bottom: 4px; }
.mk-multi-name { font-weight: 700; font-size: 12px; color: #f1f5f9; }
.mk-multi-task { font-size: 10.5px; color: #94a3b8; margin-top: 2px; }
.mk-multi-output {
  margin-top: 14px;
  padding: 10px 16px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 10px;
  color: #6ee7b7;
  font-weight: 600;
  font-size: 12px;
  display: inline-block;
}

/* ============================================================
   MAKE.COM AUTOMATION
   ============================================================ */
.mk-make {
  padding: 18px;
  background: linear-gradient(135deg, #0f172a, #1a1f3e);
}
.mk-make-title {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 18px;
  font-weight: 600;
}
.mk-make-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: wrap;
}
.mk-make-module {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  min-width: 72px;
  flex: 1;
  max-width: 90px;
}
.mk-make-claude {
  border-color: #c8511c;
  background: linear-gradient(135deg, #1e293b, rgba(200,81,28,0.12));
}
.mk-make-icon { font-size: 22px; margin-bottom: 4px; }
.mk-make-name {
  font-weight: 700;
  font-size: 11px;
  color: #f1f5f9;
}
.mk-make-meta {
  font-size: 9.5px;
  color: #94a3b8;
  margin-top: 2px;
}
.mk-make-conn {
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, #475569, #c8511c);
  align-self: center;
  flex-shrink: 0;
}
.mk-make-status {
  margin-top: 16px;
  padding: 8px 14px;
  background: rgba(16,185,129,0.1);
  border-radius: 8px;
  font-size: 11.5px;
  color: #6ee7b7;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mk-make-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: mkPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
}

/* ============================================================
   AGENT TYPES (4 cards)
   ============================================================ */
.mk-types {
  padding: 22px 18px;
  background: linear-gradient(135deg, #0f172a, #1a1530);
}
.mk-types-title {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.mk-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.mk-type-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  transition: all .3s;
  position: relative;
}
.mk-type-card:hover {
  transform: translateY(-3px);
  border-color: #c8511c;
}
.mk-type-recommended {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px rgba(245,158,11,0.3);
}
.mk-type-recommended::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #0f172a;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.mk-type-emoji { font-size: 28px; margin-bottom: 6px; }
.mk-type-name {
  font-weight: 700;
  font-size: 13px;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.mk-type-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 8px;
}
.mk-type-tag {
  display: inline-block;
  background: rgba(200,81,28,0.15);
  color: #fdba74;
  font-size: 9.5px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.mk-type-recommended .mk-type-tag {
  background: rgba(245,158,11,0.18);
  color: #fcd34d;
}

/* ============================================================
   PRODUCTION DASHBOARD
   ============================================================ */
.mk-dash {
  padding: 18px;
  background: #0f172a;
}
.mk-dash-title {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 14px;
  font-weight: 600;
}
.mk-dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
@media (max-width: 540px) {
  .mk-dash-cards { grid-template-columns: repeat(2, 1fr); }
}
.mk-dash-card {
  background: #1e293b;
  border-radius: 8px;
  padding: 12px 10px;
}
.mk-dash-card-n {
  font-size: 18px;
  font-weight: 800;
  color: #f59e0b;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.mk-dash-green { color: #10b981; }
.mk-dash-card-l {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mk-dash-chart {
  background: #1e293b;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 90px;
}
.mk-dash-bar {
  flex: 1;
  background: linear-gradient(180deg, #c8511c, rgba(200,81,28,0.4));
  border-radius: 2px;
}
.mk-dash-alert {
  margin-top: 12px;
  padding: 8px 14px;
  background: rgba(16,185,129,0.1);
  border-radius: 8px;
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mk-dash-alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: mkPulse 2s ease-in-out infinite;
}

/* ============================================================
   PROJECTS / MEMORY
   ============================================================ */
.mk-project {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 280px;
}
@media (max-width: 600px) {
  .mk-project { grid-template-columns: 1fr; }
}
.mk-project-side {
  background: #1e293b;
  padding: 14px 10px;
  border-right: 1px solid #334155;
}
.mk-project-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.mk-project-item {
  padding: 6px 8px;
  font-size: 12px;
  color: #cbd5e1;
  border-radius: 6px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background .15s;
}
.mk-project-item:nth-child(2) {
  background: rgba(200,81,28,0.15);
  color: #fdba74;
}
.mk-project-main { padding: 16px; }
.mk-project-title {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
}
.mk-project-section {
  background: #1e293b;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}
.mk-project-section-h {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #c8511c;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mk-project-section-body {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.55;
  font-style: italic;
}
.mk-project-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mk-project-docs span {
  background: #0f172a;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  color: #cbd5e1;
}
