/* Sistema Institucional de Encuestas — estilos base (modo claro / oscuro).
   Los colores institucionales llegan como variables desde Apariencia: --primary, --secondary, --accent, --bg-light, --bg-dark, --font. */
:root {
  --bg: var(--bg-light, #f4f6fa);
  --surface: #ffffff;
  --surface-2: #f0f2f7;
  --text: #1b1f27;
  --muted: #5d6675;
  --border: #d9dee8;
  --ok: #157347; --ok-bg: #e3f4ea;
  --warn: #8a5a00; --warn-bg: #fff3d6;
  --danger: #b42318; --danger-bg: #fde8e6;
  --info-bg: #e7efff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --sidebar-w: 240px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: var(--bg-dark, #11151c);
  --surface: #1a2029;
  --surface-2: #232b36;
  --text: #e8ecf2;
  --muted: #a1abba;
  --border: #323c4a;
  --ok: #5dd39e; --ok-bg: #133526;
  --warn: #f5c451; --warn-bg: #3a2e10;
  --danger: #ff8a80; --danger-bg: #3d1a17;
  --info-bg: #1b2a44;
  --shadow: 0 1px 2px rgba(0,0,0,.4);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font, system-ui, sans-serif); font-size: 15px; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--primary); }
:root[data-theme="dark"] a { color: color-mix(in srgb, var(--primary) 45%, white); }
h1 { font-size: 1.6rem; margin: 0 0 .25rem; line-height: 1.25; }
h2 { font-size: 1.15rem; margin: 0 0 .75rem; }
h3 { font-size: 1rem; margin: 0 0 .5rem; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .85em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
.break { word-break: break-all; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--on-primary); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }

/* ---------- Barra superior ---------- */
.topbar { display: flex; align-items: center; gap: 1rem; padding: .5rem 1rem; background: var(--hdr-bg); color: var(--hdr-fg); position: relative; z-index: 30; min-height: 60px; }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit !important; text-decoration: none; min-width: 0; }
.brand.logo-centro { order: 0; margin: 0 auto; }
.brand strong { display: block; font-size: 1.02rem; line-height: 1.2; }
.brand small { display: block; font-size: .72rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38ch; }
.logo { height: var(--logo-h, 40px); width: auto; display: block; background: transparent; }
.logobg-blanco .logo { background: #fff; border-radius: 6px; padding: 3px; }
.logobg-redondeado .logo { background: #fff; border-radius: 50%; padding: 4px; }
.logo-ph { font-size: 1.6rem; }
.menu-principal ul, .menu-secundario ul, .menu-pie ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; }
.menu-principal { margin-left: 1rem; }
.menu-principal a { color: var(--menu-fg, var(--hdr-fg)) !important; text-decoration: none; padding: .45rem .7rem; border-radius: 6px; display: block; font-size: var(--menu-size, .92rem); font-weight: var(--menu-weight, 500); letter-spacing: var(--menu-spacing, 0); font-family: var(--font-hdr, inherit); transition: color .15s, background-color .15s, transform .15s, box-shadow .15s; position: relative; }
.has-sub { position: relative; }
.has-sub .sub { display: none; position: absolute; top: 100%; left: 0; background: var(--submenu-bg, var(--surface)); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); min-width: 220px; flex-direction: column; padding: .3rem; z-index: 40; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; }
.has-sub .sub a { color: var(--submenu-fg, var(--text)) !important; }
.has-sub .sub a:hover { background: var(--surface-2); }
.menu-secundario { background: var(--secondary); padding: .2rem 1rem; }
.menu-secundario a { color: var(--on-secondary) !important; text-decoration: none; font-size: .88rem; padding: .25rem .6rem; display: block; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
.icon-btn svg { display: block; }
.icon-btn { background: transparent; border: 1px solid transparent; color: inherit; font: inherit; cursor: pointer; border-radius: 8px; padding: .3rem .55rem; line-height: 1; text-decoration: none; position: relative; }
.topbar .icon-btn { color: var(--hdr-fg); }
.icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.icon-btn.danger { color: var(--danger); }
.bell .dot { position: absolute; top: -4px; right: -4px; background: var(--accent); color: var(--on-accent); border-radius: 10px; font-size: .68rem; padding: 1px 5px; font-weight: 700; }
.usermenu { position: relative; }
.usermenu summary { cursor: pointer; list-style: none; padding: .35rem .6rem; border-radius: 8px; font-size: .9rem; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary small { opacity: .8; display: block; font-size: .7rem; }
.usermenu .dropdown { position: absolute; right: 0; top: 110%; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); min-width: 180px; padding: .4rem; display: flex; flex-direction: column; z-index: 50; }
.usermenu .dropdown a, .linklike { color: var(--text); text-decoration: none; padding: .45rem .6rem; border-radius: 6px; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.usermenu .dropdown a:hover, .usermenu .linklike:hover { background: var(--surface-2); }
.row-actions .linklike { width: auto; padding: 0; color: var(--primary); font-size: inherit; }
.linklike.danger { color: var(--danger) !important; }
.menu-toggle { display: none; }

/* ---------- Estructura tipo WordPress ---------- */
.shell { display: flex; flex: 1; min-height: 0; }
.sidebar { width: var(--sidebar-w); flex-shrink: 0; background: #1d2327; color: #c3c4c7; padding: .5rem 0 2rem; }
:root[data-theme="dark"] .sidebar { background: #0b0e12; }
.sidebar ul { list-style: none; margin: 0; padding: 0; position: sticky; top: 60px; }
.sidebar a { display: flex; align-items: center; gap: .6rem; color: #e6e7e8 !important; text-decoration: none; padding: .5rem 1rem; font-size: .9rem; border-left: 3px solid transparent; }
.sidebar a:hover { background: #2c3338; color: #72aee6 !important; }
.sidebar a.active { background: var(--primary); color: var(--on-primary) !important; border-left-color: var(--accent); }
.sidebar .group { padding: .9rem 1rem .25rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: #8c8f94; }
.sidebar .ico { width: 1.2em; text-align: center; opacity: .85; }
.sidebar .badge { margin-left: auto; background: var(--accent); color: var(--on-accent); border-radius: 10px; padding: 0 .45rem; font-size: .72rem; font-weight: 700; }
.content { flex: 1; padding: 1.5rem; min-width: 0; max-width: 1280px; width: 100%; margin: 0 auto; }
body.with-sidebar .content { margin: 0; }
.footer { padding: 1rem; text-align: center; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--border); background: var(--surface); }
.menu-pie ul { justify-content: center; margin-bottom: .3rem; }
.menu-pie a { color: var(--muted) !important; padding: 0 .5rem; }
.footer p { margin: 0; }

/* ---------- Componentes ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1.25rem; }
.card.flush { padding: 0; overflow-x: auto; }
.card.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.pad { padding: 1.25rem; margin: 0; }
.prose { max-width: 820px; }
.hero { padding: 2.5rem 1.5rem; text-align: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--on-primary); border-radius: var(--radius); margin-bottom: 1.5rem; }
.hero p { max-width: 60ch; margin: .75rem auto; }
.hero .btn { background: var(--surface); color: var(--text); border-color: transparent; }
.hero .btn-ghost { background: transparent; color: var(--on-primary); border-color: currentColor; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.page-head .actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: .35rem; background: var(--primary); color: var(--on-primary) !important; border: 1px solid var(--primary); border-radius: var(--btn-radius, 8px); text-transform: var(--btn-transform, none); box-shadow: var(--btn-shadow, none); transition: filter .15s, transform .15s, box-shadow .15s, background-color .15s; padding: .55rem 1rem; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: .35rem .7rem; font-size: .84rem; }
.btn-ghost { background: transparent; color: var(--text) !important; border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); filter: none; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff !important; }
:root[data-theme="dark"] .btn-danger { color: #1a0d0c !important; }
form.inline { display: inline; }
.actions-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; padding: .12rem .5rem; border-radius: 20px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); white-space: nowrap; }
.tag.ok, .tag.abierta, .tag.st-activo { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.tag.warn, .tag.en_revision, .tag.programada, .tag.st-pendiente, .tag.st-subsanacion { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.tag.danger, .tag.st-rechazado, .tag.st-inactivo { background: var(--danger-bg); color: var(--danger); border-color: transparent; }
.tag.cerrada, .tag.finalizada { background: var(--surface-2); }
.flash { padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1rem; border: 1px solid transparent; }
.flash-success { background: var(--ok-bg); color: var(--ok); }
.flash-error { background: var(--danger-bg); color: var(--danger); }
.flash-info { background: var(--info-bg); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.grid-2.tight { gap: .75rem; }
/* Configuración de encuestas: cada columna apila sus tarjetas sin dejar huecos entre filas. */
.survey-config-form, .survey-config-columns, .survey-config-column { display: grid; gap: var(--gap, 1.25rem); min-width: 0; align-items: start; }
.survey-config-form { margin-bottom: var(--gap, 1.25rem); }
.survey-config-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.survey-config-column > .card, .survey-config-form > .card { margin-bottom: 0; min-width: 0; }
.survey-config-columns fieldset, .survey-config-columns .field, .survey-config-columns input, .survey-config-columns select { min-width: 0; }
@media (max-width: 960px) {
  .survey-config-columns { grid-template-columns: minmax(0, 1fr); }
}

.grid-2 > .card { margin-bottom: 0; }
.span-2 { grid-column: 1 / -1; }
.stack { display: flex; flex-direction: column; gap: .75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .2rem; }
.field > span { font-weight: 600; font-size: .88rem; }
.field.color { flex-direction: row; align-items: center; gap: .5rem; flex-wrap: wrap; }
.field.color > span { flex-basis: 100%; }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: .5rem .65rem; width: 100%; min-width: 0; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--primary); }
input[type=color] { width: 48px; height: 36px; padding: 2px; }
input[type=file] { padding: .4rem; }
textarea { resize: vertical; }
.has-error input, .has-error select { border-color: var(--danger); }
.err { color: var(--danger); font-size: .82rem; font-style: normal; }
.check { display: flex; align-items: flex-start; gap: .5rem; font-size: .92rem; margin: .35rem 0; }
.check input { margin-top: .25rem; }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.filters input, .filters select { width: auto; }
.filters label { display: flex; align-items: center; gap: .35rem; font-size: .88rem; }
.live-note { font-size: .78rem; color: var(--muted); margin-left: auto; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; flex-wrap: wrap; }
.tabs a { padding: .55rem .9rem; text-decoration: none; color: var(--muted) !important; border-bottom: 3px solid transparent; font-weight: 600; font-size: .9rem; }
.tabs a.active { color: var(--text) !important; border-bottom-color: var(--primary); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: .6rem .8rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: var(--surface-2); }
.table.small { font-size: .82rem; }
.table td.detail { max-width: 340px; word-break: break-word; color: var(--muted); }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.row-actions { font-size: .8rem; margin-top: .2rem; color: var(--muted); }
.list { padding-left: 1.1rem; margin: 0; }
.list li { margin: .35rem 0; }
.dl { display: grid; grid-template-columns: 180px 1fr; gap: .4rem 1rem; margin: 0 0 1rem; }
.dl dt { color: var(--muted); font-size: .88rem; }
.dl dd { margin: 0; }
.activity { list-style: none; margin: 0 0 .75rem; padding: 0; font-size: .86rem; }
.activity li { padding: .35rem 0; border-bottom: 1px dashed var(--border); }
.pager { display: flex; gap: .5rem; justify-content: center; margin: 1rem 0; }
.matrix td.center { color: var(--ok); font-weight: 700; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column; gap: .25rem; text-decoration: none; color: var(--text) !important; box-shadow: var(--shadow); }
.kpi.warn { border-left-color: var(--warn); }
.kpi.ok { border-left-color: var(--ok); }
.kpi.danger { border-left-color: var(--danger); }
.kpi-label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.kpi-value { font-size: 1.8rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-value.sm { font-size: 1rem; }

/* Gráficos */
.chart-svg { width: 100%; height: auto; display: block; }
.chart-svg .bar { fill: var(--primary); }
.chart-svg .track { fill: var(--surface-2); }
.chart-svg .axis { stroke: var(--border); }
.chart-svg text { fill: var(--muted); font-size: 12px; font-family: inherit; }
.chart-svg .val, .chart-svg .lbl { text-anchor: middle; }
.chart-svg .val { fill: var(--text); font-weight: 600; }
.chart-svg .lbl-left { text-anchor: end; fill: var(--text); }
.chart-svg .val-left { fill: var(--text); font-weight: 600; }
.result-card .result-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; margin-bottom: .75rem; }
.sec-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); font-weight: 700; }
:root[data-theme="dark"] .sec-label { color: var(--muted); }
.seg-toggle { display: flex; gap: .3rem; }
.pie-wrap { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.pie { width: 220px; height: 220px; flex-shrink: 0; }
.pie .slice { stroke: var(--surface); stroke-width: 1.5; }
.pie .hole { fill: var(--surface); }
.pie .pie-center { text-anchor: middle; font-size: 22px; font-weight: 700; fill: var(--text); }
.legend { list-style: none; padding: 0; margin: 0; font-size: .86rem; }
.legend li { display: flex; align-items: center; gap: .45rem; margin: .25rem 0; }
.legend.inline { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: .75rem; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.stackbar { display: flex; height: 22px; border-radius: 4px; overflow: hidden; background: var(--surface-2); min-width: 180px; }
.stackbar .seg { display: flex; align-items: center; justify-content: center; font-size: .7rem; color: #fff; font-weight: 700; text-shadow: 0 0 2px rgba(0,0,0,.6); }
.likert-results td:first-child { max-width: 320px; }
.bar-cell { width: 40%; }
.dim-summary { font-weight: 600; margin: .75rem 0 0; }
.text-answers { max-height: 320px; overflow: auto; padding-left: 1.1rem; margin: 0; }
.text-answers li { padding: .3rem 0; border-bottom: 1px dashed var(--border); }

/* Plantillas, multimedia, notificaciones */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.cards .card { margin: 0; display: flex; flex-direction: column; }
.cards .card form { margin-top: auto; }
.cat { margin-top: 1rem; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.media-item { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.media-item img, .media-item video, .doc-ph { width: 100%; height: 140px; object-fit: contain; display: block; background: repeating-conic-gradient(var(--surface-2) 0% 25%, transparent 0% 50%) 50% / 16px 16px; }
.doc-ph { display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--muted); }
.media-item figcaption { padding: .6rem; font-size: .85rem; display: flex; flex-direction: column; gap: .15rem; }
.upload-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.upload-row input { width: auto; flex: 1; min-width: 180px; }
.notif-list, .survey-list { list-style: none; padding: 0; margin: 0; }
.notif-list li, .survey-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--border); }
.notif-list li.unread strong::before { content: '● '; color: var(--accent); }
.notif-list p { margin: .2rem 0; }
.checklist { max-height: 260px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; padding: .4rem .6rem; }
.cred-preview { max-width: 100%; border: 1px solid var(--border); border-radius: 8px; }
.mail-preview { background: #fff; color: #222; }
.menu-editor { list-style: none; padding: 0; margin: 0; }
.menu-row { padding: .4rem 0; border-bottom: 1px solid var(--border); }
.menu-row.child { padding-left: 2rem; }
.menu-form { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.menu-form input[name=label] { flex: 1 1 140px; }
.menu-form input[name=url] { flex: 2 1 200px; }
.menu-form select { width: auto; }
.preview-swatch { display: flex; gap: .5rem; align-items: center; padding: 1rem; border: 1px dashed var(--border); border-radius: 8px; margin-top: .5rem; flex-wrap: wrap; }
.crop-tools { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.crop-tools input, .crop-tools select { width: auto; }
.crop-stage canvas { max-width: 100%; cursor: crosshair; touch-action: none; border-radius: 6px; }
.score { display: flex; flex-direction: column; align-items: center; margin: 1rem 0; }
.feedback { list-style: none; padding: 0; text-align: left; }
.feedback li { padding: .6rem .8rem; border-radius: 8px; margin: .4rem 0; }
.feedback li.ok { background: var(--ok-bg); }
.feedback li.bad { background: var(--danger-bg); }
.feedback p { margin: .2rem 0 0; }

/* ---------- Editor de encuestas ---------- */
.save-state { font-size: .82rem; color: var(--muted); }
.save-state.dirty { color: var(--warn); }
.save-state.ok { color: var(--ok); }
.save-state.error { color: var(--danger); }
.builder-meta { display: grid; gap: .5rem; }
.sec-card { background: var(--surface); border: 1px solid var(--border); border-top: 6px solid var(--primary); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.sec-head { display: flex; align-items: center; gap: .3rem; margin-bottom: .5rem; }
.sec-badge { font-size: .76rem; font-weight: 700; background: var(--primary); color: var(--on-primary); padding: .15rem .6rem; border-radius: 20px; }
.spacer { flex: 1; }
.sec-title { font-size: 1.15rem; font-weight: 700; border-color: transparent; background: transparent; padding-left: 0; }
.sec-title:hover, .sec-title:focus { border-color: var(--border); padding-left: .65rem; }
.sec-desc { margin-top: .3rem; font-size: .9rem; }
.q-list { margin: .9rem 0; min-height: 40px; display: flex; flex-direction: column; gap: .6rem; }
.empty-drop { border: 2px dashed var(--border); border-radius: 8px; padding: 1rem; text-align: center; margin: 0; }
.q-card { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); transition: box-shadow .15s; }
.q-card.open { border-left: 4px solid var(--accent); box-shadow: var(--shadow); }
.q-card.dragging { opacity: .45; }
.drop-indicator { height: 4px; background: var(--accent); border-radius: 2px; }
.q-head { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; }
.handle { cursor: grab; color: var(--muted); user-select: none; font-weight: 700; letter-spacing: -2px; padding: 0 .2rem; }
.q-toggle { flex: 1; background: none; border: 0; text-align: left; font: inherit; color: var(--text); cursor: pointer; display: flex; gap: .4rem; min-width: 0; }
.q-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-num { color: var(--muted); font-weight: 700; }
.q-badges { display: flex; gap: .25rem; flex-wrap: wrap; justify-content: flex-end; }
.q-body { padding: .2rem .9rem .9rem; display: flex; flex-direction: column; gap: .7rem; border-top: 1px solid var(--border); padding-top: .8rem; }
.q-row { display: flex; gap: .6rem; }
.q-row select { width: 240px; flex-shrink: 0; }
.q-title-input { font-weight: 600; }
.q-help-input { font-size: .88rem; }
.opt-editor, .likert-editor .col { display: flex; flex-direction: column; gap: .35rem; }
.opt-row { display: flex; gap: .4rem; align-items: center; }
.opt-row input.num { width: 72px; flex-shrink: 0; }
.opt-row .goto { width: 220px; flex-shrink: 0; font-size: .82rem; }
.opt-mark { width: 1.6rem; text-align: center; color: var(--muted); flex-shrink: 0; }
.correct { font-size: .8rem; white-space: nowrap; display: flex; gap: .2rem; align-items: center; }
.row-inline { display: flex; gap: .4rem; flex-wrap: wrap; }
.likert-editor { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.likert-editor h4 { margin: 0 0 .2rem; font-size: .85rem; color: var(--muted); }
.scale-editor { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; font-size: .88rem; }
.scale-editor select, .scale-editor input { width: auto; }
.logic-editor, .quiz-editor { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; background: var(--surface-2); border-radius: 8px; padding: .5rem .65rem; }
.logic-editor select { width: auto; max-width: 320px; }
.quiz-editor label { display: flex; gap: .35rem; align-items: center; }
.quiz-editor .grow { flex: 1 1 220px; }
.quiz-editor input.num { width: 80px; }
.warn-text { color: var(--warn); margin: 0; }
.q-foot { display: flex; align-items: center; gap: .4rem; border-top: 1px dashed var(--border); padding-top: .6rem; }
.add-q { display: flex; gap: .5rem; align-items: center; }
.add-q select { width: auto; }
.sec-next { margin-top: .8rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.sec-next select { width: auto; }
.add-sec { text-align: center; margin-bottom: 2rem; }

/* ---------- Formulario de respuesta ---------- */
.respond-page .content { max-width: 860px; }
.survey { position: relative; }
.survey.watermarked::before { content: ''; position: fixed; inset: 0; background: var(--watermark) center 60% / 380px no-repeat; opacity: .06; pointer-events: none; z-index: 0; }
.survey > * { position: relative; z-index: 1; }
.survey-banner { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 1rem; display: block; }
.survey-banner.fit-franja { aspect-ratio: 16 / 5; object-fit: cover; }
@media (max-width: 640px) { .survey-banner.fit-franja { aspect-ratio: 16 / 7; } }
.survey-head { border-top: 8px solid var(--primary); }
.survey-video { width: 100%; border-radius: 8px; margin-top: .5rem; }
.privacy-note { font-size: .88rem; background: var(--surface-2); padding: .5rem .75rem; border-radius: 8px; }
.progress { height: 6px; background: var(--surface-2); border-radius: 3px; margin-bottom: 1rem; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.question { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
.question legend { font-weight: 600; font-size: 1rem; margin-bottom: .5rem; padding: 0; }
.question.invalid legend { color: var(--danger); }
.req { color: var(--danger); }
.q-help { margin: -.2rem 0 .6rem; color: var(--muted); font-size: .88rem; }
.q-error { color: var(--danger); font-size: .85rem; margin: .3rem 0 0; min-height: 0; }
.q-error:empty { display: none; }
.opts { display: flex; flex-direction: column; gap: .2rem; }
.opt { display: flex; gap: .6rem; align-items: center; padding: .5rem .6rem; border-radius: 8px; cursor: pointer; }
.opt:hover { background: var(--surface-2); }
.opt input { width: 18px; height: 18px; }
.scale { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.scale-opts { display: flex; gap: .3rem; flex-wrap: wrap; }
.scale-opt { display: flex; flex-direction: column; align-items: center; gap: .15rem; cursor: pointer; padding: .3rem .4rem; border-radius: 6px; font-size: .85rem; }
.scale-opt:hover { background: var(--surface-2); }
.scale-lbl { font-size: .82rem; color: var(--muted); }
.likert-wrap { overflow-x: auto; }
.likert { width: 100%; border-collapse: collapse; font-size: .88rem; }
.likert th, .likert td { padding: .55rem .4rem; border-bottom: 1px solid var(--border); text-align: center; }
.likert thead th { font-size: .76rem; color: var(--muted); font-weight: 600; vertical-align: bottom; }
.likert tbody th { text-align: left; font-weight: 500; min-width: 220px; }
.likert tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.likert label { display: flex; justify-content: center; cursor: pointer; padding: .2rem; }
.likert input { width: 20px; height: 20px; }
.lk-txt { display: none; }
.survey-nav { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.survey-nav .btn:last-child { margin-left: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-block; }
  .sidebar { position: fixed; left: 0; top: 60px; bottom: 0; z-index: 25; transform: translateX(-100%); transition: transform .2s; overflow-y: auto; }
  body.sidebar-open .sidebar { transform: none; box-shadow: 4px 0 20px rgba(0,0,0,.3); }
  .likert-editor { grid-template-columns: 1fr; }
  .q-row { flex-direction: column; }
  .q-row select { width: 100%; }
  .opt-row { flex-wrap: wrap; }
  .opt-row .goto { width: 100%; }
}
@media (max-width: 640px) {
  .content { padding: 1rem; }
  .brand small { display: none; }
  .usermenu summary small { display: none; }
  .dl { grid-template-columns: 1fr; }
  .dl dt { margin-top: .4rem; }
  h1 { font-size: 1.35rem; }
  /* Likert apilado en móvil */
  .likert thead { display: none; }
  .likert, .likert tbody, .likert tr, .likert th, .likert td { display: block; width: 100%; }
  .likert tbody tr { border: 1px solid var(--border); border-radius: 8px; margin-bottom: .6rem; padding: .4rem; background: var(--surface) !important; }
  .likert tbody th { border: 0; padding: .3rem .3rem .5rem; }
  .likert td { border: 0; text-align: left; padding: .1rem .3rem; }
  .likert label { justify-content: flex-start; gap: .6rem; align-items: center; }
  .lk-txt { display: inline; }
  .table th, .table td { padding: .5rem; }
}
@media print {
  .topbar, .sidebar, .footer, .menu-secundario, .filters, .tabs, .page-head .actions { display: none !important; }
  .content { padding: 0; }
}
.topbar .btn { background: color-mix(in srgb, var(--hdr-fg) 14%, transparent); border-color: color-mix(in srgb, var(--hdr-fg) 35%, transparent); color: var(--hdr-fg) !important; }
.topbar .btn-ghost { background: transparent; }

/* ---------- Video y multimedia ---------- */
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; margin: .5rem 0; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.section-media { margin: .5rem 0 1.2rem; }
.section-media img { max-width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; margin: 0 auto; background: transparent; }
.section-media figcaption { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.media-editor { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; background: var(--surface-2); border-radius: 8px; padding: .5rem .65rem; margin-top: .5rem; }
.media-editor select { width: auto; max-width: 260px; }
.media-editor .grow { flex: 1 1 200px; }
.media-thumb { height: 48px; border-radius: 4px; }

/* ---------- Página de inicio (landing) ---------- */
.landing-page .content { max-width: none; padding: 0; }
.landing-page .footer { margin-top: 0; }
.landing { display: flex; flex-direction: column; }
.lp-block { padding: var(--sec-pad, 3rem) 1.25rem; }
.lp-block.pad-compact { padding: 1.5rem 1.25rem; }
.lp-block.pad-large { padding: 5rem 1.25rem; }
.lp-inner { max-width: var(--site-w, 1120px); margin: 0 auto; }
.lp-block.align-center { text-align: center; }
.lp-block.align-center .lp-intro, .lp-block.align-center .lp-rich { margin-left: auto; margin-right: auto; }
.bg-surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-primary { background: var(--primary); color: var(--on-primary); }
.bg-secondary { background: var(--secondary); color: var(--on-secondary); }
.bg-accent { background: var(--accent); color: var(--on-accent); }
.bg-dark { background: #0f141b; color: #eef1f5; }
.bg-primary a:not(.btn), .bg-secondary a:not(.btn), .bg-accent a:not(.btn), .bg-dark a:not(.btn) { color: inherit; }
.bg-primary .muted, .bg-secondary .muted, .bg-accent .muted, .bg-dark .muted { color: inherit; opacity: .8; }
.bg-primary .btn:not(.btn-ghost), .bg-secondary .btn:not(.btn-ghost), .bg-accent .btn:not(.btn-ghost), .bg-dark .btn:not(.btn-ghost) { background: #fff; color: #111 !important; border-color: #fff; }
.bg-primary .btn-ghost, .bg-secondary .btn-ghost, .bg-accent .btn-ghost, .bg-dark .btn-ghost { color: inherit !important; border-color: currentColor; background: transparent; }
.lp-title { font-size: 1.7rem; margin-bottom: 1rem; }
.lp-intro { max-width: 70ch; font-size: 1.05rem; opacity: .9; margin: 0 0 1.5rem; }
.lp-rich { max-width: 75ch; font-size: 1.05rem; line-height: 1.7; }
.lp-rich ul { text-align: left; display: inline-block; }
.lp-buttons { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.align-center .lp-buttons { justify-content: center; }
.lp-type-hero { position: relative; overflow: hidden; }
.lp-type-hero.has-bg { background-image: linear-gradient(rgba(0,0,0,var(--hero-overlay,.5)), rgba(0,0,0,var(--hero-overlay,.5))), var(--hero-bg); background-size: cover; background-position: center; color: #fff; }
.lp-type-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); margin-bottom: .75rem; }
.lp-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 62ch; opacity: .92; margin: 0; }
.align-center .lp-sub { margin: 0 auto; }
.lp-type-hero.has-side .lp-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; text-align: left; }
.lp-type-hero.has-side .lp-buttons { justify-content: flex-start; }
.lp-type-hero.has-side .lp-sub { margin: 0; }
.lp-hero-media img { width: 100%; height: auto; display: block; }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; text-align: left; }
.lp-split.side-left .lp-split-media { order: -1; }
.lp-split-media img { width: 100%; height: auto; display: block; }
.lp-figure { margin: 0 auto; }
.lp-figure.w-normal { max-width: 720px; }
.lp-figure.w-wide { max-width: 960px; }
.lp-figure.w-full { max-width: none; }
.lp-figure img { width: 100%; height: auto; display: block; margin: 0 auto; }
.lp-figure figcaption, .lp-gallery figcaption { font-size: .9rem; opacity: .8; margin-top: .5rem; }
.lp-gallery { display: grid; gap: 1rem; }
.lp-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.lp-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.lp-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.lp-gallery figure { margin: 0; }
.lp-gallery img { width: 100%; height: auto; display: block; }
.lp-gallery.fit-recortar img { aspect-ratio: 4 / 3; object-fit: cover; }
.lp-gallery.fit-completa { align-items: center; }
.lp-cards { display: grid; gap: 1.25rem; text-align: left; }
.lp-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.lp-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.lp-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.lp-card { background: var(--surface); color: var(--text) !important; border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
a.lp-card:hover { transform: translateY(-2px); }
.lp-card h3 { font-size: 1.1rem; margin: .4rem 0; }
.lp-card p { margin: 0; color: var(--muted); }
.lp-icon { font-size: 1.8rem; }
.lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.lp-stat { display: flex; flex-direction: column; gap: .25rem; padding: 1.25rem; border-radius: 12px; background: color-mix(in srgb, currentColor 6%, transparent); }
.lp-stat-value { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.bg-primary .lp-stat-value, .bg-secondary .lp-stat-value, .bg-accent .lp-stat-value, .bg-dark .lp-stat-value { color: inherit; }
.lp-stat-label { font-size: .9rem; opacity: .8; }
.lp-survey-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; text-align: left; }
.lp-survey { display: flex; flex-direction: column; gap: .4rem; background: var(--surface); color: var(--text) !important; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 10px; padding: 1rem 1.1rem; text-decoration: none; }
.lp-survey span { color: var(--muted); font-size: .9rem; }
.lp-survey em { font-style: normal; font-weight: 700; color: var(--primary); margin-top: auto; }
.preview-frame .topbar { position: static; }

/* ---------- Constructor de la landing ---------- */
.lb-toolbar { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.lb-layout { display: grid; grid-template-columns: minmax(360px, 520px) 1fr; gap: 1.25rem; align-items: start; }
.lb-block { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: .6rem; box-shadow: var(--shadow); }
.lb-block.open { border-left: 4px solid var(--accent); }
.lb-block.is-hidden { opacity: .55; }
.lb-block.dragging { opacity: .4; }
.lb-block.drop-target { outline: 2px dashed var(--accent); }
.lb-head { display: flex; align-items: center; gap: .3rem; padding: .5rem .6rem; }
.lb-body { padding: .8rem 1rem 1rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .6rem; }
.lb-body h4 { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.lb-style { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.lb-row { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.lb-row > * { flex: 1 1 120px; }
.lb-row .icon-in { flex: 0 0 64px; text-align: center; }
.lb-list { display: flex; flex-direction: column; gap: .4rem; }
.lb-item { display: flex; gap: .4rem; align-items: flex-start; background: var(--surface-2); border-radius: 8px; padding: .45rem; }
.lb-item > :first-child { flex: 1; }
.lb-item-actions { display: flex; flex-direction: column; }
.lb-card-edit { display: flex; flex-direction: column; gap: .35rem; }
.lb-media { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.lb-media select { flex: 1 1 180px; width: auto; }
.stack-sm { display: flex; flex-direction: column; gap: .35rem; }
.invalid-input { border-color: var(--danger) !important; }
.lb-add { display: flex; gap: .6rem; align-items: flex-end; flex-wrap: wrap; }
.lb-add .field { flex: 1; margin: 0; }
.lb-preview { position: sticky; top: 76px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.lb-preview-bar { display: flex; justify-content: space-between; align-items: center; padding: .5rem .75rem; border-bottom: 1px solid var(--border); }
.lb-frame-wrap { background: var(--surface-2); display: flex; justify-content: center; height: calc(100vh - 170px); }
.lb-frame-wrap iframe { width: 100%; height: 100%; border: 0; background: #fff; transition: width .2s; }
@media (max-width: 1100px) {
  .lb-layout { grid-template-columns: 1fr; }
  .lb-preview { position: static; }
  .lb-frame-wrap { height: 70vh; }
}
@media (max-width: 760px) {
  .lp-type-hero.has-side .lp-inner, .lp-split { grid-template-columns: 1fr; }
  .lp-split.side-left .lp-split-media { order: 0; }
  .lp-cards.cols-3, .lp-cards.cols-4, .lp-gallery.cols-3, .lp-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .lp-block { padding: 2rem 1rem; }
  .lp-block.pad-large { padding: 3rem 1rem; }
  .lb-style { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .lp-cards.cols-2, .lp-cards.cols-3, .lp-cards.cols-4, .lp-gallery.cols-2, .lp-gallery.cols-3, .lp-gallery.cols-4 { grid-template-columns: 1fr; }
}

/* ---------- Encabezado configurable ---------- */
.topbar-note { background: var(--topbar-bg); color: var(--topbar-fg); text-align: center; font-size: .82rem; padding: .3rem 1rem; }
.topbar.is-sticky { position: sticky; top: 0; }
.topbar.has-shadow { box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.topbar.hdr-h-compacto { min-height: 48px; padding-top: .25rem; padding-bottom: .25rem; }
.topbar.hdr-h-amplio { min-height: 84px; padding-top: 1rem; padding-bottom: 1rem; }
.topbar.hdr-claro { background: var(--surface); color: var(--text); border-bottom: 1px solid var(--border); }
.topbar.hdr-claro .menu-principal a, .topbar.hdr-claro .icon-btn { color: var(--text) !important; }
.topbar.hdr-claro .btn { background: var(--primary); border-color: var(--primary); color: var(--on-primary) !important; }
.topbar.hdr-claro .btn-ghost { background: transparent; color: var(--text) !important; border-color: var(--border); }
.topbar.hdr-claro .logo { background: transparent; padding: 0; }
.topbar.hdr-transparente { position: absolute; left: 0; right: 0; top: auto; background: linear-gradient(rgba(0,0,0,.45), transparent); color: #fff; box-shadow: none; }
.topbar.hdr-transparente .menu-principal a, .topbar.hdr-transparente .icon-btn { color: #fff !important; }
.topbar.hdr-transparente .btn { color: #fff !important; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.12); }
.landing-page .topbar.hdr-transparente + .shell .lp-block:first-child { padding-top: calc(5rem + 60px); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.menu-principal { flex: 0 1 auto; }
.topbar.menu-centro .menu-principal { margin: 0 auto; }
.topbar.menu-derecha .menu-principal { margin-left: auto; }
.topbar.menu-derecha .top-actions, .topbar.menu-centro .top-actions { margin-left: 0; }
.topbar.menu-centro .top-actions, .topbar.menu-derecha .top-actions { margin-left: .5rem; }
.topbar.menusize-grande .menu-principal a { font-size: 1.02rem; padding: .55rem .9rem; }
.topbar.menu-upper .menu-principal > ul > li > a { text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; font-weight: 600; }
.topbar.menustyle-pastilla .menu-principal > ul > li > a { border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.topbar.menustyle-subrayado .menu-principal > ul > li > a { border-radius: 0; border-bottom: 2px solid transparent; }
.topbar.menustyle-subrayado .menu-principal > ul > li > a:hover { background: transparent; border-bottom-color: var(--accent); }
.topbar.logo-centro { flex-wrap: wrap; justify-content: center; }
.topbar.logo-centro .brand { order: -1; flex-basis: 100%; justify-content: center; margin: 0 0 .25rem; }
.topbar.logo-centro .menu-principal { margin: 0 auto; }
.hdr-cta { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--on-accent) !important; }
.nav-toggle { display: none; }
.footer.footer-primario { background: var(--primary); color: var(--on-primary); border-top: 0; }
.footer.footer-oscuro { background: #0f141b; color: #cfd6df; border-top: 0; }
.footer.footer-primario .menu-pie a, .footer.footer-oscuro .menu-pie a { color: inherit !important; opacity: .85; }
.footer .copyright { font-size: .78rem; opacity: .8; margin-top: .25rem; }

/* ---------- Personalización (pestañas y vista previa) ---------- */
.pz-tabs { display: flex; gap: .25rem; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.pz-tabs a { padding: .6rem 1rem; text-decoration: none; color: var(--muted) !important; font-weight: 600; border-bottom: 3px solid transparent; display: flex; gap: .4rem; align-items: center; }
.pz-tabs a.active { color: var(--text) !important; border-bottom-color: var(--primary); }
.pz-layout { display: grid; grid-template-columns: minmax(360px, 520px) 1fr; gap: 1.25rem; align-items: start; }
.pz-form .card h2 { margin-top: 0; }
.pz-form fieldset { border: 0; padding: 0; margin: 0; }
.pz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .9rem; }
.pz-preview { position: sticky; top: 76px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.pz-preview iframe { width: 100%; height: calc(100vh - 170px); border: 0; background: #fff; display: block; }
.pz-save-row { display: flex; gap: .75rem; align-items: center; margin: 1rem 0; }
.text-group h3 { margin: 1rem 0 .4rem; font-size: .95rem; }
.rich-page h2 { margin-top: 1.25rem; }
@media (max-width: 1100px) { .pz-layout { grid-template-columns: 1fr; } .pz-preview { position: static; } .pz-preview iframe { height: 70vh; } }

/* Banner y alturas de portada */
.lp-type-hero.h-medio { min-height: 50vh; display: flex; align-items: center; }
.lp-type-hero.h-alto { min-height: 70vh; display: flex; align-items: center; }
.lp-type-hero.h-pantalla { min-height: calc(100vh - 60px); display: flex; align-items: center; }
.lp-type-hero.h-medio > .lp-inner, .lp-type-hero.h-alto > .lp-inner, .lp-type-hero.h-pantalla > .lp-inner { width: 100%; }
.lp-type-banner { position: relative; padding: 0; overflow: hidden; background: #000; }
.lp-type-banner > a { display: block; color: inherit; }
.lp-banner-img { width: 100%; display: block; object-fit: cover; }
.lp-type-banner.h-bajo .lp-banner-img { height: 220px; }
.lp-type-banner.h-medio .lp-banner-img { height: 380px; }
.lp-type-banner.h-alto .lp-banner-img { height: 560px; }
.lp-type-banner.h-pantalla .lp-banner-img { height: calc(100vh - 60px); }
.lp-banner-shade { position: absolute; inset: 0; background: rgba(0,0,0,var(--banner-overlay,.35)); }
.lp-banner-content { position: absolute; inset: 0; display: flex; color: #fff; padding: 1.5rem 1.25rem; }
.lp-banner-content .lp-inner { width: 100%; }
.lp-banner-content.pos-centro { align-items: center; text-align: center; }
.lp-banner-content.pos-centro .lp-buttons { justify-content: center; }
.lp-banner-content.pos-izquierda { align-items: center; }
.lp-banner-content.pos-abajo { align-items: flex-end; }
.lp-banner-content h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); margin: 0 0 .5rem; }
.lp-banner-content p { font-size: 1.1rem; max-width: 60ch; margin: 0; }
.lp-banner-content.pos-centro p { margin: 0 auto; }
.lp-banner-content .btn:not(.btn-ghost) { background: #fff; color: #111 !important; border-color: #fff; }
@media (max-width: 760px) { .lp-type-banner.h-alto .lp-banner-img, .lp-type-banner.h-medio .lp-banner-img { height: 300px; } }

/* ---------- Registro ---------- */
.reg-card { max-width: 980px; margin: 0 auto 1.25rem; display: grid; gap: 0; padding: 0; overflow: hidden; }
.reg-card .reg-body { padding: 1.5rem; }
.reg-card:not(.reg-img-izquierda):not(.reg-img-derecha):not(.reg-img-arriba) { max-width: 720px; }
.reg-card.reg-img-derecha { grid-template-columns: 1.3fr 1fr; }
.reg-card.reg-img-derecha .reg-media { order: 2; }
.reg-card.reg-img-izquierda { grid-template-columns: 1fr 1.3fr; }
.reg-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px; }
.reg-card.reg-img-arriba .reg-media img { max-height: 260px; }
.reg-intro p { margin: .25rem 0 .75rem; }
.reg-foot { margin-top: 1rem; }
.account-types { border: 0; padding: 0; margin: 0; }
.account-types legend { font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.choice-cards { display: flex; gap: .5rem; flex-wrap: wrap; }
.choice-card { flex: 1 1 140px; display: flex; gap: .5rem; align-items: center; border: 1px solid var(--border); border-radius: 10px; padding: .7rem .9rem; cursor: pointer; font-weight: 600; }
.choice-card:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); }
.reg-field-row { border: 1px solid var(--border); border-radius: 8px; padding: .6rem .75rem; margin: .5rem 0; display: flex; flex-direction: column; gap: .25rem; }
.reg-custom { border: 1px dashed var(--border); border-radius: 8px; padding: .6rem; margin-bottom: .5rem; display: flex; flex-direction: column; gap: .4rem; }
@media (max-width: 760px) { .reg-card.reg-img-derecha, .reg-card.reg-img-izquierda { grid-template-columns: 1fr; } .reg-card.reg-img-derecha .reg-media { order: 0; } .reg-media img { min-height: 160px; max-height: 220px; } }

/* Bloques de contenido (estilo editor de bloques) */
.lp-heading { margin: 0; line-height: 1.2; }
.lp-h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.lp-h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.lp-h3 { font-size: 1.35rem; }
.lp-h4 { font-size: 1.1rem; }
.lp-paragraph { font-size: 1.05rem; line-height: 1.7; max-width: 75ch; }
.align-center .lp-paragraph { margin-left: auto; margin-right: auto; }
.lp-paragraph.size-grande { font-size: 1.25rem; }
.lp-paragraph.size-pequeno { font-size: .92rem; }
.lp-paragraph p { margin: 0 0 .75rem; }
.lp-paragraph p:last-child { margin-bottom: 0; }
.lp-list { text-align: left; display: inline-block; margin: 0; }
.lp-quote { margin: 0 auto; max-width: 70ch; border-left: 4px solid var(--accent); padding: .5rem 1.25rem; font-size: 1.2rem; font-style: italic; text-align: left; }
.lp-quote p { margin: 0 0 .5rem; }
.lp-quote cite { font-size: .9rem; font-style: normal; opacity: .75; }
.lp-columns { display: grid; gap: 1.5rem; text-align: inherit; }
.lp-columns.cols-2 { grid-template-columns: repeat(2, 1fr); }
.lp-columns.cols-3 { grid-template-columns: repeat(3, 1fr); }
.lp-columns.cols-4 { grid-template-columns: repeat(4, 1fr); }
.lp-col h3 { margin: .5rem 0; }
.lp-col-media img { width: 100%; height: auto; display: block; }
.lp-sep { border: 0; border-top: 2px solid color-mix(in srgb, currentColor 20%, transparent); margin: 0 auto; }
.lp-sep.w-corto { width: 100px; border-top-width: 3px; border-color: var(--accent); }
.lp-type-heading, .lp-type-paragraph, .lp-type-list, .lp-type-quote, .lp-type-buttons, .lp-type-separator { padding-top: 1rem; padding-bottom: 1rem; }
.lp-type-buttons .lp-buttons { margin-top: 0; }
@media (max-width: 760px) { .lp-columns.cols-2, .lp-columns.cols-3, .lp-columns.cols-4 { grid-template-columns: 1fr; } }

/* ===================== Editor de bloques (estilo WordPress) ===================== */
.block-editor-page { overflow: hidden; }
.block-editor-page > .topbar, .block-editor-page > .topbar-note, .block-editor-page > .menu-secundario, .block-editor-page > .footer, .block-editor-page .skip { display: none !important; }
.block-editor-page .shell, .block-editor-page .content { display: block; max-width: none; padding: 0; margin: 0; height: 100vh; }
.be { display: flex; flex-direction: column; height: 100vh; background: var(--surface-2); }
.be-top { display: flex; align-items: center; gap: .35rem; padding: .4rem .6rem; background: var(--surface); border-bottom: 1px solid var(--border); min-height: 56px; flex-wrap: wrap; z-index: 30; }
.be-top .be-spacer-flex { flex: 1; }
.be-title { flex: 1; display: flex; flex-direction: column; align-items: center; line-height: 1.2; min-width: 140px; }
.be-title .save-state { font-size: .75rem; color: var(--muted); }
.save-state.dirty { color: #b26a00; } .save-state.ok { color: #1c7c3c; } .save-state.error { color: var(--danger); }
.be-btn { background: transparent; border: 1px solid transparent; border-radius: 6px; min-width: 36px; height: 36px; padding: 0 .55rem; font: inherit; font-size: 1.05rem; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.be-btn:hover { background: var(--surface-2); }
.be-btn.active, .be-btn[aria-expanded="true"] { background: var(--text); color: var(--surface); }
.be-btn.be-text { font-size: .88rem; }
.be-plus { background: var(--primary); color: #fff; font-size: 1.4rem; font-weight: 700; }
.be-plus:hover { background: var(--primary); filter: brightness(1.1); }
.be-devices { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.be-devices .be-btn { border-radius: 0; font-size: .95rem; }
.be-body { flex: 1; display: flex; min-height: 0; }
.be-left { width: 320px; flex: none; background: var(--surface); border-right: 1px solid var(--border); overflow-y: auto; padding: .8rem; }
.be-left-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.be-search { margin-bottom: .6rem; }
.be-inserter h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: .9rem 0 .4rem; }
.be-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; }
.be-item { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .7rem .25rem; border: 1px solid transparent; border-radius: 8px; background: none; font: inherit; font-size: .78rem; color: var(--text); cursor: pointer; text-align: center; line-height: 1.2; }
.be-item:hover, .be-item:focus-visible { border-color: var(--primary); color: var(--primary); background: var(--surface-2); }
.be-item-icon { font-size: 1.35rem; line-height: 1; min-width: 1.6rem; text-align: center; }
.be-outline { list-style: none; padding: 0; margin: 0; }
.be-outline li { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: .45rem; padding: .45rem .5rem; border-radius: 6px; cursor: pointer; font-size: .88rem; border: 1px solid transparent; }
.be-outline li small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.be-outline li:hover { background: var(--surface-2); }
.be-outline li.active { background: var(--primary); color: #fff; } .be-outline li.active small { color: #fff; opacity: .85; }
.be-outline li.drop { border-top: 3px solid var(--primary); }
.be-outline li.is-hidden { opacity: .55; }
.be-canvas-wrap { flex: 1; overflow-y: auto; min-width: 0; position: relative; padding: 1.2rem; }
.be-canvas { background: var(--bg, var(--surface)); max-width: 1280px; margin: 0 auto; box-shadow: 0 2px 16px rgba(0,0,0,.08); min-height: calc(100% - 1rem); padding: .5rem 0 2rem; }
.be-device-frame { margin: 0 auto; height: calc(100% - .5rem); border: 10px solid #222; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.25); }
.be-device-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.be-right { width: 320px; flex: none; background: var(--surface); border-left: 1px solid var(--border); overflow-y: auto; display: flex; flex-direction: column; }
.be-tabs { display: flex; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 2; }
.be-tabs button { flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; padding: .75rem; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.be-tabs button.active { color: var(--text); border-bottom-color: var(--primary); }
#beBlockPanel, #bePagePanel { padding: .9rem; display: flex; flex-direction: column; gap: .65rem; }
#beBlockPanel h4 { margin: .6rem 0 .1rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.be-panel-head { display: flex; gap: .7rem; align-items: flex-start; padding-bottom: .7rem; border-bottom: 1px solid var(--border); }
.be-panel-head p { margin: .15rem 0 0; }
.be-panel-empty { color: var(--text); }
.be-panel-foot { border-top: 1px solid var(--border); padding-top: .7rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.be-panel-foot .check { flex-basis: 100%; }
.be-row, .be-row2 { display: flex; gap: .4rem; flex-wrap: wrap; align-items: flex-end; }
.be-row2 > * { flex: 1 1 120px; }
.be-media-picker { display: flex; flex-direction: column; gap: .4rem; }
.be-thumb { max-width: 100%; max-height: 140px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
.be-list { display: flex; flex-direction: column; gap: .5rem; }
.be-list-item { border: 1px solid var(--border); border-radius: 8px; padding: .55rem; display: flex; flex-direction: column; gap: .4rem; background: var(--surface-2); }
.be-details { border: 1px solid var(--border); border-radius: 8px; padding: .4rem .6rem; }
.be-details summary { cursor: pointer; font-weight: 600; padding: .2rem 0; }
.be-details[open] { display: flex; flex-direction: column; gap: .45rem; }

/* Bloques en el lienzo */
.be-block { position: relative; outline: 1px solid transparent; outline-offset: -1px; transition: outline-color .1s; }
.be-block:hover { outline: 1px dashed color-mix(in srgb, var(--primary) 55%, transparent); }
.be-block.is-selected { outline: 2px solid var(--primary); z-index: 3; }
.be-block.is-hidden > :not(.be-toolbar):not(.be-hidden-badge) { opacity: .4; }
.be-hidden-badge { position: absolute; right: .5rem; top: .5rem; background: #333; color: #fff; font-size: .72rem; padding: .15rem .5rem; border-radius: 10px; }
.be-block.drop-before { box-shadow: 0 -4px 0 var(--primary); } .be-block.drop-after { box-shadow: 0 4px 0 var(--primary); }
.be-toolbar { position: absolute; top: -44px; left: 8px; display: flex; align-items: center; gap: 1px; background: var(--surface); color: var(--text); border: 1px solid #1e1e1e; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.15); padding: 2px; z-index: 20; font-size: .9rem; }
.be-block:first-of-type .be-toolbar, .be-insert:first-child + .be-block .be-toolbar { top: 6px; }
.be-tb { background: none; border: 0; min-width: 32px; height: 32px; border-radius: 3px; cursor: pointer; font: inherit; color: inherit; display: inline-flex; align-items: center; justify-content: center; padding: 0 .35rem; }
.be-tb:hover { background: var(--surface-2); } .be-tb.danger:hover { background: var(--danger); color: #fff; }
.be-tb.be-b { font-weight: 800; } .be-tb.be-i { font-style: italic; font-family: Georgia, serif; }
.be-tb-type { padding: 0 .5rem; font-weight: 600; white-space: nowrap; border-right: 1px solid var(--border); margin-right: 2px; }
.be-tb-sep { width: 1px; height: 22px; background: var(--border); margin: 0 3px; }
.be-drag { cursor: grab; } .be-drag:active { cursor: grabbing; }
.be-editable { outline: none; cursor: text; min-width: 1ch; }
.be-editable:focus { box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 40%, transparent); border-radius: 2px; }
[contenteditable][data-placeholder]:empty::before { content: attr(data-placeholder); color: currentColor; opacity: .45; pointer-events: none; }
.lp-list.be-editable li:only-child:empty::before { content: 'Elemento de la lista'; opacity: .45; }
.be-pre { white-space: pre-wrap; }
.be-placeholder { border: 2px dashed var(--border); border-radius: 10px; padding: 2.2rem 1rem; text-align: center; color: var(--muted); background: var(--surface-2); cursor: pointer; font-size: .95rem; width: 100%; }
.be-placeholder:hover { border-color: var(--primary); color: var(--primary); }
.lp-type-banner .be-placeholder { margin: 1rem; width: auto; }
.be-iframe-shield { position: absolute; inset: 0; cursor: pointer; }
.video-frame { position: relative; }
.be-spacer { background: repeating-linear-gradient(45deg, transparent 0 8px, color-mix(in srgb, var(--primary) 8%, transparent) 8px 16px); display: flex; align-items: center; justify-content: center; }
.be-spacer span { font-size: .75rem; color: var(--muted); opacity: 0; } .be-block:hover .be-spacer span, .be-block.is-selected .be-spacer span { opacity: 1; }
.be-inline-add { border: 1px dashed currentColor; background: transparent; color: inherit; border-radius: 6px; padding: .4rem .8rem; cursor: pointer; font: inherit; opacity: .55; }
.be-inline-add:hover { opacity: 1; }
.be-card-add { min-height: 80px; }
.be-block:not(.is-selected) .be-inline-add { display: none; }
.be-insert { height: 0; position: relative; z-index: 15; display: flex; justify-content: center; }
.be-insert-btn { position: absolute; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .12s, transform .12s; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.be-insert:hover .be-insert-btn, .be-insert-btn:focus-visible { opacity: 1; transform: scale(1.1); }
.be-insert::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 28px; }
.be-insert:hover::after { content: ''; position: absolute; left: 1rem; right: 1rem; top: -1px; height: 2px; background: var(--primary); }
.be-empty, .be-append { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.be-append { padding: 1.5rem; }
@media (max-width: 1100px) {
  .be-left, .be-right { position: absolute; top: 56px; bottom: 0; z-index: 40; box-shadow: 0 0 24px rgba(0,0,0,.2); }
  .be-left { left: 0; } .be-right { right: 0; }
  .be-body { position: relative; }
}
@media (max-width: 640px) {
  .be-left, .be-right { width: 100%; }
  .be-title { order: 10; flex-basis: 100%; }
  .be-devices, #beUndo, #beRedo { display: none; }
  .be-canvas-wrap { padding: .4rem; }
}

/* ===================== Encabezado: textos, efectos al pasar el cursor y menú móvil ===================== */
.brand strong { font-family: var(--font-hdr, inherit); font-size: var(--name-size, 1.02rem); color: var(--hdr-name, inherit); }
.brand small { color: var(--hdr-tagline, inherit); }
h1, h2, h3, h4, .lp-title, .lp-heading { font-family: var(--font-head, inherit); }
.topbar .hdr-btn { background: var(--hbtn-bg, color-mix(in srgb, var(--hdr-fg) 14%, transparent)) !important; color: var(--hbtn-fg, var(--hdr-fg)) !important; border-color: var(--hbtn-bg, color-mix(in srgb, var(--hdr-fg) 35%, transparent)) !important; }
.topbar .hdr-cta { background: var(--cta-bg, var(--accent)) !important; border-color: var(--cta-bg, var(--accent)) !important; color: var(--cta-fg, var(--on-accent)) !important; }
/* Efectos al pasar el cursor (Encabezado → Menú) */
.topbar.hover-fondo .menu-principal > ul > li > a:hover { background: var(--menu-hover-bg, color-mix(in srgb, var(--hdr-fg) 14%, transparent)); color: var(--menu-hover-fg, var(--menu-fg, var(--hdr-fg))) !important; }
.topbar.hover-color .menu-principal > ul > li > a:hover { color: var(--menu-hover-fg, var(--accent)) !important; }
.topbar.hover-subrayado .menu-principal > ul > li > a:hover { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; color: var(--menu-hover-fg, var(--menu-fg, var(--hdr-fg))) !important; }
.topbar.hover-subrayado_animado .menu-principal > ul > li > a::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px; background: var(--menu-hover-fg, var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.topbar.hover-subrayado_animado .menu-principal > ul > li > a:hover::after { transform: scaleX(1); }
.topbar.hover-subrayado_animado .menu-principal > ul > li > a:hover { color: var(--menu-hover-fg, var(--menu-fg, var(--hdr-fg))) !important; }
.topbar.hover-pastilla .menu-principal > ul > li > a:hover { background: var(--menu-hover-bg, var(--accent)); color: var(--menu-hover-fg, var(--on-accent)) !important; border-radius: 999px; }
.topbar.hover-elevar .menu-principal > ul > li > a:hover { transform: translateY(-2px); background: var(--menu-hover-bg, transparent); color: var(--menu-hover-fg, var(--menu-fg, var(--hdr-fg))) !important; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.topbar.hover-borde .menu-principal > ul > li > a:hover { box-shadow: inset 0 0 0 2px var(--menu-hover-fg, currentColor); color: var(--menu-hover-fg, var(--menu-fg, var(--hdr-fg))) !important; }
.topbar.hover-ninguno .menu-principal > ul > li > a:hover { background: transparent; }
.has-sub .sub a:hover { background: color-mix(in srgb, var(--submenu-fg, var(--text)) 10%, transparent); }
/* Botón de menú (hamburguesa) */
.nav-toggle { display: none; align-items: center; gap: .45rem; margin-left: auto; color: var(--menu-fg, inherit); width: auto; padding: 0 .55rem; font: inherit; font-weight: 600; }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 22px; }
.burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
body.nav-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger i:nth-child(2) { opacity: 0; }
body.nav-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-close, .nav-mobile-actions, .nav-backdrop { display: none; }
.nav-mobile-actions { gap: .5rem; flex-wrap: wrap; padding: 1rem .7rem .3rem; margin-top: .5rem; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.nav-mobile-actions .btn { flex: 1 1 auto; justify-content: center; }
/* Paneles del menú móvil (el punto de corte se genera en el <style> del sitio) */
body.nav-open .topbar .menu-principal { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; background: var(--mnav-bg, var(--hdr-bg)); color: var(--mnav-fg, var(--hdr-fg)); padding: .5rem 1rem 1rem; box-shadow: 0 10px 24px rgba(0,0,0,.22); z-index: 60; max-height: calc(100vh - 60px); overflow-y: auto; }
body.nav-open .topbar.hdr-claro .menu-principal { background: var(--mnav-bg, var(--surface)); color: var(--mnav-fg, var(--text)); }
body.nav-open .topbar .menu-principal a { color: var(--mnav-fg, var(--menu-fg, var(--hdr-fg))) !important; padding: .7rem .7rem; }
body.nav-open .topbar.hdr-claro .menu-principal a { color: var(--mnav-fg, var(--text)) !important; }
body.nav-open .topbar .menu-principal .nav-mobile-actions .btn { color: inherit !important; }
.nav-close { align-self: flex-end; color: inherit; }
body.nav-open .topbar.mnav-desplegable .nav-close { display: none !important; }
body.nav-open .topbar.mnav-lateral_izq .menu-principal, body.nav-open .topbar.mnav-lateral_der .menu-principal { position: fixed; top: 0; bottom: 0; width: min(320px, 86vw); max-height: none; padding: 1rem 1.2rem; animation: mnav-in-l .22s ease; }
body.nav-open .topbar.mnav-lateral_izq .menu-principal { left: 0; right: auto; }
body.nav-open .topbar.mnav-lateral_der .menu-principal { right: 0; left: auto; animation-name: mnav-in-r; }
body.nav-open .topbar.mnav-pantalla_completa .menu-principal { position: fixed; inset: 0; max-height: none; justify-content: center; padding: 2rem; animation: mnav-fade .2s ease; }
body.nav-open .topbar.mnav-pantalla_completa .menu-principal a { font-size: 1.3rem; text-align: center; }
body.nav-open .topbar.mnav-pantalla_completa .nav-close { position: absolute; top: 1rem; right: 1rem; }
body.nav-open .topbar.mnav-align-centro .menu-principal a, body.nav-open .topbar.mnav-align-centro .nav-mobile-actions { text-align: center; justify-content: center; }
body.nav-open .topbar:is(.mnav-lateral_izq, .mnav-lateral_der, .mnav-pantalla_completa) ~ .nav-backdrop, body.nav-open .topbar:is(.mnav-lateral_izq, .mnav-lateral_der) .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 55; }
body.nav-open.has-mnav-panel { overflow: hidden; }
@keyframes mnav-in-l { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes mnav-in-r { from { transform: translateX(100%); } to { transform: none; } }
@keyframes mnav-fade { from { opacity: 0; } to { opacity: 1; } }
.tg-label { font-size: .95rem; }

/* ===================== Imágenes: estilos opcionales (por defecto respetan la transparencia PNG) ===================== */
img.img-natural { border-radius: 0; box-shadow: none; background: transparent; }
img.img-redondeado { border-radius: 14px; }
img.img-sombra { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
img.img-circulo { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
img.img-marco { border-radius: 10px; background: var(--surface); padding: 8px; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* ===================== Tarjetas, íconos y listas con íconos ===================== */
.lp-card { background: var(--card-bg, var(--surface)); color: var(--card-fg, var(--text)) !important; display: flex; flex-direction: column; gap: .35rem; }
.lp-card p { color: inherit; opacity: .78; }
.lp-cards.card-borde .lp-card { box-shadow: none; }
.lp-cards.card-plano .lp-card { box-shadow: none; border-color: transparent; background: var(--card-bg, transparent); padding-left: 0; padding-right: 0; }
.lp-cards.card-color .lp-card { background: var(--card-bg, var(--primary)); color: var(--card-fg, var(--on-primary)) !important; border-color: transparent; }
.lp-cards.card-vidrio .lp-card { background: color-mix(in srgb, var(--card-bg, #ffffff) 16%, transparent); border-color: color-mix(in srgb, currentColor 22%, transparent); backdrop-filter: blur(8px); color: inherit !important; }
.lp-cards.card-align-center .lp-card { align-items: center; text-align: center; }
.lp-cards.cols-1 { grid-template-columns: 1fr; }
.lp-cards.cols-5 { grid-template-columns: repeat(5, 1fr); }
.lp-cards.cols-6, .lp-gallery.cols-6 { grid-template-columns: repeat(6, 1fr); }
.lp-gallery.cols-5 { grid-template-columns: repeat(5, 1fr); }
.lp-cards.card-hover-elevar .lp-card { transition: transform .2s, box-shadow .2s; }
.lp-cards.card-hover-elevar .lp-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.14); }
.lp-cards.card-hover-resaltar .lp-card { transition: border-color .2s, box-shadow .2s; }
.lp-cards.card-hover-resaltar .lp-card:hover { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.lp-cards.card-hover-zoom .lp-card { transition: transform .2s; }
.lp-cards.card-hover-zoom .lp-card:hover { transform: scale(1.03); }
.lp-card-img { margin: -1.4rem -1.4rem .6rem; }
.lp-card-img img { width: 100%; height: auto; display: block; }
.lp-cards.card-plano .lp-card-img { margin: 0 0 .6rem; }
.lp-card-link { margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--primary); }
.lp-cards.card-color .lp-card-link { color: inherit; }
.lp-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--primary); flex: none; line-height: 1; }
.lp-svg-icon { width: 1em; height: 1em; display: block; }
.lp-icon.ic-size-pequeno { font-size: 1.4rem; } .lp-icon.ic-size-normal { font-size: 2rem; } .lp-icon.ic-size-grande { font-size: 2.8rem; }
.lp-icon.ic-circulo, .lp-icon.ic-cuadrado, .lp-icon.ic-contorno { width: 2.1em; height: 2.1em; font-size: 1.6rem; }
.lp-icon.ic-size-pequeno.ic-circulo, .lp-icon.ic-size-pequeno.ic-cuadrado, .lp-icon.ic-size-pequeno.ic-contorno { font-size: 1.2rem; }
.lp-icon.ic-size-grande.ic-circulo, .lp-icon.ic-size-grande.ic-cuadrado, .lp-icon.ic-size-grande.ic-contorno { font-size: 2.1rem; }
.lp-icon.ic-circulo { border-radius: 50%; background: var(--icon-bg, color-mix(in srgb, currentColor 13%, transparent)); }
.lp-icon.ic-cuadrado { border-radius: 14px; background: var(--icon-bg, color-mix(in srgb, currentColor 13%, transparent)); }
.lp-icon.ic-contorno { border-radius: 50%; border: 2px solid currentColor; background: var(--icon-bg, transparent); }
.lp-icon.ic-text .lp-svg-icon { display: none; }
.bg-primary .lp-icon, .bg-secondary .lp-icon, .bg-accent .lp-icon, .bg-dark .lp-icon, .card-color .lp-icon { color: inherit; }
.lp-icon-box { display: flex; flex-direction: column; gap: .8rem; max-width: 760px; }
.lp-block.align-center .lp-icon-box { align-items: center; margin: 0 auto; }
.lp-icon-box.ib-izquierda { flex-direction: row; align-items: flex-start; text-align: left; }
.lp-icon-box .lp-ib-title { margin: 0 0 .3rem; font-size: 1.35rem; }
.lp-icon-box p { margin: 0 0 .5rem; opacity: .85; }
.lp-icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem 2rem; text-align: left; }
.lp-icon-list.cols-2 { grid-template-columns: repeat(2, 1fr); } .lp-icon-list.cols-3 { grid-template-columns: repeat(3, 1fr); }
.lp-block.align-center .lp-icon-list { max-width: 760px; margin: 0 auto; }
.lp-icon-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: 1.05rem; }
.lp-icon-list .lp-svg-icon { width: 1.35em; height: 1.35em; flex: none; color: var(--il-color, var(--primary)); margin-top: .05em; }
.bg-primary .lp-icon-list .lp-svg-icon, .bg-secondary .lp-icon-list .lp-svg-icon, .bg-dark .lp-icon-list .lp-svg-icon { color: var(--il-color, currentColor); }
@media (max-width: 760px) { .lp-icon-list.cols-2, .lp-icon-list.cols-3 { grid-template-columns: 1fr; } .lp-cards.cols-5, .lp-cards.cols-6, .lp-gallery.cols-5, .lp-gallery.cols-6 { grid-template-columns: repeat(2, 1fr); } }

/* ===================== Opciones avanzadas de bloque (estilo Elementor) ===================== */
.lp-block.has-adv-bg { background-repeat: no-repeat; }
.lp-block[style*="--adv-heading"] :is(h1, h2, h3, h4) { color: var(--adv-heading); }
.lp-block.adv-shadow-suave { box-shadow: 0 6px 24px rgba(0,0,0,.08); position: relative; z-index: 1; }
.lp-block.adv-shadow-fuerte { box-shadow: 0 14px 40px rgba(0,0,0,.22); position: relative; z-index: 1; }
.lp-block.adv-w-estrecho > .lp-inner { max-width: 720px; }
.lp-block.adv-w-normal > .lp-inner { max-width: 960px; }
.lp-block.adv-w-ancho > .lp-inner { max-width: 1320px; }
.lp-block.adv-w-completo > .lp-inner { max-width: none; }
.lp-block.adv-title-pequeno :is(.lp-title, .lp-heading, h1) { font-size: 1.3rem; }
.lp-block.adv-title-grande :is(.lp-title, .lp-heading) { font-size: 2.3rem; }
.lp-block.adv-title-grande h1 { font-size: 3.2rem; }
.lp-block.adv-title-enorme :is(.lp-title, .lp-heading, h1) { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; }
.lp-block.adv-align-left { text-align: left; } .lp-block.adv-align-center { text-align: center; } .lp-block.adv-align-right { text-align: right; }
.lp-block.adv-align-center .lp-buttons { justify-content: center; } .lp-block.adv-align-right .lp-buttons { justify-content: flex-end; }
/* Animaciones de entrada (site.js agrega .anim-on al <html> y .in-view al aparecer) */
html.anim-on .anim { transition: opacity var(--anim-dur, .7s) ease var(--anim-delay, 0s), transform var(--anim-dur, .7s) cubic-bezier(.2,.7,.2,1) var(--anim-delay, 0s); }
html.anim-on .anim:not(.in-view) { opacity: 0; }
html.anim-on .anim-subir:not(.in-view) { transform: translateY(40px); }
html.anim-on .anim-zoom:not(.in-view) { transform: scale(.92); }
html.anim-on .anim-izquierda:not(.in-view) { transform: translateX(-50px); }
html.anim-on .anim-derecha:not(.in-view) { transform: translateX(50px); }
@media (prefers-reduced-motion: reduce) { html.anim-on .anim { transition: none; opacity: 1 !important; transform: none !important; } }
/* Visibilidad por dispositivo */
@media (min-width: 1025px) { .hide-desktop { display: none !important; } }
@media (min-width: 641px) and (max-width: 1024px) { .hide-tablet { display: none !important; } }
@media (max-width: 640px) { .hide-mobile { display: none !important; } }

/* ===================== Encuestas: apariencia propia ===================== */
.survey-page-bg { position: fixed; inset: 0; z-index: -1; }
.respond-page:has(.survey-page-bg) { background: transparent; }
.survey.has-font { font-family: var(--s-font); }
.survey.has-font :is(h1, h2, h3, legend) { font-family: var(--s-font); }
.survey .card { background: var(--s-card, var(--surface)); color: var(--s-card-fg, var(--text)); }
.survey .card .muted, .survey .card .q-help { color: inherit; opacity: .75; }
.survey.has-head-color .survey-head { background: var(--s-head); color: var(--s-head-fg); border-top-color: var(--s-head); }
.survey.has-page-bg .progress { background: color-mix(in srgb, var(--s-page-fg, #000) 18%, transparent); }
.survey.radius-recto .card, .survey.radius-recto .survey-banner { border-radius: 0; }
.survey.radius-redondeado .card, .survey.radius-redondeado .survey-banner { border-radius: 22px; }
.survey .section-media img, .survey .survey-banner { max-width: 100%; }
.survey .likert-wrap { overflow-x: auto; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem 1rem; }
.qr-box { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; margin: 1rem 0; }
.qr-box img { width: 180px; height: 180px; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 6px; }
.row-gap { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
.cat-sub { font-size: 1rem; color: var(--muted); margin: 1rem 0 .5rem; }
.tpl-custom { border-top: 4px solid var(--secondary); }

/* ===================== Permisos, páginas y fuentes ===================== */
.perm-matrix td, .perm-matrix th { vertical-align: middle; }
.perm-matrix input[type=checkbox] { width: 20px; height: 20px; }
.perm-matrix .group-row th { background: var(--surface-2); text-transform: uppercase; font-size: .74rem; letter-spacing: .05em; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.starter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; }
.starter { display: flex; gap: .5rem; align-items: flex-start; border: 1px solid var(--border); border-radius: 10px; padding: .7rem; cursor: pointer; }
.starter:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 30%, transparent); }
.starter span { display: flex; flex-direction: column; gap: .15rem; }
.slug-input { display: flex; align-items: center; gap: .3rem; }
.pages-grid { grid-template-columns: 2fr 1fr; align-items: start; }
.fonts-grid { align-items: start; }
.font-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .6rem; }
.font-list li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border: 1px solid var(--border); border-radius: 10px; padding: .7rem .9rem; }
.font-list li > div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.font-sample { font-size: 1.35rem; }
.font-sample-text { font-size: 1rem; }
.font-filters { display: flex; gap: .5rem; margin-bottom: .6rem; }
.font-catalog { max-height: 560px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; }
.font-item { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .45rem .7rem; border-bottom: 1px solid var(--border); margin: 0; }
.font-item span { display: flex; flex-direction: column; }
.inline-form { display: flex; gap: .5rem; }
@media (max-width: 960px) { .pages-grid { grid-template-columns: 1fr; } }

/* ===================== Editor: modo Elementor (pestañas, íconos, arrastrar desde el panel) ===================== */
.be-subtabs { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.be-subtabs button { flex: 1; border: 0; background: var(--surface); padding: .55rem .3rem; font: inherit; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.be-subtabs button + button { border-left: 1px solid var(--border); }
.be-subtabs button.active { background: var(--primary); color: var(--on-primary); }
.be-group { border: 1px solid var(--border); border-radius: 8px; padding: .3rem .7rem .6rem; }
.be-group > summary { cursor: pointer; font-weight: 700; font-size: .86rem; padding: .35rem 0; list-style: none; display: flex; justify-content: space-between; }
.be-group > summary::after { content: '▾'; color: var(--muted); }
.be-group:not([open]) > summary::after { content: '▸'; }
.be-group[open] { display: flex; flex-direction: column; gap: .5rem; }
.be-color .be-row { align-items: center; }
.be-color input[type=color] { width: 44px; height: 32px; padding: 2px; }
.be-item[draggable=true] { cursor: grab; }
.be-canvas.is-dragging-new .be-insert-btn { opacity: .55; }
.be-insert.drop-here::after { content: ''; position: absolute; left: 1rem; right: 1rem; top: -2px; height: 4px; background: var(--primary); border-radius: 2px; }
.be-info-badge { background: #4b3fb8; left: .5rem; right: auto; }
.be-icon-pick { cursor: pointer; outline: 1px dashed transparent; }
.be-block.is-selected .be-icon-pick:hover { outline-color: currentColor; }
.be-icon-btn { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; font: inherit; }
.lp-icon-list .be-icon-btn .lp-svg-icon { width: 1.35em; height: 1.35em; color: var(--il-color, var(--primary)); }
.btn.be-icon-btn { border: 1px solid var(--border); padding: .35rem .6rem; }
.btn.be-icon-btn .lp-svg-icon { width: 1.2em; height: 1.2em; }
.be-icon-pop { position: fixed; z-index: 200; width: 320px; max-height: 380px; display: flex; flex-direction: column; gap: .4rem; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 34px rgba(0,0,0,.25); padding: .6rem; }
.be-icon-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; overflow-y: auto; min-height: 0; flex: 1; }
.be-icon-opt { aspect-ratio: 1; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 6px; }
.be-icon-opt .lp-svg-icon { width: 100%; height: 100%; }
.be-icon-opt:hover, .be-icon-opt.active { border-color: var(--primary); color: var(--primary); background: var(--surface-2); }
.be-emoji { font-size: .9rem; }
.be-hint { margin: .6rem 0 0; }
.be-block:not(.is-selected) .be-hint { display: none; }
.fonts-grid .stack > .btn, .stack > .btn-sm { align-self: flex-start; }

/* ===================== Botones configurables (Identidad → Botones) ===================== */
.btn { font-weight: var(--btn-weight, 600); }
.landing .btn, .catalog-page .btn, .respond-page .survey .btn, .login-card .btn { padding: var(--btn-pad, .55rem 1rem); font-size: var(--btn-fs, .92rem); }
.landing .btn.bs-sm { padding: .4rem .8rem; font-size: .84rem; }
.landing .btn.bs-md { padding: .6rem 1.15rem; font-size: .98rem; }
.landing .btn.bs-lg { padding: .85rem 1.6rem; font-size: 1.1rem; }
.landing .btn.bs-xl { padding: 1.1rem 2.3rem; font-size: 1.3rem; }
.landing .btn.bw-full { width: 100%; justify-content: center; }
.landing .btn.bshape-pill { border-radius: 999px; } .landing .btn.bshape-square { border-radius: 0; }
.btnh-elevar .btn:hover { filter: none; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.btnh-oscurecer .btn:hover { filter: brightness(.88); }
.btnh-contorno .btn:not(.btn-ghost):hover { filter: none; background: transparent; color: var(--primary) !important; }
.btnh-ninguno .btn:hover { filter: none; }

/* ===================== Inicio de sesión con logo ===================== */
.login-logo { text-align: center; margin: -.25rem 0 1rem; }
.login-logo img { max-width: 100%; height: auto; display: inline-block; }
.login-card h1 { text-align: center; }
.login-page .login-bg { position: fixed; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.login-page.login-centered .login-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.login-page.login-split .login-bg { right: 50%; }
@media (min-width: 900px) { .login-page.login-split .content { margin-left: 50%; max-width: 50%; display: flex; align-items: center; min-height: calc(100vh - 140px); } .login-page.login-split .login-card { width: 100%; } }
@media (max-width: 899px) { .login-page.login-split .login-bg { right: 0; } .login-page.login-split .login-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.35); } }

/* ===================== Categorías y encuestas disponibles ===================== */
.cat-chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: var(--cat, var(--primary)); background: color-mix(in srgb, var(--cat, var(--primary)) 12%, transparent); border-radius: 999px; padding: .2rem .65rem; }
.cat-chip .lp-svg-icon { width: 1.1em; height: 1.1em; }
.cat-form { display: grid; grid-template-columns: 1.2fr 2fr auto 1fr .6fr auto auto; gap: .6rem; align-items: end; }
.cat-form .field { margin: 0; }
.cat-edit summary { cursor: pointer; color: var(--primary); font-size: .85rem; margin-top: .3rem; }
.cat-edit[open] .cat-form { margin-top: .6rem; padding: .7rem; border: 1px solid var(--border); border-radius: 8px; }
@media (max-width: 1100px) { .cat-form { grid-template-columns: 1fr 1fr; } }
.catalog-page .content { max-width: none; padding: 0; }
.catalog-head { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--on-primary); padding: 3rem 1.25rem 2.5rem; }
.catalog-inner { max-width: var(--site-w, 1120px); margin: 0 auto; padding: 0 1.25rem; }
.catalog-head .catalog-inner { padding: 0; }
.catalog-head h1 { margin: 0 0 .5rem; font-size: 2.2rem; }
.catalog-head p { opacity: .9; max-width: 70ch; }
.catalog-search { display: flex; gap: .5rem; max-width: 560px; margin-top: 1.2rem; }
.catalog-search input { background: #fff; color: #111; border: 0; }
.catalog-search .btn { background: #fff; color: #111 !important; border-color: #fff; }
.cat-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.5rem 0; }
.cat-filter { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text) !important; text-decoration: none; font-size: .9rem; }
.cat-filter .lp-svg-icon { width: 1.05em; height: 1.05em; color: var(--cat, var(--primary)); }
.cat-filter small { color: var(--muted); }
.cat-filter.active { background: var(--cat, var(--primary)); border-color: var(--cat, var(--primary)); color: #fff !important; }
.cat-filter.active small, .cat-filter.active .lp-svg-icon { color: #fff; }
.survey-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; margin-bottom: 2rem; }
.survey-card { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--cat, var(--primary)); border-radius: var(--radius); padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.survey-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.1); }
.survey-card h2 { font-size: 1.15rem; margin: .2rem 0 0; }
.survey-card h2 a { color: var(--text); text-decoration: none; }
.survey-card p { margin: 0; flex: 1; }
.survey-card-top { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.survey-card-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.guest-fields { border-top: 1px dashed var(--border); margin-top: 1rem; padding-top: .8rem; }
.access-choice { display: flex; flex-direction: column; gap: .3rem; border: 1px solid var(--border); border-radius: 8px; padding: .6rem .9rem; }
html.anim-on .anim-bajar:not(.in-view) { transform: translateY(-40px); }
html.anim-on .anim-rebote:not(.in-view) { transform: scale(.6); }
html.anim-on .anim-rebote.in-view { animation: anim-bounce var(--anim-dur, .8s) cubic-bezier(.3,1.6,.5,1) var(--anim-delay, 0s) both; }
html.anim-on .anim-girar:not(.in-view) { transform: rotate(-8deg) scale(.9); }
html.anim-on .anim-voltear:not(.in-view) { transform: perspective(900px) rotateX(70deg); transform-origin: top; }
@keyframes anim-bounce { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.05); } 100% { transform: scale(1); } }

/* ===================== Efectos de texto en títulos ===================== */
html.anim-on .tfx-letras .tfx-part, html.anim-on .tfx-palabras .tfx-part, html.anim-on .tfx-rebote .tfx-part { display: inline-block; opacity: 0; transform: translateY(.6em); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(var(--i) * 35ms + var(--anim-delay, 0s)); }
html.anim-on .tfx-palabras .tfx-part { transition-delay: calc(var(--i) * 120ms + var(--anim-delay, 0s)); }
html.anim-on .tfx.in-view .tfx-part { opacity: 1; transform: none; }
html.anim-on .tfx-rebote.in-view .tfx-part { animation: tfx-bounce .6s cubic-bezier(.3,1.7,.5,1) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes tfx-bounce { 0% { opacity: 0; transform: translateY(-1em); } 100% { opacity: 1; transform: none; } }
.tfx-typing::after { content: '|'; margin-left: 2px; animation: tfx-caret 1s steps(1) infinite; font-weight: 300; }
.tfx-typing.tfx-done::after { animation: tfx-caret 1s steps(1) 3 forwards; }
@keyframes tfx-caret { 50% { opacity: 0; } }
html.anim-on .tfx-desenfoque :is(h1, h2, .lp-heading, .lp-title) { filter: blur(12px); opacity: 0; transition: filter .9s ease, opacity .9s ease; }
html.anim-on .tfx-desenfoque.in-view :is(h1, h2, .lp-heading, .lp-title) { filter: none; opacity: 1; }
.tfx-mark { background-image: linear-gradient(transparent 58%, color-mix(in srgb, var(--accent) 45%, transparent) 58%); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 1s ease .2s; }
.tfx.in-view .tfx-mark, html:not(.anim-on) .tfx-mark { background-size: 100% 100%; }
.tfx-degradado :is(h1, h2, .lp-heading, .lp-title) { background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary), var(--primary)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: tfx-grad 6s linear infinite; }
@keyframes tfx-grad { to { background-position: 300% 0; } }
.tfx-brillo :is(h1, h2, .lp-heading, .lp-title) { background: linear-gradient(110deg, currentColor 40%, rgba(255,255,255,.95) 50%, currentColor 60%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: tfx-shine 3.5s ease-in-out infinite; }
@keyframes tfx-shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .tfx-degradado :is(h1, h2, .lp-heading, .lp-title), .tfx-brillo :is(h1, h2, .lp-heading, .lp-title) { animation: none; } html.anim-on .tfx .tfx-part { opacity: 1 !important; transform: none !important; transition: none; animation: none; } }

/* ===================== Carrusel de imágenes ===================== */
.lp-type-slider { position: relative; padding: 0 !important; overflow: hidden; background: #111; }
.lp-slides { position: relative; height: 420px; }
.lp-type-slider.h-bajo .lp-slides { height: 280px; }
.lp-type-slider.h-alto .lp-slides { height: 600px; }
.lp-type-slider.h-pantalla .lp-slides { height: calc(100vh - 60px); min-height: 420px; }
.lp-type-slider.h-auto .lp-slides { height: auto; aspect-ratio: 16 / 6; }
.lp-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, transform .8s ease, visibility 0s .8s; }
.lp-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease, transform .8s ease, visibility 0s; z-index: 1; }
.lp-slide-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-type-slider.fit-completa .lp-slide-img { object-fit: contain; }
.lp-slide > a { display: block; height: 100%; }
.tr-deslizar .lp-slide { opacity: 1; transform: translateX(100%); }
.tr-deslizar .lp-slide.is-prev { transform: translateX(-100%); }
.tr-deslizar.dir-back .lp-slide:not(.is-active):not(.is-prev) { transform: translateX(-100%); }
.tr-deslizar.dir-back .lp-slide.is-prev { transform: translateX(100%); }
.tr-deslizar .lp-slide.is-active { transform: none; }
.tr-zoom .lp-slide .lp-slide-img { transform: scale(1.12); transition: transform 6s ease-out; }
.tr-zoom .lp-slide.is-active .lp-slide-img { transform: scale(1); }
.lp-slide-shade { position: absolute; inset: 0; background: rgba(0,0,0,var(--overlay, .3)); pointer-events: none; }
.lp-slide-content { position: absolute; inset: 0; display: flex; align-items: center; color: #fff; padding: 2rem 3.5rem; text-align: center; }
.lp-slide-content .lp-inner { width: 100%; }
.lp-slide-content.pos-izquierda { text-align: left; } .lp-slide-content.pos-derecha { text-align: right; }
.lp-slide-content.pos-derecha .lp-buttons { justify-content: flex-end; }
.lp-slide-content.pos-centro .lp-buttons { justify-content: center; }
.lp-slide-content h2 { font-size: clamp(1.6rem, 4vw, 3rem); margin: 0 0 .5rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.lp-slide-content p { font-size: 1.15rem; max-width: 60ch; display: inline-block; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.lp-slide-content .btn:not(.btn-ghost) { background: #fff; color: #111 !important; border-color: #fff; }
.lp-slide-content .btn-ghost { color: #fff !important; border-color: #fff; }
.lp-slide.is-active .lp-slide-content .lp-inner > * { animation: slide-in .8s ease both; }
.lp-slide.is-active .lp-slide-content .lp-inner > *:nth-child(2) { animation-delay: .15s; } .lp-slide.is-active .lp-slide-content .lp-inner > *:nth-child(3) { animation-delay: .3s; }
@keyframes slide-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lp-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #111; font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.lp-slider-arrow:hover { background: #fff; }
.lp-slider-arrow.prev { left: 1rem; } .lp-slider-arrow.next { right: 1rem; }
.lp-slider-dots { position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 3; display: flex; justify-content: center; gap: .5rem; }
.lp-slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.lp-slider-dots button[aria-current] { background: #fff; width: 28px; border-radius: 6px; }
@media (max-width: 640px) {
  .lp-slides, .lp-type-slider.h-alto .lp-slides { height: 300px; }
  .lp-type-slider.h-pantalla .lp-slides { height: 70vh; min-height: 0; }
  .lp-slide-content { padding: 1.2rem 1.4rem 2.6rem; }
  .lp-slider-arrow { width: 36px; height: 36px; font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .lp-slide, .tr-zoom .lp-slide .lp-slide-img { transition: none; } }
/* Lienzo del editor: diapositiva visible y controles */
.be-slider-nav { position: absolute; z-index: 4; top: .6rem; right: .6rem; display: flex; gap: .3rem; align-items: center; background: rgba(0,0,0,.6); color: #fff; padding: .25rem .4rem; border-radius: 8px; font-size: .8rem; }
.be-slider-nav button { background: #fff; color: #111; border: 0; border-radius: 5px; padding: .15rem .5rem; cursor: pointer; font: inherit; }

.be-grid-patterns { grid-template-columns: repeat(2, 1fr); }
.be-pattern { flex-direction: row; justify-content: flex-start; text-align: left; border: 1px dashed var(--border); }
.be-presets { display: flex; flex-direction: column; gap: .45rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.be-preset { text-align: left; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); padding: .6rem .7rem; cursor: pointer; display: flex; flex-direction: column; gap: .15rem; font: inherit; color: var(--text); }
.be-preset:hover { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent); }
.lp-type-slider > .be-placeholder { min-height: 300px; display: flex; align-items: center; justify-content: center; border-radius: 0; color: #ddd; background: #1d2430; }
.lp-block[style*="margin-top:-"] { position: relative; z-index: 2; }

/* ===================== Barra superior, redes sociales y pie en columnas ===================== */
.topbar-note .tb-inner { max-width: var(--site-w, 1120px); margin: 0 auto; display: flex; gap: .4rem 1.2rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.topbar-note.tb-dividida .tb-inner { justify-content: space-between; }
.topbar-note.tb-izquierda .tb-inner { justify-content: flex-start; }
.topbar-note a { color: inherit; text-decoration: none; }
.topbar-note a:hover { text-decoration: underline; }
.tb-contact { display: inline-flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.tb-contact > * { display: inline-flex; align-items: center; gap: .3rem; }
.tb-contact .lp-svg-icon { width: 1.05em; height: 1.05em; }
.social { list-style: none; margin: 0; padding: 0; display: inline-flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 2.1em; height: 2.1em; font-weight: 800; font-size: .85rem; text-decoration: none !important; transition: transform .15s, filter .15s; line-height: 1; }
.social a:hover { transform: translateY(-2px); filter: brightness(1.1); }
.social .lp-svg-icon { width: 1.15em; height: 1.15em; }
.social-pequeno a { font-size: .72rem; } .social-grande a { font-size: 1.05rem; }
.social-circulo a { border-radius: 50%; } .social-cuadrado a { border-radius: 6px; }
.social-marca:not(.social-simple) a { background: var(--brand); color: #fff !important; }
.social-sitio:not(.social-simple) a { background: var(--primary); color: var(--on-primary) !important; }
.social-claro:not(.social-simple) a { background: rgba(255,255,255,.16); color: inherit !important; border: 1px solid currentColor; }
.social-simple a { width: auto; height: auto; padding: 0 .2rem; color: inherit !important; }
.social-simple.social-marca a { color: var(--brand) !important; }
.topbar-note .social a { width: 1.8em; height: 1.8em; font-size: .7rem; }
.top-actions .social { margin-right: .3rem; }
.footer .social { justify-content: center; margin: .6rem 0; }
.footer-cols { text-align: left; padding: 2.5rem 1.25rem 1rem; }
.footer-grid { max-width: var(--site-w, 1120px); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-cols .social { justify-content: flex-start; }
.footer-cols h3 { font-size: 1rem; margin: 0 0 .7rem; color: inherit; }
.footer-cols .menu-pie ul { flex-direction: column; gap: .4rem; align-items: flex-start; }
.footer-logo { max-height: 70px; max-width: 220px; width: auto; display: block; margin-bottom: .7rem; }
.footer-name { font-size: 1.15rem; display: block; margin-bottom: .5rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-contact li { display: flex; gap: .5rem; align-items: flex-start; }
.footer-contact .lp-svg-icon { width: 1.1em; height: 1.1em; flex: none; margin-top: .15em; }
.footer-bottom { max-width: var(--site-w, 1120px); margin: 1.8rem auto 0; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); text-align: center; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; } }

/* Posición de los botones por bloque (Estilo → Botones) */
.lp-block.adv-btn-izquierda .lp-buttons { justify-content: flex-start; }
.lp-block.adv-btn-centro .lp-buttons { justify-content: center; }
.lp-block.adv-btn-derecha .lp-buttons { justify-content: flex-end; }
.lp-block.adv-btn-completo .lp-buttons { justify-content: stretch; }
.lp-block.adv-btn-completo .lp-buttons .btn { flex: 1 1 0; justify-content: center; }
.lp-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-demo { display: flex; gap: .6rem; flex-wrap: wrap; }
/* Biblioteca multimedia */
a.media-item { display: flex; flex-direction: column; color: var(--text); text-decoration: none; position: relative; transition: box-shadow .15s, border-color .15s; }
a.media-item:hover { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 30%, transparent); }
.media-item .mi-name { padding: .45rem .6rem; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-item .mi-flag { position: absolute; top: .4rem; right: .4rem; background: #333; color: #fff; font-size: .68rem; padding: .1rem .4rem; border-radius: 8px; }
.media-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.media-item img, .media-item video, .media-item .doc-ph { height: 150px; }
.doc-ph { flex-direction: column; gap: .2rem; font-size: 2.2rem; }
.doc-ph small { font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.doc-ph.big { height: 260px; }
.media-filters { flex-wrap: wrap; align-items: center; }
.media-filters input[type=search] { min-width: 240px; flex: 1; }
.view-toggle { display: inline-flex; gap: .25rem; margin-left: auto; }
.media-kinds a small { margin-left: .2rem; }
.media-table .mt-thumb { width: 70px; }
.media-table .mt-thumb img, .media-table .mt-thumb video, .media-table .mt-thumb .doc-ph { width: 60px; height: 46px; object-fit: cover; font-size: 1.2rem; border-radius: 4px; }
.pager { display: flex; gap: .8rem; justify-content: center; align-items: center; margin: 1rem 0; }
.media-detail { display: grid; grid-template-columns: 3fr 2fr; gap: 1.2rem; align-items: start; }
.md-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; background: repeating-conic-gradient(var(--surface-2) 0% 25%, var(--surface) 0% 50%) 50% / 20px 20px; }
.md-img { max-width: 100%; max-height: 70vh; height: auto; }
.md-video { width: 100%; max-height: 70vh; }
.md-pdf { width: 100%; height: 70vh; border: 0; background: #fff; }
.md-form { margin: 1rem 0; border-top: 1px solid var(--border); padding-top: 1rem; }
@media (max-width: 960px) { .media-detail { grid-template-columns: 1fr; } }
.dropzone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 2.5rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone:focus-visible, .dropzone.over { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, transparent); outline: none; }
.dz-icon { font-size: 2.4rem; color: var(--primary); }
.upload-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.upload-list li { border: 1px solid var(--border); border-radius: 8px; padding: .55rem .75rem; }
.upload-list li.ok { border-color: #1c7c3c; } .upload-list li.error { border-color: var(--danger); }
.ul-row { display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap; }
.ul-state { margin-left: auto; font-size: .88rem; }
.upload-list li.error .ul-state { color: var(--danger); }
.ul-bar { height: 5px; background: var(--surface-2); border-radius: 3px; margin-top: .4rem; overflow: hidden; }
.ul-bar i { display: block; height: 100%; width: 0; background: var(--primary); transition: width .2s; }
.formats dd { word-spacing: .3rem; }
/* Tipografía */
.typo-card .typo-sample { padding: .7rem 1rem; background: var(--surface-2); border-radius: 8px; margin: 0 0 .7rem; }
.typo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem .8rem; align-items: end; }
.typo-grid .field { margin: 0; }
.btn-ctx td { vertical-align: middle; }
.typo-dark { background: var(--hdr-bg) !important; color: var(--hdr-fg); }
.typo-sample h1, .typo-sample h2, .typo-sample h3, .typo-sample h4 { margin: 0; }
.typo-sample .footer { border: 0; padding: .3rem; }

/* Avatares y perfil */
.avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.avatar-ph { background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: .85rem; text-transform: uppercase; }
.avatar-lg { width: 88px; height: 88px; font-size: 1.8rem; }
.avatar-edit { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.usermenu summary { display: inline-flex; align-items: center; gap: .5rem; }
.usermenu summary > span { display: inline-flex; flex-direction: column; line-height: 1.15; }
.user-cell { display: flex; gap: .6rem; align-items: center; }
.perm-list { list-style: none; padding: 0; margin: 0 0 .5rem; display: flex; flex-direction: column; gap: .3rem; }

/* El icono representa el tema actual; la etiqueta explica el control. */
body .topbar .theme-toggle { width: auto; min-width: 44px; min-height: 44px; padding: 8px 10px; border-radius: 999px; flex-shrink: 0; }
.theme-toggle > span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; white-space: nowrap; }
.theme-toggle .theme-dark, [data-theme="dark"] .theme-toggle .theme-light { display: none; }
[data-theme="dark"] .theme-toggle .theme-dark { display: inline-flex; }
.brand .logo, .brand .logo-ph { flex-shrink: 0; }
.reg-body, .reg-card, .reg-card form, .reg-card .grid { min-width: 0; }
.reg-body { overflow-wrap: anywhere; }
@media (max-width:720px) {
  .topbar .top-actions { flex-shrink: 0; }
  .reg-card .reg-body { padding: 18px 12px; }
  input, select, textarea { max-width: 100%; }
}
@media (pointer:coarse) {
  .topbar .icon-btn, .survey-nav .btn { min-width: 44px; min-height: 44px; }
}

@media (max-width:720px) { .theme-toggle .theme-mode { display: none; } }

.reg-logo { margin-bottom: 20px; text-align: center; }
.reg-logo img { display: inline-block; width: auto; max-width: 100%; object-fit: contain; }

/* Tamaño proporcional: el ancho escala la imagen completa, sin espacio fijo de altura. */
.reg-card .reg-media { display:flex; align-items:center; justify-content:center; min-width:0; padding:24px; }
.reg-card .reg-media img { width:min(100%,var(--reg-image-width,280px)); height:auto; min-height:0; max-height:none; object-fit:contain; }
.reg-card.reg-image-cover .reg-media img { height:var(--reg-image-height,260px); object-fit:cover; }
.reg-logo img { height:auto; }
@media(max-width:760px) { .reg-card .reg-media { padding:18px; } .reg-card.reg-image-cover .reg-media img { height:min(var(--reg-image-height,260px),240px); } }

.form-type-row { margin-top:16px; min-width:0; }
.form-type-row legend { margin-bottom:8px; }

.schedule-pair { min-width:0; margin:0 0 16px; }
.schedule-pair legend { font-weight:600; margin-bottom:8px; }
.survey-color .color-state { flex-basis:100%; }
.survey-color code { overflow-wrap:anywhere; }
.quiz-editor { display:flex; flex-wrap:wrap; gap:12px; padding:16px; border:1px solid var(--border); border-radius:12px; margin:12px 0; }
.quiz-editor .check { flex-basis:100%; }
.opt-row .correct { flex-shrink:0; font-weight:600; }
@media(max-width:640px) { .opt-row { flex-wrap:wrap; } .opt-row .goto { max-width:100%; } }

.survey-color [data-color-hex] { width:112px; flex:0 0 112px; }

@media(max-width:640px) { .q-foot { flex-wrap:wrap; } .q-foot .check { flex-basis:100%; } .q-foot .spacer { display:none; } }

/* Acciones compactas de encuestas; los formularios conservan CSRF y confirmación. */
.survey-management-actions { width: 1%; white-space: nowrap; }
.survey-action-toolbar { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.survey-action-toolbar form { display: flex; margin: 0; }
.survey-action-toolbar .survey-icon-action { display: inline-flex; justify-content: center; align-items: center; width: 34px; height: 34px; min-height: 34px; padding: 7px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; box-shadow: none; font-size: 18px; line-height: 1; }
.survey-action-toolbar .survey-icon-action:hover { background: var(--surface-2); border-color: var(--border); }
.survey-action-toolbar .survey-icon-action:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.survey-action-toolbar .survey-icon-action.is-active { color: var(--primary); background: var(--surface-2); border-color: var(--primary); }
.survey-action-toolbar .survey-icon-action.danger { color: var(--danger, #b42318); margin-left: 4px; }
.survey-action-toolbar .survey-icon-action.danger:hover { border-color: currentColor; }
.survey-action-toolbar .survey-icon-action:disabled { opacity: .4; cursor: default; }
.survey-navigation { margin-top: 6px; flex-wrap: wrap; gap: 2px; }
.survey-navigation .survey-icon-action { width: 28px; height: 28px; min-height: 28px; padding: 5px; }
.survey-navigation .survey-action-icon { width: 18px; height: 18px; }
.survey-action-icon { width: 20px; height: 20px; flex-shrink: 0; }
@media (pointer: coarse) { .survey-action-toolbar .survey-icon-action { width: 44px; height: 44px; min-height: 44px; padding: 12px; } }
.tag.eliminada { color: var(--danger, #b42318); }
@media (max-width: 760px) {
  .survey-management .table-wrap { overflow: visible; }
  .survey-management table, .survey-management tbody { display: block; width: 100%; }
  .survey-management thead { display: none; }
  .survey-management tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--border); padding: .8rem; }
  .survey-management td { display: block; min-width: 0; padding: .5rem; border: 0; text-align: left; overflow-wrap: anywhere; }
  .survey-management td:first-child, .survey-management td:last-child { grid-column: 1 / -1; }
  .survey-management td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 700; opacity: .7; margin-bottom: .3rem; }
  .survey-management td:first-child::before, .survey-management td:last-child::before { display: none; }
  .survey-management-actions { width: auto; min-width: 0; }
  .survey-action-toolbar .survey-icon-action { width: 44px; height: 44px; min-height: 44px; padding: 12px; }
}
@media (min-width: 761px) {
  .survey-management .table th, .survey-management .table td { padding: 12px 10px; }
  .survey-management .table th:first-child, .survey-management .table td:first-child { min-width: 190px; }
}

.survey-config-actions { margin-bottom: 20px; }
.survey-config-actions form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.survey-config-actions .field { flex: 1 1 280px; max-width: 520px; margin: 0; }
.survey-config-actions [data-action-status] { flex-basis: 100%; margin: 0; }
.survey-config-actions [data-action-status]:empty { display: none; }
@media (max-width: 640px) { .survey-config-actions .field { flex-basis: 100%; max-width: none; } }

/* Marca y formularios globales. */
.login-logo .login-brand-logo { max-height:var(--login-logo-height,96px); max-width:100%; width:auto; margin:auto; object-fit:contain; }
.global-preview { padding:20px; border:1px solid var(--border); border-radius:12px; overflow-wrap:anywhere; }
.palette-scale { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; margin:12px 0; }
.palette-scale span { padding:12px 4px; text-align:center; border-radius:6px; font-size:12px; }
.global-color { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.global-color input[type=text] { width:120px; min-width:0; }
.global-color input[type=color] { width:48px; padding:3px; }
.global-preview img { max-width:100%; max-height:120px; object-fit:contain; }

/* Administración de correo: usa los colores de los temas institucionales. */
.smtp-settings { gap: 1.25rem; }
.smtp-status { border-inline-start: 5px solid var(--primary); background: var(--info-bg); }
.smtp-status p:last-child { margin-bottom: 0; }
.smtp-summary { cursor: pointer; padding: .25rem 0; font-size: 1.1rem; }
.smtp-summary .tag { margin-inline-start: .6rem; font-size: .8rem; }
.smtp-tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.smtp-tests form { min-width: 0; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.smtp-tests p { margin: 0; overflow-wrap: anywhere; }
.smtp-events { overflow-x: auto; }
.smtp-settings input, .smtp-settings select { min-width: 0; max-width: 100%; }
@media (max-width: 700px) { .smtp-tests { grid-template-columns: 1fr; } .smtp-summary .tag { display: inline-block; margin-block: .4rem; } .smtp-settings .btn { white-space: normal; min-height: 44px; } }
