.cmr-preview-body .cmr-articulo-ad-medio {
  max-width: none; margin: 2.4rem 0; padding: 1.4rem 0;
  border-top: 1px solid var(--crema); border-bottom: 1px solid var(--crema);
  clear: both;
}

.cmr-greb-icono { display: inline-block; border-radius: 3px; vertical-align: -0.15em; }

.cmr-tb-greb .cmr-greb-icono { margin-right: 0.1rem; }

.cmr-bubble-greb .cmr-greb-icono { border-radius: 2px; }

.cmr-bubble-btn.is-on { background: rgba(255,255,255,0.28); }

.cmr-greb-campo { display: grid; gap: 0.35rem; margin-bottom: 1rem; }

.cmr-greb-campo > span {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(26,26,26,0.55);
}

.cmr-greb-campo textarea, .cmr-greb-campo input[type="text"] {
  font-family: var(--sans); font-size: 0.92rem; padding: 0.55rem 0.7rem; width: 100%;
  border: 1px solid var(--crema); border-radius: 8px; background: #fffdf8; color: var(--tinta);
}

.cmr-greb-campo textarea { min-height: 76px; resize: vertical; line-height: 1.45; }

.cmr-greb-campo textarea:focus, .cmr-greb-campo input:focus {
  outline: 2px solid var(--crema); border-color: transparent;
}

.cmr-greb-estilos {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 0.6rem;
}

.cmr-greb-estilo {
  display: grid; gap: 0.2rem; text-align: left; cursor: pointer; padding: 0.7rem;
  border: 1px solid var(--crema); border-radius: 10px; background: #fffdf8;
  font-family: var(--sans); color: var(--tinta);
  transition: border-color .15s ease, transform .15s ease;
}

.cmr-greb-estilo:hover { border-color: var(--verde); transform: translateY(-1px); }

.cmr-greb-estilo.is-on { border-color: var(--verde); background: rgba(160,32,25,0.06); box-shadow: inset 0 0 0 1px var(--verde); }

.cmr-greb-estilo-icono { display: flex; color: var(--verde); opacity: 0.85; }

.cmr-greb-estilo.is-on .cmr-greb-estilo-icono { opacity: 1; }

.cmr-greb-estilo-nombre { font-weight: 700; font-size: 0.9rem; }

.cmr-greb-estilo-desc { font-size: 0.76rem; color: rgba(26,26,26,0.6); line-height: 1.35; }

.cmr-greb-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.cmr-greb-chip {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600; cursor: pointer;
  padding: 0.35rem 0.85rem; border-radius: 100px; border: 1px solid var(--crema);
  background: transparent; color: var(--tinta);
}

.cmr-greb-chip.is-on { background: var(--tinta); color: var(--blanco); border-color: var(--tinta); }

.cmr-greb-origen { display: grid; gap: 0.6rem; margin-bottom: 1rem; }

.cmr-greb-origen img {
  width: 100%; max-height: 220px; object-fit: contain; border: 1px solid var(--crema);
  border-radius: 10px; background: rgba(26,26,26,0.04);
}

.cmr-greb-prompt { font-family: var(--sans); font-size: 0.8rem; color: rgba(26,26,26,0.6); margin: 0.2rem 0 0; }

.cmr-greb-prompt summary { cursor: pointer; font-weight: 600; }

.cmr-greb-prompt p { margin: 0.5rem 0 0; line-height: 1.5; }

.cmr-greb-error { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--verde); }

.cmr-greb-lienzo {
  margin-top: 1.1rem; border: 1px solid var(--crema); border-radius: 10px; overflow: hidden;
  background: rgba(26,26,26,0.04); min-height: 160px; display: grid; place-items: center;
}

.cmr-greb-lienzo img { width: 100%; }

.cmr-greb-esperando {
  font-family: var(--sans); font-size: 0.85rem; line-height: 1.5;
  color: rgba(26,26,26,0.6); margin: 1rem 0 0; padding-top: 0.9rem;
  border-top: 1px solid var(--crema);
}

.cmr-agenda-bloque {
  margin: 0 0 1.8rem; padding: 1rem 1.2rem; border-radius: 10px;
  border: 1px solid var(--crema); background: rgba(26,26,26,0.03);
  font-family: var(--sans);
}

.cmr-agenda-tit {
  margin: 0 0 0.6rem; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--verde);
}

.cmr-agenda-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }

.cmr-agenda-lista li {
  display: flex; gap: 0.9rem; align-items: baseline; flex-wrap: wrap;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--crema);
}

.cmr-agenda-lista li:last-child { border-bottom: 0; padding-bottom: 0; }

.cmr-agenda-cuando { min-width: 12rem; font-size: 0.85rem; }

.cmr-agenda-hora { margin-left: 0.4rem; color: rgba(26,26,26,0.6); }

.cmr-agenda-que { flex: 1; min-width: 12rem; font-size: 0.92rem; }

.cmr-agenda-lugar { display: block; font-size: 0.8rem; color: rgba(26,26,26,0.6); }

.cmr-agenda-pie { margin: 0.8rem 0 0; font-size: 0.82rem; }

.cmr-agenda-cargando { margin: 0; font-family: var(--sans); font-size: 0.85rem; }

.cmr-greb-error.is-ok { color: #0d5c4a; }

.cmr-buscar-flotante {
  position: fixed; right: 1rem; top: 5.5rem; z-index: 1140;
  width: min(360px, calc(100vw - 2rem)); max-height: calc(100vh - 8rem);
  display: flex; flex-direction: column;
  background: var(--blanco); border: 1px solid var(--crema); border-radius: 12px;
  box-shadow: 0 18px 44px rgba(13,13,13,0.22); font-family: var(--sans);
}

.cmr-buscar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--crema);
}

.cmr-buscar-head h3 {
  display: flex; align-items: center; gap: 0.45rem; margin: 0;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 700;
}

.cmr-buscar-flotante .cmr-wm-buscador { display: flex; gap: 0.4rem; padding: 0.7rem 0.75rem 0.4rem; }

.cmr-buscar-flotante .cmr-wm-buscador input { flex: 1; min-width: 0; }

.cmr-buscar-nota {
  margin: 0 0.75rem 0.5rem; font-size: 0.78rem; line-height: 1.45;
  color: rgba(26,26,26,0.6);
}

.cmr-buscar-cuerpo { overflow-y: auto; padding: 0 0.75rem 0.75rem; }

.cmr-buscar-flotante .cmr-wm-lista { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }

.cmr-video-clip { margin: 1.8rem 0; }

.cmr-video-clip .cmr-video-frame {
  position: relative; padding-top: 56.25%; background: #000;
  border-radius: 8px; overflow: hidden;
}

.cmr-video-clip .cmr-video-frame > iframe,
.cmr-video-clip .cmr-video-frame > div {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.cmr-video-clip .cmr-video-frame > a {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--papel); font-family: var(--sans); font-size: 0.9rem; text-decoration: underline;
}

.cmr-video-clip figcaption {
  font-family: var(--sans); font-size: 0.85rem; line-height: 1.5;
  color: rgba(26,26,26,0.65); margin-top: 0.6rem; text-align: center;
}

.cmr-video-clip .cmr-video-frame > a.cmr-video-poster {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem; background-size: cover; background-position: center; text-decoration: none;
}

.cmr-video-poster::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }

.cmr-video-play-badge {
  position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem; color: #fff; padding-left: 4px;
  background: rgba(0,0,0,0.55); border: 2px solid rgba(255,255,255,0.9);
}

.cmr-video-poster-txt {
  position: relative; z-index: 1; color: #fff; font-family: var(--sans);
  font-size: 0.85rem; text-decoration: underline;
}

.cmr-video-custom { position: absolute; inset: 0; z-index: 2; }
