/* Eco Meier Studio — formulario de una pregunta a la vez.
   Todo vive bajo .eco-f; los colores salen del tema (--eco-q pregunta, --eco-a respuesta, --eco-b botón, --eco-bt texto del botón, --eco-bg fondo).
   Usa consultas de contenedor: se ve como en celular cuando su caja es angosta (también dentro del editor). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fuentes/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fuentes/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fuentes/heebo-hebrew.woff2) format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
.eco-f {
  --eco-a8: color-mix(in srgb, var(--eco-a) 8%, transparent);
  --eco-a14: color-mix(in srgb, var(--eco-a) 14%, transparent);
  --eco-a22: color-mix(in srgb, var(--eco-a) 22%, transparent);
  --eco-a35: color-mix(in srgb, var(--eco-a) 38%, transparent);
  --eco-a60: color-mix(in srgb, var(--eco-a) 62%, transparent);
  --eco-q70: color-mix(in srgb, var(--eco-q) 72%, transparent);
  --eco-q50: color-mix(in srgb, var(--eco-q) 52%, transparent);
  --eco-rs: calc(var(--eco-r) * .6);
  position: relative; height: 100%; min-height: 100%; overflow: hidden; isolation: isolate;
  background: var(--eco-bg); color: var(--eco-q); font-family: var(--eco-font);
  font-size: calc(16px * var(--eco-scale, 1)); line-height: 1.4; text-align: start;
  container-type: inline-size; container-name: eco;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
.eco-f *, .eco-f *::before, .eco-f *::after { box-sizing: border-box; }
:where(.eco-f) button { font: inherit; color: inherit; }
:where(.eco-f) a { color: inherit; }
.eco-f .eco-q:focus, .eco-f .eco-q:focus-visible, .eco-f .eco-screen:focus { outline: none; }
.eco-f [hidden] { display: none !important; }
.eco-f :focus-visible { outline: 2px solid var(--eco-a); outline-offset: 3px; }

/* fondo */
.eco-bgimg { position: absolute; inset: 0; z-index: -1; background-position: center; opacity: 0; transition: opacity .4s; }
.eco-bgimg.on { opacity: 1; }
.eco-bgimg::after { content: ""; position: absolute; inset: 0; background: var(--eco-shade, transparent); }
.eco-glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 88% -8%, color-mix(in srgb, var(--eco-b) 20%, transparent), transparent 70%),
    radial-gradient(40% 40% at -5% 105%, color-mix(in srgb, #6C48E6 16%, transparent), transparent 70%),
    linear-gradient(color-mix(in srgb, var(--eco-q) 4%, transparent) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, color-mix(in srgb, var(--eco-q) 4%, transparent) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,.35) 75%, transparent);
}

/* barra de avance */
.eco-bar { position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--eco-a14); z-index: 3; }
.eco-bar i { display: block; height: 100%; width: 0; background: var(--eco-a); transition: width .45s cubic-bezier(.2,.7,.2,1); border-radius: 0 3px 3px 0; }
.eco-count-prog { position: absolute; inset-inline-start: 18px; bottom: 20px; font-size: 13px; color: var(--eco-q70); z-index: 3; }
.eco-preview-banner {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-size: 12px; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--eco-q) 12%, var(--eco-bg)); color: var(--eco-q70); border: 1px solid color-mix(in srgb, var(--eco-q) 16%, transparent);
}

/* escenario */
.eco-stage { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; }
.eco-screen {
  min-height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding: 72px max(24px, 6cqi) 104px;
}
.eco-screen.in-up { animation: ecoInUp .44s cubic-bezier(.2,.75,.25,1) .08s both; }
.eco-screen.in-down { animation: ecoInDown .44s cubic-bezier(.2,.75,.25,1) .08s both; }
.eco-screen.out-up { position: absolute; inset: 0; animation: ecoOutUp .3s cubic-bezier(.4,0,.9,.6) both; pointer-events: none; }
.eco-screen.out-down { position: absolute; inset: 0; animation: ecoOutDown .3s cubic-bezier(.4,0,.9,.6) both; pointer-events: none; }
@keyframes ecoInUp { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
@keyframes ecoInDown { from { opacity: 0; transform: translateY(-56px); } to { opacity: 1; transform: none; } }
@keyframes ecoOutUp { 55% { opacity: 0; } to { opacity: 0; transform: translateY(-56px); } }
@keyframes ecoOutDown { 55% { opacity: 0; } to { opacity: 0; transform: translateY(56px); } }
@media (prefers-reduced-motion: reduce) {
  .eco-screen.in-up, .eco-screen.in-down, .eco-screen.out-up, .eco-screen.out-down { animation-name: ecoFade; }
  @keyframes ecoFade { from { opacity: 0; } }
}

/* pregunta */
.eco-q { width: 100%; max-width: 720px; margin: 0 auto; position: relative; }
.eco-center .eco-q:not(.has-split) { text-align: center; }
.eco-center .eco-qhead { justify-content: center; }
.eco-center .eco-choices:not(.pictures) { align-items: center; }
.eco-center .eco-actions { justify-content: center; }
.eco-q.has-split { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eco-qhead { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 26px; }
.eco-num { flex: none; display: inline-flex; align-items: center; gap: 4px; color: var(--eco-a); font-size: calc(15px * var(--eco-scale)); margin-top: .5em; font-weight: 500; }
[dir="rtl"] .eco-num svg { transform: scaleX(-1); }
.eco-qtext { min-width: 0; flex: 1; }
.eco-title { font-size: calc(26px * var(--eco-scale)); font-weight: 400; line-height: 1.32; margin: 0; letter-spacing: -0.01em; overflow-wrap: anywhere; color: var(--eco-q); }
.eco-title.big { font-size: calc(clamp(28px, 4.6cqi, 42px) * var(--eco-scale)); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.eco-title b { font-weight: 650; }
.eco-req { color: var(--eco-q70); margin-inline-start: 2px; font-weight: 400; }
.eco-desc { font-size: calc(18px * var(--eco-scale)); color: var(--eco-q70); margin: 10px 0 0; line-height: 1.45; overflow-wrap: anywhere; }
.eco-desc a { color: var(--eco-a); }
.quote .eco-title { font-family: Georgia, "Times New Roman", serif; font-style: italic; border-inline-start: 3px solid var(--eco-a); padding-inline-start: 18px; }
.eco-media { margin: 0 0 28px; }
.eco-media img { max-width: 100%; max-height: 340px; border-radius: 10px; object-fit: cover; display: block; }
.eco-media.center img { margin: 0 auto 26px; max-height: 260px; }
.eco-media.split { margin: 0; position: relative; }
.eco-media.split img { width: 100%; max-height: 72vh; border-radius: 14px; }
.eco-help { font-size: 15px; color: var(--eco-q70); margin: -12px 0 14px; }

/* campos de texto */
.eco-field-wrap { position: relative; }
.eco-input {
  width: 100%; font: inherit; font-size: calc(clamp(22px, 3.3cqi, 30px) * var(--eco-scale)); color: var(--eco-a);
  background: transparent; border: 0; border-bottom: 1px solid var(--eco-a35); border-radius: 0;
  padding: 6px 0 9px; outline: none; transition: border-color .2s, box-shadow .2s; caret-color: var(--eco-a);
  -webkit-appearance: none; appearance: none;
}
.eco-input::placeholder { color: var(--eco-a35); opacity: 1; }
.eco-input:focus { border-bottom-color: var(--eco-a); box-shadow: 0 1px 0 var(--eco-a); }
.eco-input:disabled { opacity: 1; -webkit-text-fill-color: currentColor; }
.eco-input.long { resize: none; overflow: hidden; line-height: 1.35; min-height: 52px; }
.eco-input.sm { font-size: calc(21px * var(--eco-scale)); }
.eco-count { position: absolute; inset-inline-end: 0; bottom: -22px; font-size: 12px; color: var(--eco-q50); }
.eco-hint { font-size: 12.5px; color: var(--eco-q70); }
.eco-hint.small { margin-top: 10px; }
.eco-select {
  font: inherit; font-size: 18px; color: var(--eco-a); background: var(--eco-a8); border: 1px solid var(--eco-a35);
  border-radius: var(--eco-rs); padding: 8px 10px; max-width: 120px; outline: none;
}
.eco-phone { display: flex; gap: 12px; align-items: flex-end; }
.eco-phone .eco-input { flex: 1; }
.eco-date { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.eco-date-part { display: flex; flex-direction: column; gap: 6px; }
.eco-date-lbl { font-size: 13px; color: var(--eco-q70); }
.eco-date .eco-input { width: 2.9em; text-align: center; }
.eco-date .eco-date-Y { width: 4.4em; }
.eco-date-sep { font-size: 28px; color: var(--eco-a35); padding-bottom: 8px; }

/* opciones */
.eco-choices { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; max-width: 100%; }
.eco-choice {
  position: relative; display: inline-flex; flex-direction: column; min-width: min(260px, 100%); max-width: 100%;
  text-align: start; cursor: pointer; padding: 8px 12px 8px 9px; border-radius: var(--eco-rs);
  background: var(--eco-a8); border: 1px solid var(--eco-a35); color: var(--eco-a);
  font-size: calc(19px * var(--eco-scale)); line-height: 1.3; transition: background .15s, box-shadow .15s, transform .08s;
}
.eco-choice:hover { background: var(--eco-a14); }
.eco-choice:active { transform: scale(.99); }
.eco-choice.on { background: var(--eco-a22); box-shadow: inset 0 0 0 1px var(--eco-a); animation: ecoBlink .28s; }
@keyframes ecoBlink { 0%, 100% { background: var(--eco-a22); } 50% { background: var(--eco-a8); } }
.eco-ch-row { display: flex; align-items: center; gap: 12px; width: 100%; }
.eco-key {
  flex: none; min-width: 26px; height: 26px; padding: 0 5px; display: inline-grid; place-items: center;
  border: 1px solid var(--eco-a60); border-radius: 4px; font-size: 12.5px; font-weight: 650; background: color-mix(in srgb, var(--eco-bg) 70%, transparent);
  font-family: var(--eco-font);
}
.eco-choice.on .eco-key { background: var(--eco-a); color: var(--eco-bg); border-color: var(--eco-a); }
.eco-ch-label { flex: 1; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.eco-ch-check { flex: none; opacity: 0; transition: opacity .15s; display: inline-flex; }
.eco-choice.on .eco-ch-check { opacity: 1; }
.eco-choices.yn { flex-direction: row; flex-wrap: wrap; }
.eco-choices.yn .eco-choice { min-width: 150px; }
.eco-other-input { display: none; flex: 1; min-width: 0; font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--eco-a35); outline: none; padding: 2px 0; }
.eco-other.typing .eco-other-input { display: block; }
.eco-other.typing .eco-other-label { display: none; }

/* opciones con imagen */
.eco-choices.pictures { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); align-items: stretch; width: 100%; }
.eco-choices.pictures.big { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.eco-choice.picture { padding: 8px; min-width: 0; gap: 8px; }
.eco-choice.picture .eco-ch-row { gap: 8px; }
.eco-choice.picture .eco-ch-label { font-size: .84em; hyphens: manual; line-height: 1.2; }
.eco-choice.picture .eco-ch-check { display: none; }
.eco-choice.picture .eco-key { min-width: 22px; height: 22px; font-size: 11.5px; }
.eco-pic { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: calc(var(--eco-rs) * .8); overflow: hidden; background: var(--eco-a8); color: var(--eco-a60); }
.eco-pic img { width: 100%; height: 100%; object-fit: cover; }
.nolabels .eco-ch-label { display: none; }

/* lista desplegable */
.eco-dd { position: relative; max-width: 560px; }
.eco-dd-in { position: relative; }
.eco-dd-in .eco-input { padding-inline-end: 34px; }
.eco-dd-chev { position: absolute; inset-inline-end: 0; bottom: 12px; color: var(--eco-a); pointer-events: none; display: inline-flex; }
.eco-dd-list {
  position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 6; max-height: 270px; overflow-y: auto;
  background: color-mix(in srgb, var(--eco-bg) 94%, var(--eco-a)); border: 1px solid var(--eco-a35); border-radius: var(--eco-rs);
  box-shadow: 0 18px 50px rgba(0,0,0,.28); padding: 4px;
}
.eco-dd-item { padding: 10px 12px; border-radius: 6px; cursor: pointer; color: var(--eco-a); font-size: 18px; }
.eco-dd-item.act, .eco-dd-item:hover { background: var(--eco-a14); }
.eco-dd-item.on { background: var(--eco-a22); }
.eco-dd-none { padding: 10px 12px; color: var(--eco-q50); }

/* escalas */
.eco-scale-wrap { max-width: 680px; }
.eco-scale { display: grid; grid-template-columns: repeat(var(--n, 11), minmax(0, 1fr)); gap: 6px; }
.eco-scale.n5 { --n: 5; } .eco-scale.n6 { --n: 6; } .eco-scale.n7 { --n: 7; } .eco-scale.n8 { --n: 8; } .eco-scale.n9 { --n: 9; } .eco-scale.n10 { --n: 10; } .eco-scale.n11 { --n: 11; }
.eco-scale-btn {
  height: 58px; border-radius: var(--eco-rs); border: 1px solid var(--eco-a35); background: var(--eco-a8); color: var(--eco-a);
  font-size: 20px; cursor: pointer; transition: background .15s, transform .08s;
}
.eco-scale-btn:hover { background: var(--eco-a22); }
.eco-scale-btn.on { background: var(--eco-a); color: var(--eco-bg); border-color: var(--eco-a); }
.eco-scale-btn:disabled { cursor: default; }
.eco-scale-labels { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; margin-top: 10px; font-size: 14px; color: var(--eco-q70); }
.eco-scale-labels .c { text-align: center; }
.eco-scale-labels .r { text-align: end; }
.eco-rating { display: flex; gap: clamp(4px, 1.6cqi, 14px); flex-wrap: wrap; }
.eco-rate { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--eco-a60); display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .1s, color .15s; }
.eco-rate svg { width: clamp(34px, 6cqi, 48px); height: auto; }
.eco-rate:hover { transform: scale(1.07); }
.eco-rate.lit { color: var(--eco-a); }
.eco-rate.lit svg { fill: var(--eco-a); }
.eco-rate-n { font-size: 13px; color: var(--eco-q50); }
.eco-rate:disabled { cursor: default; }

/* ordenar */
.eco-rank { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.eco-key.rank { font-variant-numeric: tabular-nums; }
.eco-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; background: none; border: 0; padding: 4px 0; color: var(--eco-q70); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.eco-link.center { align-self: center; margin-inline: auto; }

/* matriz */
.eco-mx-scroll { overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
.eco-matrix { display: grid; grid-template-columns: minmax(130px, 1.5fr) repeat(var(--cols), minmax(72px, 1fr)); min-width: min(100%, 560px); }
.eco-mx-row { display: contents; }
.eco-mx-cell { padding: 12px 8px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--eco-a14); text-align: center; }
.eco-mx-cell.lbl { justify-content: flex-start; text-align: start; color: var(--eco-q); font-size: 17px; }
.eco-mx-row.head .eco-mx-cell { border-bottom-color: var(--eco-a35); color: var(--eco-q70); font-size: 14px; }
.eco-mx-dot { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--eco-a60); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--eco-bg); padding: 0; transition: background .12s; }
.eco-mx-dot.sq { border-radius: 5px; }
.eco-mx-dot svg { opacity: 0; }
.eco-mx-dot.on { background: var(--eco-a); border-color: var(--eco-a); box-shadow: inset 0 0 0 4px var(--eco-bg); }
.eco-mx-dot.sq.on { box-shadow: none; }
.eco-mx-dot.sq.on svg { opacity: 1; }

/* archivo */
.eco-file {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 190px; padding: 24px; border: 1.5px dashed var(--eco-a35); border-radius: var(--eco-r); background: var(--eco-a8);
  color: var(--eco-a); cursor: pointer; transition: background .15s, border-color .15s; max-width: 640px;
}
.eco-file:hover, .eco-file.drag { background: var(--eco-a14); border-color: var(--eco-a); }
.eco-file.has { border-style: solid; }
.eco-file.busy { opacity: .7; pointer-events: none; }
.eco-file-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.eco-file-ico { display: inline-flex; margin-bottom: 4px; }
.eco-file-t { font-size: 19px; font-weight: 500; overflow-wrap: anywhere; }
.eco-file-s { font-size: 14px; color: var(--eco-q70); }
.eco-file-status { font-size: 14px; color: var(--eco-q70); margin-top: 8px; min-height: 1em; }

/* contacto y dirección */
.eco-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; max-width: 680px; }
.eco-parts.address .eco-part:nth-child(-n+2) { grid-column: 1 / -1; }
.eco-part { display: flex; flex-direction: column; gap: 4px; }
.eco-part-lbl { font-size: 14px; color: var(--eco-q70); }

/* Tempo */
.eco-sched { width: 100%; height: 640px; border: 1px solid var(--eco-a22); border-radius: 14px; background: #fff; display: block; }
.eco-sched-empty, .eco-booked { display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: var(--eco-r); background: var(--eco-a8); border: 1px solid var(--eco-a35); color: var(--eco-a); font-size: 17px; }

/* botones y avisos */
.eco-actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.eco-actions.center { justify-content: center; }
.eco-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  background: var(--eco-b); color: var(--eco-bt); border: 0; border-radius: var(--eco-rs);
  padding: 9px 16px; font-size: calc(20px * var(--eco-scale)); font-weight: 650; line-height: 1.2; cursor: pointer;
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--eco-b) 70%, transparent); transition: filter .15s, transform .08s;
}
.eco-btn:hover { filter: brightness(1.07); }
.eco-btn:active { transform: translateY(1px); }
.eco-btn.lg { font-size: calc(22px * var(--eco-scale)); padding: 12px 26px; }
.eco-btn.busy { opacity: .75; pointer-events: none; }
.eco-err { display: none; }
.eco-err.on {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px; border-radius: 5px;
  background: color-mix(in srgb, #F2382F 16%, var(--eco-bg)); color: var(--eco-q); font-size: 15px;
}
.eco-err.shake { animation: ecoShake .32s; }
@keyframes ecoShake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.eco-time { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 14px; color: var(--eco-q70); }
.eco-welcome, .eco-ending { text-align: center; max-width: 780px; display: flex; flex-direction: column; align-items: center; }
.eco-welcome .eco-desc, .eco-ending .eco-desc { max-width: 620px; }
.eco-score { display: flex; flex-direction: column; align-items: center; margin-top: 18px; color: var(--eco-q70); font-size: 15px; }
.eco-score b { font-size: 56px; line-height: 1.1; color: var(--eco-a); font-weight: 650; }
.eco-own { margin-top: 30px; font-size: 14px; color: var(--eco-q70); display: inline-flex; gap: 6px; align-items: center; text-decoration: none; border-bottom: 1px solid var(--eco-a35); }
.eco-own:hover { color: var(--eco-q); }

/* navegación */
.eco-nav { position: absolute; inset-inline-end: 16px; bottom: 16px; display: flex; gap: 10px; align-items: center; z-index: 3; }
.eco-nav-arrows { display: flex; border-radius: var(--eco-rs); overflow: hidden; box-shadow: 0 6px 18px -10px rgba(0,0,0,.4); }
.eco-nav.hide-arrows .eco-nav-arrows { display: none; }
.eco-nav-btn { width: 38px; height: 34px; display: grid; place-items: center; background: var(--eco-b); color: var(--eco-bt); border: 0; cursor: pointer; }
.eco-nav-btn + .eco-nav-btn { border-inline-start: 1px solid color-mix(in srgb, var(--eco-bt) 22%, transparent); }
.eco-nav-btn:disabled { opacity: .55; cursor: default; }
.eco-brand {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--eco-rs);
  background: var(--eco-b); color: var(--eco-bt); font-size: 13px; text-decoration: none; white-space: nowrap;
}
.eco-brand b { font-weight: 700; }
.eco-brand-dot { width: 7px; height: 7px; border-radius: 50%; background: #F2382F; box-shadow: 0 0 0 2px color-mix(in srgb, #F2382F 30%, transparent); }

/* celular (o caja angosta) */
@container eco (max-width: 620px) {
  .eco-screen { justify-content: flex-start; padding: 64px 20px 110px; }
  .eco-welcome, .eco-ending { margin-block: auto; }
  .eco-screen:has(.eco-welcome), .eco-screen:has(.eco-ending) { justify-content: center; }
  .eco-qhead { margin-bottom: 20px; gap: 8px; }
  .eco-title { font-size: calc(21px * var(--eco-scale)); }
  .eco-desc { font-size: 16px; }
  .eco-choice { min-width: 100%; font-size: 17px; }
  .eco-choices.yn .eco-choice { min-width: calc(50% - 5px); flex: 1; }
  .eco-choices.pictures { grid-template-columns: 1fr 1fr; }
  .eco-scale.n11 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .eco-scale.n9, .eco-scale.n10 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .eco-scale-btn { height: 50px; font-size: 18px; }
  .eco-parts { grid-template-columns: 1fr; gap: 18px; }
  .eco-q.has-split { grid-template-columns: 1fr; gap: 20px; }
  .eco-q.has-split .eco-media.split { order: -1; }
  .eco-media.split img { max-height: 30vh; }
  .eco-actions { margin-top: 24px; }
  .eco-hint { display: none; }
  .eco-btn { font-size: 18px; }
  .eco-nav { inset-inline: 12px; bottom: 12px; justify-content: space-between; }
  .eco-nav-arrows { order: 2; }
  .eco-brand { order: 1; height: 32px; }
  .eco-matrix { display: block; min-width: 0; }
  .eco-mx-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
  .eco-mx-row.head { display: none; }
  .eco-mx-cell { padding: 0; border: 0; justify-content: flex-start; }
  .eco-mx-cell.lbl { font-weight: 500; }
  .eco-mx-dot { width: 100%; height: auto; border-radius: var(--eco-rs); justify-content: start; padding: 9px 12px; color: var(--eco-a); background: var(--eco-a8); border-color: var(--eco-a35); }
  .eco-mx-dot::after { content: attr(data-col); font-size: 16px; }
  .eco-mx-dot svg { display: none; }
  .eco-mx-dot.on { background: var(--eco-a22); box-shadow: inset 0 0 0 1px var(--eco-a); color: var(--eco-a); }
  .eco-sched { height: 560px; }
  .eco-count-prog { bottom: 58px; }
}

/* incrustado: sin marca de agua tan grande */
.eco-embed .eco-screen { padding-top: 48px; }

/* ---------- modo edición (lienzo del editor) ---------- */
.eco-recall-legend { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; font-size: 12.5px; color: var(--eco-q50); }
.eco-recall-legend code { font-family: var(--f-mono, monospace); color: var(--eco-a); font-size: 12px; }
.eco-editing .eco-screen { animation: none !important; }
.eco-editing .eco-ed { outline: none; border-radius: 6px; cursor: text; transition: background .15s, box-shadow .15s; min-width: 2ch; }
.eco-editing .eco-ed:hover { background: var(--eco-a8); }
.eco-editing .eco-ed:focus { background: var(--eco-a8); box-shadow: 0 0 0 2px var(--eco-a35); }
.eco-editing .eco-ed:empty::before { content: attr(data-ph); color: var(--eco-q50); pointer-events: none; }
.eco-editing .eco-title.eco-ed { display: inline-block; width: 100%; }
.eco-editing .eco-choice { cursor: default; padding-inline-end: 34px; }
.eco-ch-del {
  position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: color-mix(in srgb, var(--eco-q) 14%, var(--eco-bg)); color: var(--eco-q); cursor: pointer;
  opacity: 0; transition: opacity .15s;
}
.eco-choice:hover .eco-ch-del, .eco-dd-edit-row:hover .eco-ch-del, .eco-ch-del:focus-visible { opacity: 1; }
.eco-choice.picture .eco-ch-del { top: 14px; transform: none; }
.eco-ch-add {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 7px 12px; border-radius: var(--eco-rs);
  background: transparent; border: 1px dashed var(--eco-a35); color: var(--eco-a); cursor: pointer; font-size: 15px;
}
.eco-ch-add:hover { background: var(--eco-a8); }
.eco-pic-edit {
  position: absolute; inset-inline-end: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 8px; border: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.6); color: #fff; cursor: pointer;
}
.eco-dd-edit { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.eco-dd-edit-row { position: relative; padding: 6px 36px 6px 10px; border-radius: 6px; background: var(--eco-a8); color: var(--eco-a); min-width: 260px; font-size: 17px; }
.eco-fila { display: flex; gap: 8px; margin-top: 10px; }
.eco-editing .eco-input:disabled, .eco-editing .eco-scale-btn:disabled, .eco-editing .eco-rate:disabled, .eco-editing .eco-mx-dot:disabled { pointer-events: none; }
