/* Kit Imso: interfaz visual del área de miembros (se carga después de styles.css) */

body { background: #fbf7f8; }
body.no-scroll { overflow: hidden; }

/* ---------- Estructura ---------- */
.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; padding: 28px 16px 20px; background: var(--card);
  border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px;
}
.side .wordmark { padding: 0 10px; }
.side-label { padding: 0 10px; margin: 2px 0 22px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .15s;
}
.side-nav a:hover { background: var(--soft); }
.nav-icon {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--c) 12%, white); color: var(--c);
}
.nav-icon svg { width: 19px; height: 19px; }
.side-nav a.active { background: color-mix(in srgb, var(--c) 10%, white); color: var(--ink); }
.side-nav a.active .nav-icon { background: var(--c); color: #fff; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.side-link { display: block; background: none; border: 0; text-align: left; padding: 9px 10px; border-radius: 10px; font: 500 14px var(--body); color: var(--muted); text-decoration: none; cursor: pointer; }
.side-link:hover { background: var(--soft); color: var(--ink); }

.topbar, .tabbar { display: none; }
.main { padding: 36px 44px 72px; max-width: 1200px; width: 100%; min-width: 0; outline: none; }

/* ---------- Encabezados ---------- */
.welcome { margin-bottom: 28px; }
.welcome h1 { font-size: 40px; margin-top: 6px; }
.eyebrow { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--pink); }

.page-head { display: flex; flex-direction: row; align-items: center; gap: 16px; margin-bottom: 22px; }
.page-head h1 { font-size: 36px; }
.page-head p { color: var(--muted); margin-top: 4px; max-width: 62ch; }
.page-icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--c); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 35%, transparent);
}
.page-icon svg { width: 28px; height: 28px; }

.block { margin-bottom: 36px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.block-head h2 { font-size: 24px; }
.badge-new { display: inline-block; font: 600 11px var(--body); text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--grad); padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.see-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--pink); text-decoration: none; white-space: nowrap; }
.see-all svg { width: 16px; height: 16px; }

/* ---------- Botones ---------- */
.btn-primary { background: var(--btn, var(--pink)); }
.btn-primary:hover { background: color-mix(in srgb, var(--btn, var(--pink)) 85%, black); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-white { background: #fff; color: var(--pink-dark); }
.btn-white:hover { background: var(--rose-soft); }
.btn-glass { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-glass:hover { background: rgba(255, 255, 255, .28); }
.btn svg { width: 17px; height: 17px; }
span.btn[aria-disabled="true"] { opacity: .5; }

/* ---------- Chips y buscador ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; font-weight: 600; }
.chip svg { width: 16px; height: 16px; }
.chip-fav[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); }
.chip-fav[aria-pressed="true"] svg { fill: #fff; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.searchbar { position: relative; max-width: 560px; margin-bottom: 14px; }
.searchbar svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted-2); pointer-events: none; }
.searchbar input[type="search"] { width: 100%; padding: 14px 18px 14px 46px; border-radius: 999px; font-size: 16px; background: var(--card); border: 1px solid var(--line); }
.searchbar input:focus { border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 14%, transparent); }
.searchbar.big input[type="search"] { padding: 18px 22px 18px 52px; font-size: 18px; box-shadow: 0 6px 24px rgba(28, 20, 22, .06); }
.searchbar.big svg { left: 20px; width: 22px; height: 22px; }
.smart-note { margin: -4px 0 14px 6px; }

/* ---------- Portadas de tendencias ---------- */
.cover {
  position: relative; aspect-ratio: 9 / 14; border-radius: 20px; overflow: hidden; color: #fff;
  box-shadow: 0 10px 24px rgba(28, 20, 22, .14); isolation: isolate;
}
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cover-num { position: absolute; top: 4px; right: 12px; font: 700 96px/1 var(--display); color: rgba(255, 255, 255, .22); letter-spacing: -.04em; z-index: -1; }
.cover-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(28, 20, 22, .72) 100%); }
.cover:not(.has-img) .cover-shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(28, 20, 22, .35) 100%); }
.cover-meta { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.cover-title { position: absolute; left: 14px; right: 14px; bottom: 14px; font: 700 22px/1.08 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.cover-lg .cover-title { font-size: 34px; left: 22px; right: 22px; bottom: 22px; }
.cover-lg .cover-num { font-size: 160px; }
.pill-glass {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px;
  background: rgba(28, 20, 22, .38); color: #fff; font: 600 12px var(--body);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pill-glass svg { width: 13px; height: 13px; }

.trend-card { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 10px; border-radius: 20px; }
.trend-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.trend-card .cover { transition: transform .2s ease, box-shadow .2s ease; }
.trend-card:hover .cover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(28, 20, 22, .2); }
.trend-for { font-size: 13px; color: var(--muted); padding: 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 16px; overflow-x: auto; padding: 4px 4px 16px; margin: 0 -4px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.trend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px 18px; }

/* ---------- Mosaicos de inicio ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile {
  display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 22px; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--c) 9%, white); border: 1px solid color-mix(in srgb, var(--c) 16%, white);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 18%, transparent); }
.tile-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.tile-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--c); color: #fff; flex-shrink: 0; }
.tile-icon svg { width: 24px; height: 24px; }
.tile-icon.plain { background: var(--soft); color: var(--ink-2); }
.tile-count { font: 700 28px/1 var(--display); color: var(--c); }
.tile-label { font: 700 19px var(--display); }
.tile-desc { font-size: 14px; color: var(--muted); }

.hook-day { background: var(--grad); color: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.hook-day .eyebrow { color: rgba(255, 255, 255, .85); }
.hook-day p { font: 700 30px/1.15 var(--display); max-width: 26ch; text-wrap: balance; }
.hook-day .ph { background: rgba(255, 255, 255, .22); color: #fff; }
.hook-day-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Hooks ---------- */
.hook-grid { columns: 3 260px; column-gap: 16px; }
.hook-card {
  break-inside: avoid; margin-bottom: 16px; display: flex; flex-direction: column; gap: 14px;
  padding: 20px; border-radius: 20px; background: var(--tint); color: var(--ink);
}
.hook-cat { align-self: flex-start; font: 600 12px var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-tint); }
.hook-text { font: 700 21px/1.22 var(--display); letter-spacing: -.01em; text-wrap: pretty; }
.hook-card .ph { background: rgba(255, 255, 255, .7); color: var(--ink-tint); }
.hook-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hook-actions .icon-btn { background: rgba(255, 255, 255, .6); }
.hook-actions .icon-btn:hover { background: #fff; }

/* ---------- Tarjetas con imagen (prompts, plantillas, guías, códigos) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.prompt-card, .tpl-card, .guide-card, .code-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(28, 20, 22, .04); transition: box-shadow .2s, transform .2s;
}
.prompt-card:hover, .tpl-card:hover, .guide-card:hover, .code-card:hover { box-shadow: 0 14px 30px rgba(28, 20, 22, .1); transform: translateY(-2px); }

.prompt-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.prompt-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prompt-media.tall { aspect-ratio: 4 / 5; }
.prompt-media .pill-glass { position: absolute; top: 12px; left: 12px; }
.prompt-media.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--tint); color: var(--ink-tint); aspect-ratio: 16 / 7; }
.prompt-media.placeholder svg { width: 38px; height: 38px; }
.prompt-media.placeholder span { font: 700 18px var(--display); }
.prompt-body, .tpl-body, .guide-body, .code-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prompt-body h3, .tpl-body h3, .guide-body h3, .code-body h3 { font-size: 19px; }
.prompt-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: var(--tint, var(--soft)); color: var(--ink-tint, var(--muted)); font: 600 12px var(--body); }
.tag-line { background: none; border: 1px solid var(--line); color: var(--muted); }
.prompt-text { font-size: 14px; color: var(--ink-2); background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.prompt-text p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.prompt-text.open p { display: block; }
.prompt-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }

.tpl-stage { position: relative; height: 220px; display: grid; place-items: center; background: linear-gradient(150deg, color-mix(in srgb, var(--a) 14%, white), color-mix(in srgb, var(--b) 18%, white)); overflow: hidden; }
.tpl-stage img { width: 100%; height: 100%; object-fit: cover; }
/* Todas las páginas de la colección en una fila que se desliza */
.tpl-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px; background: color-mix(in srgb, var(--a) 35%, white); scrollbar-width: thin; }
.tpl-strip img { flex: 0 0 auto; width: 46%; max-width: 200px; aspect-ratio: var(--ar, 3 / 4); object-fit: cover; border-radius: 10px; scroll-snap-align: start; box-shadow: 0 6px 16px rgba(28, 20, 22, .14); }
.tpl-mock { position: relative; z-index: 1; height: 78%; border-radius: 12px; background: linear-gradient(160deg, var(--a), var(--b)); box-shadow: 0 12px 26px rgba(28, 20, 22, .22); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 14px; transform: rotate(-3deg); }
.tpl-mock.back { position: absolute; z-index: 0; opacity: .45; transform: rotate(6deg) translateX(30px); }
.tpl-mock span { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .85); }
.tpl-mock span:nth-child(1) { width: 80%; height: 11px; }
.tpl-mock span:nth-child(2) { width: 60%; }
.tpl-mock span:nth-child(3) { width: 40%; }
.tpl-body .btn { margin-top: auto; align-self: flex-start; }

/* Paso a paso de Canva secrets: tres tarjetas con un ejemplo visual de cada acción */
.howto { margin: 0 0 28px; padding: 22px; border-radius: 24px; background: color-mix(in srgb, var(--c) 8%, white); border: 1px solid color-mix(in srgb, var(--c) 18%, white); }
.howto h2 { font: 700 20px var(--display); margin: 0 0 16px; color: var(--ink); }
.howto-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.howto-step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 18px; background: var(--card); box-shadow: 0 2px 10px rgba(28, 20, 22, .05); }
.howto-step:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 58px; z-index: 1; width: 12px; height: 12px;
  border-top: 2.5px solid var(--c); border-right: 2.5px solid var(--c); transform: rotate(45deg);
}
.howto-num { position: absolute; top: -10px; left: -6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font: 700 17px var(--display); box-shadow: 0 4px 10px color-mix(in srgb, var(--c) 35%, transparent); }
.howto-step h3 { font-size: 17px; margin-top: 6px; }
.howto-step p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.howto-step p strong { color: var(--ink-2); }
.howto-demo { height: 104px; border-radius: 14px; background: var(--soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; overflow: hidden; }
.demo-chip { display: flex; align-items: center; gap: 8px; padding: 8px 10px; max-width: 100%; border-radius: 10px; background: #fff; border: 1px dashed color-mix(in srgb, var(--c) 45%, white); color: #0a6b7c; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 14%, transparent); }
.demo-chip code { font: 500 13px var(--mono); white-space: nowrap; }
.demo-chip svg { width: 16px; height: 16px; }
.demo-done { font: 600 12px var(--body); color: #fff; background: var(--c); padding: 3px 10px; border-radius: 999px; }
.demo-tab { align-self: flex-start; font: 600 12px var(--body); color: var(--ink); padding: 4px 10px; border-radius: 8px; background: #fff; border: 1.5px solid var(--c); }
.demo-search { width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font: 500 14px var(--body); color: var(--ink); }
.demo-search svg { width: 16px; height: 16px; color: var(--muted-2); flex-shrink: 0; }
.demo-search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-caret { width: 1.5px; height: 16px; margin-left: -6px; background: var(--c); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo-pick { position: relative; padding: 0; display: block; background: #fff; }
.demo-pick img { width: 240px; max-width: none; height: auto; display: block; }
.howto-demo:has(.demo-font) { padding: 0; overflow: hidden; background: #f0ebe1; }
.demo-font { width: 100%; height: 100%; object-fit: contain; display: block; }
.demo-ring { position: absolute; left: 3px; top: 3px; width: 76px; height: 74px; border-radius: 10px; border: 2.5px solid var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.demo-tiles { display: flex; gap: 8px; }
.demo-tiles i { width: 46px; height: 46px; border-radius: 10px; background: #fff; }
.demo-tiles i.on { outline: 2.5px solid var(--c); }
.howto-tip { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }
.howto-tip svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--c); margin-top: 1px; }
@media (prefers-reduced-motion: reduce) { .demo-caret { animation: none; } }
.code-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.code-media { aspect-ratio: 16 / 10; display: grid; place-items: center; color: #fff; padding: 16px; text-align: center; }
.code-media img { width: 100%; height: 100%; object-fit: cover; }
.code-media span { font: 700 24px/1.1 var(--display); text-wrap: balance; }
.code-media:has(img) { padding: 0; background: var(--soft); }
.code-body .tag { align-self: flex-start; }
.code-chip {
  all: unset; box-sizing: border-box; cursor: pointer; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: var(--soft); border: 1px dashed color-mix(in srgb, #0e8fa5 45%, white); color: #0a6b7c;
}
.code-chip:hover { background: #e2f4f7; }
.code-chip code { font: 500 14px var(--mono); word-break: break-all; }
.code-chip svg { width: 17px; height: 17px; flex-shrink: 0; }
.seg { display: flex; gap: 10px; margin-bottom: 22px; }
.seg a { flex: 1; min-width: 0; max-width: 260px; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; border: 2px solid color-mix(in srgb, var(--c) 30%, white); background: #fff; color: var(--ink); font: 800 18px var(--display); text-decoration: none; transition: background .15s; }
.seg a:hover { background: color-mix(in srgb, var(--c) 8%, white); }
.seg a span { margin-left: auto; font: 600 13px var(--mono); padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); }
.seg a[aria-current="page"] { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 30%, transparent); }
.seg a[aria-current="page"] span { background: rgba(255, 255, 255, .25); color: #fff; }
.sub-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); font: 800 13px var(--display); flex-shrink: 0; }
.seg a[aria-current="page"] .sub-icon { background: rgba(255, 255, 255, .22); color: #fff; }
#nav a.nav-sub { display: none; } .side-nav a.nav-sub { margin-left: 22px; padding: 7px 10px; font-size: 14px; border-left: 2px solid color-mix(in srgb, var(--c) 25%, white); border-radius: 0 10px 10px 0; }
.side-nav a.nav-sub .sub-icon { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.side-nav a.nav-sub.active { background: color-mix(in srgb, var(--c) 12%, white); border-left-color: var(--c); }
.side-nav a.nav-sub.active .sub-icon { background: var(--c); color: #fff; }
#nav[data-open="canva"] a.nav-sub[data-view="canva"], #nav[data-open="prompts"] a.nav-sub[data-view="prompts"] { display: flex; }
.nav-caret { margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .5; transition: transform .2s; }
.side-nav[data-open="canva"] a[data-view="canva"]:not(.nav-sub) .nav-caret, .side-nav[data-open="prompts"] a[data-view="prompts"]:not(.nav-sub) .nav-caret, .more-parent[aria-expanded="true"] .nav-caret { transform: rotate(45deg); }
.more-list .more-parent .nav-caret { margin-right: 6px; }
.more-subs { display: flex; flex-direction: column; gap: 2px; }
.more-subs[hidden] { display: none; }
.more-list a.more-sub { margin-left: 28px; font-size: 15px; }
.more-list a.more-sub .sub-icon { width: 26px; height: 26px; }
@media (max-width: 600px) {
  .seg { gap: 8px; }
  .seg a { padding: 10px 12px; gap: 8px; font-size: 16px; border-radius: 14px; }
  .seg a span { padding: 2px 7px; font-size: 12px; }
  .seg .sub-icon { width: 26px; height: 26px; font-size: 12px; }
}
/* En el celular cada pestaña apila ícono y nombre, y el número se oculta para que entren las tres */
@media (max-width: 440px) {
  .seg a { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 6px; font-size: 14px; line-height: 1.15; text-align: center; }
  .seg a span { display: none; }
}

.guide-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; background: var(--card); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.guide-card:hover { box-shadow: 0 14px 30px rgba(28, 20, 22, .1); transform: translateY(-2px); }
.guide-card:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.guide-media { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; color: rgba(255, 255, 255, .9); }
.guide-media > svg { width: 56px; height: 56px; }
.guide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide-media .pill-glass { position: absolute; bottom: 12px; left: 12px; }
.guide-body p { color: var(--muted); font-size: 14px; }
.guide-body .tag { align-self: flex-start; }
.guide-body .see-all { margin-top: auto; }

.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: 20px; }

/* ---------- Ficha (modal) ---------- */
.sheet { position: fixed; inset: 0; z-index: 30; background: rgba(28, 20, 22, .5); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade .18s ease; }
.sheet-panel { position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 48px); overflow-y: auto; background: var(--card); border-radius: 28px; box-shadow: 0 30px 80px rgba(28, 20, 22, .35); animation: rise .22s ease; }
.sheet-wide .sheet-panel { max-width: 940px; }
.sheet-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: 0 2px 10px rgba(28, 20, 22, .15); }
.sheet-close svg { width: 20px; height: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }

.detail { display: grid; grid-template-columns: 340px 1fr; gap: 28px; padding: 24px; }
.detail.single { grid-template-columns: 1fr; padding: 32px; }
.detail-cover { position: sticky; top: 0; align-self: start; }
.detail-body { display: flex; flex-direction: column; gap: 14px; padding-right: 30px; }
.detail.single .detail-body { padding-right: 40px; }
.detail-body h2 { font-size: 34px; }
.detail-body h3 { font-size: 17px; margin-top: 6px; }
.lead { font-size: 17px; color: var(--ink-2); }
.facts { display: flex; gap: 10px; flex-wrap: wrap; }
.fact { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff0e6; color: #a84a16; font-weight: 600; font-size: 15px; }
.fact small { display: block; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.fact svg { width: 20px; height: 20px; }
.fact.wide { background: var(--soft); color: var(--ink-2); }
.steps-visual { list-style: none; counter-reset: s; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.steps-visual li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--soft); font-size: 15px; color: var(--ink-2); }
.steps-visual li::before { content: counter(s); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 14px var(--display); }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }

.more { padding: 28px 22px 22px; }
.more-hello { font: 700 22px var(--display); margin-bottom: 16px; padding-right: 48px; }
.more-hello small { display: block; font: 400 14px var(--body); color: var(--muted); }
.more-list { display: flex; flex-direction: column; gap: 6px; }
.more-list a, .more-list button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; font: 600 16px var(--body); color: var(--ink); }
.more-list a:hover, .more-list button:hover { background: var(--soft); }
.more-list .tile-icon { width: 42px; height: 42px; border-radius: 13px; }
.more-list .tile-icon svg { width: 21px; height: 21px; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .shell { grid-template-columns: 220px minmax(0, 1fr); }
  .main { padding: 28px 28px 64px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail { grid-template-columns: 260px 1fr; }
}

/* ---------- Celular: barra arriba y pestañas abajo, como una app ---------- */
@media (max-width: 720px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10;
    padding: 12px 16px; background: rgba(251, 247, 248, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .topbar .wordmark { font-size: 20px; }
  .avatar { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font: 700 16px var(--display); cursor: pointer; }
  .main { padding: 20px 16px calc(96px + env(safe-area-inset-bottom)); }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button {
    all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 2px; border-radius: 14px; font: 600 11px var(--body); color: var(--muted);
  }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar .active { color: var(--c, var(--pink)); }
  .tabbar .active svg { stroke-width: 2.2; }

  .welcome h1 { font-size: 30px; }
  .page-head { gap: 12px; }
  .page-head h1 { font-size: 28px; }
  .page-head p { font-size: 15px; }
  .page-icon { width: 46px; height: 46px; border-radius: 15px; }
  .page-icon svg { width: 23px; height: 23px; }

  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex-shrink: 0; }

  .rail { grid-auto-columns: 46%; margin: 0 -16px; padding: 4px 16px 16px; scroll-padding: 16px; }
  .trend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .cover { border-radius: 16px; }
  .cover-title { font-size: 18px; left: 12px; right: 12px; bottom: 12px; }
  .cover-num { font-size: 72px; }
  .pill-glass { font-size: 11px; padding: 4px 8px; }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 14px; }
  .tile-top { margin-bottom: 6px; }
  .tile-icon { width: 40px; height: 40px; border-radius: 13px; }
  .tile-icon svg { width: 21px; height: 21px; }
  .tile-count { font-size: 22px; }
  .tile-label { font-size: 16px; }
  .tile-desc { font-size: 12px; }
  .hook-day { padding: 22px; }
  .hook-day p { font-size: 24px; }

  .hook-grid { columns: 1; }
  .hook-text { font-size: 19px; }
  .searchbar.big input[type="search"] { font-size: 16px; padding: 16px 18px 16px 48px; }
  .card-grid, .code-grid { grid-template-columns: 1fr; }
  .howto { padding: 18px 16px; }
  .howto-list { grid-template-columns: 1fr; gap: 18px; }
  .howto-step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -15px; transform: translateX(-50%) rotate(135deg); }

  .sheet { padding: 0; align-items: flex-end; }
  .sheet-panel, .sheet-wide .sheet-panel { max-width: none; max-height: 92vh; border-radius: 26px 26px 0 0; animation: slide .25s ease; }
  .detail { grid-template-columns: 1fr; gap: 18px; padding: 16px 16px 28px; }
  .detail.single { padding: 26px 18px 28px; }
  .detail-cover { position: static; }
  .detail-cover .cover { aspect-ratio: 4 / 3.4; }
  .cover-lg .cover-title { font-size: 28px; }
  .detail-body, .detail.single .detail-body { padding-right: 0; }
  .detail-body h2 { font-size: 28px; padding-right: 44px; }
  .detail-actions .btn { flex: 1; }
  @keyframes slide { from { transform: translateY(40px); opacity: 0; } }
}

/* ---------- Reels de Instagram en las tendencias ---------- */
.trend-card { display: flex; flex-direction: column; gap: 10px; }
.trend-open { all: unset; cursor: pointer; display: block; border-radius: 20px; }
.trend-open:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.trend-open .cover { transition: transform .2s ease, box-shadow .2s ease; }
.trend-open:hover .cover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(28, 20, 22, .2); }
.cover-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .28); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.cover-play svg { width: 26px; height: 26px; margin-left: 3px; }
.ig-link { display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px; font: 600 13px var(--body); color: #c13584; text-decoration: none; }
.ig-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ig-link svg { width: 16px; height: 16px; }
.ig-embed { position: relative; width: 100%; height: 600px; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ig-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.btn-ig { width: 100%; margin-top: 12px; color: #fff; background: linear-gradient(110deg, #833ab4, #e1306c 55%, #f77737); }
.btn-ig:hover { filter: brightness(.95); }
.ig-note { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 720px) {
  .ig-embed { height: 560px; }
  .cover-play { width: 46px; height: 46px; }
  .cover-play svg { width: 22px; height: 22px; }
}
.cover.has-img .cover-num { display: none; }
.fact.audio { background: #f6e8f8; color: #8a2190; }
@media (max-width: 720px) {
  .shell { grid-template-rows: auto 1fr; align-content: start; }
}

/* Herramientas: planillas y documentos para copiar al Drive */
.tool-card { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.tool-head { display: flex; align-items: center; justify-content: space-between; }
.tool-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); }
.tool-icon svg { width: 24px; height: 24px; }
.tool-card h3 { margin: 4px 0 0; }
.tool-card > p { color: var(--muted); font-size: 14px; margin: 0; }
.tool-list { margin: 0; padding-left: 18px; color: var(--ink, inherit); font-size: 14px; display: grid; gap: 4px; }
.tool-card .btn { margin-top: auto; align-self: flex-start; }
.tool-card .soon { margin-top: auto; color: var(--muted); font-size: 14px; }

/* ---------- Página de guía: mismo diseño que la guía «Crea videos animados con Claude» ---------- */
.gp {
  --g-bg: #F1EEE8; --g-surface: #FAF8F4; --g-ink: #26211D; --g-mute: #6E655D; --g-faint: #91877E;
  --g-line: #DDD6CC; --g-blush: #E9D3CB; --g-accent: #7A5C4E; --g-code: #E9E4DB;
  --g-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --g-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --g-mono: "DM Mono", ui-monospace, Menlo, monospace;
  background: var(--g-bg); color: var(--g-ink); font: 400 17px/1.65 var(--g-body);
  border-radius: 28px; padding: 0 clamp(20px, 4vw, 56px); margin: -8px 0 0;
}
.gp a { color: var(--g-accent); text-underline-offset: 3px; }
.gp-label { font: 500 12px/1.4 var(--g-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--g-faint); }
.gp-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; }
.gp-top a { color: var(--g-ink); text-decoration: none; font-weight: 500; }
.gp-top a:hover { color: var(--g-accent); }
.gp-hero { padding-block: 40px 60px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.gp-hero.solo { grid-template-columns: 1fr; }
.gp-hero > * { min-width: 0; }
.gp h1 { margin: 16px 0 0; font-family: var(--g-display); font-weight: 600; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.03; letter-spacing: -.03em; text-wrap: balance; color: var(--g-ink); }
.gp-hl { background: linear-gradient(transparent 58%, var(--g-blush) 58%); padding-inline: .08em; }
.gp-lede { margin: 22px 0 0; max-width: 38ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--g-mute); }
.gp-chips { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.gp-chips span { border: 1px solid var(--g-line); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--g-mute); background: var(--g-surface); }
.gp-frame { margin: 0; justify-self: end; width: 100%; max-width: 300px; }
.gp-screen { border-radius: 28px; overflow: hidden; background: var(--g-ink); padding: 8px; cursor: pointer; }
.gp-screen video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 21px; }
.gp-frame.photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.gp section { padding-block: 56px; border-top: 1px solid var(--g-line); }
.gp h2 { margin: 10px 0 0; font-family: var(--g-display); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; color: var(--g-ink); }
.gp h3 { font-family: var(--g-display); font-weight: 600; letter-spacing: -.01em; color: var(--g-ink); }
.gp-intro { margin: 16px 0 0; max-width: 60ch; color: var(--g-mute); }
.gp-modes { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gp-mode { background: var(--g-surface); border-radius: 20px; padding: 26px; }
.gp-tag { display: inline-block; background: var(--g-blush); border-radius: 999px; padding: 4px 12px; font: 500 12px/1.4 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; }
.gp-mode h3 { margin: 16px 0 8px; font-size: 22px; line-height: 1.2; }
.gp-mode p { margin: 0; color: var(--g-mute); }
.gp-needs { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.gp-need { padding-block: 20px; border-top: 1px solid var(--g-line); }
.gp-need strong { display: block; margin-top: 6px; font: 600 20px/1.25 var(--g-display); }
.gp-need p { margin: 6px 0 0; color: var(--g-mute); font-size: 16px; }
.gp-words { margin-top: 34px; background: var(--g-surface); border-radius: 20px; padding: 26px; }
.gp-words dl { margin: 14px 0 0; display: grid; gap: 14px; }
.gp-words dt { font-weight: 700; }
.gp-words dd { margin: 2px 0 0; color: var(--g-mute); max-width: 62ch; }
.gp-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; }
.gp-step { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-block: 32px; border-top: 1px solid var(--g-line); }
.gp-step:first-child { border-top: 0; padding-top: 8px; }
.gp-step > div { min-width: 0; }
.gp-num { width: 48px; height: 48px; border-radius: 50%; background: var(--g-blush); display: grid; place-items: center; font: 600 20px/1 var(--g-display); font-variant-numeric: tabular-nums; }
.gp-step h3 { margin: 8px 0 0; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.18; text-wrap: balance; }
.gp-step p { margin: 10px 0 0; max-width: 62ch; color: var(--g-mute); }
.gp-todo { margin: 14px 0 0; padding-left: 20px; max-width: 62ch; color: var(--g-mute); display: grid; gap: 6px; }
.gp-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.gp-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; font: 600 15px/1 var(--g-body); padding: 15px 22px; border-radius: 999px; border: 1.5px solid var(--g-ink); background: var(--g-ink); color: var(--g-surface) !important; }
.gp-btn.ghost { background: transparent; color: var(--g-ink) !important; }
.gp-btn:hover { opacity: .86; }
.gp-prompt { margin-top: 20px; background: var(--g-code); border-radius: 16px; overflow: hidden; }
.gp-prompt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--g-line); }
.gp-copy { cursor: pointer; background: var(--g-surface); border: 1px solid var(--g-line); border-radius: 999px; color: var(--g-ink); font: 600 13px/1 var(--g-body); padding: 8px 14px; }
.gp-prompt pre, .gp-file pre { margin: 0; padding: 18px; overflow-x: auto; font: 400 14px/1.65 var(--g-mono); color: var(--g-ink); white-space: pre-wrap; word-break: break-word; }
.gp-rounds { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gp-round { background: var(--g-surface); border-radius: 16px; padding: 18px; }
.gp-round ul { margin: 10px 0 0; padding-left: 18px; color: var(--g-mute); font-size: 15.5px; }
.gp-file { margin-top: 18px; border: 1px solid var(--g-line); border-radius: 16px; overflow: hidden; }
.gp-file summary { cursor: pointer; padding: 14px 18px; color: var(--g-mute); font-size: 15px; list-style: none; }
.gp-file summary::-webkit-details-marker { display: none; }
.gp-file summary::before { content: "+ "; color: var(--g-accent); }
.gp-file[open] summary::before { content: "− "; }
.gp-file pre { max-height: 420px; overflow: auto; border-top: 1px solid var(--g-line); background: var(--g-code); font-size: 12.5px; color: var(--g-mute); }
.gp-tips { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.gp-tip { padding-block: 22px; border-top: 1px solid var(--g-line); }
.gp-tip h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.gp-tip p { margin: 8px 0 0; color: var(--g-mute); font-size: 16px; }
.gp-end { display: flex; justify-content: center; }
a.guide-card { color: inherit; }
@media (max-width: 760px) {
  .gp { border-radius: 22px; margin-inline: -4px; }
  .gp-hero { grid-template-columns: 1fr; gap: 36px; padding-block: 26px 44px; }
  .gp-frame { justify-self: center; max-width: 250px; }
  .gp-modes, .gp-needs, .gp-rounds, .gp-tips { grid-template-columns: 1fr; }
  .gp-step { grid-template-columns: 1fr; gap: 10px; }
  .gp section { padding-block: 42px; }
}

/* Título sobre la portada de cada guía */
.guide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 20, 22, 0) 35%, rgba(28, 20, 22, .62) 100%); pointer-events: none; }
.guide-cover-title { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; margin: 0; color: #fff; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.guide-media .pill-glass { top: 12px; bottom: auto; left: auto; right: 12px; z-index: 1; }
.guide-cover-cat { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .88); color: #26211D; font: 600 12px/1.2 "Figtree", sans-serif; letter-spacing: .01em; backdrop-filter: blur(6px); }
.guide-media { aspect-ratio: 4 / 3; }

/* Caminos alternativos dentro de una guía (por ejemplo «Con IA» y «En Canva») */
.gp-group { padding: 34px 0 6px; border-top: 1px solid var(--g-line); }
.gp-group .gp-tag { font-size: 13px; padding: 6px 14px; }
.gp-group p { margin: 12px 0 0; max-width: 62ch; color: var(--g-mute); }
.gp-group + .gp-step { border-top: 0; padding-top: 18px; }
.gp-step.in-group { margin-left: 28px; padding-left: 0; }
.gp-step.in-group .gp-num { width: 40px; height: 40px; font-size: 17px; background: transparent; border: 1.5px solid var(--g-accent); color: var(--g-accent); }
@media (max-width: 760px) { .gp-step.in-group { margin-left: 0; } }

/* ---------- Herramientas interactivas (bio y calendario) ---------- */
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 44px; }
.app-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 26px; background: #F1EEE8; color: #26211D; text-decoration: none; border: 1px solid #DDD6CC; transition: transform .2s, box-shadow .2s; }
.app-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(28, 20, 22, .1); }
.app-icon { width: 54px; height: 54px; border-radius: 16px; background: #E9D3CB; display: grid; place-items: center; font: 600 22px/1 "Bricolage Grotesque", sans-serif; }
.app-tag { position: absolute; top: 28px; right: 28px; font: 500 11px/1.4 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #91877E; }
.app-card h3 { margin: 6px 0 0; font: 600 26px/1.1 "Bricolage Grotesque", sans-serif; letter-spacing: -.02em; }
.app-card p { margin: 0; color: #6E655D; font-size: 15px; }
.app-card .see-all { margin-top: auto; color: #7A5C4E; }
.block-title { font: 600 22px/1.2 "Bricolage Grotesque", sans-serif; margin: 0 0 16px; }

.tool-page { padding-bottom: 40px; }
.tool-loading { padding: 60px 0; color: var(--g-mute); }
.tool-hero { padding-block: 30px 34px; }
.tool-hero .gp-lede { max-width: 62ch; }
.tool-examples { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tool-examples .gp-label { margin-right: 6px; }
.tool-field { display: grid; gap: 6px; }
.tool-label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; }
.tool-label small { font: 500 12px/1.4 var(--g-mono); color: var(--g-faint); }
.tool-label small.over { color: #c0392b; }
.tool-field input, .tool-field select, .tool-field textarea, .hook-pick input { width: 100%; box-sizing: border-box; font: 400 16px/1.4 var(--g-body); color: var(--g-ink); background: var(--g-surface); border: 1.5px solid var(--g-line); border-radius: 14px; padding: 12px 14px; outline: none; }
.tool-field input:focus, .tool-field select:focus, .tool-field textarea:focus, .hook-pick input:focus { border-color: var(--g-accent); }
.tool-hint { font-size: 13px; color: var(--g-faint); }
.tool-reset { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--g-faint); font: 500 14px var(--g-body); text-decoration: underline; cursor: pointer; }
.tool-alt { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--g-line); color: var(--g-mute); font-size: 15px; }

.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.bio-form { display: grid; gap: 18px; }
.bio-side { position: sticky; top: 24px; display: grid; gap: 16px; }
.ig-phone { background: #fff; border-radius: 26px; padding: 18px 18px 20px; box-shadow: 0 18px 40px rgba(38, 33, 29, .12); border: 1px solid var(--g-line); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #111; }
.ig-head { font-size: 16px; padding-bottom: 14px; }
.ig-row { display: flex; align-items: center; gap: 18px; }
.ig-avatar { flex: none; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font: 600 28px/1 "Bricolage Grotesque", sans-serif; color: #26211D; background: linear-gradient(#E9D3CB, #E9D3CB) padding-box, linear-gradient(45deg, #feda75, #d62976, #962fbf) border-box; border: 3px solid transparent; }
.ig-stats { display: flex; justify-content: space-around; flex: 1; text-align: center; font-size: 12px; color: #333; }
.ig-stats span { display: grid; }
.ig-stats b { font-size: 16px; color: #111; }
.ig-bio { margin-top: 12px; font-size: 14px; line-height: 1.4; display: grid; gap: 2px; }
.ig-cat { color: #737373; }
.ig-bio p { margin: 0; white-space: normal; word-break: break-word; }
.ig-ph { color: #a8a8a8; }
.ig-link { color: #00376b; font-weight: 600; }
.ig-btns { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ig-btns span { text-align: center; padding: 7px; border-radius: 8px; background: #efefef; font-size: 13px; font-weight: 600; }
.ig-btns span:first-child { background: #0095f6; color: #fff; }
.bio-count { display: grid; gap: 6px; font: 500 13px/1.3 var(--g-mono); color: var(--g-mute); }
.bio-bar { height: 6px; border-radius: 99px; background: var(--g-code); overflow: hidden; }
.bio-bar i { display: block; height: 100%; background: #7da36a; border-radius: inherit; transition: width .2s; }
.bio-count.near .bio-bar i { background: #e0a43a; }
.bio-count.over .bio-bar i { background: #c0392b; }
.bio-count.over { color: #c0392b; }
.bio-side .gp-actions { margin-top: 0; }
.bio-side .gp-btn[disabled] { opacity: .4; cursor: default; }
.bio-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--g-mute); }
.bio-checks li { display: flex; gap: 10px; align-items: center; }
.bio-checks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--g-line); }
.bio-checks li.ok { color: var(--g-ink); }
.bio-checks li.ok::before { border-color: #7da36a; background: #7da36a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

.cal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 18px; }
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-nav h2 { margin: 0 6px; min-width: 9ch; text-align: center; font-size: 26px; }
.cal-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--g-line); background: var(--g-surface); font-size: 22px; line-height: 1; cursor: pointer; color: var(--g-ink); }
.cal-sum { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--g-mute); }
.cal-sum > span { padding: 6px 12px; border-radius: 999px; background: var(--g-surface); border: 1px solid var(--g-line); display: inline-flex; align-items: center; gap: 6px; }
.cal-f i { width: 9px; height: 9px; border-radius: 50%; background: var(--f); display: inline-block; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-dow { font: 500 12px/1 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--g-faint); text-align: center; padding: 6px 0; }
.cal-cell { all: unset; box-sizing: border-box; min-height: 108px; padding: 8px; border-radius: 14px; background: var(--g-surface); border: 1px solid var(--g-line); display: flex; flex-direction: column; gap: 5px; cursor: pointer; overflow: hidden; }
.cal-cell:hover { border-color: var(--g-accent); }
.cal-cell:focus-visible { outline: 2px solid var(--g-accent); }
.cal-cell.empty { background: transparent; border: 0; cursor: default; }
.cal-cell.today { border: 2px solid var(--g-accent); }
.cal-num { font: 600 15px/1 var(--g-display); }
.cal-post { display: flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 8px; background: color-mix(in srgb, var(--f) 14%, white); font-size: 12px; line-height: 1.25; color: var(--g-ink); min-width: 0; }
.cal-post i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--f); }
.cal-post em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-post.done { text-decoration: line-through; opacity: .65; }
.cal-add { margin: auto; color: var(--g-line); font-size: 26px; line-height: 1; transition: color .2s; }
.cal-cell:hover .cal-add { color: var(--g-accent); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--g-mute); }
.cal-legend .cal-f { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .done-l i { background: none; border: 1.5px solid var(--g-faint); }

.sheet-tool .sheet-panel { max-width: 620px; background: #F1EEE8; }
.cal-day { padding: 30px 30px 26px; border-radius: 0; margin: 0; }
.cal-day h2 { margin: 6px 0 18px; font-size: 28px; }
.cal-form { display: grid; gap: 14px; padding: 20px; border-radius: 20px; background: var(--g-surface); border: 1px solid var(--g-line); margin-bottom: 14px; }
.cal-formats { display: flex; flex-wrap: wrap; gap: 6px; }
.cal-fbtn { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--g-line); background: #fff; font: 600 14px/1 var(--g-body); color: var(--g-ink); cursor: pointer; }
.cal-fbtn[aria-pressed="true"] { background: var(--f); border-color: var(--f); color: #fff; }
.cal-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hook-pick { display: grid; gap: 8px; margin-top: -6px; }
.hook-pick input { font-size: 14px; padding: 9px 12px; background: #fff; }
.hook-results { display: grid; gap: 6px; }
.hook-results button { text-align: left; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--g-line); background: #fff; font: 400 14px/1.35 var(--g-body); color: var(--g-ink); cursor: pointer; }
.hook-results button:hover { border-color: var(--g-accent); background: #FBF6F3; }

@media (max-width: 900px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-side { position: static; order: -1; }
}
@media (max-width: 760px) {
  .app-grid { grid-template-columns: 1fr; }
  .cal-grid { gap: 4px; }
  .cal-cell { min-height: 58px; padding: 5px; border-radius: 10px; gap: 3px; }
  .cal-num { font-size: 13px; }
  .cal-post { padding: 0; background: none; }
  .cal-post em { display: none; }
  .cal-post i { width: 8px; height: 8px; }
  .cal-cell.has { flex-wrap: wrap; flex-direction: row; align-content: flex-start; }
  .cal-cell.has .cal-num { width: 100%; }
  .cal-add { display: none; }
  .cal-nav h2 { font-size: 21px; }
  .cal-day { padding: 24px 18px; }
  .cal-two { grid-template-columns: 1fr; }
}
.app-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ig-stats { gap: 6px; }
.ig-stats span { min-width: 0; font-size: 11px; line-height: 1.25; }
@media (max-width: 420px) { .ig-row { gap: 12px; } .ig-avatar { width: 62px; height: 62px; font-size: 24px; } }

/* Arma tu bio: cómo funciona, partes numeradas y perfil con el diseño actual de Instagram */
.bio-how { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bio-how li { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--g-surface); border: 1px solid var(--g-line); }
.bio-how b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--g-blush); display: grid; place-items: center; font: 600 16px/1 var(--g-display); }
.bio-how strong { display: block; font: 600 17px/1.2 var(--g-display); }
.bio-how span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--g-mute); }
.tool-hero + .bio-how { margin-top: -8px; }
.tool-examples { margin: 0 0 30px; }
.bio-part { margin: 0; padding: 20px; border: 1px solid var(--g-line); border-radius: 20px; background: var(--g-surface); display: grid; gap: 14px; }
.bio-part legend { float: left; width: 100%; padding: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 600 19px/1.2 var(--g-display); }
.bio-part legend span { margin-left: auto; font: 500 11px/1.4 var(--g-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--g-faint); }
.bio-part > .tool-hint { margin: -4px 0 0; clear: both; font-size: 14px; color: var(--g-mute); }
.bio-part .tool-field input { background: #fff; }
.ig-mark { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: #E9D3CB; color: #26211D; font: 600 11px/1 "Figtree", sans-serif; font-style: normal; vertical-align: 1px; }
.bio-part legend .ig-mark { width: 26px; height: 26px; margin: 0; font-size: 14px; }
.bio-side > .gp-label { margin-bottom: -4px; }
.ig-head { display: flex; align-items: center; gap: 10px; }
.ig-head b { flex: 1; font-size: 16px; }
.ig-back { font-size: 26px; line-height: 0; color: #111; }
.ig-dots { letter-spacing: 1px; font-weight: 700; color: #111; }
.ig-row { align-items: center; gap: 16px; }
.ig-meta { flex: 1; min-width: 0; display: grid; gap: 8px; }
.ig-name { display: flex; align-items: center; font-size: 15px; line-height: 1.25; }
.ig-name b { font-weight: 600; overflow-wrap: anywhere; }
.ig-stats { justify-content: flex-start; gap: 18px; text-align: left; }
.ig-stats span { display: grid; font-size: 12px; color: #555; }
.ig-stats b { font-size: 15px; font-weight: 600; }
.ig-bio .ig-cat, .ig-bio p { display: block; }
.ig-link { display: inline-flex; align-items: center; gap: 4px; }
.ig-link svg { width: 15px; height: 15px; fill: none; stroke: #00376b; stroke-width: 2.2; stroke-linecap: round; }
.ig-btns { grid-template-columns: 1fr 1fr 36px; }
.ig-btns .ig-add { padding: 7px 0; font-weight: 600; }
@media (max-width: 900px) { .bio-how { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .ig-stats { gap: 12px; } .bio-part { padding: 16px; } .bio-part legend span { margin-left: 0; width: 100%; } }
[data-bio-preview] { display: grid; gap: 16px; }

/* Métricas, objetivo y cliente ideal */
.app-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.met-add { margin: 0 0 28px; }
.met-empty { padding: 34px; border-radius: 20px; border: 1.5px dashed var(--g-line); color: var(--g-mute); text-align: center; }
.met-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.met-tile { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: var(--g-surface); border: 1px solid var(--g-line); }
.met-tile b { font: 600 30px/1.1 var(--g-display); letter-spacing: -.02em; }
.met-sec { padding-block: 34px 0; border: 0 !important; }
.met-sec > .gp-label { margin-bottom: 14px; }
.met-ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.met-ins { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--g-line); }
.met-ins h3 { margin: 8px 0 6px; font-size: 20px; line-height: 1.2; }
.met-ins p { margin: 0; font-size: 14px; color: var(--g-mute); }
.met-empty-ins { padding: 18px 20px; border-radius: 16px; background: var(--g-surface); color: var(--g-mute); font-size: 15px; }
.met-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 30px; }
.met-chart { margin: 0; padding: 22px; border-radius: 20px; background: var(--g-surface); border: 1px solid var(--g-line); }
.met-chart figcaption { display: grid; gap: 4px; margin-bottom: 18px; }
.met-chart h3 { margin: 0; font-size: 18px; }
.hbars { display: grid; gap: 12px; }
.hbar { position: relative; display: grid; grid-template-columns: 74px 1fr 58px; align-items: center; gap: 10px; font-size: 14px; outline: none; }
.hbar-l { color: var(--g-ink); }
.hbar-track { height: 14px; }
.hbar-track i { display: block; height: 100%; background: #7A5C4E; border-radius: 0 4px 4px 0; }
.hbar-v { text-align: right; font: 500 13px/1 var(--g-mono); color: var(--g-ink); }
.vbars { height: 160px; display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid var(--g-line); }
.vbar { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; outline: none; cursor: default; }
.vbar i { display: block; width: 100%; max-width: 28px; margin: 0 auto; height: var(--h); background: #7A5C4E; border-radius: 4px 4px 0 0; }
.vbars-axis { display: flex; justify-content: space-between; margin-top: 6px; font: 500 12px/1 var(--g-mono); color: var(--g-faint); }
.met-tip { position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: 240px; padding: 8px 11px; border-radius: 10px; background: #26211D; color: #FAF8F4; font: 400 12.5px/1.4 var(--g-body); pointer-events: none; opacity: 0; transition: opacity .12s; }
.met-tip b { display: block; font-weight: 600; }
.hbar .met-tip { left: auto; right: 0; transform: none; }
.vbar .met-tip { bottom: calc(var(--h) + 8px); }
.hbar:hover .met-tip, .hbar:focus .met-tip, .vbar:hover .met-tip, .vbar:focus .met-tip { opacity: 1; }
.vbar:hover i, .vbar:focus i, .hbar:hover .hbar-track i, .hbar:focus .hbar-track i { background: #26211D; }
.met-table { display: grid; border-radius: 18px; overflow: hidden; border: 1px solid var(--g-line); background: #fff; }
.met-tr { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 74px minmax(0, 1fr) 92px 92px 82px; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--g-line); font-size: 14px; cursor: pointer; }
.met-tr:hover { background: #FBF6F3; }
.met-th { border-top: 0; cursor: default; font: 500 11px/1.4 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--g-faint); background: var(--g-surface); }
.met-th:hover { background: var(--g-surface); }
.met-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.met-name small { margin-left: 4px; color: var(--g-faint); white-space: nowrap; }
.met-tr > span:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.met-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.obj-tipos { display: flex; flex-wrap: wrap; gap: 6px; }
.obj-card { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--g-line); display: grid; gap: 14px; }
.obj-sentence { margin: 0; font: 500 18px/1.45 var(--g-display); }
.obj-progress { display: grid; gap: 8px; }
.obj-big { display: flex; align-items: baseline; gap: 10px; }
.obj-big b { font: 600 40px/1 var(--g-display); letter-spacing: -.02em; }
.obj-big span { color: var(--g-mute); font-size: 15px; }
.obj-bar { height: 10px; }
.obj-scale { display: flex; justify-content: space-between; font: 500 12px/1 var(--g-mono); color: var(--g-faint); }
.obj-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.obj-checks li { display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; font-size: 14px; color: var(--g-mute); }
.obj-checks li::before { content: ""; grid-row: span 2; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--g-line); margin-top: 1px; }
.obj-checks li.ok::before { border-color: #7da36a; background: #7da36a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.obj-checks b { color: var(--g-ink); font-weight: 600; }
.obj-add { display: grid; grid-template-columns: 150px 130px 190px minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 18px; border-radius: 18px; background: var(--g-surface); border: 1px solid var(--g-line); }
.obj-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; border-radius: 16px; overflow: hidden; border: 1px solid var(--g-line); background: #fff; }
.obj-list li { display: grid; grid-template-columns: 74px 150px 90px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--g-line); font-size: 14px; }
.obj-list li:first-child { border-top: 0; }
.obj-pill { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--g-code); font-size: 12.5px; }
.obj-n { color: var(--g-mute); }
.obj-ex { margin-top: 30px; }
.obj-ex-body { display: grid; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--g-line); }
.obj-pair { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; font-size: 14.5px; }
.obj-pair p { margin: 0; padding: 12px 14px; border-radius: 12px; }
.obj-pair .bad { background: #f6e6e2; color: #8a3b2c; }
.obj-pair .bad::before { content: "✕ "; }
.obj-pair .good { background: #e6efe0; color: #3d5b2e; }
.obj-pair .good::before { content: "✓ "; }

.cli-card { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--g-line); display: grid; gap: 14px; }
.cli-head { display: flex; align-items: center; gap: 14px; }
.cli-head .ig-avatar { width: 58px; height: 58px; font-size: 24px; }
.cli-head b { display: block; font: 600 20px/1.15 var(--g-display); }
.cli-head span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--g-mute); }
.cli-b p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; }
.cli-q { font-style: italic; }
.cli-msg { padding: 14px 16px; border-radius: 14px; background: var(--g-blush); font: 500 16px/1.4 var(--g-display); }
.bio-side .tool-hint a { color: var(--g-accent); }

@media (max-width: 900px) {
  .met-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .met-ins-grid, .met-charts { grid-template-columns: 1fr; }
  .obj-add { grid-template-columns: 1fr 1fr; }
  .obj-add .obj-note, .obj-add .gp-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 600px) {
  .met-tr { grid-template-columns: 58px minmax(0, 1fr) 70px; }
  .met-tr > span:nth-child(4), .met-tr > span:nth-child(5) { display: none; }
  .met-name small { display: none; }
  .met-nums { grid-template-columns: 1fr 1fr; }
  .obj-list li { grid-template-columns: 64px 1fr auto; }
  .obj-list li .obj-pill, .obj-list li .obj-n { grid-column: 2; }
  .obj-pair { grid-template-columns: 1fr; }
}
[data-cli-card] { display: grid; gap: 16px; }
.met-tip { display: none; opacity: 1; }
.hbar:hover .met-tip, .hbar:focus .met-tip, .vbar:hover .met-tip, .vbar:focus .met-tip { display: block; }
.vbar:nth-child(-n+3) .met-tip { left: 0; transform: none; }
.vbar:nth-last-child(-n+3) .met-tip { left: auto; right: 0; transform: none; }

/* Guías más visuales: pasos en tarjetas de color, mapa de pasos y resaltados */
.gp-ui { background: #FFF1B8; color: var(--g-ink); padding: 1px 6px; border-radius: 6px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.gp-path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; vertical-align: 1px; }
.gp-path b { padding: 1px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--g-line); color: var(--g-ink); font-weight: 600; font-size: .92em; }
.gp-path i { font-style: normal; color: var(--g-accent); font-weight: 700; }
.gp-qty { color: var(--g-ink); font-weight: 700; background: linear-gradient(transparent 62%, #F3D9CF 62%); }

.gp-map { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.gp-map button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 14px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--g-line); font-size: 14px; color: var(--g-ink); transition: border-color .15s, transform .15s; }
.gp-map button:hover { border-color: var(--g-accent); transform: translateY(-1px); }
.gp-map button b { flex: none; min-width: 26px; height: 26px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: var(--tone); display: grid; place-items: center; font: 600 12.5px/1 var(--g-display); }
.gp-map button:focus-visible { outline: 2px solid var(--g-accent); }

.gp-steps { gap: 14px; }
.gp-step { padding: 26px 28px; border: 1px solid var(--g-line); border-radius: 24px; background: #fff; box-shadow: 0 1px 0 rgba(38, 33, 29, .03); scroll-margin-top: 90px; position: relative; overflow: hidden; }
.gp-step::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--tone); }
.gp-step:first-child { padding-top: 26px; border-top: 1px solid var(--g-line); }
.gp-step .gp-num { background: var(--tone); }
.gp-group + .gp-step { border-top: 1px solid var(--g-line); padding-top: 26px; }
.gp-group { border-top: 0; padding: 22px 0 2px; }
.gp-step.in-group { margin-left: 34px; }
.gp-step.in-group .gp-num { background: #fff; border-color: var(--g-accent); }
.gp-todo { list-style: none; padding-left: 0; gap: 8px; }
.gp-todo li { position: relative; padding-left: 30px; }
.gp-todo li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--tone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326211D' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.gp-note { display: flex; gap: 10px; align-items: baseline; padding: 12px 16px; border-radius: 14px; background: #FFF6DA; color: var(--g-ink) !important; font-size: 15.5px; }
.gp-note span { flex: none; font: 600 11px/1.6 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; color: #9a7413; }
.gp-step .gp-prompt { border: 1px solid var(--g-line); }
.gp-step .gp-prompt-head { background: var(--tone); }
.gp-step .gp-round { background: color-mix(in srgb, var(--tone) 40%, white); }

.gp-mode { border: 1px solid var(--g-line); border-top: 6px solid var(--tone); background: #fff; }
.gp-mode .gp-tag { background: var(--tone); }
.gp-needs { gap: 12px; }
.gp-need { padding: 18px 20px; border: 1px solid var(--g-line); border-radius: 18px; background: #fff; border-top: 5px solid var(--tone); }
.gp-words { border: 1px solid var(--g-line); }
.gp-tips { gap: 12px; }
.gp-tip { position: relative; padding: 20px 20px 20px 62px; border: 0; border-radius: 18px; background: color-mix(in srgb, var(--tone) 55%, white); }
.gp-tip-n { position: absolute; left: 18px; top: 19px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 600 14px/1 var(--g-display); }
@media (max-width: 760px) {
  .gp-step { padding: 20px 18px 20px 22px; }
  .gp-step.in-group { margin-left: 0; }
  .gp-map button { font-size: 13px; }
}
.gp-path { display: inline; }
.gp-path b { display: inline-block; margin: 2px 0; line-height: 1.5; }
.gp-path i { margin: 0 4px; }

/* Revisión de contenido con IA (Cliente ideal) */
.rev { margin-top: 44px; padding: 30px !important; border-radius: 26px; border: 0 !important; background: linear-gradient(135deg, #F6E6EE 0%, #EFE8F7 55%, #E6EEF6 100%); }
.rev-head h2 { margin-top: 10px; }
.rev-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #26211D; color: #FAF8F4; font: 600 12px/1 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; }
.rev-badge::before { content: "✦"; }
.rev-box { margin-top: 22px; display: grid; gap: 14px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(38, 33, 29, .07); }
.rev-text { width: 100%; box-sizing: border-box; font: 400 16px/1.5 var(--g-body); color: var(--g-ink); background: var(--g-surface); border: 1.5px solid var(--g-line); border-radius: 14px; padding: 14px; resize: vertical; outline: none; }
.rev-text:focus { border-color: var(--g-accent); }
.rev-imgs { display: flex; flex-wrap: wrap; gap: 10px; }
.rev-imgs figure { position: relative; margin: 0; width: 88px; height: 110px; border-radius: 12px; overflow: hidden; border: 1px solid var(--g-line); }
.rev-imgs img { width: 100%; height: 100%; object-fit: cover; }
.rev-imgs figure button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(38, 33, 29, .75); color: #fff; font-size: 11px; cursor: pointer; }
.rev-add { width: 88px; height: 110px; box-sizing: border-box; border-radius: 12px; border: 1.5px dashed var(--g-faint); display: grid; place-items: center; align-content: center; gap: 4px; font-size: 12.5px; color: var(--g-mute); text-align: center; cursor: pointer; }
.rev-add span { font-size: 26px; line-height: 1; color: var(--g-accent); }
.rev-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: #f6e6e2; color: #8a3b2c; font-size: 14.5px; }
.rev .gp-note .gp-copy { margin-left: 8px; }
.rev-result { margin-top: 18px; display: grid; gap: 14px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(38, 33, 29, .07); }
.rev-verdict { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 16px 8px 8px; border-radius: 999px; font: 600 16px/1.2 var(--g-display); }
.rev-verdict b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 14px; }
.rev-verdict.good { background: #e6efe0; color: #2f4a22; } .rev-verdict.good b { background: #5f8a4a; }
.rev-verdict.warn { background: #fbf0d6; color: #6b4f0e; } .rev-verdict.warn b { background: #c08a1e; }
.rev-verdict.bad { background: #f6e3de; color: #7a2f22; } .rev-verdict.bad b { background: #b4513e; }
.rev-summary { margin: 0; font-size: 17px; line-height: 1.55; color: var(--g-ink); }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rev-block { padding: 16px 18px; border-radius: 16px; background: var(--g-surface); }
.rev-block h4 { margin: 0 0 8px; font: 600 15px/1.2 var(--g-display); }
.rev-block ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; color: var(--g-ink); }
.rev-block.good { background: #eef4ea; } .rev-block.warn { background: #fbf4e2; } .rev-block.ask { background: #efeaf7; }
.rev-hook .gp-prompt-head { background: #E9D3CB; }
.rev-hist { margin-top: 16px; background: rgba(255, 255, 255, .6); }
.rev-hist ul { list-style: none; margin: 0; padding: 8px 18px 14px; display: grid; gap: 8px; border-top: 1px solid var(--g-line); font-size: 14px; }
.rev-hist li { display: grid; grid-template-columns: 12px auto 1fr; gap: 10px; align-items: center; }
.rev-hist em { font-style: normal; color: var(--g-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rev-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--g-faint); }
.rev-dot.good { background: #5f8a4a; } .rev-dot.warn { background: #c08a1e; } .rev-dot.bad { background: #b4513e; }
@media (max-width: 760px) { .rev { padding: 20px !important; } .rev-grid { grid-template-columns: 1fr; } .rev-box, .rev-result { padding: 16px; } }

/* Guías orientativas: dibujo de la pantalla en cada paso, progreso y «Lo hice» */
.gp-step { grid-template-columns: 56px minmax(0, 1fr) auto; align-items: start; }
.gp-step-main { min-width: 0; }
.gp-visual { margin: 0; width: 290px; align-self: start; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--g-line); box-shadow: 0 14px 34px rgba(38, 33, 29, .1); }
.gp-visual.phone { width: 230px; border-radius: 30px; border: 7px solid #26211D; }
.gv-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #F4F1EC; border-bottom: 1px solid var(--g-line); font-size: 11px; color: var(--g-mute); }
.gv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #DDD6CC; }
.gv-url { margin-left: 8px; flex: 1; padding: 3px 10px; border-radius: 999px; background: #fff; font: 500 11px/1.3 var(--g-mono); }
.phone .gv-bar { justify-content: space-between; background: #fff; border-bottom: 0; padding: 8px 14px 4px; font-weight: 600; color: #111; }
.phone .gv-bar b { font: 600 13px/1 var(--g-body); }
.gv-screen { padding: 14px; display: grid; gap: 12px; background: linear-gradient(#fff, #FBF9F6); }
.gv-app { display: flex; align-items: center; gap: 8px; font: 600 14px/1 var(--g-display); color: var(--g-ink); }
.gv-logo { width: 24px; height: 24px; border-radius: 7px; background: var(--app); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--g-body); }
.gv-taps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.gv-taps li { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 0 14px; }
.gv-taps li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 32px; bottom: -4px; border-left: 2px dashed color-mix(in srgb, var(--app) 45%, white); }
.gv-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--app); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--g-body); z-index: 1; }
.gv-btn { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1.5px solid color-mix(in srgb, var(--app) 35%, white); font: 600 13px/1.25 var(--g-body); color: #222; box-shadow: 0 2px 6px rgba(0, 0, 0, .05); overflow-wrap: anywhere; }
.gv-taps li.last .gv-btn { background: var(--app); border-color: var(--app); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--app) 18%, transparent); }
.gv-hand { font-size: 20px; margin-left: -4px; transform: rotate(-12deg); animation: gv-tap 1.6s ease-in-out infinite; }
@keyframes gv-tap { 0%, 100% { transform: translate(0, 0) rotate(-12deg); } 50% { transform: translate(-3px, -4px) rotate(-12deg); } }
@media (prefers-reduced-motion: reduce) { .gv-hand { animation: none; } }
.gv-chat { display: grid; gap: 10px; }
.gv-msg { justify-self: end; max-width: 92%; padding: 10px 12px; border-radius: 14px 14px 4px 14px; background: color-mix(in srgb, var(--app) 12%, white); font-size: 12.5px; line-height: 1.4; color: #222; }
.gv-input { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 12px; border-radius: 999px; border: 1.5px solid var(--g-line); font-size: 12px; color: var(--g-faint); }
.gv-input b { width: 24px; height: 24px; border-radius: 50%; background: var(--app); color: #fff; display: grid; place-items: center; font-size: 13px; }
.gp-visual figcaption { padding: 9px 14px; border-top: 1px solid var(--g-line); background: #F4F1EC; font: 500 11px/1.3 var(--g-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--g-mute); text-align: center; }

.gp-progress { margin-top: 24px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--g-line); display: grid; gap: 10px; }
.gp-progress-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.gp-progress-top span { color: var(--g-mute); }
.gp-progress-bar { height: 10px; border-radius: 99px; background: var(--g-code); overflow: hidden; }
.gp-progress-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d62976, #8a2fb5); transition: width .3s; }
.gp-map button.done { opacity: .6; }
.gp-map button.done b { background: #7da36a; color: #fff; }
.gp-map button.now { border-color: var(--g-ink); box-shadow: 0 0 0 2px var(--g-ink); }
.gp-step.now { box-shadow: 0 0 0 2px var(--g-ink), 0 14px 34px rgba(38, 33, 29, .1); }
.gp-here { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: var(--g-ink); color: #FAF8F4; font: 600 11px/1.4 var(--g-mono); letter-spacing: .08em; text-transform: uppercase; }
.gp-done { margin-top: 18px; padding: 11px 18px; border-radius: 999px; border: 1.5px solid #7da36a; background: #fff; color: #3d5b2e; font: 600 14px/1 var(--g-body); cursor: pointer; }
.gp-done:hover { background: #eef4ea; }
.gp-step.done { background: #F7F9F4; box-shadow: none; }
.gp-step.done .gp-num { background: #7da36a; color: #fff; }
.gp-step.done .gp-step-main > *:not(h3):not(.gp-done) { display: none; }
.gp-step.done h3 { color: var(--g-mute); text-decoration: line-through; text-decoration-color: #7da36a; }
.gp-step.done .gp-done { margin-top: 8px; border: 0; padding: 4px 0; background: none; color: var(--g-faint); font-size: 13px; text-decoration: underline; }
@media (max-width: 980px) {
  .gp-step { grid-template-columns: 56px minmax(0, 1fr); }
  .gp-visual { grid-column: 2; width: 100%; max-width: 320px; margin-top: 14px; }
  .gp-visual.phone { max-width: 250px; }
}
@media (max-width: 760px) {
  .gp-step { grid-template-columns: 1fr; }
  .gp-visual { grid-column: 1; }
}
@media (max-width: 760px) { .gp-step .gp-num { order: 0; } .gp-step .gp-visual { order: 1; margin: 0 0 4px; } .gp-step .gp-step-main { order: 2; } }

/* Herramientas más visuales: pasos con íconos, partes de a una, ejemplos de un toque */
.tool-steps { list-style: none; margin: 0 0 26px; padding: 0; display: flex; gap: 0; counter-reset: s; }
.tool-steps li { position: relative; flex: 1; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 0 8px; }
.tool-steps li:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: calc(50% + 38px); right: calc(-50% + 38px); border-top: 2px dashed #D9CFC3; }
.ts-ic { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: #fff; border: 1px solid var(--g-line); box-shadow: 0 8px 20px rgba(38, 33, 29, .08); color: var(--g-accent); }
.tool-steps li:nth-child(1) .ts-ic { background: #F6E3EC; } .tool-steps li:nth-child(2) .ts-ic { background: #E9E2F6; } .tool-steps li:nth-child(3) .ts-ic { background: #E2EEE4; }
.ts-ic svg { width: 28px; height: 28px; fill: none; stroke: #26211D; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ts-txt { font: 600 15px/1.3 var(--g-display); color: var(--g-ink); max-width: 18ch; }
.ts-txt b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: #26211D; color: #fff; font-size: 11px; vertical-align: 1px; }

.wiz-nav { display: grid; gap: 12px; margin-bottom: 14px; }
.wiz-bar { height: 8px; border-radius: 99px; background: var(--g-code); overflow: hidden; }
.wiz-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d62976, #8a2fb5); transition: width .3s; }
.wiz-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.wiz-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--g-line); background: #fff; font: 500 13.5px/1 var(--g-body); color: var(--g-mute); cursor: pointer; }
.wiz-pill b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--g-code); color: var(--g-ink); font: 600 12px/1 var(--g-display); }
.wiz-pill.ok b { background: #7da36a; color: #fff; }
.wiz-pill.now { border-color: #26211D; color: #26211D; box-shadow: 0 0 0 1px #26211D; }
.wiz-pill.now b { background: #26211D; color: #fff; }
.wiz-card { display: grid; gap: 16px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--g-line); box-shadow: 0 14px 34px rgba(38, 33, 29, .07); }
.wiz-count { font: 500 11px/1 var(--g-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--g-faint); }
.wiz-head h2 { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 26px; }
.wiz-head h2 .ig-mark { width: 30px; height: 30px; font-size: 15px; margin: 0; }
.wiz-head p { margin: 8px 0 0; color: var(--g-mute); font-size: 15.5px; }
.wiz-where { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #FFF1B8; font: 600 12.5px/1 var(--g-body); color: #26211D; }
.wiz-where svg, .ex-chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wiz-card .tool-field input, .wiz-card .tool-field textarea { background: var(--g-surface); font-size: 17px; padding: 14px 16px; }
.wiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--g-line); }
.wiz-foot .gp-btn { margin-top: 10px; }
.wiz-end { margin-top: 10px; color: #3d5b2e; font-weight: 600; font-size: 14px; }
.ex-chip { justify-self: start; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 12px; border-radius: 999px; border: 1px dashed #C8B8A8; background: #FBF7F2; color: var(--g-mute); font: 500 13px/1.3 var(--g-body); cursor: pointer; text-align: left; }
.ex-chip em { font-style: normal; color: var(--g-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-chip:hover { border-style: solid; border-color: var(--g-accent); color: var(--g-ink); }
.bio-form > .wiz { display: block; }

.obj-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.obj-card-btn { display: grid; justify-items: center; gap: 8px; padding: 18px 10px; border-radius: 18px; border: 1.5px solid var(--g-line); background: var(--g-surface); font: 600 15px/1.2 var(--g-display); color: var(--g-ink); cursor: pointer; }
.obj-card-btn span { width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.obj-card-btn svg { width: 24px; height: 24px; fill: none; stroke: #26211D; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.obj-card-btn[aria-pressed="true"] { border-color: #26211D; background: #F6E3EC; box-shadow: 0 0 0 1px #26211D; }

.met-demo-banner { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding: 16px 18px; border-radius: 18px; background: #FFF6DA; }
.met-demo-banner svg { flex: none; width: 28px; height: 28px; fill: none; stroke: #9a7413; stroke-width: 1.8; }
.met-demo-banner b { display: block; font: 600 17px/1.2 var(--g-display); }
.met-demo-banner span { display: block; margin-top: 3px; font-size: 14px; color: var(--g-mute); }
.met-demo { position: relative; opacity: .82; pointer-events: none; filter: saturate(.85); }
.met-demo::before { content: "Ejemplo"; position: absolute; top: -8px; right: 0; z-index: 2; padding: 4px 12px; border-radius: 999px; background: #26211D; color: #fff; font: 600 11px/1.4 var(--g-mono); letter-spacing: .1em; text-transform: uppercase; }

.cal-cell.hint { position: relative; border: 2px solid #d62976; box-shadow: 0 0 0 6px rgba(214, 41, 118, .12); animation: cal-pulse 1.8s ease-in-out infinite; }
@keyframes cal-pulse { 50% { box-shadow: 0 0 0 10px rgba(214, 41, 118, .05); } }
@media (prefers-reduced-motion: reduce) { .cal-cell.hint { animation: none; } }
.cal-hint { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding: 4px 8px; border-radius: 999px; background: #d62976; color: #fff; font: 600 11.5px/1 var(--g-body); }
.cal-hint svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.cal-cell.hint .cal-add { display: none; }

.app-mock { height: 120px; margin: -6px -6px 6px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #E6DED3; display: grid; align-content: center; gap: 10px; overflow: hidden; }
.app-card .app-tag { top: 150px; }
.am-ig, .am-persona { display: flex; align-items: center; gap: 12px; }
.am-av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(#E9D3CB, #E9D3CB) padding-box, linear-gradient(45deg, #feda75, #d62976, #962fbf) border-box; border: 3px solid transparent; }
.am-lines { flex: 1; display: grid; gap: 6px; }
.am-lines b, .am-lines i, .am-bio i { display: block; height: 8px; border-radius: 4px; background: #E9E4DB; }
.am-lines b { width: 60%; background: #26211D; }
.am-lines i.s, .am-bio i.s { width: 55%; }
.am-bio { display: grid; gap: 5px; }
.am-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.am-btns b, .am-btns i { height: 14px; border-radius: 5px; background: #0095f6; }
.am-btns i { background: #efefef; }
.am-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.am-cal i { height: 22px; border-radius: 5px; background: #F4F1EC; }
.am-cal i.c0 { background: #F3C9DA; } .am-cal i.c1 { background: #DCCDEF; } .am-cal i.c2 { background: #CFE3D2; }
.am-bars { height: 80px; display: flex; align-items: flex-end; gap: 8px; padding: 0 6px; border-bottom: 1px solid #E6DED3; }
.am-bars i { flex: 1; background: #7A5C4E; border-radius: 4px 4px 0 0; }
.am-goal { display: grid; gap: 6px; }
.am-goal b { font: 600 30px/1 "Bricolage Grotesque", sans-serif; }
.am-goal span { height: 10px; border-radius: 99px; background: #E9E4DB; overflow: hidden; }
.am-goal span i { display: block; width: 30%; height: 100%; background: linear-gradient(90deg, #d62976, #8a2fb5); }
.am-goal small { color: #91877E; font-size: 12px; }
.am-quote { height: 26px; border-radius: 10px; background: #E9D3CB; }
@media (max-width: 760px) {
  .tool-steps li { padding: 0 2px; }
  .ts-ic { width: 50px; height: 50px; border-radius: 16px; }
  .tool-steps li:not(:last-child)::after { top: 25px; left: calc(50% + 32px); right: calc(-50% + 32px); }
  .ts-txt { font-size: 13px; }
  .wiz-card { padding: 18px; }
  .wiz-head h2 { font-size: 22px; }
}
.app-card .app-tag { top: 30px; right: 30px; z-index: 1; padding: 4px 9px; border-radius: 999px; background: #F4F1EC; }

/* Plan de lanzamiento */
.lz-empty, .lz-count { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--g-line); display: grid; gap: 6px; }
.lz-empty svg { width: 30px; height: 30px; fill: none; stroke: var(--g-accent); stroke-width: 1.8; }
.lz-empty b { font: 600 18px/1.2 var(--g-display); }
.lz-empty span { color: var(--g-mute); font-size: 14px; }
.lz-count b { font: 600 52px/1 var(--g-display); letter-spacing: -.03em; color: #d62976; }
.lz-count span { color: var(--g-mute); }
.lz-phases { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.lz-phases li { display: grid; grid-template-columns: 14px auto; column-gap: 10px; font-size: 13.5px; }
.lz-phases i { grid-row: span 2; width: 14px; height: 14px; border-radius: 4px; background: var(--ph); margin-top: 2px; }
.lz-phases b { font-weight: 600; }
.lz-phases span { color: var(--g-mute); }
.lz-plan-head { display: flex; justify-content: space-between; align-items: end; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.lz-plan-head h2 { margin-top: 6px; }
.lz-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.lz-day { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--g-line); border-top: 6px solid var(--ph); }
.lz-day.big { grid-column: span 2; background: #FDF0F6; border-color: #d62976; }
.lz-date { display: grid; justify-items: center; align-content: start; padding-top: 2px; }
.lz-date b { font: 600 28px/1 var(--g-display); }
.lz-date span { margin-top: 4px; font: 500 11px/1 var(--g-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--g-faint); }
.lz-body { display: grid; gap: 6px; min-width: 0; }
.lz-body p { margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--g-ink); }
.lz-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lz-phase { padding: 2px 9px; border-radius: 999px; background: var(--ph); font: 600 11.5px/1.6 var(--g-body); }
.lz-day.big .lz-phase { color: #fff; }
.lz-format { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--g-mute); }
.lz-format i { width: 8px; height: 8px; border-radius: 50%; background: var(--f); }
.lz-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--g-accent); font-weight: 600; }
.lz-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Respuestas por mensaje */
.rs-chat { display: grid; gap: 8px; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--g-line); }
.rs-in { justify-self: start; max-width: 80%; padding: 9px 13px; border-radius: 18px 18px 18px 4px; background: #EFEFEF; font-size: 14px; color: #111; }
.rs-out { justify-self: end; max-width: 92%; padding: 11px 14px; border-radius: 18px 18px 4px 18px; background: linear-gradient(135deg, #8a2fb5, #d62976); color: #fff; font-size: 14px; line-height: 1.45; }
.rs-ph { padding: 0 4px; border-radius: 5px; background: rgba(255, 255, 255, .25); font-style: italic; }
.rs-chat .gp-copy { justify-self: end; }
.rs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.rs-note { margin: -6px 0 14px; }

/* Hooks para ti */
.hk-need { display: grid; gap: 10px; justify-items: start; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--g-line); }
.hk-need .wiz-bar { width: 100%; }
.hk-need b { font: 600 20px/1.2 var(--g-display); }
.hk-need span { color: var(--g-mute); }
.hk-form small { font: 400 14px var(--g-body); color: var(--g-faint); }
.hk-form .wiz-head h2 { font-size: 20px; }
.hk-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 8px 0 12px; }
.hk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; margin-bottom: 24px; }
.hk-card { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--g-line); }
.hk-type { justify-self: start; padding: 3px 10px; border-radius: 999px; background: #E9E2F6; font: 600 11.5px/1.5 var(--g-body); }
.hk-text { margin: 0; font: 600 18px/1.3 var(--g-display); color: var(--g-ink); }
.hk-why { margin: 0; font-size: 13.5px; color: var(--g-mute); }
.hk-actions { display: flex; gap: 8px; margin-top: 4px; }
.hk-save { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--g-line); background: #fff; font: 600 13px/1 var(--g-body); color: var(--g-ink); cursor: pointer; }
.hk-save.on { background: #FFF1B8; border-color: #e0c45a; }

/* Dibujos de las tarjetas nuevas */
.am-hooks { display: grid; gap: 6px; }
.am-hooks span { justify-self: start; padding: 5px 10px; border-radius: 10px; background: #F4F1EC; font: 600 11.5px/1.2 "Figtree", sans-serif; color: #26211D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.am-hooks span:nth-child(2) { background: #E9E2F6; } .am-hooks span:nth-child(3) { background: #F6E3EC; }
.am-lz { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.am-lz i { height: 38px; border-radius: 6px; }
.am-lz-l { font-size: 11px; color: #91877E; }
.am-chat { display: grid; gap: 6px; }
.am-chat span { padding: 7px 11px; border-radius: 14px; font: 500 12px/1.3 "Figtree", sans-serif; }
.am-chat .in { justify-self: start; background: #EFEFEF; border-bottom-left-radius: 4px; }
.am-chat .out { justify-self: end; background: linear-gradient(135deg, #8a2fb5, #d62976); color: #fff; border-bottom-right-radius: 4px; }
@media (max-width: 760px) { .lz-day.big { grid-column: auto; } }
/* Que los ejemplos largos no ensanchen la página en el celular */
.bio-grid > *, .wiz-card, .wiz-card > *, .tool-field, .hk-form { min-width: 0; }
.ex-chip { max-width: 100%; overflow: hidden; }

/* Prompts: el resultado primero */
/* Antes y después: el resultado ocupa toda la tarjeta y la foto original va chiquita en una esquina */
.pm-ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.pm-ba > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-ba .pill-glass { position: absolute; top: 12px; left: 12px; }
.pm-orig { position: absolute; left: 10px; bottom: 10px; width: 24%; aspect-ratio: 3 / 4; margin: 0; border: 3px solid #fff; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
.pm-orig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-orig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 0; background: rgba(255, 255, 255, .92); font: 600 10px/1.3 "Figtree", sans-serif; color: #26211D; text-align: center; }
.pm-example { padding: 16px; background: linear-gradient(160deg, #F4EEFA, #FBF6F0); display: grid; gap: 10px; min-height: 240px; }
.pm-head { display: flex; align-items: center; gap: 8px; font: 600 12px/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #6E655D; }
.pm-ai { width: 26px; height: 26px; border-radius: 8px; background: #8a2fb5; color: #fff; display: grid; place-items: center; }
.pm-ai svg { width: 15px; height: 15px; }
.pm-doc { position: relative; max-height: 210px; overflow: hidden; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(38, 33, 29, .06); font-size: 13.5px; line-height: 1.45; color: #26211D; }
.pm-doc.open { max-height: none; }
.pm-doc:not(.open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(transparent, #fff); }
.pm-doc h4 { margin: 10px 0 4px; font: 600 14px/1.25 "Bricolage Grotesque", sans-serif; color: #8a2fb5; }
.pm-doc h4:first-child { margin-top: 0; }
.pm-doc p { margin: 0 0 8px; }
.pm-doc ul { margin: 0 0 6px; padding-left: 18px; display: grid; gap: 3px; }
.pm-doc li.num { list-style: none; margin-left: -18px; }
.pm-slides { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.pm-slide { scroll-snap-align: start; aspect-ratio: 4 / 5; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(38, 33, 29, .08); display: flex; flex-direction: column; gap: 6px; }
.pm-slide span { font: 600 11px/1 "DM Mono", monospace; color: #91877E; }
.pm-slide b { font: 600 14px/1.2 "Bricolage Grotesque", sans-serif; color: #26211D; }
.pm-slide small { font-size: 11.5px; line-height: 1.35; color: #6E655D; }
.pm-slide.first { background: #26211D; }
.pm-slide.first b { color: #fff; font-size: 16px; margin-top: auto; }
.pm-slide.first span { color: #E9D3CB; }
.prompt-uso { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 9px 12px; border-radius: 12px; background: #F4EEFA; font-size: 13.5px; color: #4b2a63; }
.prompt-uso svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.prompt-label { display: block; margin-bottom: 4px; font: 600 11px/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #91877E; }
