/*!
 * Digital Magazine Viewer — magazine.css
 * Todos los estilos están encapsulados bajo `.dmv` y usan el prefijo `dmv-`.
 * No se modifica ningún elemento de la página anfitriona (body, html, etc.).
 */

/* ------------------------------------------------------------------
   1. Variables (sobrescribibles desde la configuración o desde CSS)
   ------------------------------------------------------------------ */
.dmv {
  --dmv-bg: #ecebe7;
  --dmv-ink: #1c1b19;
  --dmv-muted: #6d6a64;
  --dmv-accent: #e4553b;
  --dmv-ui-bg: rgba(255, 255, 255, 0.92);
  --dmv-ui-border: rgba(28, 27, 25, 0.08);
  --dmv-ui-hover: rgba(28, 27, 25, 0.07);
  --dmv-panel-bg: #f6f5f2;
  --dmv-page-bg: #ffffff;
  --dmv-shadow: 0 30px 60px -28px rgba(30, 25, 15, 0.45), 0 10px 22px -12px rgba(30, 25, 15, 0.22);
  --dmv-height: 100%;
  --dmv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --dmv-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.dmv.dmv--dark {
  --dmv-bg: #1a1a19;
  --dmv-ink: #f1efea;
  --dmv-muted: #a8a49c;
  --dmv-ui-bg: rgba(40, 40, 38, 0.92);
  --dmv-ui-border: rgba(255, 255, 255, 0.08);
  --dmv-ui-hover: rgba(255, 255, 255, 0.1);
  --dmv-panel-bg: #222220;
  --dmv-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8), 0 10px 22px -12px rgba(0, 0, 0, 0.5);
}

/* ------------------------------------------------------------------
   2. Aislamiento: neutraliza estilos heredados del sitio anfitrión
   (Bootstrap, Elementor, temas WordPress…). Especificidad (0,2,0):
   gana a selectores típicos de temas como `.elementor-kit-5 button`.
   ------------------------------------------------------------------ */
.dmv.dmv :where(div, span, button, input, img, a, ul, ol, li, p, h1, h2, h3, section, aside, nav, header, footer, figure, mark, label, svg, progress) {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: none;
  text-decoration: none;
  text-shadow: none;
  max-width: none;
  max-height: none;
  min-width: 0;
  min-height: 0;
  float: none;
  outline: none;
  transition: none;
  vertical-align: baseline;
}
.dmv.dmv :where(*, *::before, *::after) { box-sizing: border-box; }
.dmv.dmv :where(ul, ol) { list-style: none; }
.dmv.dmv [hidden] { display: none !important; }
.dmv.dmv :where(img) { display: block; height: auto; border: 0; }
.dmv.dmv :where(svg) { display: block; fill: none; stroke: currentColor; overflow: visible; }

/* ------------------------------------------------------------------
   3. Contenedor raíz
   ------------------------------------------------------------------ */
.dmv {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: var(--dmv-height);
  min-height: 360px;
  overflow: hidden;
  isolation: isolate;
  background: var(--dmv-bg);
  color: var(--dmv-ink);
  font-family: var(--dmv-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
}
.dmv:fullscreen { width: 100%; height: 100%; }
.dmv.dmv--pseudo-fs {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}

/* Accesibilidad: texto solo para lectores de pantalla */
.dmv .dmv-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Foco visible (teclado) */
.dmv .dmv-btn:focus-visible,
.dmv .dmv-thumb:focus-visible,
.dmv .dmv-result:focus-visible,
.dmv .dmv-input:focus-visible,
.dmv .dmv-arrow:focus-visible {
  outline: 2px solid var(--dmv-accent);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
   4. Cabecera (título + acciones secundarias)
   ------------------------------------------------------------------ */
.dmv .dmv-header {
  position: relative;
  z-index: 20;
  display: flex;
  flex: none;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 14px 0 24px;
}
.dmv .dmv-title {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--dmv-ink);
}
.dmv .dmv-subtitle {
  display: inline;
  margin-left: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--dmv-muted);
}
.dmv .dmv-header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

/* ------------------------------------------------------------------
   5. Botones e inputs
   ------------------------------------------------------------------ */
.dmv .dmv-btn {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--dmv-ink);
  cursor: pointer;
  opacity: 0.82;
  transition: background-color 0.2s, opacity 0.2s, color 0.2s;
}
.dmv .dmv-btn:hover { background: var(--dmv-ui-hover); opacity: 1; }
.dmv .dmv-btn[aria-pressed="true"],
.dmv .dmv-btn[aria-expanded="true"] { opacity: 1; color: var(--dmv-accent); }
.dmv .dmv-btn[disabled] { opacity: 0.25; cursor: default; background: transparent; }
.dmv .dmv-btn svg { width: 20px; height: 20px; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dmv .dmv-btn--text {
  width: auto;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  gap: 8px;
}
.dmv a.dmv-btn { color: var(--dmv-ink); }

.dmv .dmv-sep {
  flex: none;
  width: 1px;
  height: 20px;
  margin: 0 6px;
  background: var(--dmv-ui-border);
}

/* ------------------------------------------------------------------
   6. Cuerpo: panel lateral + escenario
   ------------------------------------------------------------------ */
.dmv .dmv-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}
.dmv .dmv-stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  touch-action: pan-y; /* permite desplazar la web en vertical; el gesto horizontal lo gestiona el visor */
  cursor: default;
  outline: none;
}
.dmv.dmv--single .dmv-stage { overflow: hidden; }
.dmv .dmv-stage.dmv-is-zoomed { cursor: grab; touch-action: none; overflow: hidden; }
.dmv .dmv-stage.dmv-show-focus { box-shadow: inset 0 0 0 2px var(--dmv-accent); }
.dmv .dmv-stage.dmv-is-panning { cursor: grabbing; }
.dmv .dmv-viewport {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  will-change: transform;
}
.dmv .dmv-viewport.dmv-is-animating { transition: transform 0.38s var(--dmv-ease); }

/* ------------------------------------------------------------------
   7. Libro y páginas
   ------------------------------------------------------------------ */
.dmv .dmv-book {
  position: absolute;
  transform-style: preserve-3d;
}
.dmv .dmv-book-shadow {
  position: absolute;
  top: 0;
  height: 100%;
  box-shadow: var(--dmv-shadow);
  background: var(--dmv-page-bg);
}

.dmv .dmv-page,
.dmv .dmv-face {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: hidden;
  background-color: var(--dmv-page-bg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dmv .dmv-page--left { left: 0; width: 50%; }
.dmv .dmv-page--right { left: 50%; width: 50%; }
.dmv .dmv-page--single { left: 0; width: 100%; }
.dmv .dmv-page--blank { background: transparent !important; }
.dmv .dmv-page--blank > * { display: none; }

.dmv .dmv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0;
  transition: opacity 0.35s ease;
  -webkit-user-drag: none;
  pointer-events: none;
}
.dmv .dmv-img.dmv-is-loaded { opacity: 1; }
.dmv .dmv-img.dmv-is-instant { transition: none; }

/* Pliegue central: sombreado del lomo como en papel real */
.dmv .dmv-gutter {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 9%;
  pointer-events: none;
  z-index: 2;
}
.dmv .dmv-page--left .dmv-gutter,
.dmv .dmv-face--onleft .dmv-gutter { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.04) 35%, rgba(0, 0, 0, 0)); }
.dmv .dmv-page--right .dmv-gutter,
.dmv .dmv-face--onright .dmv-gutter { left: 0; background: linear-gradient(to right, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.035) 35%, rgba(0, 0, 0, 0)); }
.dmv .dmv-page--single .dmv-gutter { display: none; }
.dmv .dmv-book--cover .dmv-gutter { opacity: 0.4; }

/* Hoja que gira */
.dmv .dmv-leaf {
  position: absolute;
  top: 0;
  z-index: 10;
  width: 50%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.dmv .dmv-leaf--fwd { left: 50%; transform-origin: 0 50%; }
.dmv .dmv-leaf--bwd { left: 0; transform-origin: 100% 50%; }
.dmv .dmv-face {
  left: 0;
  width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.dmv .dmv-face--back { transform: rotateY(180deg); }
.dmv .dmv-face.dmv-page--blank { visibility: hidden; }
.dmv .dmv-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}
.dmv .dmv-face--onright .dmv-shade { background: linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.08) 45%, rgba(255, 255, 255, 0.06)); }
.dmv .dmv-face--onleft .dmv-shade { background: linear-gradient(to left, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.08) 45%, rgba(255, 255, 255, 0.06)); }
.dmv .dmv-cast {
  position: absolute;
  top: 0;
  z-index: 4;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.dmv .dmv-cast--r { background: linear-gradient(to right, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0)); }
.dmv .dmv-cast--l { background: linear-gradient(to left, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0)); }

/* Modo página única (móvil / vertical): carrusel horizontal */
.dmv .dmv-track { position: absolute; inset: 0; will-change: transform; }
.dmv .dmv-track.dmv-is-animating { transition: transform 0.42s var(--dmv-ease); }
.dmv .dmv-slot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: var(--dmv-shadow);
}
.dmv .dmv-slot.dmv-page--blank { box-shadow: none; }

/* ------------------------------------------------------------------
   8. Flechas laterales
   ------------------------------------------------------------------ */
.dmv .dmv-arrow {
  position: absolute;
  top: 50%;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 112px;
  margin-top: -56px;
  border: 0;
  background: transparent;
  color: var(--dmv-ink);
  cursor: pointer;
  opacity: 0.38;
  transition: opacity 0.25s, transform 0.25s var(--dmv-ease);
}
.dmv .dmv-arrow:hover { opacity: 0.9; }
.dmv .dmv-arrow--prev { left: 4px; }
.dmv .dmv-arrow--next { right: 4px; }
.dmv .dmv-arrow--prev:hover { transform: translateX(-3px); }
.dmv .dmv-arrow--next:hover { transform: translateX(3px); }
.dmv .dmv-arrow[disabled] { opacity: 0; pointer-events: none; }
.dmv .dmv-arrow svg { width: 30px; height: 30px; stroke-width: 1.1; }
.dmv .dmv-stage.dmv-is-zoomed ~ .dmv-arrow,
.dmv .dmv-is-zoomed .dmv-arrow { opacity: 0; pointer-events: none; }

/* ------------------------------------------------------------------
   9. Barra inferior (pastilla flotante) y progreso
   ------------------------------------------------------------------ */
.dmv .dmv-footer {
  position: relative;
  z-index: 20;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 12px 6px;
}
.dmv .dmv-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 48px;
  padding: 4px 6px;
  border: 1px solid var(--dmv-ui-border);
  border-radius: 999px;
  background: var(--dmv-ui-bg);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.dmv .dmv-pager {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--dmv-muted);
  white-space: nowrap;
}
.dmv .dmv-input {
  width: 64px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--dmv-ui-hover);
  color: var(--dmv-ink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  -webkit-user-select: text;
  user-select: text;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.dmv .dmv-input:focus { border-color: var(--dmv-accent); background: var(--dmv-page-bg); }
.dmv .dmv-zoom-level {
  min-width: 44px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--dmv-muted);
}

.dmv .dmv-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 16;
  height: 2px;
  background: rgba(0, 0, 0, 0.06);
  pointer-events: none;
}
.dmv.dmv--dark .dmv-progress { background: rgba(255, 255, 255, 0.08); }
.dmv .dmv-progress-bar {
  width: 100%;
  height: 100%;
  background: var(--dmv-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--dmv-ease);
}

/* ------------------------------------------------------------------
   10. Panel lateral (miniaturas / búsqueda)
   ------------------------------------------------------------------ */
.dmv .dmv-panel {
  position: relative;
  z-index: 18;
  display: flex;
  flex: none;
  flex-direction: column;
  width: 0;
  overflow: hidden;
  background: var(--dmv-panel-bg);
  border-right: 0 solid var(--dmv-ui-border);
  transition: width 0.4s var(--dmv-ease);
}
.dmv .dmv-panel.dmv-is-open { width: 248px; border-right-width: 1px; }
.dmv .dmv-panel-inner {
  display: flex;
  flex-direction: column;
  width: 248px;
  height: 100%;
}
.dmv .dmv-panel-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 8px 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dmv-muted);
}
.dmv .dmv-panel-scroll {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 18px 24px;
  scrollbar-width: thin;
}
.dmv .dmv-panel-view[hidden] { display: none; }
.dmv .dmv-panel-view { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }

.dmv .dmv-thumbs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.dmv .dmv-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
}
.dmv .dmv-thumb:hover { background: var(--dmv-ui-hover); }
.dmv .dmv-thumb-pages {
  display: flex;
  justify-content: center;
  width: 100%;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.4);
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: outline-color 0.2s;
}
.dmv .dmv-thumb-pages--half { width: 50%; }
.dmv .dmv-thumb-img {
  flex: 1 1 0;
  width: 50%;
  aspect-ratio: var(--dmv-ratio, 0.707);
  background: var(--dmv-page-bg);
  object-fit: cover;
}
.dmv .dmv-thumb-pages--half .dmv-thumb-img,
.dmv .dmv-thumbs--single .dmv-thumb-img { width: 100%; }
.dmv .dmv-thumb-label {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--dmv-muted);
}
.dmv .dmv-thumb.dmv-is-active .dmv-thumb-pages { outline-color: var(--dmv-accent); }
.dmv .dmv-thumb.dmv-is-active .dmv-thumb-label { color: var(--dmv-accent); font-weight: 600; }
.dmv .dmv-thumbs--single { grid-template-columns: 1fr 1fr; gap: 10px; }

/* Búsqueda */
.dmv .dmv-search-box { padding: 0 18px 10px; flex: none; }
.dmv .dmv-search-input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--dmv-ui-border);
  border-radius: 10px;
  background: var(--dmv-page-bg);
  color: var(--dmv-ink);
  font-size: 14px;
  -webkit-user-select: text;
  user-select: text;
  -webkit-appearance: none;
  appearance: none;
}
.dmv .dmv-search-input:focus { border-color: var(--dmv-accent); }
.dmv .dmv-search-meta { padding: 8px 2px 0; font-size: 12px; color: var(--dmv-muted); }
.dmv .dmv-results { display: flex; flex-direction: column; gap: 2px; }
.dmv .dmv-result {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  color: var(--dmv-ink);
  cursor: pointer;
}
.dmv .dmv-result:hover { background: var(--dmv-ui-hover); }
.dmv .dmv-result-page {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dmv-accent);
}
.dmv .dmv-result mark {
  padding: 0 1px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--dmv-accent) 22%, transparent);
  color: inherit;
}

/* ------------------------------------------------------------------
   11. Estados de carga / error
   ------------------------------------------------------------------ */
.dmv .dmv-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 2px solid var(--dmv-ui-border);
  border-top-color: var(--dmv-accent);
  border-radius: 50%;
  animation: dmv-spin 0.9s linear infinite;
}
@keyframes dmv-spin { to { transform: rotate(360deg); } }
.dmv .dmv-error { margin: auto; padding: 24px; text-align: center; color: var(--dmv-muted); }

/* Indicación inicial de gesto (solo táctil) */
.dmv .dmv-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 17;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.78);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.dmv .dmv-hint.dmv-is-visible { opacity: 1; }

/* ------------------------------------------------------------------
   12. Modo compacto (contenedor < 640 px; lo activa JS según el ancho
   del propio visor, no de la ventana, para funcionar dentro de columnas)
   ------------------------------------------------------------------ */
.dmv.dmv--compact .dmv-header { height: 48px; padding: 0 6px 0 16px; gap: 8px; }
.dmv.dmv--compact .dmv-title { font-size: 11px; letter-spacing: 0.1em; }
.dmv.dmv--compact .dmv-subtitle { display: none; }
.dmv.dmv--compact .dmv-footer { height: 64px; padding: 0 8px 8px; }
.dmv.dmv--compact .dmv-toolbar { height: 46px; padding: 3px 4px; }
.dmv.dmv--compact .dmv-btn { width: 38px; height: 38px; }
.dmv.dmv--compact .dmv-hide-compact { display: none; }
.dmv.dmv--compact .dmv-input { width: 52px; }
.dmv.dmv--compact .dmv-arrow { display: none; }
.dmv.dmv--compact .dmv-btn--text span { display: none; }
.dmv.dmv--compact .dmv-btn--text { width: 38px; padding: 0; }

/* En compacto el panel se convierte en una bandeja inferior horizontal */
.dmv.dmv--compact .dmv-panel {
  position: absolute;
  border-top: 0 solid var(--dmv-ui-border);
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: 0;
  border-right: 0;
  box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, 0.35);
  transition: height 0.4s var(--dmv-ease);
}
.dmv.dmv--compact .dmv-panel.dmv-is-open { width: auto; height: 172px; border-top-width: 1px; border-right-width: 0; }
.dmv.dmv--compact .dmv-panel.dmv-panel--search.dmv-is-open { height: 100%; }
.dmv.dmv--compact .dmv-panel-inner { width: 100%; }
.dmv.dmv--compact .dmv-panel-head { height: 36px; }
.dmv.dmv--compact .dmv-panel--thumbs .dmv-panel-scroll { overflow-x: auto; overflow-y: hidden; padding: 0 12px 12px; }
.dmv.dmv--compact .dmv-thumbs { display: flex; gap: 8px; height: 100%; }
.dmv.dmv--compact .dmv-thumb { flex: none; width: auto; height: 100%; padding: 4px; }
.dmv.dmv--compact .dmv-thumb-pages { width: auto; height: calc(100% - 20px); }
.dmv.dmv--compact .dmv-thumb-img { width: auto; height: 100%; flex: none; }

/* Visor bajo (móvil en horizontal): cabecera y barra más finas */
.dmv.dmv--short .dmv-header { height: 38px; }
.dmv.dmv--short .dmv-title { font-size: 11px; }
.dmv.dmv--short .dmv-footer { height: 54px; padding-bottom: 6px; }
.dmv.dmv--short .dmv-toolbar { height: 42px; padding: 2px 4px; }
.dmv.dmv--short .dmv-btn { height: 36px; }
.dmv.dmv--short .dmv-btn:not(.dmv-btn--text) { width: 36px; }
.dmv.dmv--short .dmv-input { height: 30px; }
.dmv.dmv--short .dmv-panel-head { height: 36px; }

/* ------------------------------------------------------------------
   13. Preferencias de movimiento
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .dmv .dmv-track.dmv-is-animating,
  .dmv .dmv-viewport.dmv-is-animating,
  .dmv .dmv-panel,
  .dmv .dmv-progress-bar { transition: none; }
}

/* Impresión: no imprimir la interfaz */
@media print {
  .dmv .dmv-header, .dmv .dmv-footer, .dmv .dmv-arrow, .dmv .dmv-panel { display: none; }
}
