/*
 * /mcp/ page. Light editorial style (white, dot grid, mono labels, CJ blue)
 * plus the hero animation, the motion-graphics player and the mock UIs it
 * animates (assets/js/mcp-tutorial.js).
 * Mock classes are prefixed `mv-`, page classes `mcp-`, player `mcpv-`.
 */

/* The site's off-canvas nav drawer widens body on mobile (same guard the old page had). */
html, body { overflow-x: hidden; max-width: 100%; }

.mcp-page {
  --mcp-bg: #ffffff;
  --mcp-soft: #f6f8fb;
  --mcp-line: #e5e9f0;
  --mcp-text: #0f172a;
  --mcp-body: #334155;
  --mcp-muted: #64748b;
  --mcp-accent: #0080fb;
  --mcp-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  background: var(--mcp-bg);
  color: var(--mcp-text);
  overflow-x: hidden;
}
.mcp-page a:not(.btn) { color: inherit; }
.mcp-label {
  font-family: var(--mcp-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mcp-accent);
  margin: 0 0 1rem;
}
.mcp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== HERO ===== */
.mcp-hero {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 1rem;
  text-align: center;
}
.mcp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15,23,42,.12) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.mcp-hero > * { position: relative; }
.mcp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--mcp-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid var(--mcp-line);
  background: #fff;
  border-radius: 8px;
  padding: .55rem .9rem;
  color: var(--mcp-body);
  margin-bottom: 1.6rem;
}
.mcp-hero-badge img { width: 14px; height: 14px; filter: brightness(0); opacity: .75; }
.mcp-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 0 auto 1.2rem;
  max-width: 900px;
  color: var(--mcp-text);
}
.mcp-hero h1 span { color: var(--mcp-accent); }
.mcp-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--mcp-body);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}
.mcp-hero-scene { position: relative; max-width: 760px; margin: 2.5rem auto 0; }
.mcp-hero-canvas {
  position: absolute;
  top: 0; left: 50%;
  width: 700px;
  transform-origin: top center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  text-align: left;
}

/* ===== CLIENT PICKER ===== */
.mcp-picker { padding-top: 3rem; padding-bottom: 1.25rem; text-align: center; }
.mcp-type-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .6rem;
}
.mcp-type-tab {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: #fff;
  border: 1px solid var(--mcp-line);
  border-radius: 10px;
  color: var(--mcp-body);
  font-size: .95rem;
  font-weight: 600;
  padding: .7rem 1.05rem;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.mcp-type-tab img { width: 20px; height: 20px; object-fit: contain; }
.mcp-type-tab.is-primary { font-size: 1.05rem; padding: .85rem 1.35rem; }
.mcp-type-tab.is-primary img { width: 24px; height: 24px; }
.mcp-type-tab:hover { color: var(--mcp-text); border-color: #cbd5e1; transform: translateY(-1px); }
.mcp-type-tab[aria-pressed="true"] {
  background: var(--mcp-text);
  border-color: var(--mcp-text);
  color: #fff;
}
/* chatgpt.svg is white: dark on the white tabs, white again on the selected (dark) tab */
.mcp-type-tab img.is-mono, .mcp-works-logos img.is-mono { filter: brightness(0); }
.mcp-type-tab[aria-pressed="true"] img.is-mono { filter: none; }
.mcp-type-tab:focus-visible { outline: 2px solid var(--mcp-accent); outline-offset: 3px; }
.mcp-type-sep {
  font-family: var(--mcp-mono);
  font-size: .66rem;
  letter-spacing: .2em;
  color: #94a3b8;
  padding: 0 .4rem 0 .9rem;
  border-left: 1px solid var(--mcp-line);
  margin-left: .3rem;
  align-self: stretch;
  display: flex;
  align-items: center;
}

/* ===== PLAYER ===== */
.mcpv { max-width: 1080px; margin: 1.5rem auto 0; padding: 0 1.25rem; }
.mcpv-frame {
  border: 1px solid var(--mcp-line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(0,128,251,.35), 0 10px 30px -15px rgba(15,23,42,.15);
}
.mcpv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--mcp-line);
  font-family: var(--mcp-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mcp-muted);
}
.mcpv-head b { color: var(--mcp-text); font-weight: 600; }
.mcpv-live { display: inline-flex; align-items: center; gap: .5rem; }
.mcpv-live::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mcp-accent);
  box-shadow: 0 0 0 0 rgba(0,128,251,.6);
  animation: mcpvPulse 1.8s infinite;
}
.mcpv.is-paused .mcpv-live::before { animation: none; background: #cbd5e1; }
@keyframes mcpvPulse { 70% { box-shadow: 0 0 0 8px rgba(0,128,251,0); } 100% { box-shadow: 0 0 0 0 rgba(0,128,251,0); } }

.mcpv-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: var(--mcp-soft);
}
.mcpv-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 960px; height: 540px;
  transform-origin: 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  font-size: 15px;
  color: #1f2328;
  text-align: left;
}
.mcpv-bigplay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transition: opacity .25s;
}
.mcpv.is-paused:not(.is-ended) .mcpv-bigplay { opacity: 1; }
.mcpv-bigplay span {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--mcp-accent);
  box-shadow: 0 12px 30px -8px rgba(0,128,251,.6);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  padding-left: 4px;
}
.mcpv-bar {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem 1rem;
  border-top: 1px solid var(--mcp-line);
}
.mcpv-play {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--mcp-line);
  background: #fff;
  color: var(--mcp-text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mcpv-play:hover { background: var(--mcp-soft); }
.mcpv-play:focus-visible { outline: 2px solid var(--mcp-accent); outline-offset: 2px; }
.mcpv-play .i-pause { display: none; }
.mcpv:not(.is-paused) .mcpv-play .i-pause { display: block; }
.mcpv:not(.is-paused) .mcpv-play .i-play { display: none; }
.mcpv-caption {
  flex: 1;
  min-height: 1.4em;
  margin: 0;
  font-size: .98rem;
  color: var(--mcp-text);
  text-align: left;
}
.mcpv-caption.is-in { animation: mcpvCaption .45s cubic-bezier(.2,.7,.2,1); }
@keyframes mcpvCaption { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mcpv-chapters {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  padding: 0 1rem 1rem;
}
.mcpv-chapter {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: #94a3b8;
  cursor: pointer;
  font-family: var(--mcp-mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  min-width: 0;
}
.mcpv-chapter { padding: 6px 0; }
.mcpv-chapter i {
  display: block;
  height: 4px;
  border-radius: 3px;
  background: var(--mcp-line);
  position: relative;
  overflow: hidden;
}
.mcpv-chapter i::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--mcp-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s;
}
.mcpv-chapter.is-done i::after { transform: scaleX(1); }
.mcpv-chapter.is-current i::after { transform: scaleX(1); animation: mcpvFill 1.4s ease-in-out infinite alternate; }
.mcpv.is-paused .mcpv-chapter.is-current i::after { animation: none; }
@keyframes mcpvFill { from { opacity: .45; } to { opacity: 1; } }

.mcpv-chapter:focus-visible { outline: 2px solid var(--mcp-accent); outline-offset: 3px; }

.mcpv.is-holding .mcpv-bigplay { opacity: 0; }
.mcpv-hold {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 45;
  width: min(92%, 520px);
  transform: translateX(-50%);
  padding: .9rem 1rem;
  border: 1px solid var(--mcp-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(15,23,42,.45);
  cursor: default;
  animation: mcpvCaption .45s cubic-bezier(.2,.7,.2,1);
}
.mcpv-hold-label {
  margin: 0 0 .4rem;
  font-family: var(--mcp-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mcp-muted);
}
.mcpv-hold code {
  display: block;
  padding: .55rem .7rem;
  border-radius: 8px;
  background: var(--mcp-soft);
  color: var(--mcp-text);
  font-family: var(--mcp-mono);
  font-size: .95rem;
  user-select: all;
  word-break: break-all;
}
.mcpv-hold-actions { display: flex; gap: .5rem; margin-top: .7rem; }
.mcpv-hold-actions button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .5rem .8rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.mcpv-hold-actions .mv-i { width: 15px; height: 15px; }
.mcpv-hold-copy { border: 0; background: var(--mcp-accent); color: #fff; }
.mcpv-hold-copy.is-copied { background: #10b981; }
.mcpv-hold-next { border: 1px solid var(--mcp-line); background: #fff; color: var(--mcp-text); }
.mcpv-hold-actions button:focus-visible { outline: 2px solid var(--mcp-accent); outline-offset: 2px; }
@media (max-width: 575px) {
  .mcpv-hold { bottom: 8px; padding: .6rem .7rem; }
  .mcpv-hold-label { display: none; }
  .mcpv-hold code { font-size: .8rem; padding: .4rem .55rem; }
  .mcpv-hold-actions { margin-top: .5rem; }
  .mcpv-hold-actions button { padding: .35rem .6rem; font-size: .8rem; }
}

/* ===== FAQ (the text version of each tutorial lives here) ===== */
.mcp-faq { padding-top: 4rem; padding-bottom: 1rem; max-width: 860px; }
.mcp-faq h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: var(--mcp-text);
}
.mcp-faq-list { border-top: 1px solid var(--mcp-line); }
.mcp-faq-item { border-bottom: 1px solid var(--mcp-line); }
.mcp-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mcp-text);
}
.mcp-faq-item summary::-webkit-details-marker { display: none; }
.mcp-faq-item summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--mcp-muted); transition: transform .2s; }
.mcp-faq-item[open] summary::after { transform: rotate(45deg); }
.mcp-faq-item summary:focus-visible { outline: 2px solid var(--mcp-accent); outline-offset: 2px; }
.mcp-faq-item > p { color: var(--mcp-body); line-height: 1.65; margin: 0 0 1.25rem; }
.mcp-faq-item .mcp-type-panel { padding: 0 0 1.25rem 1rem; }

.mcp-type-intro { color: var(--mcp-muted); font-size: .92rem; line-height: 1.6; margin: 0 0 1.25rem; }
.mcp-timeline { border-top: 1px solid var(--mcp-line); }
.mcp-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0 .5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--mcp-line);
  position: relative;
}
.mcp-step::before {
  content: '';
  position: absolute;
  left: -1rem; top: 0; bottom: 0;
  width: 2px;
  background: var(--mcp-accent);
  transform: scaleY(0);
  transition: transform .35s;
}
.mcp-step.is-current::before { transform: scaleY(1); }
.mcp-step-num {
  font-family: var(--mcp-mono);
  font-size: .75rem;
  color: #94a3b8;
  padding-top: .3rem;
  grid-row: span 6;
}
.mcp-step.is-current .mcp-step-num { color: var(--mcp-accent); }
.mcp-step h3 {
  font-size: 1.12rem;
  font-weight: 650;
  margin: 0 0 .35rem;
  color: var(--mcp-text);
  cursor: pointer;
}
.mcp-step h3:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #cbd5e1; }
.mcp-step p { color: var(--mcp-body); font-size: .93rem; line-height: 1.6; margin: 0 0 .4rem; }
.mcp-step p.mcp-step-note { color: var(--mcp-muted); font-size: .84rem; }
.mcp-step strong { color: var(--mcp-text); }

.mcp-url-block {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #0f172a;
  border-radius: 10px;
  padding: .6rem .6rem .6rem .9rem;
  margin: .6rem 0;
}
.mcp-url-text, .mcp-code-text {
  flex: 1;
  font-family: var(--mcp-mono);
  font-size: .84rem;
  color: #93c5fd;
  overflow-x: auto;
  white-space: nowrap;
}
.mcp-code-block { flex-direction: column; align-items: stretch; }
.mcp-code-block .mcp-url-copy { align-self: flex-end; }
.mcp-code-text { white-space: pre; margin: 0; line-height: 1.5; background: transparent; border: 0; }
.mcp-url-copy {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
  background: #fff;
  color: var(--mcp-text);
  border: 0;
  border-radius: 7px;
  padding: .4rem .7rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.mcp-url-copy.copied { background: #10b981; color: #fff; }
.mcp-url-copy svg { width: 13px; height: 13px; }
.mcp-warning {
  display: flex;
  gap: .45rem;
  align-items: flex-start;
  color: #b45309;
  font-size: .82rem;
  line-height: 1.5;
  margin: .3rem 0 .5rem;
}
.mcp-warning svg { flex-shrink: 0; width: 14px; height: 14px; margin-top: .2rem; }

/* ===== ASK (escolha um pedido) ===== */
.mcp-ask { padding: 4rem 0; border-top: 1px solid var(--mcp-line); background: var(--mcp-soft); }
.mcp-ask-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}
.mcp-ask-list { display: flex; flex-direction: column; gap: .55rem; }
.mcp-ask-item {
  display: flex;
  gap: .6rem;
  text-align: left;
  background: #fff;
  border: 1px solid var(--mcp-line);
  border-radius: 10px;
  padding: .85rem 1rem;
  color: var(--mcp-body);
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.mcp-ask-item::before { content: '/'; color: #94a3b8; }
.mcp-ask-item:hover { color: var(--mcp-text); border-color: #cbd5e1; }
.mcp-ask-item[aria-pressed="true"] { color: var(--mcp-text); border-color: var(--mcp-text); box-shadow: 0 6px 18px -10px rgba(15,23,42,.35); }
.mcp-ask-item:focus-visible { outline: 2px solid var(--mcp-accent); outline-offset: 2px; }
.mcp-session {
  border: 1px solid var(--mcp-line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 30px 60px -35px rgba(15,23,42,.35);
}
.mcp-session-head {
  display: flex;
  justify-content: space-between;
  padding: .85rem 1.2rem;
  border-bottom: 1px solid var(--mcp-line);
  font-family: var(--mcp-mono);
  font-size: .66rem;
  letter-spacing: .2em;
  color: var(--mcp-muted);
}
.mcp-session-head span:first-child::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  margin-right: .55rem;
  vertical-align: middle;
}
.mcp-session-q {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--mcp-line);
  color: var(--mcp-text);
  font-size: 1rem;
}
.mcp-session-body { padding: .4rem 1.2rem 1.2rem; }
.mcp-session-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--mcp-line);
  color: var(--mcp-body);
  font-size: .93rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s, transform .45s;
}
.mcp-session-row:last-child { border-bottom: 0; }
.mcp-session-row.is-in { opacity: 1; transform: none; }
.mcp-session-k, .mcp-session-q small {
  font-family: var(--mcp-mono);
  font-size: .64rem;
  letter-spacing: .2em;
  color: var(--mcp-accent);
  padding-top: .25rem;
}
.mcp-session-q small { color: #94a3b8; }
.mcp-session-row ol { margin: 0; padding: 0; list-style: none; counter-reset: n; }
.mcp-session-row li { counter-increment: n; display: flex; gap: .6rem; margin-bottom: .35rem; }
.mcp-session-row li::before { content: '0' counter(n); font-family: var(--mcp-mono); font-size: .7rem; color: #94a3b8; padding-top: .2rem; }
.mcp-session-row code { color: var(--mcp-accent); font-size: .85em; }

/* ===== WORKS WITH ===== */
.mcp-works {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--mcp-line);
}
.mcp-works .mcp-label { margin: 0; }
.mcp-works-logos { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.mcp-works-logos span { display: inline-flex; align-items: center; gap: .5rem; color: var(--mcp-text); font-weight: 600; }
.mcp-works-logos img { width: 22px; height: 22px; object-fit: contain; }

/* ===== CTA ===== */
.mcp-final { text-align: center; padding-top: 4.5rem; padding-bottom: 2.5rem; }
.mcp-academy { max-width: 840px; padding-bottom: 4rem; }
.mcp-final h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 1.75rem; color: var(--mcp-text); }
.mcp-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

@media (max-width: 900px) {
  .mcp-ask-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .mcp-step::before { left: -.75rem; }
}
@media (max-width: 640px) {
  .mcp-hero { padding-top: 3rem; }
  .mcp-type-sep { flex-basis: 100%; justify-content: center; border-left: 0; margin: .3rem 0 0; padding: 0; }
  .mcp-type-tab { font-size: .88rem; padding: .6rem .85rem; }
  .mcpv { padding: 0 .6rem; }
  .mcpv-caption { font-size: .86rem; }
  .mcp-session-row { grid-template-columns: 1fr; gap: .3rem; }
}

/* ================================================================
   MOCK UIs inside the 960x540 canvas
   ================================================================ */
.mv-scene { position: absolute; inset: 0; }
.mv-hide { opacity: 0 !important; transform: translateY(6px) scale(.98); pointer-events: none; }
.mv-swap.mv-hide, .mv-home.mv-hide, .mv-empty.mv-hide { display: none; }
.mv-scene [data-k] { transition: opacity .3s, transform .3s, background .2s, box-shadow .2s, border-color .2s; }
.mv-pre { opacity: 0; transform: translateY(6px); }
.mv-line, .mv-tools code { transition: opacity .35s, transform .35s; }
.is-pressed { transform: scale(.96) !important; }

.mv-app { position: absolute; inset: 0; display: flex; overflow: hidden; }
.mv-side {
  width: 190px;
  flex-shrink: 0;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.mv-side-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; margin: 0 6px 18px; }
.mv-side-logo img { width: 22px; height: 22px; }
.mv-side-item { padding: 8px 10px; border-radius: 8px; }
.mv-side-item.is-focus { background: rgba(0,0,0,.07); font-weight: 600; }
.mv-side-foot { margin-top: auto; padding: 8px 10px; font-size: 13px; opacity: .65; }
.mv-main { flex: 1; position: relative; padding: 34px 44px; overflow: hidden; }
.mv-home { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.mv-home h2 { font-size: 30px; font-weight: 500; margin: 0; letter-spacing: -.01em; }
.mv-placeholder { opacity: .45; }
.mv-page h3 { font-size: 24px; margin: 0 0 16px; font-weight: 600; }
.mv-tabs { display: flex; gap: 20px; border-bottom: 1px solid rgba(0,0,0,.1); margin-bottom: 14px; font-size: 14px; }
.mv-tabs span { padding: 8px 0; opacity: .55; }
.mv-tabs span.is-on { opacity: 1; font-weight: 600; box-shadow: inset 0 -2px 0 currentColor; }
.mv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(255,255,255,.6);
}
.mv-row small { opacity: .55; font-size: 12px; }
.mv-row .mv-btn, .mv-row .mv-pill, .mv-row .mv-toggle { margin-left: auto; }
.mv-row-new { box-shadow: 0 0 0 2px rgba(59,130,246,.35); }
.mv-ico { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.mv-ico-drive { background: conic-gradient(#0f9d58 0 33%, #f4b400 0 66%, #4285f4 0); }
.mv-ico-mail { background: linear-gradient(135deg, #ea4335, #fbbc05); }
.mv-ico-cj { background: #2563eb; }
.mv-ico-cj img { width: 64%; height: 64%; }
.mv-ico-xl { width: 64px; height: 64px; border-radius: 16px; }
.mv-pill { font-style: normal; font-size: 12px; padding: 3px 10px; border-radius: 99px; background: #dcfce7; color: #166534; font-weight: 600; }
.mv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  font-family: inherit;
  cursor: default;
}
.mv-btn-sm { padding: 6px 12px; font-size: 13px; }
.mv-btn-dark { background: #1f1e1d; color: #fff; }
.mv-btn-ghost { background: transparent; border-color: rgba(0,0,0,.18); }
.mv-btn-n8n { background: #ea4b71; color: #fff; }
.mv-add { margin-top: 6px; }
.mv-menu {
  position: absolute;
  z-index: 5;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  padding: 6px;
  min-width: 250px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.3);
  font-size: 14px;
  color: #1f2328;
}
.mv-menu > div { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; }
.mv-menu > div.is-focus { background: #f1f1ee; }
.mv-menu img { width: 18px; height: 18px; background: #2563eb; border-radius: 5px; padding: 3px; }
.mv-menu-add { left: 44px; top: 300px; }
.mv-menu-up { bottom: 54px; left: 0; }
.mv-menu-side { left: 258px; bottom: 54px; }
.mv-modal-wrap {
  position: absolute;
  inset: 0;
  background: rgba(15,15,15,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}
.mv-modal {
  width: 440px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45);
  color: #1f2328;
}
.mv-modal h4, .mv-n8n-panel h4 { font-size: 18px; margin: 0 0 14px; }
.mv-modal label, .mv-cj label, .mv-n8n-panel label { display: block; font-size: 12px; font-weight: 600; opacity: .7; margin: 12px 0 6px; }
.mv-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.mv-muted { opacity: .6; font-size: 14px; line-height: 1.5; }
.mv-input, .mv-select {
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 9px;
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
  white-space: nowrap;
  overflow: hidden;
}
.mv-input.is-focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.18); }
.mv-select::after { content: '▾'; margin-left: auto; opacity: .5; }
.mv-search { width: 420px; margin-bottom: 14px; }
.mv-caret { display: none; width: 1.5px; height: 18px; background: currentColor; margin-left: 1px; animation: mvBlink 1s steps(1) infinite; }
.is-focus > .mv-caret, .is-typing .mv-caret, .mv-code .mv-caret { display: inline-block; }
@keyframes mvBlink { 50% { opacity: 0; } }

.mv-chat { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 30px 60px 26px; }
.mv-thread { flex: 1; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.mv-bubble { align-self: flex-end; background: rgba(0,0,0,.06); padding: 10px 16px; border-radius: 16px; max-width: 70%; }
.mv-tool {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  padding: 6px 12px;
}
.mv-tool img { width: 18px; height: 18px; background: #2563eb; border-radius: 5px; padding: 3px; }
.mv-tool code { font-size: 12px; }
.mv-answer { font-size: 15px; line-height: 1.55; }
.mv-answer .mv-line { margin: 0 0 6px; }
.mv-composer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 18px;
  padding: 10px 12px;
  background: #fff;
  box-shadow: 0 6px 24px -10px rgba(0,0,0,.18);
}
.mv-composer-big { width: 560px; min-height: 90px; align-items: flex-start; padding: 16px 18px; }
.mv-composer-pill { border-radius: 28px; }
.mv-composer-input { flex: 1; display: flex; align-items: center; min-height: 24px; }
.mv-plus, .mv-send {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  border: 1px solid rgba(0,0,0,.14);
  flex-shrink: 0;
}
.mv-send { background: #1f1e1d; color: #fff; border: 0; font-size: 15px; }
.mv-chip { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; background: #eff6ff; color: #1d4ed8; padding: 4px 10px; border-radius: 99px; flex-shrink: 0; }
.mv-chip img { width: 16px; height: 16px; background: #2563eb; border-radius: 4px; padding: 2px; }
.mv-toggle { width: 30px; height: 18px; border-radius: 99px; background: #d4d4d4; position: relative; margin-left: auto; transition: background .25s; }
.mv-toggle::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .25s; }
.mv-toggle.is-on { background: #2563eb; }
.mv-toggle.is-on::after { transform: translateX(12px); }

/* Chat Jurídico OAuth page (backend /oauth/authorize) in a browser popup */
.mv-popup {
  position: absolute;
  z-index: 8;
  left: 50%; top: 22px;
  width: 420px;
  margin-left: -210px;
  background: #f5f7fa;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(15,23,42,.5);
  color: #1f2937;
  font-family: Inter, -apple-system, "Segoe UI", sans-serif;
}
.mv-popup-bar, .mv-term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #e9edf3;
  font-size: 12px;
}
.mv-popup-bar span, .mv-term-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mv-popup-bar em, .mv-term-bar em { font-style: normal; margin-left: 10px; opacity: .6; }
.mv-cj { margin: 14px; padding: 20px 24px; background: #fff; border-radius: 12px; box-shadow: 0 4px 16px -6px rgba(15,23,42,.15); text-align: center; }
.mv-cj-logo { width: 46px; height: 46px; border-radius: 12px; background: #3a5d9d; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; }
.mv-cj-logo img { width: 26px; height: 26px; }
.mv-cj h4 { margin: 0 0 6px; font-size: 20px; color: #3a5d9d; }
.mv-cj p { margin: 0 0 10px; font-size: 13px; color: #4b5563; line-height: 1.45; }
.mv-cj p b { color: #111827; }
.mv-cj .mv-cj-perm-title { text-align: left; font-weight: 600; color: #374151; margin-bottom: 6px; }
.mv-cj-perms { display: flex; flex-wrap: wrap; gap: 5px; text-align: left; margin-bottom: 4px; }
.mv-cj-perms small { flex-basis: 100%; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #9ca3af; margin-top: 2px; }
.mv-cj-perms span { font-size: 11.5px; background: #eff3fb; color: #3a5d9d; border-radius: 6px; padding: 3px 8px; }
.mv-cj label { display: block; text-align: left; font-size: 12px; font-weight: 600; color: #374151; margin: 10px 0 5px; }
.mv-cj .mv-input { font-family: ui-monospace, Menlo, monospace; font-size: 12px; min-height: 38px; }
.mv-cj .mv-cj-hint { text-align: left; font-size: 11.5px; color: #6b7280; margin: 6px 0 0; }
.mv-cj-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mv-cj-cancel { background: #e5e7eb; color: #374151; }
.mv-btn-cj { background: #3b82f6; color: #fff; padding: 10px; }
.mv-cj-cancel { padding: 10px; }

/* Chat Jurídico app: Integrações > API e IA's externas (chat-juridico-ui) */
.t-cj { background: #f5f7fa; color: #111827; }
.mv-cj-side { width: 64px; background: #fff; border-right: 1px solid #e5e7eb; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 14px; }
.mv-cj-side > img { width: 34px; height: 34px; background: #3a5d9d; border-radius: 10px; padding: 7px; margin-bottom: 12px; }
.mv-cj-side span { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #6b7280; }
.mv-cj-side span.is-on { background: #eef2fa; color: #3a5d9d; }
.mv-cj-side .mv-i { width: 19px; height: 19px; }
.mv-cj-h1 { font-size: 26px; font-weight: 700; margin: 0 0 16px; }
.mv-cj-tabs { display: inline-flex; gap: 4px; background: #f0f2f5; border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.mv-cj-tabs > span { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #4b5563; }
.mv-cj-tabs > span.is-on { background: #3a5d9d; color: #fff; }
.mv-cj-tabs > span:first-child { background: #fff; color: #111827; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.mv-cj-tabs:has(.is-on) > span:first-child { background: none; box-shadow: none; color: #4b5563; }
.mv-cj-tabs small { display: block; font-size: 10.5px; opacity: .75; line-height: 1; }
.mv-cj-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px 22px; }
.mv-cj-card b { display: block; font-size: 17px; }
.mv-cj-card small { display: block; font-size: 13px; color: #6b7280; margin-top: 2px; }
.mv-btn-emerald { background: #059669; color: #fff; gap: 6px; }
.mv-ck-modal { width: 560px; padding: 20px 22px; }
.mv-ck-head { display: flex; align-items: center; gap: 10px; }
.mv-ck-head h4 { margin: 0; }
.mv-ck-chip { width: 32px; height: 32px; border-radius: 8px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; color: #374151; }
.mv-ck-stepper { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #374151; margin: 14px 0 6px; }
.mv-ck-stepper span { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #d1d5db; color: #6b7280; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.mv-ck-stepper span.is-on { background: #059669; border-color: #059669; color: #fff; }
.mv-ck-stepper i { flex: 0 0 40px; height: 2px; background: #e5e7eb; }
.mv-ck-modal label { margin-top: 10px; }
.mv-ck-modal .mv-input, .mv-ck-modal .mv-select { min-height: 36px; }
.mv-ck-presets { display: flex; gap: 8px; }
.mv-ck-presets span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 5px 10px; color: #374151; }
.mv-ck-presets span.is-focus { border-color: #059669; background: #ecfdf5; color: #065f46; }
.mv-ck-presets .mv-i { width: 14px; height: 14px; }
.mv-ck-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.mv-ck-group { border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 8px; font-size: 11.5px; }
.mv-ck-group b { display: block; font-size: 12px; margin-bottom: 3px; }
.mv-ck-group span { display: flex; align-items: center; gap: 5px; color: #4b5563; }
.mv-ck-group .mv-i { width: 12px; height: 12px; }
.mv-ck-group span:nth-of-type(1) .mv-i { color: #059669; }
.mv-ck-group span:nth-of-type(2) .mv-i { color: #d97706; }
.mv-ck-box { width: 11px; height: 11px; border-radius: 3px; border: 1.5px solid #d1d5db; transition: background .2s, border-color .2s; }
.mv-ck-groups.is-on .mv-ck-box { background: #059669; border-color: #059669; }
.mv-ck-modal .mv-modal-actions { margin-top: 14px; }
.mv-ck-warn { display: flex; gap: 8px; align-items: flex-start; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.45; margin: 12px 0; }
.mv-ck-warn .mv-i { margin-top: 1px; }
.mv-ck-key { border: 1.5px dashed #cbd5e1; border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.mv-ck-key small { display: block; font-size: 10.5px; letter-spacing: .08em; color: #6b7280; font-weight: 600; }
.mv-ck-key code { display: block; font-size: 13px; color: #111827; margin: 6px 0; word-break: break-all; background: none; padding: 0; }
.mv-ck-key em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #6b7280; }
.mv-ck-key.is-on { border-color: #10b981; background: #ecfdf5; }
.mv-ck-key.is-on em { color: #059669; font-weight: 600; }

/* Claude theme: claude.ai light mode (ivory canvas, serif greeting and answers, coral accent) */
.t-claude { background: #faf9f5; color: #141413; font-family: -apple-system, "Segoe UI", Inter, sans-serif; }
.mv-i { width: 16px; height: 16px; flex-shrink: 0; }
.t-claude .mv-side { background: #f5f4ee; border-right: 1px solid #e8e6dc; padding: 16px 10px; gap: 1px; font-size: 13.5px; }
.mv-side-bar { display: flex; align-items: center; gap: 12px; color: #73726c; padding: 0 6px 14px; }
.mv-side-mode { margin-left: auto; display: flex; background: #ebe9e0; border-radius: 8px; padding: 2px; }
.mv-side-mode b, .mv-side-mode span { display: flex; padding: 3px 7px; border-radius: 6px; }
.mv-side-mode b { background: #fff; color: #141413; }
.mv-side-new { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: #141413; margin-bottom: 2px; }
.mv-side-new.is-on { background: #ebe9e0; }
.t-claude .mv-side-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; color: #3d3d3a; }
.t-claude .mv-side-item .mv-i { color: #73726c; }
.t-claude .mv-side-item.is-focus { background: #ebe9e0; color: #141413; font-weight: 500; }
.mv-side-label { font-size: 11.5px; color: #8a8980; margin: 16px 10px 4px; }
.mv-side-recent { display: flex; align-items: center; gap: 10px; padding: 5px 10px; font-size: 13px; color: #3d3d3a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-side-recent i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid #b4b2a7; flex-shrink: 0; }
.t-claude .mv-side-foot { display: flex; align-items: center; gap: 6px; opacity: 1; border-top: 1px solid #e8e6dc; padding: 12px 8px 0; white-space: nowrap; }
.mv-side-foot b { font-size: 13px; font-weight: 500; }
.mv-side-foot small { font-size: 11.5px; color: #8a8980; }
.mv-avatar { width: 28px; height: 28px; border-radius: 50%; background: #3d3929; color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t-claude .mv-main { padding: 34px 48px; }
.t-claude .mv-home { gap: 26px; }
.t-claude .mv-home h2 { display: flex; align-items: center; gap: 14px; font-family: Georgia, "Iowan Old Style", serif; font-weight: 400; font-size: 36px; color: #3d3d3a; }
.t-claude .mv-home h2 img { width: 34px; height: 34px; }
.mv-cl-composer {
  width: 100%;
  max-width: 600px;
  background: #fff;
  border: 1px solid #e3e1d7;
  border-radius: 20px;
  padding: 14px 14px 10px 18px;
  box-shadow: 0 4px 20px -8px rgba(60,50,30,.15);
}
.mv-cl-input { min-height: 44px; display: flex; align-items: flex-start; font-size: 15px; color: #141413; }
.mv-cl-input.is-focus > .mv-caret, .mv-cl-input.is-typing .mv-caret { display: inline-block; }
.mv-cl-tools { display: flex; align-items: center; gap: 6px; }
.mv-cl-btn { width: 32px; height: 32px; border-radius: 9px; border: 1px solid #e3e1d7; display: flex; align-items: center; justify-content: center; color: #5e5d59; }
.mv-cl-btn.is-focus { background: #f0eee6; }
.mv-cl-seg { display: flex; background: #f0eee6; border-radius: 9px; padding: 2px; font-size: 13px; color: #5e5d59; }
.mv-cl-seg b, .mv-cl-seg span { padding: 5px 11px; border-radius: 7px; font-weight: 400; }
.mv-cl-seg b { background: #fff; color: #141413; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.mv-cl-model { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: #3d3d3a; padding: 0 6px; }
.mv-cl-model em { font-style: normal; color: #8a8980; }
.mv-cl-mic { color: #5e5d59; display: flex; padding: 0 4px; }
.mv-cl-under { width: 100%; max-width: 600px; display: flex; gap: 18px; font-size: 13px; color: #5e5d59; padding: 0 18px; margin-top: -14px; }
.mv-cl-send { width: 32px; height: 32px; border-radius: 9px; background: #c96442; color: #fff; display: flex; align-items: center; justify-content: center; }
.mv-cl-page h3 { font-family: Georgia, "Iowan Old Style", serif; font-weight: 400; font-size: 28px; margin-bottom: 14px; }
.mv-cl-tabs { display: flex; gap: 22px; border-bottom: 1px solid #e8e6dc; margin-bottom: 16px; font-size: 14px; }
.mv-cl-tabs span { padding: 8px 0; color: #8a8980; }
.mv-cl-tabs span.is-on { color: #141413; font-weight: 600; box-shadow: inset 0 -2px 0 #141413; }
.mv-cl-head { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mv-cl-head p { margin: 0; font-size: 14px; color: #5e5d59; }
.mv-cl-add { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; border: 1px solid #d9d7cc; border-radius: 9px; padding: 7px 12px; background: #fff; }
.mv-cl-add.is-focus { background: #f0eee6; }
.mv-cl-head .mv-menu-add { left: auto; right: 0; top: 42px; min-width: 290px; }
.mv-cl-list { border: 1px solid #e8e6dc; border-radius: 14px; background: #fff; overflow: hidden; }
.mv-cl-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #f0eee6; }
.mv-cl-row:last-child { border-bottom: 0; }
.mv-cl-row b { display: block; font-size: 14px; font-weight: 600; }
.mv-cl-row small { display: block; font-size: 12.5px; color: #8a8980; }
.mv-cl-row > .mv-btn, .mv-cl-row > .mv-cl-status:first-of-type { margin-left: auto; }
.mv-cl-row.mv-row-new { background: #fdf6f2; box-shadow: inset 3px 0 0 #c96442; }
.mv-cl-status { font-style: normal; font-size: 12.5px; color: #5e5d59; display: inline-flex; align-items: center; gap: 6px; }
.mv-cl-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.mv-cl-dots { color: #8a8980; display: flex; }
.t-claude .mv-btn-dark { background: #141413; border-radius: 9px; }
.t-claude .mv-btn-ghost { border-color: #d9d7cc; background: #fff; }
.mv-cl-modal { width: 470px; border-radius: 18px; padding: 26px; background: #faf9f5; }
.mv-cl-modal h4 { font-family: Georgia, "Iowan Old Style", serif; font-weight: 400; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.mv-cl-modal h4 em { font-style: normal; font-family: -apple-system, "Segoe UI", sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: #8a5a3c; background: #f4e3d7; border-radius: 6px; padding: 2px 6px; }
.mv-cl-modal .mv-muted { margin: -6px 0 16px; }
.mv-cl-modal .mv-input { margin-bottom: 10px; min-height: 44px; border-color: #d9d7cc; border-radius: 10px; }
.mv-cl-modal .mv-input.is-focus { border-color: #c96442; box-shadow: 0 0 0 3px rgba(201,100,66,.15); }
.mv-ph { color: #a3a199; position: absolute; left: 12px; transition: opacity .15s; }
.mv-input .mv-typed:not(:empty) ~ .mv-caret { margin-left: 0; }
.mv-input:has(.mv-typed:not(:empty)) .mv-ph { opacity: 0; }
.mv-cl-warn { font-size: 12.5px; color: #8a8980; margin: 12px 0 0; }
.mv-cl-radio { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 6px; font-size: 13.5px; }
.mv-cl-radio span { display: flex; align-items: center; gap: 9px; }
.mv-cl-radio i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #b4b2a7; }
.mv-cl-radio .is-on i { border: 4.5px solid #141413; }
.mv-cl-field { font-size: 12.5px; font-weight: 600; color: #3d3d3a; margin: 14px 0 6px; }
.mv-cl-modal .mv-select { min-height: 40px; border-color: #d9d7cc; border-radius: 10px; font-size: 13.5px; background: #fff; }
.mv-cl-empty { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #5e5d59; margin: 0; }
.mv-cl-empty .mv-i { width: 14px; height: 14px; }
.mv-cl-adv { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #5e5d59; margin: 4px 0 0; }
.mv-cl-adv .mv-i { width: 14px; height: 14px; }
.mv-cl-chat { padding: 0 0 22px; }
.mv-cl-title { display: flex; align-items: center; gap: 6px; padding: 16px 28px; font-size: 14px; font-weight: 500; color: #3d3d3a; }
.mv-cl-title .mv-i { width: 13px; height: 13px; color: #8a8980; }
.mv-cl-chat .mv-thread { padding: 6px 70px 0; gap: 16px; }
.mv-cl-user { align-self: flex-end; display: flex; align-items: center; gap: 10px; background: #f0eee6; border-radius: 14px; padding: 10px 16px 10px 10px; font-size: 15px; max-width: 75%; }
.mv-cl-user .mv-avatar { width: 24px; height: 24px; font-size: 11px; }
.mv-cl-tool { align-self: flex-start; display: flex; align-items: center; gap: 10px; border: 1px solid #e3e1d7; border-radius: 12px; padding: 8px 12px 8px 8px; background: #fff; min-width: 300px; }
.mv-cl-tool .mv-ico { width: 26px; height: 26px; border-radius: 7px; }
.mv-cl-tool b { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; font-weight: 600; }
.mv-cl-tool small { display: block; font-size: 12px; color: #8a8980; }
.mv-cl-tool > .mv-i { margin-left: auto; color: #8a8980; }
.mv-cl-answer { font-family: Georgia, "Iowan Old Style", serif; font-size: 16px; color: #141413; }
.mv-cl-answer b { font-family: -apple-system, "Segoe UI", sans-serif; }
.mv-cl-dock { position: relative; padding: 0 70px; }
.mv-cl-dock .mv-cl-composer { max-width: none; }
.mv-cl-dock .mv-menu-up { left: 76px; bottom: 58px; }
.mv-cl-dock .mv-menu-side { left: 340px; bottom: 58px; }
.t-claude .mv-menu { background: #fff; border-color: #e3e1d7; border-radius: 14px; min-width: 260px; }
.t-claude .mv-menu > div { font-size: 13.5px; }
.t-claude .mv-menu > div .mv-i { color: #5e5d59; }
.t-claude .mv-menu > div.is-focus { background: #f0eee6; }
.mv-menu-arrow { margin-left: auto; display: flex; color: #8a8980; }
.mv-ico-xs { width: 20px; height: 20px; border-radius: 5px; }
.t-claude .mv-menu img { background: none; padding: 2px; }
.t-claude .mv-toggle.is-on { background: #c96442; }

/* ChatGPT theme: current UI (Plugins in the sidebar, + menu with plugin search) */
.t-gpt { background: #fff; color: #0d0d0d; }
.t-gpt .mv-side { background: #f9f9f9; border-right: 1px solid #ececec; padding: 18px 10px; gap: 2px; font-size: 14px; }
.t-gpt .mv-side-logo { font-size: 19px; font-weight: 600; margin: 0 10px 14px; }
.t-gpt .mv-side-item { display: flex; align-items: center; gap: 11px; padding: 8px 10px; color: #0d0d0d; }
.t-gpt .mv-side-item .mv-i { width: 18px; height: 18px; }
.t-gpt .mv-side-item.is-focus { background: #ececec; font-weight: 500; }
.t-gpt .mv-side-foot { display: flex; align-items: center; gap: 6px; opacity: 1; white-space: nowrap; }
.t-gpt .mv-avatar { background: #10a37f; }
.t-gpt .mv-home h2 { font-size: 28px; font-weight: 500; }
.mv-gpt-composer {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 28px;
  padding: 8px 8px 8px 12px;
  background: #fff;
  box-shadow: 0 4px 16px -6px rgba(0,0,0,.12);
  font-size: 15px;
}
.mv-gpt-plus { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #0d0d0d; }
.mv-gpt-plus.is-focus { background: #f3f3f3; }
.mv-gpt-composer .mv-composer-input { position: relative; }
.mv-gpt-composer .mv-ph, .mv-gpt-menu-search .mv-ph { position: static; color: #8f8f8f; }
.mv-gpt-composer .mv-composer-input:has(.mv-typed:not(:empty)) .mv-ph,
.mv-gpt-menu-search:has(.mv-typed:not(:empty)) .mv-ph,
.mv-gpt-chat:has([data-k="chip"]:not(.mv-hide)) [data-k="prompt"] .mv-ph { display: none; }
.mv-gpt-model { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: #5d5d5d; }
.mv-gpt-model .mv-i { width: 13px; height: 13px; }
.mv-gpt-mic { display: flex; color: #5d5d5d; }
.mv-gpt-send { width: 34px; height: 34px; border-radius: 50%; background: #0d0d0d; color: #fff; display: flex; align-items: center; justify-content: center; }
.mv-gpt-chat { padding: 26px 60px 24px; }
.mv-gpt-hello { margin: auto; font-size: 28px; font-weight: 500; text-align: center; }
.mv-gpt-hello.mv-hide { display: none; }
.mv-gpt-dock { position: relative; display: flex; justify-content: center; }
.mv-gpt-dock .mv-gpt-composer { max-width: none; }
.mv-gpt-menu { left: 0; bottom: 60px; width: 420px; border-radius: 18px; padding: 8px; }
.mv-gpt-menu > div { font-size: 14px; }
.mv-gpt-menu > div .mv-i { color: #5d5d5d; }
.mv-gpt-menu small { margin-left: auto; color: #8f8f8f; font-size: 12px; }
.mv-gpt-menu-search { border-top: 1px solid #ececec; border-radius: 0 !important; margin-top: 4px; color: #0d0d0d; }
.mv-gpt-menu-search.is-focus { background: none !important; }
.mv-gpt-menu-search .mv-caret { display: none; }
.mv-gpt-menu-search.is-typing .mv-caret, .mv-gpt-menu-search.is-focus .mv-caret { display: inline-block; }
.mv-gpt-menu [data-k="pick-cj"] { background: #f3f3f3; }
.t-gpt .mv-menu img { background: #2563eb; }
.mv-gpt-plugin { max-width: 640px; }
.mv-gpt-plugin-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.mv-gpt-plugin-head .mv-hide { display: none; }
.mv-gpt-plugin h3 { font-size: 24px; margin: 0 0 6px; }
.mv-pill-btn { border-radius: 99px; background: #0d0d0d; padding: 9px 18px; }
.mv-gpt-sub { font-size: 15px; font-weight: 600; margin: 22px 0 8px; }
.mv-gpt-app-row { display: flex; align-items: center; gap: 10px; background: #f3f3f3; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.mv-gpt-app-row .mv-ico { width: 28px; height: 28px; }
.mv-gpt-info { display: grid; grid-template-columns: 160px 1fr; font-size: 14px; }
.mv-gpt-info span, .mv-gpt-info b { padding: 9px 0; border-top: 1px solid #ececec; font-weight: 400; }
.mv-gpt-info span { color: #6b6b6b; }
.mv-app-card {
  display: flex; gap: 14px; align-items: center;
  width: 420px; padding: 14px; border: 1px solid rgba(0,0,0,.1); border-radius: 14px;
}
.mv-app-card small { display: block; opacity: .6; font-size: 13px; }
.mv-app-hero { display: flex; align-items: center; gap: 18px; margin: 30px 0 18px; }
.mv-app-hero h3 { margin: 0 0 2px; }
.mv-app-hero small { opacity: .6; }
.mv-app-hero .mv-btn, .mv-app-hero .mv-pill { margin-left: auto; }

/* Editors */
.t-editor { background: #1b1c20; color: #d4d7de; flex-direction: column; font-size: 14px; }
.mv-editor-top { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #141518; font-size: 13px; color: #a6abb6; border-bottom: 1px solid #2a2c32; }
.mv-editor-top img { width: 18px; height: 18px; object-fit: contain; }
.mv-editor-body { flex: 1; display: flex; min-height: 0; }
.mv-editor-pane { flex: 1; padding: 0; position: relative; min-width: 0; }
.mv-editor-pane > .mv-swap, .mv-editor-pane > .mv-pane-title, .mv-editor-pane > .mv-server { margin-left: 28px; margin-right: 28px; }
.mv-pane-title { font-size: 20px; color: #fff; margin: 26px 28px 14px; font-weight: 600; }
.mv-editor-tabs { display: flex; background: #141518; border-bottom: 1px solid #2a2c32; }
.mv-editor-tabs span { padding: 9px 16px; font-size: 13px; background: #1b1c20; color: #e4e6eb; display: flex; align-items: center; gap: 8px; }
.mv-dirty { width: 8px; height: 8px; border-radius: 50%; background: #e4e6eb; }
.mv-code {
  margin: 0;
  padding: 18px 26px;
  font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
  font-size: 15px;
  line-height: 1.6;
  color: #9cdcfe;
  white-space: pre;
  background: transparent;
  border: 0;
  overflow: hidden;
}
.mv-code .mv-caret { height: 17px; vertical-align: -3px; }
.mv-key { border-radius: 3px; color: #ce9178; }
.mv-key.is-on { background: rgba(59,130,246,.45); color: #fff; }
.mv-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 700; color: #2c2f36; letter-spacing: -.02em; }
.mv-agent { width: 270px; border-left: 1px solid #2a2c32; background: #17181c; position: relative; padding: 0; }
.mv-agent-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid #2a2c32; font-size: 13px; }
.mv-dots { padding: 2px 8px; border-radius: 6px; letter-spacing: 1px; }
.mv-dots.is-focus { background: #2a2c32; }
.mv-agent-hint { padding: 14px; color: #8a8f99; }
.t-editor .mv-menu { background: #22242a; border-color: #34363d; color: #e4e6eb; min-width: 210px; }
.t-editor .mv-menu > div.is-focus { background: #34363d; }
.mv-menu-right { right: 12px; top: 44px; }
.mv-menu-right2 { right: 230px; top: 84px; }
.t-editor .mv-btn-ghost { border-color: #3a3d45; color: #e4e6eb; margin-top: 8px; }
.t-editor .mv-muted { color: #8a8f99; opacity: 1; }
.mv-server { border: 1px solid #2f3138; border-radius: 12px; padding: 16px; background: #202227; }
.mv-server-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; }
.mv-server-head .mv-pill, .mv-server-head .mv-toggle { margin-left: auto; }
.mv-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.mv-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.mv-tools code { font-size: 12.5px; background: #2a2c32; color: #c9d1de; border-radius: 6px; padding: 4px 8px; }
.mv-settings { flex: 1; display: flex; }
.mv-settings nav { width: 190px; border-right: 1px solid #2a2c32; padding: 18px 10px; display: flex; flex-direction: column; gap: 2px; }
.mv-settings nav span { padding: 8px 12px; border-radius: 7px; color: #a6abb6; }
.mv-settings nav span.is-focus { background: #2a2c32; color: #fff; }
.mv-settings section { flex: 1; position: relative; padding: 0 28px; }
.mv-settings section .mv-pane-title { margin-left: 0; }
.mv-settings section .mv-server { margin: 0; }
.t-cursor { background: #181818; }
.mv-keycap {
  position: absolute;
  right: 26px; bottom: 22px;
  z-index: 30;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 15px;
  color: #fff;
  background: rgba(20,22,27,.9);
  border: 1px solid rgba(255,255,255,.2);
  border-bottom-width: 3px;
  border-radius: 9px;
  padding: 8px 14px;
  animation: mvKey .9s ease both;
}
@keyframes mvKey { 0% { opacity: 0; transform: translateY(8px); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Terminal */
.t-term { background: #0c0c0e; color: #d7dae0; flex-direction: column; font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: 15px; }
.t-term .mv-term-bar { background: #18191c; color: #9aa0aa; }
.t-term .mv-term-bar span { background: #3a3c42; }
.mv-term { padding: 22px 26px; line-height: 1.65; }
.mv-term p { margin: 0 0 6px; word-break: break-all; }
.mv-term .mv-caret { display: inline-block; height: 16px; vertical-align: -3px; }
.mv-prompt { color: #d97757; }
.mv-ok { color: #4ade80; }
.mv-dim { color: #7b818c; }
.mv-cc-box { display: flex; gap: 18px; align-items: center; border: 1px solid #d97757; border-radius: 8px; padding: 10px 16px; margin-bottom: 16px; color: #f0b49b; }
.mv-cc-panel { border: 1px solid #3a3c42; border-radius: 8px; padding: 12px 16px; margin-top: 8px; }
.mv-cc-panel b { display: block; margin-bottom: 6px; }
.mv-answer-term { border-left: 2px solid #3a3c42; padding-left: 14px; margin-top: 8px; font-family: inherit; }
.mv-answer-term b { color: #fff; }

/* n8n */
.t-n8n { background: #f2f2f2; color: #2b2b2b; flex-direction: column; }
.mv-n8n-top { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #fff; border-bottom: 1px solid #e3e3e3; font-weight: 600; font-size: 14px; }
.mv-n8n-top img { width: 22px; height: 22px; }
.mv-n8n-top .mv-pill { background: #eee; color: #666; margin-left: 8px; }
.mv-n8n-canvas {
  flex: 1;
  position: relative;
  background-image: radial-gradient(#cfcfcf 1px, transparent 1px);
  background-size: 18px 18px;
}
.mv-node { position: absolute; background: #fff; border: 2px solid #c9c9c9; border-radius: 12px; padding: 14px 16px; font-size: 13px; box-shadow: 0 4px 12px -6px rgba(0,0,0,.2); }
.mv-node-trigger { left: 40px; top: 120px; width: 150px; }
.mv-node-agent { left: 260px; top: 96px; width: 260px; }
.mv-node-agent b { display: block; margin-bottom: 14px; }
.mv-ports { display: flex; justify-content: space-between; font-size: 11px; color: #777; }
.mv-ports span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mv-ports i { font-style: normal; width: 22px; height: 22px; border: 1.5px dashed #aaa; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.mv-node-mcp { left: 450px; top: 290px; display: flex; align-items: center; gap: 8px; border-color: #ea4b71; }
.mv-node-mcp img { width: 20px; height: 20px; }
.mv-node-mcp.is-on { box-shadow: 0 0 0 6px rgba(34,197,94,.25); border-color: #22c55e; }
.mv-wire { position: absolute; background: #b5b5b5; }
.mv-wire-1 { left: 194px; top: 145px; width: 66px; height: 2px; }
.mv-wire-2 { left: 476px; top: 186px; width: 2px; height: 104px; }
.mv-n8n-panel {
  position: absolute;
  right: 16px; top: 62px; bottom: 16px;
  width: 340px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 18px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.3);
  z-index: 4;
}
.mv-n8n-panel .mv-row img { width: 20px; height: 20px; }
.mv-n8n-panel .mv-search { width: auto; }
.mv-n8n-chat { display: flex; flex-direction: column; gap: 12px; }
.mv-n8n-chat .mv-answer { flex: 1; font-size: 14px; }
.mv-n8n-chat .mv-bubble { background: #fde7ee; }
.t-n8n .mv-modal-wrap { background: rgba(0,0,0,.25); }

/* Cursor */
.mv-cursor {
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  z-index: 50;
  pointer-events: none;
  transition: transform .72s cubic-bezier(.65,0,.3,1);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9.5-6.6 1.4 3.9 7.3-2.6 1.3-3.8-7.3L5 19z' fill='%23111' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E");
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.35));
}
.mv-cursor::after {
  content: '';
  position: absolute;
  left: -14px; top: -14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(59,130,246,.45);
  opacity: 0;
  transform: scale(.3);
}
.mv-cursor.is-click::after { animation: mvClick .5s ease-out; }
@keyframes mvClick { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }

/* Opening (light mode), same scene as the ChatJuridicoUI login promo */
.mv-cursor.is-hidden { opacity: 0; }
.mv-intro {
  position: absolute;
  inset: 0;
  z-index: 46;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f6f8fb;
  background-image: radial-gradient(rgba(15,23,42,.09) 1px, transparent 1.2px);
  background-size: 18px 18px;
  color: #0f172a;
}
.mv-login { display: flex; flex-direction: column; align-items: center; padding: 6px 30px 0; color: #0f172a; }
.mv-login-ai { background: none; border: 0; padding: 0; cursor: pointer; }
.mv-login-ai:focus-visible span { outline: 3px solid #7dd3fc; outline-offset: 2px; }
.mv-login-beam .mv-flow, .mv-login-beam .mv-packet { display: none; }
.mv-login-beam.is-selected .mv-flow, .mv-login-beam.is-selected .mv-packet { display: inline; }
.mv-login-beam:not(.is-selected) .mv-beam { opacity: .5; }
.mv-login-logo { display: flex; }
.mv-login-logo img { width: 22px; height: 22px; object-fit: contain; }
.mv-login-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #0080fb; }
.mv-login-kicker img { width: 16px; height: 16px; object-fit: contain; }
.mv-dark-logo { filter: brightness(0); }
.mv-login-scene { position: relative; width: 640px; aspect-ratio: 400 / 220; }
.mv-login-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mv-beam { stroke: #cbd5e1; stroke-width: 1.4; }
.mv-beam.is-idle { opacity: .5; }
.mv-flow { stroke: #0080fb; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 14 120; animation: mvBeam 2.4s linear infinite; }
@keyframes mvBeam { from { stroke-dashoffset: 134; } to { stroke-dashoffset: 0; } }
.mv-packet { fill: #0080fb; }
.mv-login-ai { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.mv-login-ai span { width: 58px; height: 58px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px -6px rgba(15,23,42,.25); display: flex; align-items: center; justify-content: center; opacity: .5; transition: all .3s; }
.mv-login-ai:hover span { opacity: 1; transform: scale(1.05); }
.mv-login-ai span img { width: 28px; height: 28px; object-fit: contain; }
.mv-login-ai small { position: absolute; top: 100%; margin-top: 6px; font-size: 12px; font-weight: 500; color: #94a3b8; white-space: nowrap; }
.mv-login-ai.is-selected span { width: 68px; height: 68px; opacity: 1; box-shadow: 0 10px 24px -8px rgba(0,128,251,.45), 0 0 0 2px rgba(0,128,251,.18); }
.mv-login-ai.is-selected span img { width: 36px; height: 36px; }
.mv-login-ai.is-selected small { color: #0f172a; font-weight: 600; }
.mv-login-hub { position: absolute; transform: translate(-50%, -50%); }
.mv-login-hub i { position: absolute; inset: -3px; border-radius: 22px; overflow: hidden; }
.mv-login-hub i::before { content: ''; position: absolute; inset: -50%; background: conic-gradient(from 0deg, #0080fb, #7dd3fc, transparent 55%, #0080fb); animation: mvOrbit 6s linear infinite; }
.mv-login-hub::before { content: ''; position: absolute; inset: -22px; border-radius: 50%; background: rgba(0,128,251,.18); filter: blur(18px); animation: mvGlow 2.4s ease-in-out infinite; }
@keyframes mvOrbit { to { transform: rotate(360deg); } }
@keyframes mvGlow { 50% { opacity: .5; } }
.mv-login-hub b { position: relative; width: 96px; height: 96px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 40px -12px rgba(15,23,42,.35); }
.mv-login-hub b img { width: 60px; height: 60px; }
.mv-login-out {
  position: absolute;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: #fff;
  border-radius: 99px;
  padding: 6px 13px 6px 9px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  box-shadow: 0 6px 16px -6px rgba(15,23,42,.25);
  transition: transform .3s, box-shadow .3s;
}
.mv-login-out > img, .mv-login-out > svg { width: 17px; height: 17px; color: #0080fb; }
.mv-login-out.is-on { transform: translateY(-50%) scale(1.06); box-shadow: 0 0 0 2px #0080fb, 0 8px 20px -6px rgba(0,128,251,.4); }
.mv-login-stack { display: flex; }
.mv-login-stack span { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #e2e8f0; margin-left: -4px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mv-login-stack span:first-child { margin-left: 0; }
.mv-login-stack img { width: 13px; height: 13px; object-fit: contain; }
.mv-login-input {
  width: 640px;
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 10px 10px 16px;
  box-shadow: 0 10px 30px -10px rgba(15,23,42,.25);
}
.mv-login-input > img { width: 22px; height: 22px; object-fit: contain; }
.mv-login-input p { flex: 1; margin: 0; font-size: 16px; color: #334155; display: flex; align-items: center; min-height: 24px; }
.mv-login-input .mv-caret { display: inline-block; background: #0080fb; }
.mv-login-input.is-sent .mv-caret { display: none; }
.mv-login-send { width: 34px; height: 34px; border-radius: 10px; background: #f1f5f9; color: #94a3b8; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.mv-login-input.is-sent .mv-login-send { background: #0080fb; color: #fff; }
.mv-login-chips { width: 640px; height: 32px; margin-top: 12px; display: flex; gap: 8px; }
.mv-login-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 3px 10px 3px 4px;
  animation: mvChipIn .3s ease-out;
}
@keyframes mvChipIn { from { opacity: 0; transform: translateX(-6px); } }
.mv-login-chip-ico { width: 22px; height: 22px; border-radius: 50%; background: #eff6ff; color: #0080fb; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mv-login-chip-ico img, .mv-login-chip-ico svg { width: 14px; height: 14px; object-fit: contain; }
.mv-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #bfdbfe; border-top-color: #0080fb; animation: mvOrbit .8s linear infinite; }
.mv-login-chip.is-done .mv-spin { border: 0; animation: none; width: 14px; height: 14px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }

/* Ending */
.mv-outro { gap: 14px; }
.mv-intro-kicker { font-family: ui-monospace, Menlo, monospace; font-size: 14px; letter-spacing: .3em; color: #0080fb; margin: 0; }
.mv-intro-title { font-size: 52px; font-weight: 800; letter-spacing: -.035em; margin: 0; color: #0f172a; }
.mv-check { width: 84px; height: 84px; border-radius: 50%; background: #10b981; color: #fff; font-size: 42px; display: flex; align-items: center; justify-content: center; animation: mvPop .6s cubic-bezier(.2,1.5,.4,1); }
@keyframes mvPop { from { transform: scale(.3); opacity: 0; } }
.mv-replay {
  margin-top: 12px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
}
.mv-replay:hover { border-color: #0f172a; }

@media (prefers-reduced-motion: reduce) {
  .mv-cursor { transition-duration: .01s; }
  .mv-intro *, .mv-intro *::before { animation: none !important; transition: none !important; }
}
