/* El manual de MADRE (/manual/ y /en/manual/), 2026-11-17 · guía visual «Porcelana».
   Se carga después de styles.css y solo en el manual. Usa los tokens de :root (styles.css): blanco, la
   banda #f4f6f5, la tinta, un solo acento esmeralda (--phosphor en texto y rellenos, --emerald-dot para
   el punto) y los colores de los permisos (--mode-0 … --mode-4). Los colores de cada IA viven solo en su
   punto (.mn-ai--*). Todo lleva el prefijo mn- para no tocar el resto del sitio.
   Sin rótulos en mayúsculas, sin sombras grises en tarjetas iguales y sin animaciones de entrada: lo único
   que se mueve responde a lo que haces, y con «reducir movimiento» nada se anima. */

.mn { --mn-bar: 3.3rem; --mn-tint: #ebf7f1; }
.mn [hidden] { display: none !important; }
:where(.mn) h4, :where(.mn) h5 { margin: 0; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.mn [id] { scroll-margin-top: 3rem; }
@media (min-width: 64rem) { .mn [id] { scroll-margin-top: 1.5rem; } }
.mn-anchor { display: block; height: 0; }

/* Los colores de cada permiso, como en MADRE. */
.mn-mode--0 { --m: var(--mode-0); }
.mn-mode--1 { --m: var(--mode-1); }
.mn-mode--2 { --m: var(--mode-2); }
.mn-mode--3 { --m: var(--mode-3); }
.mn-mode--4 { --m: var(--mode-4); }

/* El punto de cada IA: su color, y solo aquí. */
.mn-ai { display: inline-block; flex: none; width: .625rem; height: .625rem; border-radius: 50%; background: var(--text-3); }
.mn-ai--claude { background: #D97757; }
.mn-ai--codex { background: #10A37F; }
.mn-ai--gemini { background: #8E75E8; }
.mn-ai--grok { background: #4B5563; }
.mn-ai--opencode { background: #C9A227; }
.mn-ai--cursor { background: #6B7280; }
.mn-ai--madre { background: var(--emerald-dot); }

/* ---------- botones propios ---------- */
.mn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: 0 1.15rem;
  border: 0; border-radius: var(--pill);
  font: 600 .9375rem/1.1 var(--font); letter-spacing: -.01em; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.mn-btn--go { background: var(--ink); color: #fff; }
.mn-btn--go:hover { background: #2a302a; }
.mn-btn--quiet { background: #fff; color: var(--text); box-shadow: 0 0 0 1px var(--line-2); }
.mn-btn--quiet:hover { box-shadow: 0 0 0 1px var(--text-3); }
.mn-btn--quiet:disabled { color: var(--text-3); box-shadow: 0 0 0 1px var(--line); cursor: default; }
.mn-btn__icon { width: 1.1rem; height: 1.1rem; flex: none; }
.mn-link {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0;
  border: 0; background: none; font: inherit; font-weight: 500; color: var(--phosphor);
  text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}

/* ---------- héroe ---------- */
.mn-hero { padding: clamp(2.25rem, 1.25rem + 4vw, 5.5rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.mn-hero__in { display: grid; gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
@media (min-width: 64rem) { .mn-hero__in { grid-template-columns: minmax(0, 1fr) 21.5rem; } }
.mn-print-brand { display: none; }
.mn-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--text-3); }
.mn-crumbs li + li::before { content: "›"; content: "›" / ""; margin-right: .5rem; }
.mn-crumbs a { display: inline-flex; align-items: center; min-height: 1.5rem; color: var(--text-2); text-decoration: none; }
.mn-crumbs a:hover { color: var(--text); text-decoration: underline; }
.mn-crumbs [aria-current] { color: var(--text); }
.mn-hero h1 { margin-top: 1rem; max-width: 13ch; font-size: clamp(2.5rem, 1.05rem + 4.6vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; }
.mn-hero__lede { margin: 1.25rem 0 0; max-width: 34rem; font-size: var(--t-lede); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.mn-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.mn-hero__size { margin-left: .15rem; font-size: .8125rem; font-weight: 500; color: var(--text-3); }
.mn-hero__meta { margin: 1.25rem 0 0; font-size: .8125rem; color: var(--text-3); }

/* ---------- buscador ---------- */
.mn-search { margin-top: 2rem; max-width: 36rem; }
.mn-search__label { display: block; margin-bottom: .55rem; font-size: .9375rem; font-weight: 600; }
.mn-search__box { position: relative; display: flex; align-items: center; }
.mn-search__icon { position: absolute; left: 1.1rem; width: 1.3rem; height: 1.3rem; color: var(--text-3); pointer-events: none; }
.mn-search__input {
  width: 100%; min-height: 3.5rem; padding: 0 3.25rem 0 3.15rem;
  border: 0; border-radius: var(--pill); background: #fff;
  box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(17, 21, 17, .04);
  font: 400 1.0625rem/1.2 var(--font); letter-spacing: -.01em; color: var(--text);
  -webkit-appearance: none; appearance: none;
}
.mn-search__input::placeholder { color: var(--text-3); opacity: 1; }
.mn-search__input:focus { outline: none; box-shadow: 0 0 0 2px var(--phosphor), 0 1px 2px rgba(17, 21, 17, .04); }
.mn-search__input::-webkit-search-decoration { -webkit-appearance: none; }
.mn-search__key {
  position: absolute; right: 1.1rem; padding: .15rem .5rem;
  border-radius: var(--r-sm); background: var(--band); box-shadow: inset 0 0 0 1px var(--line-2);
  font: 500 .8125rem/1.2 var(--mono); color: var(--text-3); pointer-events: none;
}
.mn-search__input:focus ~ .mn-search__key, .mn-search__input:not(:placeholder-shown) ~ .mn-search__key { display: none; }
.mn-search__hint { margin: .55rem 0 0 1.15rem; font-size: .8125rem; color: var(--text-3); }
@media (hover: none) { .mn-search__key, .mn-search__hint { display: none; } .mn-search__input { padding-right: 1.25rem; } }
.mn-results {
  position: absolute; z-index: 40; top: calc(100% + .5rem); left: 0; right: 0;
  max-height: min(65vh, 30rem); overflow: auto; overscroll-behavior: contain; padding: .4rem;
  border-radius: var(--r-lg); background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 20px 50px -18px rgba(17, 21, 17, .28);
}
.mn-result { display: block; padding: .7rem .85rem; border-radius: var(--r); color: var(--text); text-decoration: none; cursor: pointer; }
.mn-result:hover, .mn-result[aria-selected="true"] { background: var(--band); }
.mn-result__kind { display: block; font-size: .75rem; color: var(--text-3); }
.mn-result__t { display: block; margin-top: .1rem; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.mn-result__s { display: -webkit-box; margin-top: .2rem; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .8125rem; line-height: 1.45; color: var(--text-2); }
.mn-result mark, .mn-hit { padding: 0 .1em; border-radius: 3px; background: rgba(16, 185, 129, .22); color: inherit; }
.mn-results--none p { margin: .55rem .6rem .7rem; font-size: .9375rem; line-height: 1.45; color: var(--text-2); }
.mn-results--none div { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 .4rem .4rem; }
.mn-chipbtn {
  min-height: 2.75rem; padding: 0 1rem; border: 0; border-radius: var(--pill);
  background: var(--band); font: 500 .875rem/1 var(--font); color: var(--text); cursor: pointer;
}
.mn-chipbtn:hover { background: var(--card-2); }
/* Lo que se encontró, al llegar: un resalte que se apaga solo. */
.mn-found { box-shadow: 0 0 0 3px var(--emerald-dot) !important; border-radius: var(--r-lg); transition: box-shadow 1.2s var(--ease); }

/* ---------- tu avance ---------- */
.mn-progress { padding: 1.5rem; border-radius: var(--r-xl); background: var(--band); }
.mn-progress__h { font-size: 1.125rem; letter-spacing: -.012em; }
.mn-meter { margin-top: 1.1rem; }
.mn-meter__row { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .5rem; font-size: .9375rem; color: var(--text-2); }
.mn-meter__row strong { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.mn-bar { display: block; height: .375rem; overflow: hidden; border-radius: var(--pill); background: var(--card-2); }
.mn-bar__fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--phosphor); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .5s var(--ease-out); }
.mn-progress__next { margin: 1.25rem 0 .85rem; font-size: .9375rem; line-height: 1.45; }
.mn-progress__go { width: 100%; }
.mn-level { margin: 1.5rem 0 0; padding: 1.25rem 0 0; border: 0; border-top: 1px solid var(--line-2); min-width: 0; }
.mn-level legend { float: left; width: 100%; margin: 0 0 .6rem; padding: 0; font-size: .9375rem; font-weight: 600; }
.mn-seg { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem; border-radius: var(--pill); background: var(--card-2); }
.mn-seg__opt { position: relative; }
.mn-seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mn-seg__opt span { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 .6rem; border-radius: var(--pill); font-size: .875rem; font-weight: 500; line-height: 1.15; text-align: center; color: var(--text-2); }
.mn-seg__opt input:checked + span { background: #fff; color: var(--text); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(17, 21, 17, .08); }
.mn-seg__opt input:focus-visible + span { outline: 2px solid var(--phosphor); outline-offset: 2px; }
.mn-level__hint { display: block; margin-top: .65rem; font-size: .8125rem; line-height: 1.45; color: var(--text-3); }
.mn-progress__foot { margin: 1rem 0 0; font-size: .8125rem; line-height: 1.4; color: var(--text-3); }
.mn-progress__foot .mn-link { font-size: .8125rem; }

/* ---------- el cuerpo: índice y contenido ---------- */
.mn-main { padding-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.mn-main__in { display: grid; gap: 1.75rem; }
.mn-body { min-width: 0; max-width: 50rem; }

/* El índice. En teléfonos: una franja pegada bajo la barra del sitio. */
.mn-side { position: sticky; top: var(--mn-bar); z-index: 20; margin: 0 calc(var(--gut) * -1); }
.mn-toc__sum {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 1rem; align-items: center; gap: .35rem .85rem;
  min-height: 3.25rem; padding: .55rem var(--gut);
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 -1px 0 var(--line);
  list-style: none; cursor: pointer;
}
.mn-toc__sum::-webkit-details-marker { display: none; }
.mn-toc__sum::after { content: ""; grid-column: 3; grid-row: 1; width: .55rem; height: .55rem; margin-top: -.25rem; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg); transition: transform .2s var(--ease); }
.mn-toc[open] > .mn-toc__sum::after { transform: rotate(-135deg); margin-top: .25rem; }
.mn-toc__now { overflow: hidden; font-size: .9375rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.mn-toc__count { font-size: .8125rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.mn-toc__sum .mn-bar { grid-column: 1 / -1; height: .25rem; }
.mn-toc { position: relative; }
.mn-toc__nav { position: absolute; top: 100%; left: 0; right: 0; max-height: min(65vh, 34rem); overflow: auto; overscroll-behavior: contain; padding: .25rem var(--gut) 1rem; background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 34px -22px rgba(17, 21, 17, .35); }
.mn-toc__h { margin: 1rem 0 .3rem; font-size: .8125rem; font-weight: 600; color: var(--text-3); }
.mn-toc__h a { display: inline-flex; align-items: center; min-height: 1.75rem; color: inherit; text-decoration: none; }
.mn-toc__h a:hover { color: var(--text); }
.mn-toc__list { margin: 0; padding: 0; list-style: none; }
.mn-toc__list a {
  display: flex; align-items: center; gap: .7rem; min-height: 2.75rem; margin: 0 -.6rem; padding: 0 .6rem;
  border-radius: var(--r); font-size: .9375rem; line-height: 1.25; color: var(--text-2); text-decoration: none;
}
.mn-toc__list a:hover { background: var(--band); color: var(--text); }
.mn-toc__list a[aria-current] { background: var(--band); color: var(--text); font-weight: 600; }
.mn-toc__n {
  position: relative; flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 .75rem/1 var(--font); color: var(--text-2); font-variant-numeric: tabular-nums;
}
.mn-toc__list li[data-done] .mn-toc__n { background: var(--phosphor); box-shadow: none; color: transparent; }
.mn-toc__list li[data-done] .mn-toc__n::after,
.mn-step.is-done .mn-step__badge::after,
.mn-needs__item input:checked + .mn-needs__box::after,
.mn-check input:checked ~ .mn-check__box::after {
  content: ""; position: absolute; inset: 0; width: 42%; height: 22%; margin: auto;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-15%) rotate(-45deg);
}
.mn-toc__mini { margin-left: auto; font-size: .75rem; color: var(--text-3); font-variant-numeric: tabular-nums; }

@media (min-width: 64rem) {
  .mn-main__in { grid-template-columns: 14.5rem minmax(0, 1fr); gap: clamp(3rem, 5vw, 5.5rem); }
  .mn-side { top: calc(var(--mn-bar) + 1.5rem); align-self: start; max-height: calc(100vh - var(--mn-bar) - 3rem); overflow: auto; margin: 0; padding-right: .25rem; }
  .mn-toc__sum { display: block; min-height: 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; cursor: default; }
  .mn-toc__sum::after, .mn-toc__sum .mn-toc__count, .mn-toc__sum .mn-bar { display: none; }
  .mn-toc__now { display: block; font-size: 1rem; white-space: normal; }
  .mn-toc__nav { position: static; max-height: none; overflow: visible; padding: 0; background: none; box-shadow: none; }
}

/* ---------- partes ---------- */
.mn-part { padding-top: clamp(3.5rem, 7vw, 6rem); }
.mn-body > .mn-part:first-child { padding-top: clamp(1rem, 2vw, 1.5rem); }
.mn-part__head { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.mn-part__head h2 { font-size: clamp(2rem, 1.25rem + 2.4vw, 3.125rem); line-height: 1.05; letter-spacing: -.03em; }
.mn-part__lede { margin: .9rem 0 0; max-width: 40rem; font-size: var(--t-lede); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }

/* ---------- los pasos: una ruta con su línea ---------- */
.mn-route { counter-reset: none; }
.mn-step { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: clamp(1rem, 2.5vw, 1.75rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.mn-step::before { content: ""; position: absolute; top: 3.25rem; bottom: .75rem; left: 1.375rem; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--hair); }
.mn-step:last-child { padding-bottom: 0; }
.mn-step:last-child::before { display: none; }
.mn-step.is-done::before { background: rgba(4, 120, 87, .35); }
.mn-step__head { display: contents; }
.mn-step__badge {
  grid-column: 1; grid-row: 1 / span 3; align-self: start; position: relative; z-index: 1;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--ink); color: #fff; font: 600 1rem/1 var(--font); font-variant-numeric: tabular-nums;
  transition: background-color .3s var(--ease);
}
.mn-step.is-done .mn-step__badge { background: var(--phosphor); }
.mn-step.is-done .mn-step__num { visibility: hidden; }
.mn-step__titles, .mn-step__body, .mn-step__foot { grid-column: 2; min-width: 0; }
.mn-step__titles h3 { padding-top: .35rem; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.12; letter-spacing: -.024em; }
.mn-step__lede { margin: .75rem 0 0; max-width: 40rem; font-size: 1.0625rem; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.mn-step__time { display: inline-flex; margin: .85rem 0 0; padding: .2rem .65rem; border-radius: var(--pill); background: var(--band); font-size: .8125rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.mn-step__body { margin-top: 1.75rem; }
.mn .mn-step__body > * + *, .mn .mn-topic__body > * + * { margin-top: 1.75rem; }
.mn-step__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.mn-step__check { display: flex; align-items: flex-start; gap: .6rem; margin: 0; max-width: 34rem; font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.mn-step__check strong { color: var(--text); }
.mn-step__flag { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; color: var(--phosphor); }
.mn-step__done[aria-pressed="true"] { background: var(--phosphor); }
.mn-step__done[aria-pressed="true"]:hover { background: #036146; }

@media (max-width: 39.99rem) {
  .mn-step { grid-template-columns: minmax(0, 1fr); }
  .mn-step::before { display: none; }
  .mn-step__badge { grid-row: auto; width: 2.25rem; height: 2.25rem; font-size: .9375rem; margin-bottom: .75rem; }
  .mn-step__titles, .mn-step__body, .mn-step__foot { grid-column: 1; }
  .mn-step__titles h3 { padding-top: 0; }
  .mn-step__done { width: 100%; }
}

/* «Desde cero» o «Ya sé lo básico»: los tiempos y lo de principiantes. */
.mn-t-fast { display: none; }
.mn[data-level="pro"] .mn-t-basic { display: none; }
.mn[data-level="pro"] .mn-t-fast { display: inline; }
.mn[data-level="pro"] .mn-beginner { display: none; }

/* ---------- bloques ---------- */
.mn-h { margin: 0 0 .85rem; font-size: 1.0625rem; }
.mn-p { margin: 0; max-width: 42rem; line-height: 1.6; color: var(--text-2); }
.mn-p strong, .mn-tip strong { color: var(--text); }
.mn-tip { margin: 0; max-width: 42rem; padding: .1rem 0 .1rem 1.1rem; border-left: 3px solid var(--emerald-dot); line-height: 1.6; color: var(--text-2); }
.mn-note { margin: .6rem 0 0; font-size: .875rem; line-height: 1.5; color: var(--text-3); }
.mn-note strong { color: var(--text-2); }
.mn kbd { display: inline-block; min-width: 1.5em; padding: .05em .4em; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 0 var(--line-2); font: 500 .85em/1.4 var(--font); text-align: center; color: var(--text); }
.mn-explain { max-width: 44rem; padding: 1.2rem 1.4rem; border-radius: var(--r-lg); background: var(--band); }
.mn-explain__tag { margin: 0 0 .35rem; font-size: .8125rem; font-weight: 500; color: var(--phosphor); }
.mn-explain h4 { font-size: 1rem; }
.mn-explain p:last-child { margin: .4rem 0 0; line-height: 1.6; color: var(--text-2); }

/* Marca lo que ya tienes */
.mn-needs__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mn-needs__list li { border-bottom: 1px solid var(--line); }
.mn-needs__item { position: relative; display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 0; cursor: pointer; }
.mn-needs__item input { position: absolute; top: 1rem; left: 0; width: 1.375rem; height: 1.375rem; margin: 0; opacity: 0; cursor: pointer; }
.mn-needs__box { position: relative; flex: none; width: 1.375rem; height: 1.375rem; margin-top: .1rem; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .2s var(--ease); }
.mn-needs__item input:checked + .mn-needs__box { background: var(--phosphor); box-shadow: none; }
.mn-needs__item input:focus-visible + .mn-needs__box { outline: 2px solid var(--phosphor); outline-offset: 2px; }
.mn-needs__item > span:last-child { line-height: 1.55; color: var(--text-2); }
.mn-needs__item strong { display: block; color: var(--text); }

/* Palabras y listas de dos columnas */
.mn-words__list { display: grid; margin: 0; border-top: 1px solid var(--line); }
.mn-words__list > div { display: grid; gap: .25rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.mn-words__list dt { font-weight: 600; }
.mn-words__list dd { margin: 0; line-height: 1.55; color: var(--text-2); }
@media (min-width: 40rem) { .mn-words__list > div { grid-template-columns: 11.5rem minmax(0, 1fr); gap: 1.5rem; } }

/* Pasos con número (secuencia real) */
.mn-do { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.mn-do > li, .mn-build__steps > li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: .9rem; }
.mn-do__n { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 600 .8125rem/1 var(--font); color: var(--text-2); font-variant-numeric: tabular-nums; }
.mn-do__body { min-width: 0; }
.mn-do__body h5 { margin-top: .2rem; font-size: 1rem; }
.mn-do__body p { margin: .3rem 0 0; line-height: 1.55; color: var(--text-2); }
.mn-do__body .snippet { margin-top: .75rem; }

/* Pestañas (sistema, permisos) */
.mn-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; }
.mn-tab { min-height: 2.75rem; padding: 0 1.1rem; border: 0; border-radius: var(--pill); background: var(--band); font: 500 .9375rem/1 var(--font); color: var(--text-2); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.mn-tab:hover { color: var(--text); background: var(--card-2); }
.mn-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.mn-tabs--modes .mn-tab b { font-family: var(--mono); font-weight: 600; }
.mn-tabs--modes .mn-tab[aria-selected="true"] { background: var(--m); }
.mn-os__print { display: none; margin: 0 0 .75rem; font-weight: 600; }
.no-js .mn-os__print { display: block; }
.no-js .mn-tabs { display: none; }
.mn-os__panel + .mn-os__panel { margin-top: 0; }
.no-js .mn-os__panel + .mn-os__panel { margin-top: 1.5rem; }

/* Copiar: los bloques del sitio, más amables aquí (el texto se parte y el botón mide 44 px) */
.mn .snippet { align-items: flex-start; padding-right: .3rem; }
.mn .snippet .code { margin: 0; padding: .8rem 1rem; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.55; }
.mn .snippet__copy { min-width: 2.75rem; min-height: 2.75rem; margin: .25rem 0; background: rgba(17, 21, 17, .05); }
.mn .snippet__copy:hover { background: rgba(17, 21, 17, .09); }
.mn .snippet__copy[data-done] { background: var(--phosphor); color: #fff; }
/* En pantallas angostas el botón se queda a la derecha, solo con su ícono (su nombre sigue ahí para
   quien usa lector de pantalla), y la frase usa todo el ancho que queda. */
@media (max-width: 47.99rem) {
  .mn .snippet { flex-wrap: nowrap; padding: 0 .3rem 0 0; }
  .mn .snippet .code { flex-basis: auto; padding-right: .5rem; }
  .mn .snippet__copy { margin: .25rem 0 .25rem auto; padding: 0; }
  .mn .snippet__copy [data-copy-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- recorridos sobre capturas reales ---------- */
.mn-tour { margin: 0; }
.mn-tour__shot { padding: clamp(.45rem, 1.4vw, .85rem); border-radius: var(--r-lg); background: var(--band); }
.mn-tour__pic { position: relative; overflow: hidden; border-radius: calc(var(--r-lg) - .45rem); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mn-tour__pic img { width: 100%; height: auto; }
.mn-mark { position: absolute; border-radius: 7px; box-shadow: 0 0 0 2px rgba(4, 120, 87, .55); pointer-events: none; transition: box-shadow .3s var(--ease); }
.mn-mark b {
  position: absolute; top: -.8rem; left: .3rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 2px var(--phosphor), 0 2px 6px rgba(17, 21, 17, .18);
  font: 700 .75rem/1 var(--font); color: var(--phosphor); transition: background-color .3s var(--ease), color .3s var(--ease);
}
.mn-mark[data-place="below"] b { top: calc(100% + .35rem); left: 50%; transform: translateX(-50%); }
.mn-mark[data-place="right"] b { top: 50%; left: calc(100% + .4rem); transform: translateY(-50%); }
.mn-mark[data-place="left"] b { top: 50%; left: auto; right: calc(100% + .4rem); transform: translateY(-50%); }
.mn-mark[data-place="inside"] b { top: .3rem; left: .3rem; }
.mn-tour.is-live .mn-mark { box-shadow: 0 0 0 1.5px rgba(4, 120, 87, .3); }
.mn-tour.is-live .mn-mark b { opacity: .55; }
.mn-tour.is-live .mn-mark.is-on { z-index: 2; box-shadow: 0 0 0 3px var(--emerald-dot), 0 0 0 100vmax rgba(17, 21, 17, .26); }
.mn-tour.is-live .mn-mark.is-on b { opacity: 1; background: var(--phosphor); color: #fff; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(17, 21, 17, .25); }
.mn-tour__cap { margin-top: 1rem; }
.mn-tour__steps { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.mn-tour__step, .mn-tour__btn { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: .75rem; align-items: start; padding: .55rem .65rem; border-radius: var(--r); line-height: 1.5; color: var(--text-2); }
.mn-tour__n { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--phosphor); font: 700 .8125rem/1 var(--font); color: var(--phosphor); transition: background-color .2s var(--ease), color .2s var(--ease); }
.mn-tour__step.is-nomark .mn-tour__n { box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--text-3); }
.mn-tour__t { padding-top: .1rem; }
.mn-tour__t strong { color: var(--text); }
.mn-tour.is-live .mn-tour__step { display: block; padding: 0; }
.mn-tour__btn { width: 100%; min-height: 2.75rem; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.mn-tour__btn:hover { background: var(--band); color: var(--text); }
.mn-tour__btn[aria-current="step"] { background: var(--band); color: var(--text); }
.mn-tour__btn[aria-current="step"] .mn-tour__n { background: var(--phosphor); color: #fff; box-shadow: none; }
.mn-tour__ctl { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .75rem; }
.mn-tour__pos { font-size: .8125rem; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---------- las IAs ---------- */
.mn-agents__list { display: grid; gap: 0 2rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .mn-agents__list { grid-template-columns: 1fr 1fr; } }
.mn-agent { display: grid; grid-template-columns: .75rem minmax(0, 1fr); gap: .85rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.mn-agent .mn-ai { width: .75rem; height: .75rem; margin-top: .4rem; }
.mn-agent__name { margin: 0; }
.mn-agent__name span { font-size: .875rem; color: var(--text-3); }
.mn-agent p:last-child { margin: .3rem 0 0; font-size: .9375rem; line-height: 1.55; color: var(--text-2); }

/* ---------- símbolos ---------- */
.mn-symbols__list { display: grid; gap: .75rem; margin: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.mn-symbols__list > div { padding: 1rem 1.1rem 1.1rem; border-radius: var(--r-lg); background: var(--band); }
.mn-symbols__list dt { display: flex; align-items: center; gap: .65rem; font-weight: 600; }
.mn-sym { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); font: 600 1.125rem/1 var(--mono); color: var(--phosphor); }
.mn-symbols__list dd { margin: .6rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--text-2); }

/* ---------- usos ---------- */
.mn-uses__list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mn-uses__list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.mn-uses__list h5 { font-size: 1rem; }
.mn-uses__list p { margin: .3rem 0 0; line-height: 1.55; color: var(--text-2); }
.mn-uses__list .snippet { margin-top: .7rem; }

/* ---------- Pruébalo ---------- */
.mn-try-box { padding: 1.2rem 1.35rem 1.35rem; border-radius: var(--r-lg); background: var(--mn-tint); box-shadow: inset 0 0 0 1px rgba(4, 120, 87, .14); }
.mn-try-box__h { display: flex; align-items: center; gap: .55rem; font-size: 1rem; color: var(--phosphor); }
.mn-try-box__icon { width: 1.3rem; height: 1.3rem; flex: none; }
.mn-try-box__lede { margin: .35rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.mn-try-box__list { display: grid; gap: .5rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.mn-try-box .snippet, .mn-try .snippet, .mn-fold .snippet, .mn-lab .snippet { background: #fff; box-shadow: 0 0 0 1px var(--line); }

/* ---------- selector de permisos ---------- */
.mn-perms { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-xl); background: var(--band); }
.mn-perms__lede { margin: 0 0 1.25rem; max-width: 40rem; line-height: 1.55; color: var(--text-2); }
.mn-perms__sim { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 46rem) { .mn-perms__sim { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); align-items: start; } }
.mn-chip { min-width: 0; margin: 0; padding: .45rem; border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 34px -20px rgba(17, 21, 17, .3); }
.mn-chip__to { float: left; width: 100%; margin: 0; padding: .45rem .6rem .4rem; font-size: .8125rem; color: var(--text-3); }
.mn-chip__opts { clear: both; display: grid; gap: .15rem; }
.mn-chip__opt { position: relative; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); align-items: center; min-height: 2.75rem; padding: .3rem .6rem; border-radius: var(--r); cursor: pointer; }
.mn-chip__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mn-chip__opt:hover { background: var(--band); }
.mn-chip__opt.is-on { background: color-mix(in srgb, var(--m) 10%, #fff); }
.mn-chip__opt:has(input:focus-visible) { outline: 2px solid var(--phosphor); outline-offset: -2px; }
.mn-chip__id { font: 600 .875rem/1 var(--mono); color: var(--m); }
.mn-chip__name { font-size: .9375rem; line-height: 1.25; }
.mn-chip__name small { margin-left: .3rem; font-size: .75rem; color: var(--text-3); }
.mn-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .7rem; border-radius: var(--pill); background: var(--m, var(--ink)); font: 600 .8125rem/1.2 var(--font); color: #fff; white-space: nowrap; }
.mn-badge--soft { background: var(--card-2); color: var(--text); }
.mn-perms__now { margin: .2rem 0 0; }
.mn-perms__text { margin: .75rem 0 0; font-size: 1.0625rem; line-height: 1.5; }
.mn-perms__ask { margin-top: 1rem; padding: 1rem 1.1rem 1.1rem; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.mn-perms__ask-h { margin: 0; font-weight: 600; line-height: 1.35; }
.mn-perms__ask-p { margin: .3rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.mn-perms__ask-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.mn-scroll { overflow-x: auto; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mn-scroll:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 2px; }
.mn-ptable { width: 100%; border-collapse: collapse; font-size: .875rem; }
.mn-ptable caption { padding: 1rem 1.1rem .5rem; font-size: 1rem; font-weight: 600; text-align: left; }
.mn-ptable th, .mn-ptable td { padding: .65rem .45rem; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; transition: background-color .25s var(--ease); }
.mn-ptable thead th, .mn-ptable thead td { border-top: 0; vertical-align: bottom; }
.mn-ptable tbody th { padding-left: 1.1rem; font-weight: 500; line-height: 1.35; text-align: left; color: var(--text); }
.mn-ptable__id { display: block; font: 600 .8125rem/1 var(--mono); color: var(--m); }
.mn-ptable__name { display: block; margin-top: .3rem; font-size: .75rem; font-weight: 500; line-height: 1.25; color: var(--text-2); }
.mn-c--yes { font-size: 1rem; font-weight: 700; color: var(--phosphor); }
.mn-c--no { color: var(--text-3); }
.mn-c--word { display: block; font-size: .75rem; line-height: 1.3; color: var(--text); }
.mn-ptable[data-on="0"] [data-col="0"], .mn-ptable[data-on="1"] [data-col="1"], .mn-ptable[data-on="2"] [data-col="2"],
.mn-ptable[data-on="3"] [data-col="3"], .mn-ptable[data-on="4"] [data-col="4"] { background: var(--mn-tint); }
.mn-perms__foot { margin: 1rem 0 0; max-width: 42rem; font-size: .9375rem; line-height: 1.55; color: var(--text-2); }
@media (max-width: 29.99rem) {
  .mn-ptable { font-size: .8125rem; }
  .mn-ptable__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mn-ptable tbody th { padding-left: .8rem; }
  .mn-ptable th, .mn-ptable td { padding-inline: .3rem; }
}

/* ---------- arma tu mensaje ---------- */
.mn-lab { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-xl); background: var(--band); }
.mn-lab__lede { margin: 0 0 1.25rem; max-width: 40rem; line-height: 1.55; color: var(--text-2); }
.mn-lab__grid { display: grid; gap: 1.25rem; }
@media (min-width: 75rem) { .mn-lab__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.mn-lab__group { min-width: 0; margin: 0 0 1.1rem; padding: 0; border: 0; }
.mn-lab__group legend { margin-bottom: .55rem; padding: 0; font-size: .9375rem; font-weight: 600; }
.mn-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.mn-pill, .mn-ask { position: relative; }
.mn-pill input, .mn-ask input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mn-pill span { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: 0 .95rem; border-radius: var(--pill); background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: .875rem; font-weight: 500; color: var(--text-2); transition: background-color .2s var(--ease), color .2s var(--ease); }
.mn-pill b { font-family: var(--mono); font-weight: 600; }
.mn-pill input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.mn-pill--mode input:checked + span { background: var(--m); }
.mn-pill input:focus-visible + span, .mn-ask input:focus-visible + span { outline: 2px solid var(--phosphor); outline-offset: 2px; }
.mn-pill input:disabled { cursor: not-allowed; }
.mn-pill input:disabled + span { opacity: .45; }
.mn-lab__asks { display: grid; gap: .4rem; }
.mn-ask span { display: block; min-height: 2.75rem; padding: .7rem .9rem; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: .9375rem; line-height: 1.45; color: var(--text-2); }
.mn-ask input:checked + span { box-shadow: 0 0 0 2px var(--ink); color: var(--text); }
.mn-lab__out { min-width: 0; padding: 1.1rem; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mn-lab__h { margin: 0 0 .6rem; font-size: .8125rem; font-weight: 600; color: var(--text-3); }
.mn-lab .mn-lab__out .snippet { background: var(--ink-well); box-shadow: none; }
.mn-lab__rows { display: grid; gap: .8rem; margin: 1rem 0 0; }
.mn-lab__rows dt { font-size: .8125rem; color: var(--text-3); }
.mn-lab__rows dd { margin: .15rem 0 0; font-size: .9375rem; line-height: 1.45; }

/* ---------- recetario ---------- */
.mn-recipes__lede { margin: 0 0 1rem; max-width: 40rem; line-height: 1.55; color: var(--text-2); }
.mn-recipes__when { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0 0 1rem; line-height: 1.5; color: var(--text-2); }
.mn-recipes__list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.mn-recipes__list p { margin: .45rem 0 0 .2rem; font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.mn-recipes__panel:focus-visible, .mn-os__panel:focus-visible, .mn-build__panel:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 4px; border-radius: var(--r); }
.no-js .mn-recipes__panel + .mn-recipes__panel { margin-top: 1.5rem; }

/* ---------- comparar ---------- */
.mn-compare { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .mn-compare { grid-template-columns: 1fr 1fr; } }
.mn-compare__col { padding: 1.1rem 1.25rem 1.2rem; border-radius: var(--r-lg); background: var(--band); }
.mn-compare__col h4 { margin-bottom: .55rem; font-size: 1rem; }
.mn-compare__col ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.mn-compare__col li { position: relative; padding-left: 1.4rem; font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.mn-compare__col li::before { content: "✓"; content: "✓" / ""; position: absolute; left: 0; font-weight: 700; color: var(--phosphor); }
.mn-compare__col--no li::before { content: "—"; content: "—" / ""; font-weight: 400; color: var(--text-3); }

/* ---------- preguntas y lo plegado ---------- */
.mn-faq { border-top: 1px solid var(--line-2); }
.mn-faq__item { border-bottom: 1px solid var(--line); }
.mn-faq__item > summary, .mn-fold > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.25rem; padding: .8rem 0; font-weight: 500; line-height: 1.4; list-style: none; cursor: pointer;
}
.mn-faq__item > summary::-webkit-details-marker, .mn-fold > summary::-webkit-details-marker, .mn-topic__sum::-webkit-details-marker { display: none; }
.mn-faq__item > summary::after, .mn-fold > summary::after, .mn-topic__time::after {
  content: ""; flex: none; width: .55rem; height: .55rem; margin: -.25rem .2rem 0 0;
  border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg); transition: transform .2s var(--ease);
}
.mn-faq__item[open] > summary::after, .mn-fold[open] > summary::after, .mn-topic[open] .mn-topic__time::after { transform: rotate(-135deg); margin-top: .3rem; }
.mn-faq__item > summary:hover, .mn-fold > summary:hover { color: var(--phosphor); }
.mn-faq__a { padding: 0 0 1.15rem; }
.mn-faq__a p { margin: 0; max-width: 42rem; line-height: 1.6; color: var(--text-2); }
.mn-faq__a .snippet { margin-top: .75rem; }
.mn-fold { border-radius: var(--r-lg); background: var(--band); }
.mn-fold > summary { gap: .65rem; justify-content: flex-start; min-height: 3rem; padding: .75rem 1.1rem; font-size: .9375rem; }
.mn-fold > summary::after { margin-left: auto; }
.mn-fold__icon { flex: none; width: 1.2rem; height: 1.2rem; color: var(--text-2); }
.mn-fold__list { display: grid; gap: .9rem; margin: 0; padding: 0 1.1rem 1.1rem; }
.mn-fold__list dt { margin-bottom: .35rem; font-size: .875rem; font-weight: 600; }
.mn-fold__list dd { margin: 0; }

/* ---------- Aprende haciendo ---------- */
.mn-practice { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .mn-practice { grid-template-columns: 1fr 1fr; } .mn-practice > .mn-try:first-child { grid-column: 1 / -1; } }
.mn-try { display: flex; flex-direction: column; gap: .75rem; padding: 1.35rem 1.4rem 1.45rem; border-radius: var(--r-xl); background: var(--band); transition: background-color .3s var(--ease); }
.mn-try.is-done { background: var(--mn-tint); }
.mn-try__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem 1rem; }
.mn-try h3 { padding-top: .45rem; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.016em; }
.mn-try__p { margin: 0; line-height: 1.55; color: var(--text-2); }
.mn-try .mn-note { margin: 0; }
.mn-check {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 .9rem 0 .65rem;
  border-radius: var(--pill); background: #fff; box-shadow: 0 0 0 1px var(--line);
  font-size: .8125rem; font-weight: 500; color: var(--text-2); white-space: nowrap; cursor: pointer;
}
.mn-check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mn-check__box { position: relative; width: 1.15rem; height: 1.15rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .2s var(--ease); }
.mn-check input:checked ~ .mn-check__box { background: var(--phosphor); box-shadow: none; }
.mn-check.is-on { color: var(--phosphor); box-shadow: 0 0 0 1px rgba(4, 120, 87, .35); }
.mn-check:has(input:focus-visible) { outline: 2px solid var(--phosphor); outline-offset: 2px; }

/* ---------- Cuando ya la uses ---------- */
.mn-group + .mn-group { margin-top: 2.75rem; }
.mn-group__h { margin: 0 0 .5rem; font-size: 1.125rem; letter-spacing: -.012em; }
.mn-topics { border-top: 1px solid var(--line-2); }
.mn-topic { border-bottom: 1px solid var(--line); }
.mn-topic__sum { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem 0; list-style: none; cursor: pointer; }
.mn-topic__icon { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: var(--r); background: var(--band); color: var(--text); transition: background-color .2s var(--ease), color .2s var(--ease); }
.mn-topic__sum:hover .mn-topic__icon { background: var(--card-2); }
.mn-topic[open] .mn-topic__icon { background: var(--ink); color: #fff; }
.mn-topic__txt { min-width: 0; }
.mn-topic__h { font-size: 1.0625rem; line-height: 1.3; }
.mn-topic__sum:hover .mn-topic__h { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .2em; }
.mn-topic__lede { display: block; margin-top: .2rem; font-size: .9375rem; line-height: 1.45; color: var(--text-2); }
.mn-topic__time { display: flex; align-items: center; gap: .7rem; font-size: .8125rem; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mn-topic__body { padding: .25rem 0 2.25rem 3.5rem; }
.mn-topic__rest { margin: 0; max-width: 42rem; line-height: 1.6; color: var(--text-2); }
@media (max-width: 39.99rem) {
  .mn-topic__sum { grid-template-columns: 2.25rem minmax(0, 1fr) auto; gap: .8rem; }
  .mn-topic__icon { width: 2.25rem; height: 2.25rem; padding: .5rem; }
  .mn-topic__body { padding-left: 0; }
  .mn-topic__time { font-size: 0; gap: 0; }
}

/* ---------- Ideas para construir ---------- */
.mn-build { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--band); }
.mn-build__box { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .mn-build__box { grid-template-columns: 19rem minmax(0, 1fr); gap: 3rem; align-items: start; } }
.mn-build__tabs { display: grid; gap: .3rem; }
.mn-build__tab { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .8rem; align-items: start; width: 100%; padding: .8rem .9rem; border: 0; border-radius: var(--r-lg); background: none; font: inherit; text-align: left; color: var(--text); cursor: pointer; }
.mn-build__tab:hover { background: rgba(255, 255, 255, .7); }
.mn-build__tab[aria-selected="true"] { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mn-build__icon { flex: none; width: 2.25rem; height: 2.25rem; padding: .5rem; border-radius: var(--r); background: #fff; color: var(--text); }
.mn-build__tab[aria-selected="true"] .mn-build__icon { background: var(--ink); color: #fff; }
.mn-build__tab strong { display: block; font-size: .9375rem; line-height: 1.3; }
.mn-build__tab small { display: block; margin-top: .2rem; font-size: .8125rem; line-height: 1.4; color: var(--text-2); }
.mn-build__kind { display: block; margin-top: .25rem; font-size: .75rem; font-style: normal; font-weight: 600; color: var(--phosphor); }
@media (max-width: 47.99rem) { .mn-build__tab small { display: none; } .mn-build__tabs { grid-template-columns: 1fr 1fr; } .mn-build__tab { padding: .7rem; gap: .6rem; } }
.mn-build__panel { min-width: 0; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.no-js .mn-build__panel + .mn-build__panel { margin-top: 1.5rem; }
.mn-build__name { display: flex; align-items: center; gap: .75rem; font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; }
.mn-build__name .mn-build__icon { background: var(--band); }
.mn-build__agentic { margin: .9rem 0 0; line-height: 1.55; color: var(--text-2); }
.mn-build__tested { margin: .6rem 0 0; font-size: .875rem; line-height: 1.5; color: var(--text-3); }
.mn-build__h { margin: 1.75rem 0 1rem; font-size: 1rem; }
.mn-build__steps { display: grid; gap: 1.35rem; margin: 0; padding: 0; list-style: none; counter-reset: mn-b; }
.mn-build__steps > li { counter-increment: mn-b; }
.mn-build__steps .mn-do__n::before { content: counter(mn-b); }
.mn-build__step { min-width: 0; }
.mn-build__chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .1rem 0 .55rem; }
.mn-chip-ai { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: var(--pill); background: var(--band); font: 500 .8125rem/1.2 var(--mono); color: var(--text); }
.mn-build__step > p { margin: .55rem 0 0; font-size: .9375rem; line-height: 1.55; color: var(--text-2); }
.mn-build__step .snippet { background: var(--ink-well); }
.mn-build .mn-step__check { margin-top: 1.5rem; }
.mn-build__shot { margin: 1.5rem 0 0; }
.mn-build__shot img { width: 100%; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); }
.mn-build__shot figcaption { margin-top: .6rem; font-size: .8125rem; line-height: 1.45; color: var(--text-3); }
.mn-build__demo { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 1.25rem 0 0; }
.mn-build__demo small { font-size: .8125rem; line-height: 1.45; color: var(--text-3); }
.mn-build__note { margin: 1.75rem 0 0; max-width: 46rem; font-size: .9375rem; line-height: 1.55; color: var(--text-2); }

/* ---------- la chuleta ---------- */
.mn-sheet { padding: clamp(4rem, 8vw, 7rem) 0; }
.mn-sheet__grid { display: grid; gap: 2.25rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
.mn-sheet__group h3 { margin: 0 0 .25rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); font-size: 1rem; }
.mn-sheet__group dl { margin: 0; }
.mn-sheet__group dl > div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: .75rem; align-items: baseline; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.mn-sheet__group dt code { padding: .15em .45em; border-radius: var(--r-sm); background: var(--card-2); font-size: .8125rem; overflow-wrap: anywhere; }
.mn-sheet__group dd { margin: 0; font-size: .875rem; line-height: 1.45; color: var(--text-2); }

/* ---------- cierre ---------- */
.mn-close { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 5.5rem); background: var(--band); }
.mn-close__in { text-align: center; }
.mn-close h2 { font-size: var(--t-h2); line-height: 1.06; letter-spacing: -.028em; }
.mn-close__lede { margin: 1rem auto 0; max-width: 32rem; font-size: var(--t-lede); line-height: 1.45; color: var(--text-2); }
.mn-close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.mn-close .h-btn--quiet { background: #fff; }
.mn-more { max-width: 52rem; margin: 3.5rem auto 0; text-align: left; }
.mn-more h3 { margin: 0 0 .5rem; font-size: 1rem; }
.mn-more ul { display: grid; gap: 0 2.5rem; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.mn-more li { display: grid; gap: .1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.mn-more a { display: inline-flex; align-items: center; min-height: 1.75rem; font-weight: 600; }
.mn-more span { font-size: .875rem; line-height: 1.45; color: var(--text-2); }
.mn-close__back { margin: 2rem 0 0; }
.mn-close__back a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text-2); }

/* ---------- sin movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  .mn *, .mn *::before, .mn *::after { transition: none !important; animation: none !important; }
}

/* ---------- impreso y en el PDF ---------- */
@media print {
  .mn-side, .mn-search, .mn-progress, .mn-hero__actions, .mn-step__done, .mn-tour__ctl, .mn-perms__sim,
  .mn-lab__controls, .mn-check, .mn-close__actions, .mn-results, .mn-tabs, .mn-build__tabs, .mn .snippet__copy { display: none !important; }
  .mn-print-brand { display: flex !important; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.5rem; font-size: .75rem; color: #4f574f; }
  .mn-print-brand__logo { height: 1.4rem; width: auto; }
  .mn-hero { padding: 0 0 1.5rem; }
  .mn-hero__in, .mn-main__in { display: block; }
  .mn-body { max-width: none; }
  .mn [hidden].mn-os__panel, .mn [hidden].mn-recipes__panel, .mn [hidden].mn-build__panel { display: block !important; }
  .mn-os__print { display: block; }
  .mn-os__panel + .mn-os__panel, .mn-recipes__panel + .mn-recipes__panel, .mn-build__panel + .mn-build__panel { margin-top: 1.25rem; }
  .mn-build, .mn-close, .mn-sheet { padding: 2rem 0; background: none; }
  .mn-build__panel { box-shadow: none; padding: 0; }
  .mn-tour, .mn-try, .mn-step__foot, .mn-sheet__group, .mn-faq__item { break-inside: avoid; }
  .mn-tour.is-live .mn-mark { box-shadow: 0 0 0 2px #047857; }
  .mn-tour.is-live .mn-mark b { opacity: 1; }
  .mn-tour.is-live .mn-mark.is-on { box-shadow: 0 0 0 2px #047857; }
  .mn-topic__body { padding-left: 0; }
  .mn .snippet .code { white-space: pre-wrap; }
}
