/* mg/005 · demos dentro del ⋯ de las filas de método (motion & sound, social & content). */
.mdemo { font-size: 13px; line-height: 1.3; color: #161616; }
.mdemo * { box-sizing: border-box; }
.mdemo__stage { display: grid; place-items: center; height: 96px; border-radius: 10px; background: #fff; margin: 0 0 10px; overflow: hidden; }
.mdemo__obj { width: 120px; height: 40px; border-radius: 999px; border: 0; background: #161616; color: #fff; font: inherit; font-weight: 500; cursor: pointer; transition-property: transform, background-color, border-radius; }
.mdemo__obj.is-on { transform: translateX(28px) scale(1.08); background: #ff4410; border-radius: 12px; }
.mdemo__row { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.mdemo__row > label, .mdemo__row > .mdemo__k { flex: none; width: 62px; opacity: .6; font-size: 12px; }
.mdemo__row input[type=range] { flex: 1; min-width: 0; accent-color: #161616; }
.mdemo__row input[type=text], .mdemo__row select { flex: 1; min-width: 0; font: inherit; font-size: 12px; padding: 5px 8px; border-radius: 8px; border: 1px solid rgba(22,22,22,.25); background: #fff; color: inherit; }
.mdemo__v { flex: none; width: 52px; text-align: right; font-variant-numeric: tabular-nums; font-size: 12px; }
.mdemo__seg { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.mdemo__seg button, .mdemo__btn { font: inherit; font-size: 12px; line-height: 1; padding: .5em .75em; border-radius: 999px; border: 1px solid rgba(22,22,22,.3); background: none; color: inherit; cursor: pointer; }
.mdemo__seg button[aria-pressed=true], .mdemo__btn--on { background: #161616; color: #fff; border-color: #161616; }
.mdemo__note { font-size: 11px; opacity: .55; margin: 4px 0 0; }
.mdemo details { margin-top: 10px; border-top: 1px solid rgba(22,22,22,.14); padding-top: 8px; }
.mdemo summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; align-items: center; gap: 6px; }
.mdemo summary::before { content: '+'; display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; }
.mdemo details[open] summary::before { content: '−'; }
.snd__notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 6px 0; }
.snd__note { border: 1px solid rgba(22,22,22,.2); border-radius: 8px; padding: 4px; text-align: center; font-size: 11px; }
.snd__note input { width: 100%; accent-color: #161616; }
.snd__note.is-off { opacity: .35; }
.snd__brand { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #161616; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html:not([data-level=scaleup]):not([data-level=corporate]) .snd__brand { display: none; }
.snd__brand .mdemo__btn { border-color: rgba(255,255,255,.5); }
.snd__brand .mdemo__btn--on { background: #fff; color: #161616; }
@media (prefers-reduced-motion: reduce) { .mdemo__obj { transition-duration: 0s !important; } }
/* social */
.soc__card { background: #fff; border-radius: 12px; padding: 12px; margin: 0 0 10px; }
.soc__top { display: flex; align-items: center; gap: 10px; }
.soc__av { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #161616; display: grid; place-items: center; overflow: hidden; }
.soc__av img { width: 70%; filter: invert(1); }
.soc__h input { font: inherit; font-weight: 600; font-size: 14px; border: 0; padding: 0; width: 100%; background: none; }
.soc__stats { font-size: 11px; opacity: .55; }
.soc__bio { width: 100%; margin: 8px 0 4px; font: inherit; font-size: 13px; border: 1px dashed rgba(22,22,22,.25); border-radius: 8px; padding: 6px 8px; resize: vertical; min-height: 48px; background: none; }
.soc__web { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.soc__web input { flex: 1; min-width: 0; font: inherit; font-size: 12px; padding: 5px 8px; border: 1px solid rgba(22,22,22,.25); border-radius: 8px; }
.soc__dom { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; font-size: 12px; }
.soc__dom li { display: flex; justify-content: space-between; gap: 6px; padding: 4px 8px; border-radius: 6px; background: rgba(22,22,22,.05); }
.soc__dom .ok { color: #137a32; } .soc__dom .no { color: #b3261e; } .soc__dom .unk { opacity: .55; }
.soc__post { position: relative; margin: 8px auto 0; border-radius: 10px; overflow: hidden; background: #e9e4d9; display: grid; place-items: center; cursor: pointer; color: rgba(22,22,22,.55); font-size: 12px; text-align: center; }
.soc__post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soc__post[data-fmt="1:1"] { aspect-ratio: 1 / 1; width: 100%; }
.soc__post[data-fmt="4:5"] { aspect-ratio: 4 / 5; width: 100%; }
.soc__post[data-fmt="9:16"] { aspect-ratio: 9 / 16; width: 62%; }
.soc__post[data-fmt="9:16"]::before { content: ''; position: absolute; z-index: 1; left: 8px; right: 8px; top: 6px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.85); }
.soc__post[data-fmt="text"] { aspect-ratio: auto; width: 100%; padding: 12px; background: #fff; border: 1px solid rgba(22,22,22,.12); color: #161616; text-align: left; place-items: start; cursor: text; }
.soc__post[data-fmt="text"] img { display: none; }
.soc__cap { position: absolute; z-index: 1; left: 8px; right: 8px; bottom: 8px; color: #fff; font-size: 12px; text-shadow: 0 1px 4px rgba(0,0,0,.6); text-align: left; }
.soc__post[data-fmt="text"] .soc__cap { position: static; color: inherit; text-shadow: none; font-size: 14px; }
.soc__thumbs { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.soc__thumbs button { flex: none; width: 40px; height: 52px; padding: 0; border: 1px solid rgba(22,22,22,.2); border-radius: 6px; overflow: hidden; cursor: pointer; background: none; }
.soc__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ads & campaigns (4.2) */
.ads__chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.ads__text { width: 100%; font: inherit; font-size: 13px; border: 1px solid rgba(22,22,22,.25); border-radius: 8px; padding: 6px 8px; min-height: 52px; resize: vertical; background: #fff; }
.ads__tabs { display: flex; gap: 4px; margin: 8px 0 6px; overflow-x: auto; }
.ads__tabs button { flex: none; font: inherit; font-size: 12px; padding: .45em .7em; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; color: inherit; opacity: .6; }
.ads__tabs button[aria-selected=true] { opacity: 1; border-color: #161616; font-weight: 500; }
.ads__pv { background: #fff; border-radius: 10px; padding: 10px; }
.ads__pvh { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; margin: 0 0 6px; }
.ads__pvh i { width: 22px; height: 22px; border-radius: 50%; background: #161616; flex: none; }
.ads__pvh small { font-weight: 400; opacity: .5; }
.ads__med { position: relative; border-radius: 8px; overflow: hidden; background: #e9e4d9; margin: 0 auto; }
.ads__med img, .ads__med video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ads__med[data-r="4:5"] { aspect-ratio: 4/5; width: 100%; } .ads__med[data-r="9:16"] { aspect-ratio: 9/16; width: 58%; }
.ads__med[data-r="1.91:1"] { aspect-ratio: 1.91/1; width: 100%; } .ads__med[data-r="16:9"] { aspect-ratio: 16/9; width: 100%; }
.ads__med .soc__cap { font-size: 11px; }
.ads__txt { font-size: 12px; margin: 6px 0; white-space: pre-wrap; }
.ads__camp { margin-top: 10px; border-top: 1px solid rgba(22,22,22,.14); padding-top: 8px; }
.ads__tl { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; margin: 6px 0 8px; }
.ads__tl::before { content: ''; position: absolute; left: 16%; right: 16%; top: 7px; height: 1px; background: rgba(22,22,22,.3); }
.ads__tl button { position: relative; background: none; border: 0; font: inherit; font-size: 11px; cursor: pointer; color: inherit; display: grid; justify-items: center; gap: 3px; padding: 0; }
.ads__tl button::before { content: ''; width: 13px; height: 13px; border-radius: 50%; border: 1px solid #161616; background: #fff; }
.ads__tl button[aria-pressed=true]::before { background: #161616; }
.ads__tl small { opacity: .55; }
.ads__ph { background: rgba(22,22,22,.05); border-radius: 8px; padding: 8px; }
.ads__ph ul { list-style: none; margin: 6px 0; padding: 0; }
.ads__ph li { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; padding: 4px 0; border-bottom: 1px solid rgba(22,22,22,.1); }
.ads__ph li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip { display: inline-block; font-size: 11px; line-height: 1; padding: .35em .6em; border-radius: 999px; background: rgba(22,22,22,.1); }
.chip--draft { background: rgba(22,22,22,.1); } .chip--review { background: #ffe9a8; } .chip--approved { background: #c9f0d3; color: #0f5c26; } .chip--changes { background: #ffd6d2; color: #8c1d14; }
.ads__appr { margin-top: 8px; padding: 8px; border: 1px dashed rgba(22,22,22,.3); border-radius: 8px; }
.ads__steps { display: flex; gap: 4px; flex-wrap: wrap; margin: 4px 0 6px; font-size: 11px; }
.ads__steps span { opacity: .4; } .ads__steps span.is-on { opacity: 1; font-weight: 600; }
.ads__cm { list-style: none; margin: 4px 0; padding: 0; font-size: 12px; } .ads__ph .ads__cm li { display: block; padding: 3px 0; border: 0; } .ads__cm b { font-weight: 600; }
.mdemo__btn[disabled] { opacity: .35; cursor: not-allowed; }
.mdemo input[type=text], .mdemo input[type=date], .mdemo input:not([type]), .mdemo textarea, .mdemo select { color: #161616 !important; background: #fff !important; -webkit-text-fill-color: #161616; }
.soc__h input { background: none !important; }
/* node canvas (3.1 features & navigation) */
.nodes { position: relative; }
.nodes__svg { display: block; width: 100%; height: 300px; background: #fff; border-radius: 10px; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; background-image: radial-gradient(rgba(22,22,22,.12) 1px, transparent 1px); background-size: 16px 16px; }
.nodes__svg .nd rect { fill: #fff; stroke: #161616; stroke-width: 1.5; }
.nodes__svg .nd text { font: 500 13px/1 inherit; fill: #161616; pointer-events: none; }
.nodes__svg .nd.is-src rect { fill: #161616; } .nodes__svg .nd.is-src text { fill: #fff; }
.nodes__svg .nd.is-sel rect { stroke: #ff4410; stroke-width: 2.5; }
.nodes__svg .ed { stroke: #161616; stroke-width: 1.5; fill: none; }
.nodes__svg .ed-hit { stroke: transparent; stroke-width: 18; fill: none; cursor: pointer; }
.nodes__svg .ed.is-sel { stroke: #ff4410; stroke-width: 2.5; }
.nodes__bar { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.nodes__bar .mdemo__btn { min-height: 40px; padding: 0 .9em; font-size: 13px; }
.nodes__hint { font-size: 11px; opacity: .55; margin: 6px 0 0; min-height: 1.3em; }
/* merch & physical (4.4) */
.mer__rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 15% 8px; margin: 0 -10px; scrollbar-width: none; overscroll-behavior-x: contain; }
.mer__rail::-webkit-scrollbar { display: none; }
.mer__item { flex: 0 0 70%; scroll-snap-align: center; border-radius: 14px; background: radial-gradient(120% 90% at 50% 20%, #fff 0%, #efeae0 70%); padding: 8px; text-align: center; transition: transform .35s cubic-bezier(.2,0,0,1), opacity .35s; transform: scale(.86); opacity: .55; border: 0; font: inherit; color: inherit; cursor: pointer; }
.mer__item.is-on { transform: scale(1); opacity: 1; }
.mer__item svg { width: 100%; height: auto; display: block; }
.mer__item b { display: block; font-size: 13px; font-weight: 600; margin-top: 2px; }
.mer__item small { display: block; font-size: 11px; opacity: .55; }
.mer__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 8px; font-size: 12px; }
.mer__dots { display: flex; gap: 5px; } .mer__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(22,22,22,.25); } .mer__dots i.is-on { background: #161616; width: 16px; border-radius: 3px; }
.mer__shot img { width: 100%; border-radius: 10px; display: block; margin-top: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.mer__kit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px; border-radius: 10px; background: #fff; margin-top: 8px; }
.mer__kit svg { width: 100%; height: auto; }
/* corporate: escenario */
.mer__stage { position: relative; border-radius: 14px; overflow: hidden; background: radial-gradient(80% 60% at 50% 0%, #2a2a2e 0%, #0b0b0c 60%, #000 100%); color: #fff; padding: 14px 10px 10px; perspective: 900px; }
.mer__stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.04)), repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 24px); transform: rotateX(60deg); transform-origin: bottom; pointer-events: none; }
.mer__screen { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; border: 0; padding: 0; cursor: zoom-in; background: linear-gradient(160deg, #1c1c22, #050507); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 60px 6px rgba(120,140,255,.18); transition: transform .8s cubic-bezier(.2,0,0,1), box-shadow .8s; transform-origin: 50% 40%; overflow: hidden; color: #fff; font: inherit; }
.mer__screen svg { position: absolute; inset: 8% 25%; width: 50%; height: 84%; }
.mer__screen span { position: absolute; left: 10px; bottom: 8px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.mer__stage.is-zoom .mer__screen { transform: scale(1.06) translateY(-4px); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 0 90px 14px rgba(120,140,255,.3); cursor: zoom-out; }
.mer__spot { position: absolute; z-index: 0; top: -20%; left: 50%; width: 70%; height: 140%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 0%, rgba(255,255,255,.12), transparent 70%); pointer-events: none; }
.mer__obj { position: relative; z-index: 2; width: 46%; margin: -18% auto 0; filter: drop-shadow(0 18px 18px rgba(0,0,0,.6)); transition: transform .8s cubic-bezier(.2,0,0,1), opacity .5s; }
.mer__obj svg { width: 100%; height: auto; display: block; }
.mer__stage.is-zoom .mer__obj { transform: translateY(30%) scale(.7); opacity: .25; }
.mer__list { position: absolute; z-index: 3; left: 10px; right: 10px; top: 14px; list-style: none; margin: 0; padding: 12px 14px; border-radius: 8px; background: rgba(10,10,14,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none; transition: opacity .5s .25s, transform .6s .25s cubic-bezier(.2,0,0,1); }
.mer__stage.is-zoom .mer__list { opacity: 1; transform: none; pointer-events: auto; }
.mer__list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.mer__list li small { opacity: .55; font-size: 11px; }
.mer__list li:last-child { border: 0; }
.mer__list .msub__add { color: #fff; border-color: rgba(255,255,255,.6); }
.mer__cap { position: relative; z-index: 2; text-align: center; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; margin: 6px 0 0; }
@media (prefers-reduced-motion: reduce) { .mer__item, .mer__screen, .mer__obj, .mer__list { transition: none !important; } .mer__rail { scroll-behavior: auto; } }

/* ================= mg/005 · pulido (design-engineer pass) ================= */
/* 3 · apilado: cada carta y cada demo es su propio contexto; nada sale de ahí salvo el carrito flotante y la hoja. */
.deck__card { isolation: isolate; }
.mdemo { position: relative; isolation: isolate; }
/* 1 · aire lateral: las páginas de método usan el ancho; sin sangrías en descripción ni panel. */
.deck__card--metodo { padding: 18px 16px 16px !important; }
@media (min-width: 768px) { .deck__card--metodo { padding: 22px 20px 18px !important; } }
.deck__card--metodo .msub { padding: 9px 0; }
.deck__card--metodo .msub__t { font-size: 16px; }
.deck__card--metodo .msub__n { font-size: 11px; min-width: 1.9em; }
.deck__card--metodo .msub__d { margin: 3px 0 0 calc(1.9em + 8px); font-size: 12px; line-height: 1.25; }
.deck__card--metodo .msub__intro { font-size: 13px; margin-bottom: 10px; }
.deck__card--metodo .msub__add { padding: .5em .8em; }
.deck__card--metodo .msub__dots { width: 26px; height: 26px; }
.deck__card--metodo .deck__pie { margin-top: 10px; }
/* 2 · scroll solo si hace falta (la carta ya es overflow:auto; con el contenido compacto deja de desbordar). */
.deck__card--metodo { scrollbar-gutter: auto; }
/* 4 · hoja: mitad de pantalla abajo en móvil, panel lateral contenido en escritorio. */
.msheet { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.msheet__bd { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s ease; }
.msheet__pn { position: absolute; left: 0; right: 0; bottom: 0; height: min(62vh, 620px); background: #f4f0e7; color: #161616; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.35); display: flex; flex-direction: column; transform: translateY(105%); transition: transform .38s cubic-bezier(.2,0,0,1); outline: none; }
.msheet.is-open { pointer-events: auto; }
.msheet.is-open .msheet__bd { opacity: 1; }
.msheet.is-open .msheet__pn { transform: none; }
.msheet__hd { flex: none; padding: 8px 16px 10px; touch-action: none; cursor: grab; border-bottom: 1px solid rgba(22,22,22,.1); }
.msheet__grip { width: 40px; height: 4px; border-radius: 2px; background: rgba(22,22,22,.25); margin: 0 auto 8px; }
.msheet__row { display: flex; align-items: center; gap: 8px; }
.msheet__ttl { flex: 1; min-width: 0; margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msheet__ttl small { font-size: 12px; opacity: .5; font-weight: 400; margin-right: 6px; }
.msheet__x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(22,22,22,.25); background: none; font-size: 18px; line-height: 1; cursor: pointer; color: inherit; }
.msheet__bdy { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); }
.msheet__bdy .msub__more { margin: 0 !important; padding: 0 !important; background: none !important; border-radius: 0; }
.msheet__bdy .nodes__svg { height: 46vh; max-height: 420px; }
@media (min-width: 768px) {
  .msheet__bd { background: rgba(0,0,0,.15); }
  .msheet__pn { left: auto; top: 16px; right: 16px; bottom: 16px; width: min(440px, 40vw); height: auto; border-radius: 16px; transform: translateX(calc(100% + 24px)); }
  .msheet__grip { display: none; }
  .msheet__hd { cursor: default; padding-top: 14px; }
  .deck.has-sheet { padding-right: min(456px, calc(40vw + 16px)); }
  .deck { transition: padding .38s cubic-bezier(.2,0,0,1); }
  .msheet__bdy .nodes__svg { height: 360px; }
}
@media (prefers-reduced-motion: reduce) { .msheet__pn, .msheet__bd, .deck { transition: none !important; } }
/* paneles dentro de la hoja: márgenes justos */
.msheet__bdy .mer__rail { margin: 0 -16px; padding: 4px 15% 8px; }
.msheet__bdy .soc__card, .msheet__bdy .ads__pv { padding: 10px; }
.msub.is-sheet .msub__dots { background: #161616; color: #fff; border-color: #161616; }
/* plan & direction (1.3) · plantilla de posicionamiento */
.msheet.is-tall .msheet__pn { height: min(92vh, 760px); }
.plan { display: flex; flex-direction: column; gap: 10px; }
.plan__s { margin: 4px 0 6px; font-size: clamp(24px, 7.6vw, 36px); line-height: 1.34; font-weight: 500; letter-spacing: -0.025em; }
.plan__g { display: inline; padding: 0 .12em; border-bottom: 2px solid #161616; background: rgba(255,68,16,.08); border-radius: 4px 4px 0 0; outline: none; color: #161616; font-weight: 600; cursor: text; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.plan__g:empty::before { content: attr(data-ph); color: rgba(22,22,22,.38); font-weight: 500; }
.plan__g:focus { background: rgba(255,68,16,.18); border-color: #ff4410; }
.plan__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan__t { background: #fff; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.plan__t:nth-child(5) { grid-column: 1 / -1; }
.plan__t:nth-child(1) { grid-column: 1 / -1; }
.plan__k { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; opacity: .5; display: flex; justify-content: space-between; }
.plan__t .plan__g { display: block; border: 0; background: none; padding: 0; font-size: clamp(17px, 4.8vw, 22px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; min-height: 1.2em; }
.plan__t:focus-within { box-shadow: 0 0 0 2px #ff4410; }
.plan__out { font-size: 12px; line-height: 1.35; opacity: .7; margin: 0; }
.plan__bar { display: flex; gap: 6px; align-items: center; }
/* name & verbal (2.2) */
.nam__in { width: 100%; font: inherit; font-size: clamp(22px, 6.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; padding: 8px 10px; border: 1px solid rgba(22,22,22,.25); border-radius: 10px; }
.nam__chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 2px; }
.dchip { font: inherit; font-size: 12px; line-height: 1; padding: .5em .7em; border-radius: 999px; border: 1px solid transparent; cursor: default; background: rgba(22,22,22,.07); color: rgba(22,22,22,.6); display: inline-flex; gap: 4px; align-items: center; text-decoration: none; }
.dchip--ok { background: #d6f2dd; color: #0f5c26; border-color: #9ad6a9; cursor: pointer; }
.dchip--ok[aria-pressed=true] { background: #137a32; color: #fff; }
.dchip--no { background: rgba(179,38,30,.07); color: rgba(140,29,20,.55); text-decoration: line-through; }
.dchip--unk::after { content: '?'; font-weight: 600; }
.dchip--wait { opacity: .5; }
.nam__h { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.nam__h select { flex: none; font: inherit; font-size: 12px; padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(22,22,22,.25); }
.nam__h .dchip { cursor: pointer; }
.nam__h a { font-size: 12px; color: inherit; }
.nam__err { font-size: 11px; color: #b3261e; }
.nam__tone { width: 100%; font: inherit; font-size: 13px; border: 1px solid rgba(22,22,22,.25); border-radius: 8px; padding: 6px 8px; min-height: 56px; resize: vertical; }
/* estructura estándar de cada subsección: intro · líneas/demo · referencias */
.mstd__intro { font-size: 15px; line-height: 1.4; margin: 0 0 12px; opacity: .9; }
.mstd__intro--ph { opacity: .5; font-size: 13px; }
.mstd__refs { margin-top: 14px; border-top: 1px solid rgba(22,22,22,.14); padding-top: 8px; font-size: 11px; line-height: 1.4; color: rgba(22,22,22,.7); }
.mstd__refs summary { cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; list-style: none; display: flex; align-items: center; gap: 6px; }
.mstd__refs summary::-webkit-details-marker { display: none; }
.mstd__refs summary::after { content: '+'; margin-left: auto; font-size: 13px; }
.mstd__refs[open] summary::after { content: '−'; }
.mstd__refs ul { margin: 6px 0 0; padding-left: 1.1em; }
.mstd__refs li { margin: 3px 0; }
.mstd__src { margin: 6px 0 0; opacity: .6; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { padding: 9px 0; border-bottom: 1px solid rgba(22,22,22,.12); }
.lines b { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.lines b small { font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #8a5a00; background: #fff2cc; padding: .2em .45em; border-radius: 4px; }
.lines p { margin: 3px 0 0; font-size: 13px; line-height: 1.35; opacity: .8; }
.lines__grp { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .5; margin: 12px 0 2px; }

/* nivel: solo enseña/oculta extras; nada se repinta (estado compartido en window.sensaStore) */
html[data-level="scaleup"] .lv-s, html[data-level="corporate"] .lv-s { display: none !important; }
html:not([data-level="scaleup"]):not([data-level="corporate"]) .lv-su { display: none !important; }
html:not([data-level="corporate"]) .lv-c { display: none !important; }
html[data-level="corporate"] .lv-nc { display: none !important; }

/* mg/005 · la subsección es una carta apilada encima (no hoja ni panel lateral) */
.deck__stage > .msheet { position: absolute; inset: 0; z-index: 400; }
.deck__stage > .msheet .msheet__bd { display: none; }
.deck__stage > .msheet .msheet__pn, .deck__stage > .msheet.is-tall .msheet__pn { inset: 0; left: 0; right: 0; top: 0; bottom: 0; width: auto; height: auto; border-radius: 14px;
  transform: translate(14px, 26px) rotate(3deg) scale(.97); opacity: 0; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .25s ease; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.deck__stage > .msheet.is-open .msheet__pn { transform: none; opacity: 1; }
.deck__stage > .msheet .msheet__grip { display: none; }
.deck__stage > .msheet .msheet__hd { cursor: default; padding: 22px 22px 12px; }
.deck__stage > .msheet .msheet__bdy { padding: 12px 22px 22px; }
@media (min-width: 768px) { .deck.has-sheet { padding-right: 0; } .deck__stage > .msheet .msheet__hd { padding: 28px 26px 12px; } .deck__stage > .msheet .msheet__bdy { padding: 12px 26px 28px; } }
.deck__stage > .msheet .msheet__bdy .nodes__svg { height: 46%; min-height: 300px; }

/* mg/005 · sin notas/ayudas en las demos: solo controles y el contenido de Manu */
.mdemo .mdemo__note, .mdemo [data-schedmsg], .nodes__hint { display: none !important; }

/* 4.1 · perfil en teléfono */
.soc2 { display: grid; gap: 10px; justify-items: center; }
.ph { width: min(100%, 280px); aspect-ratio: 9 / 19; border-radius: 34px; background: #161616; padding: 8px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.ph__notch { position: absolute; left: 50%; top: 14px; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #161616; z-index: 2; }
.ph__scr { height: 100%; border-radius: 27px; background: #f4f0e7; color: #161616; overflow: hidden; padding: 38px 12px 0; font-size: 11px; line-height: 1.3; }
.ig__bar { display: flex; align-items: center; gap: 5px; font-size: 14px; }
.ig__h { font-weight: 500; outline: none; min-width: 2ch; }
.ig__i { margin-left: auto; width: 16px; height: 16px; padding: 0; border: 0; background: none; color: inherit; opacity: .5; cursor: pointer; }
.ig__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(22,22,22,.2); flex: none; }
.ig__dot.is-ok { background: #1f8a4c; } .ig__dot.is-no { background: #c0392b; } .ig__dot.is-wait { background: rgba(22,22,22,.45); }
.ig__top { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 8px; }
.ig__av { width: 56px; height: 56px; border-radius: 50%; background: #161616; display: grid; place-items: center; }
.ig__av img { width: 64%; filter: invert(1); }
.ig__n { display: grid; justify-items: center; } .ig__n b { font-size: 13px; font-weight: 500; } .ig__n small { font-size: 10px; opacity: .6; }
.ig__name { font-weight: 500; outline: none; }
.ig__bio { outline: none; white-space: pre-wrap; opacity: .85; }
.ig__link { display: flex; align-items: center; gap: 0; margin: 2px 0 8px; font-weight: 500; }
.ig__link [data-dname] { outline: none; } .ig__link .ig__dot { margin-left: 5px; }
.ig__follow { width: 100%; font: inherit; font-size: 11px; font-weight: 500; padding: 6px; border-radius: 999px; border: 1px solid #161616; background: #161616; color: #f4f0e7; }
.ig__hl { display: flex; gap: 10px; margin: 10px 0; }
.ig__hl span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(22,22,22,.3); padding: 2px; }
.ig__hl i { display: block; width: 100%; height: 100%; border-radius: 50%; background: center/cover; }
.ig__tabs { display: flex; border-top: 1px solid rgba(22,22,22,.15); margin: 0 -12px; }
.ig__tabs span { flex: 1; display: grid; place-items: center; padding: 6px 0; opacity: .4; } .ig__tabs span.is-on { opacity: 1; border-top: 1px solid #161616; margin-top: -1px; }
.ig__tabs svg { width: 18px; height: 18px; }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -12px; }
.ig__grid span { aspect-ratio: 1; background: #e3ddd0 center/cover; position: relative; }
.ig__grid[data-f="4:5"] span { aspect-ratio: 4 / 5; } .ig__grid[data-f="9:16"] span { aspect-ratio: 9 / 16; }
.ig__grid span svg { position: absolute; right: 4px; top: 4px; width: 12px; height: 12px; color: #fff; }
.ig__grid .ig__t { background: #fff; padding: 5px; font-size: 8px; overflow: hidden; }
.ph [contenteditable]:focus { box-shadow: 0 1px 0 #161616; }
.soc2__tip { margin: 0; font-size: 11px; opacity: .6; }

/* 4.2 · edición en la propia vista previa + cromado nativo */
.ads__chips button.is-tab { box-shadow: 0 0 0 2px #f4f0e7, 0 0 0 3px #161616; }
.ads__chips button[aria-pressed=false] { opacity: .5; }
.ads__txt[contenteditable], .stc__cap[contenteditable] { outline: none; min-height: 1.3em; }
.ads__tapm { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.ads__tapm img, .ads__tapm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ads__pick { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 4; display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(244,240,231,.92); overflow-x: auto; }
.ads__pick[hidden] { display: none; }
.ads__pick button { flex: none; width: 34px; height: 44px; padding: 0; border: 1px solid rgba(22,22,22,.2); border-radius: 6px; overflow: hidden; background: #fff; color: #161616; display: grid; place-items: center; cursor: grab; }
.ads__pick img { width: 100%; height: 100%; object-fit: cover; } .ads__pick svg { width: 16px; }
.ads__pv--full { padding: 0; background: none; } .ads__pv--full .ads__med[data-r="9:16"] { width: 72%; border-radius: 14px; }
.stc { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: #fff; font-size: 10px; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.stc svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.stc [contenteditable], .stc button { pointer-events: auto; }
.stc__bars { display: flex; gap: 3px; padding: 6px 6px 0; } .stc__bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.4); } .stc__bars i.is-on { background: #fff; }
.stc__top { display: flex; align-items: center; gap: 5px; padding: 6px 8px; } .stc__top small { opacity: .75; } .stc__sp { flex: 1; } .stc__top svg { width: 16px; height: 16px; }
.stc__av { width: 22px; height: 22px; border-radius: 50%; background: #161616 url(../logo/sensa-icon.svg) center/62% no-repeat; border: 1px solid #fff; flex: none; filter: none; }
.stc__bot { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 8px; }
.stc__reply { flex: 1; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 6px 10px; }
.stc__side { position: absolute; right: 6px; bottom: 52px; display: grid; justify-items: center; gap: 2px; }
.stc__side small { margin-bottom: 6px; font-size: 9px; }
.stc__avf { position: relative; margin-bottom: 10px; } .stc__avf i { position: absolute; left: 50%; bottom: -7px; margin-left: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; color: #161616; font-style: normal; font-size: 11px; line-height: 14px; text-align: center; text-shadow: none; }
.stc__disc { width: 22px; height: 22px; border-radius: 50%; background: #161616 url(../logo/sensa-icon.svg) center/45% no-repeat; border: 4px solid #333; animation: stcspin 4s linear infinite; }
@keyframes stcspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stc__disc { animation: none; } }
.stc__foot { position: absolute; left: 8px; right: 40px; bottom: 8px; display: grid; gap: 3px; }
.stc__who { display: flex; align-items: center; gap: 6px; } .stc__fol { border: 1px solid #fff; border-radius: 6px; padding: 1px 6px; }
.stc__mus { display: flex; align-items: center; gap: 4px; opacity: .9; } .stc__mus svg { width: 11px; height: 11px; }
.act { display: flex; align-items: center; gap: 12px; padding: 7px 2px 2px; } .act svg { width: 18px; height: 18px; } .act span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; } .act__sp { flex: 1; }
.act--li { justify-content: space-between; } .act--li svg { width: 15px; height: 15px; }

/* 3.2 · prototipo + recuento */
.pt { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
.pt__dev { border: 1px solid #161616; border-radius: 18px; padding: 6px; background: #fff; }
.pt__vp { aspect-ratio: 9 / 16; border-radius: 12px; background: #f4f0e7; overflow: hidden; }
.pt__s { height: 100%; padding: 8px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.pt__hd { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; }
.pt__bk, .pt__hot, .pt__cta { font: inherit; border: 1px solid #161616; background: none; border-radius: 50%; width: 22px; height: 22px; padding: 0; cursor: pointer; color: inherit; }
.pt__hot, .pt__cta { position: absolute; right: 8px; bottom: 8px; background: #161616; color: #fff; animation: pthint 1.6s ease-in-out infinite; }
@keyframes pthint { 50% { box-shadow: 0 0 0 5px rgba(22,22,22,.12); } }
.pt__blk { height: 40px; border-radius: 6px; background: rgba(22,22,22,.1); } .pt__blk--s { height: 20px; width: 60%; } .pt__blk--l { height: 70px; }
.pt__row { height: 22px; border-radius: 6px; background: rgba(22,22,22,.08); } .pt__row[data-go] { background: rgba(22,22,22,.18); cursor: pointer; }
.pt__dots { display: flex; justify-content: center; gap: 4px; padding-top: 5px; } .pt__dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(22,22,22,.25); } .pt__dots i.is-on { background: #161616; }
.pt__tb { border-collapse: collapse; font-size: 12px; width: 100%; } .pt__tb th, .pt__tb td { padding: 3px 2px; text-align: center; font-weight: 400; } .pt__tb th:first-child { text-align: left; opacity: .6; }
.pt__c { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(22,22,22,.3); background: none; font: inherit; cursor: pointer; color: inherit; }
.pt__c.is-ok { background: #161616; color: #fff; border-color: #161616; } .pt__c.is-ko { border-color: #c0392b; color: #c0392b; }
.pt__sum td { font-variant-numeric: tabular-nums; border-top: 1px solid rgba(22,22,22,.15); }
.pt__add { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(22,22,22,.3); background: none; cursor: pointer; padding: 0; }

/* 3.3 · lanzamiento */
.shp__l { list-style: none; margin: 0 0 10px; padding: 0; } .shp__l li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(22,22,22,.1); }
.shp__ck { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(22,22,22,.35); background: none; cursor: pointer; font: inherit; font-size: 12px; padding: 0; color: inherit; }
.shp__ck[aria-pressed=true] { background: #161616; color: #fff; border-color: #161616; }
.shp__bar { height: 6px; border-radius: 3px; background: rgba(22,22,22,.1); overflow: hidden; } .shp__bar i { display: block; height: 100%; background: #161616; transition: width .4s ease; }
.shp__st { display: flex; justify-content: space-between; margin-top: 6px; } .shp__st button { font: inherit; font-size: 11px; border: 0; background: none; padding: 2px; cursor: pointer; color: inherit; opacity: .5; } .shp__st button[aria-pressed=true] { opacity: 1; font-weight: 500; } .shp__st button:disabled { opacity: .2; cursor: default; }

/* 1.1 · entrevistas */
.itv__in { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .itv__in input { flex: 1; min-width: 120px; font: inherit; font-size: 12px; padding: 6px 8px; border: 0; border-bottom: 1px solid rgba(22,22,22,.3); background: none; }
.itv__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; } .itv__cols b { font-weight: 500; display: block; border-bottom: 1px solid rgba(22,22,22,.2); padding-bottom: 3px; } .itv__cols small { opacity: .5; }
.itv__cols p { margin: 4px 0; font-size: 12px; display: flex; justify-content: space-between; gap: 4px; } .itv__cols p button { border: 0; background: none; cursor: pointer; opacity: .4; padding: 0; }

/* 1.2 · mapa */
.bm { position: relative; } .bm > [data-addp] { position: absolute; right: 0; top: 0; }
.bm__map { position: relative; aspect-ratio: 1; border-left: 1px solid #161616; border-bottom: 1px solid #161616; margin: 0 0 18px 18px; background: linear-gradient(rgba(22,22,22,.1), rgba(22,22,22,.1)) center/1px 100% no-repeat, linear-gradient(rgba(22,22,22,.1), rgba(22,22,22,.1)) center/100% 1px no-repeat; touch-action: none; }
.bm__ax { position: absolute; font-size: 11px; opacity: .6; outline: none; } .bm__ax--x { right: 0; bottom: -18px; } .bm__ax--y { left: -18px; top: 0; writing-mode: vertical-rl; transform: rotate(180deg); }
.bm__p { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 4px; cursor: grab; } .bm__p i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #161616; background: #fff; } .bm__p.is-me i { background: #161616; } .bm__p b { font-size: 11px; font-weight: 500; outline: none; }

/* 2.1 · valores */
.vl__pick { display: flex; gap: 6px; margin: 0 0 10px; } .vl__pick span { flex: 1; text-align: center; padding: 10px 4px; border-bottom: 1px solid rgba(22,22,22,.25); font-size: 15px; opacity: .35; } .vl__pick span.is-on { opacity: 1; border-color: #161616; font-weight: 500; }
