/* Mika — portada: lo que pintan las pestañas (js/portada-pestanas.js) y el diálogo «Guíame». Tramo 5c-4 (2026-11-04). Estilos de la maqueta
   (product.css: product-style-preview, product-ready-list, product-guide) con los tokens de la portada. */
.portada-product-style-preview { padding: 22px 22px 0; height: 260px }
.portada-product-style-preview .portada-thumb-preview { border: 1px solid var(--line); border-radius: 8px }
.portada-product-style-preview h4 { font-size: 28px }
.portada-product-style-preview .portada-tp-text { padding: 27px 20px }
.portada-product-stage-style-controls { padding: 0 22px }
.portada-product-stage-style-controls > div { display: inline-flex; gap: 4px; padding: 3px; margin: 20px 0 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--card) }
.portada-product-stage-style-controls button { border: 0; background: transparent; color: var(--muted); border-radius: 6px; padding: 8px 14px; min-height: 36px; font-size: .74rem }
.portada-product-stage-style-controls button.portada-selected { background: var(--soft); color: var(--primary); font-weight: 650 }
.portada-stage-note { padding: 0 25px 20px }
.portada-product-ready-list { display: flex; flex-wrap: wrap; gap: 12px; padding: 23px 24px; font-size: .68rem; color: var(--muted) }
.portada-product-ready-list > span { display: flex; gap: 5px; align-items: center }
.portada-product-ready-list .portada-icon { width: 13px; height: 13px; color: var(--green) }
.portada-stage-start { margin: 0 25px 25px; min-height: 44px; font-size: .78rem }
.portada-product-chapter { transition: box-shadow .3s }
.portada-product-chapter.portada-actual { box-shadow: inset 3px 0 0 var(--primary); padding-left: 24px }

/* Guíame: diálogo nativo con cuatro pasos */
.portada-guia { width: min(440px, calc(100% - 2rem)); margin: auto; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(32, 29, 52, .25) }
.portada-guia::backdrop { background: rgba(32, 29, 52, .45); backdrop-filter: blur(4px) }
.portada-guia-progreso { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 20px }
.portada-guia-progreso i { height: 4px; border-radius: 3px; background: var(--line) }
.portada-guia-progreso i.portada-hecho { background: var(--primary) }
.portada-guia small { color: var(--muted); letter-spacing: .1em; font-size: .62rem }
.portada-guia h2 { font-size: 1.6rem; line-height: 1.15; margin: 8px 0 10px }
.portada-guia p { color: var(--muted); font-size: .9rem; line-height: 1.7 }
.portada-guia-acciones { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap }
.portada-guia-acciones button { min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 650 }
.portada-guia-acciones .portada-sigue { background: var(--primary); border-color: var(--primary); color: #fff }
html.acc-oscuro .portada-guia-acciones .portada-sigue { color: #13111f }

/* Celular (2026-11-08): títulos con el tracking aflojado (a -.065em las palabras se pegaban), textarea con el mismo relleno que el
   campo de arriba y barras de rango con zona táctil de 24 px (WCAG 2.5.8). Va tras portada2/3, que fijan los valores de escritorio. */
@media (max-width: 650px) {
  .portada-exp-hero h1 { letter-spacing: -.035em; word-spacing: .06em; overflow-wrap: break-word; }
  .portada-experience h2, .portada-experience h3, .portada-bento-card h3, .portada-final-universe h2 { letter-spacing: -.02em; overflow-wrap: break-word; }
  .portada-experience .portada-idea-composer textarea { padding: 14px 11px; }
  .portada-hero-lede { font-size: 1rem; }
  .portada-composer-heading, .portada-product-brief-name label { font-size: 1rem; }
  .portada-idea-chips button { font-size: .85rem; }
  .portada-hero-footnote { font-size: .8rem; }
  .portada-cosmic-ranges input, .portada-compare-slider-label input { height: 24px; min-height: 24px; }
}
