:root {
  --font-size-xs: 0.75rem; 
  --line-height-xs-default: 16px; 
  --line-height-xs-compressed: 12px; 
  --font-size-sm: 0.875rem; 
  --line-height-sm-default: 20px; 
  --line-height-sm-compressed: 16px; 
  --font-size-md: 1rem; 
  --line-height-md-default: 24px; 
  --line-height-md-compressed: 20px; 
  --font-size-lg: 1.15625rem; 
  --line-height-lg-default: 24px; 
  --line-height-lg-compressed: 20px; 
  --font-size-xl: 1.34375rem; 
  --line-height-xl-default: 28px; 
  --line-height-xl-compressed: 24px; 
  --font-size-2xl: 1.53125rem; 
  --line-height-2xl-default: 32px; 
  --line-height-2xl-compressed: 28px; 
  --font-size-3xl: 1.75rem; 
  --line-height-3xl-default: 36px; 
  --line-height-3xl-compressed: 32px; 
  --font-size-4xl: 2rem; 
  --line-height-4xl-default: 40px; 
  --line-height-4xl-compressed: 36px; 
  --font-size-5xl: 2.3125rem; 
  --line-height-5xl-default: 44px; 
  --line-height-5xl-compressed: 40px; 
  --font-size-6xl: 2.65625rem; 
  --line-height-6xl-default: 48px; 
  --line-height-6xl-compressed: 44px; 
}


:root {
  color-scheme: light dark;

  --md-sys-color-primary: #00658B;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #C7E7FF;
  --md-sys-color-on-primary-container: #001E2C;
  --md-sys-color-secondary: #4F616E;
  --md-sys-color-on-secondary: #FFFFFF;
  --md-sys-color-secondary-container: #D3E5F5;
  --md-sys-color-on-secondary-container: #0B1D29;
  --md-sys-color-tertiary: #B62B17;
  --md-sys-color-on-tertiary: #FFFFFF;
  --md-sys-color-tertiary-container: #FFDAD2;
  --md-sys-color-on-tertiary-container: #410001;

  --md-sys-color-surface: #F8FAFC;
  --md-sys-color-on-surface: #181C20;
  --md-sys-color-on-surface-variant: #41484D;
  --md-sys-color-surface-container-low: #F2F4F7;
  --md-sys-color-surface-container: #ECEEF2;
  --md-sys-color-surface-container-high: #E6E9ED;
  --md-sys-color-outline: #71787D;
  --md-sys-color-outline-variant: #C1C7CD;


  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --md-sys-color-primary: #84CFFF;
    --md-sys-color-on-primary: #00344C;
    --md-sys-color-primary-container: #004C6B;
    --md-sys-color-on-primary-container: #C7E7FF;
    --md-sys-color-secondary-container: #384955;
    --md-sys-color-on-secondary-container: #D3E5F5;
    --md-sys-color-surface: #101418;
    --md-sys-color-on-surface: #E1E3E5;
    --md-sys-color-on-surface-variant: #C1C7CD;
    --md-sys-color-surface-container-low: #181C20;
    --md-sys-color-surface-container: #1D2024;
    --md-sys-color-surface-container-high: #272A2E;
    --md-sys-color-outline: #8B9197;
    --md-sys-color-outline-variant: #41484D;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--md-sys-color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.qhb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 0;
}
.qhb-container.is-narrow { max-width: 760px; }

.qhb-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0 0 16px;
}
.qhb-breadcrumbs a { color: var(--md-sys-color-on-surface-variant); }
.qhb-breadcrumbs a:hover { color: var(--md-sys-color-primary); }
.qhb-breadcrumbs .sep { opacity: .5; }

.qhb-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 8px;
  align-items: stretch;
}
@media (min-width: 840px) {
  .qhb-hero.has-image { grid-template-columns: minmax(0, 360px) 1fr; }
}
.qhb-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--md-sys-color-surface-container);
  aspect-ratio: 4 / 3;
  min-width: 0;
}
@media (min-width: 840px) {
  .qhb-hero.has-image .qhb-hero-media {
    aspect-ratio: auto;
    position: relative;
  }
  .qhb-hero.has-image .qhb-hero-media img {
    position: absolute;
    inset: 0;
  }
}
.qhb-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.qhb-hero-body h1 {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-6xl));
  line-height: 1.05;
  font-weight: 800;
  margin: 16px 0 8px;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
.qhb-hero-body .lead {
  font-size: var(--font-size-md);
  line-height: var(--line-height-md-compressed);
  color: var(--md-sys-color-on-surface-variant);
  margin: 0 0 24px;
}
.qhb-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.qhb-meta-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
}
.qhb-meta-list li .label {
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.qhb-topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--topic, var(--topic-default));
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.qhb-event { display: block; }

.qhb-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .12s;
}
.qhb-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.qhb-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--md-sys-color-outline-variant);
}
.qhb-cta-secondary:hover { text-decoration: none; background: var(--md-sys-color-surface-container); }
.qhb-cta-group { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 24px; }

.qhb-description {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg-default);
  color: var(--md-sys-color-on-surface);
  margin: 24px 0;
  max-width: none;
  text-wrap: pretty;
}
.qhb-description p { margin: 0 0 1em; white-space: pre-wrap; }
.qhb-description p:last-child { margin-bottom: 0; }

.qhb-funciones-lista { list-style: none; margin: 0; padding: 0; }
.qhb-funcion {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg-default);
  color: var(--md-sys-color-on-surface);
}
.qhb-funcion-entradas { flex: none; font-weight: 600; color: var(--md-sys-color-primary); white-space: nowrap; }
.qhb-funciones-mas { margin-top: 4px; }
.qhb-funciones-mas > summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--md-sys-color-primary);
}
.qhb-funciones-quedan {
  margin: 16px 0 0;
  font-size: var(--font-size-md);
  line-height: var(--line-height-md-default);
  color: var(--md-sys-color-on-surface-variant);
}
.qhb-funciones + .qhb-cita, .content .qhb-funciones + .qhb-cita { margin-top: 24px; }
.qhb-cita-fuente { font-size: var(--font-size-md); }
.qhb-cita-fuente a { color: var(--md-sys-color-primary); }
.qhb-artista {
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 16px;
  padding: 4px 20px;
  background: var(--md-sys-color-surface);
}
.qhb-artista > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.qhb-artista > summary::-webkit-details-marker { display: none; }
.qhb-artista > summary::after { content: "⌄"; color: var(--md-sys-color-on-surface-variant); }
.qhb-artista[open] > summary::after { content: "⌃"; }
.qhb-artista > summary h2 { margin: 16px 0; }
.qhb-artista-bio { margin: 0; font-size: var(--font-size-lg); line-height: var(--line-height-lg-default); }
.qhb-artista-fuente { margin: 4px 0 0; font-size: var(--font-size-sm); color: var(--md-sys-color-on-surface-variant); }
.qhb-artista-datos { list-style: none; margin: 8px 0 12px; padding: 0; }
.qhb-artista-datos li {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 0;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}
.qhb-artista-datos a { color: var(--md-sys-color-primary); text-align: right; }
.qhb-otras-puestas ul { list-style: none; margin: 0; padding: 0; }
.qhb-otras-puestas li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg-default);
}
.qhb-otras-puestas li a { font-weight: 600; color: var(--md-sys-color-on-surface); }
.qhb-otras-puestas li span { text-align: right; color: var(--md-sys-color-on-surface-variant); }

.qhb-section { margin: 48px 0; }
.qhb-section:last-child { margin-bottom: 0; }
.qhb-event > :last-child, .qhb-container > :last-child { margin-bottom: 0; }
.qhb-section h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.qhb-section h2 a {
  color: inherit;
}

:where(.card-grid) { font: var(--md-sys-typescale-body-large); letter-spacing: -0.005em; }
:where(.card-grid) :where(*) { margin: 0; padding: 0; }

.qhb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.qhb-card {
  display: flex;
  flex-direction: column;
  background: var(--md-sys-color-surface-container-low);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--md-sys-color-outline-variant);
  transition: transform .12s, box-shadow .12s, border-color .12s;
  color: inherit;
}
.qhb-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--md-sys-color-outline);
}
.qhb-hero-media, .qhb-card-media { position: relative; }
.qhb-illus-tag {
  position: absolute;
  bottom: 4px;
  left: 6px;
  z-index: 1;
  max-width: calc(100% - 12px);
  padding: 0;
  background: none;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.7), 0 0 1px rgba(0, 0, 0, 0.9);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.qhb-foto-credito {
  position: absolute;
  bottom: 6px;
  left: 6px;
  z-index: 1;
  max-width: calc(100% - 12px);
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.qhb-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qhb-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.qhb-card .where {
  font-size: 13px;
  color: var(--md-sys-color-on-surface-variant);
}

@media (max-width: 599px) {
  .qhb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .qhb-card-body { padding: 8px 10px 10px; gap: 2px; }
  .qhb-card h3 {
    font-size: 14px;
    line-height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .qhb-card .where { font-size: 12px; line-height: 16px; }
}

.qhb-day {
  margin: 32px 0;
}
.qhb-day h2 {
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  padding-bottom: 6px;
}

.qhb-faq { margin: 48px 0; }
.qhb-faq details {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 0 0 10px;
}
.qhb-faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.qhb-faq summary::-webkit-details-marker { display: none; }
.qhb-faq summary::after {
  content: "+";
  float: right;
  font-size: 20px;
  font-weight: 400;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1;
}
.qhb-faq details[open] summary::after { content: "−"; }
.qhb-faq .answer {
  margin-top: 10px;
  font-size: 15px;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.6;
}

.qhb-venue-desc {
  font-size: 16px;
  line-height: 1.6;
  max-width: 70ch;
  margin: 12px 0 0;
}
.qhb-venue-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qhb-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  padding: 7px 13px;
  border-radius: 999px;
}
.qhb-star { color: #E8A400; }

.qhb-venue-block .qhb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.qhb-tag {
  font-size: 13px;
  font-weight: 600;
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  padding: 6px 13px;
  border-radius: 999px;
}

.qhb-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .qhb-info-grid { grid-template-columns: 1fr; } }
.qhb-info-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
}
.qhb-info-card h3 {
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  margin: 0 0 14px;
}

.qhb-llegan { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.qhb-via { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
.qhb-via small { color: var(--md-sys-color-on-surface-variant); font-weight: 500; }
.qhb-subte {
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
}
.qhb-lineas { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.qhb-linea {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  font-weight: 700;
  font-size: 12.5px;
  padding: 2px 9px;
  border-radius: 6px;
}
.qhb-rutas { display: flex; flex-direction: column; gap: 9px; }
.qhb-ruta {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--md-sys-color-on-surface);
  background: var(--md-sys-color-surface-container-high);
  border-radius: 14px;
  padding: 12px 14px;
}
.qhb-ruta:hover { text-decoration: none; background: var(--md-sys-color-surface-container-highest, var(--md-sys-color-surface-container-high)); }
.qhb-rtxt { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; }
.qhb-rtxt small { font-weight: 500; font-size: 12px; color: var(--md-sys-color-on-surface-variant); margin-top: 2px; }

.qhb-food { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .qhb-food { grid-template-columns: 1fr; } }
.qhb-food-item {
  background: var(--md-sys-color-surface-container-high);
  border-radius: 14px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--md-sys-color-on-surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qhb-food-item:hover { text-decoration: none; }
.qhb-food-item b { font-size: 14.5px; font-weight: 700; }
.qhb-food-type { font-size: 12.5px; font-weight: 600; color: var(--md-sys-color-on-surface-variant); }
.qhb-food-ig { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--md-sys-color-primary); font-weight: 600; }
.qhb-food-ig svg { width: 15px; height: 15px; flex: none; }
.qhb-food-ig.is-muted { color: var(--md-sys-color-on-surface-variant); font-weight: 500; }
.qhb-food-dist { font-size: 11.5px; color: var(--md-sys-color-on-surface-variant); }

.qhb-fuente-nota { font-size: 12px; color: var(--md-sys-color-on-surface-variant); margin-top: 16px; }

.qhb-footer {
  border-top: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-surface-container);
  padding: 36px 20px 24px;
  margin-top: 64px;
}
.qhb-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.qhb-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin: 0 0 24px;
}
.qhb-footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0 0 12px;
}
.qhb-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qhb-footer-col a {
  color: var(--md-sys-color-on-surface);
  font-size: 14px;
}
.qhb-footer-bottom {
  font-size: 13px;
  color: var(--md-sys-color-on-surface-variant);
  border-top: 1px solid var(--md-sys-color-outline-variant);
  padding-top: 16px;
  line-height: 1.6;
}
.qhb-footer-bottom a { color: var(--md-sys-color-primary); }

.qhb-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--md-sys-color-on-surface);
  max-width: 70ch;
  margin: 0 0 32px;
}

.qhb-prose h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.qhb-prose h2 {
  font-size: 22px;
  margin: 36px 0 12px;
}
.qhb-prose p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 1em;
  color: var(--md-sys-color-on-surface);
}
.qhb-prose a { text-decoration: underline; }

@media (max-width: 839px) {

  .qhb-footer { padding-bottom: 92px; }
}

.empty-suggest {
  padding: 40px 0 8px; display: flex; flex-direction: column; gap: 28px;
}
.qhb-404 { margin: 0 auto 56px; padding-top: 8px; }
.qhb-404-fila {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(24px, 6vw, 72px); flex-wrap: wrap;
}
.qhb-404-monstruo {
  flex: 0 1 auto; display: block;
  width: clamp(220px, 30vw, 340px); height: auto;
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) {
  .qhb-404-monstruo { filter: invert(1); mix-blend-mode: screen; }
}
.qhb-404-texto-col { flex: 1 1 340px; min-width: 260px; max-width: 460px; }
.qhb-404-rotulo {
  font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; letter-spacing: -.02em;
  color: var(--md-sys-color-on-surface); margin: 0 0 6px; line-height: 1.05;
}
.qhb-404 h1 {
  font-size: clamp(22px, 3.2vw, 30px); line-height: 1.2; margin: 0 0 12px;
  font-family: 'Archivo Black', 'Manrope', system-ui, sans-serif;
  font-weight: 400; letter-spacing: -0.035em;
}
.qhb-404-texto {
  font-size: 17px; line-height: 1.55; margin: 0;
  color: var(--md-sys-color-on-surface-variant);
}

.empty-group { display: flex; flex-direction: column; gap: 10px; }
.empty-group-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 4px; }
.empty-group-head h3 { margin: 0; font-size: 20px; }
.empty-group-count {
  font-size: 13px; color: var(--md-sys-color-on-surface-variant);
}
.topic-dot {
  width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto;
  background: var(--topic, var(--topic-default));
}

@media (max-width: 720px) {
  .qhb-404-fila { flex-direction: column; text-align: center; }
  .qhb-404-monstruo { width: min(260px, 70vw); }
  .qhb-404-texto-col { flex: 0 0 auto; min-width: 0; }
}

.qhb-hero-body .qhb-topic-chip { margin-right: 8px; }
.qhb-chip-paso {
  background: var(--md-sys-color-tertiary-container);
  color: var(--md-sys-color-on-tertiary-container);
}


.content .qhb-container { max-width: none; margin: 0; padding: 0; }
.content .qhb-container.is-narrow { max-width: 760px; margin: 0; }

.content .qhb-breadcrumbs {
  gap: 6px; margin: 2px 0 14px;
  font: var(--md-sys-typescale-label-medium);
  color: var(--md-sys-color-on-surface-variant);
}
.content .qhb-breadcrumbs a { color: inherit; text-decoration: none; }
.content .qhb-breadcrumbs a:hover { color: var(--md-sys-color-primary); text-decoration: underline; }
.content .qhb-breadcrumbs .sep { opacity: .55; }
.content .qhb-breadcrumbs [aria-current] { color: var(--md-sys-color-on-surface); }

.content .qhb-prose h1 {
  font: var(--md-sys-typescale-headline-large); font-size: 34px; line-height: 42px;
  letter-spacing: -0.02em; color: var(--md-sys-color-on-surface);
  margin: 0 0 12px; max-width: 26ch;
}
.content .qhb-intro,
.content .qhb-prose .qhb-intro,
.content .qhb-venue-desc {
  font: var(--md-sys-typescale-body-large); font-size: 16px; line-height: 26px;
  color: var(--md-sys-color-on-surface-variant); max-width: 70ch; margin: 0 0 8px;
}
.content .qhb-prose h2 {
  font: var(--md-sys-typescale-title-large); letter-spacing: -0.01em;
  color: var(--md-sys-color-on-surface); margin: 32px 0 10px;
}
.content .qhb-prose p,
.content .qhb-prose li {
  font: var(--md-sys-typescale-body-large); font-size: 16px; line-height: 26px;
  color: var(--md-sys-color-on-surface); margin: 0 0 12px;
}
.content .qhb-prose ul { margin: 0 0 12px; padding-left: 22px; }
.content .qhb-prose li { margin: 0 0 4px; }
.content .qhb-prose a { color: var(--md-sys-color-primary); text-decoration: underline; text-underline-offset: 2px; }

.content .qhb-day { margin: 30px 0 0; }
.content .qhb-day h2 {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  margin: 0 0 12px; padding: 16px 0 0;
  border: 0; border-top: 1px solid var(--md-sys-color-outline-variant);
  font: var(--md-sys-typescale-title-large); letter-spacing: -0.01em;
  color: var(--md-sys-color-on-surface);
}
.content .qhb-day-count {
  font: var(--md-sys-typescale-label-medium); color: var(--md-sys-color-on-surface-variant);
}

.content .qhb-section { margin: 44px 0 0; }
.content .qhb-section h2 {
  font: var(--md-sys-typescale-title-large); font-size: 20px; letter-spacing: -0.01em;
  margin: 0 0 14px; color: var(--md-sys-color-on-surface);
}
:where(.content .qhb-section) > p:not([class]) { font: var(--md-sys-typescale-body-large); color: var(--md-sys-color-on-surface-variant); margin: 0; }
.content .qhb-fuente-nota { font: var(--md-sys-typescale-body-small); color: var(--md-sys-color-on-surface-variant); margin-top: 16px; }

.content .qhb-hubs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
}
.content .qhb-hubs .qhb-card {
  display: block; border: 0; border-radius: 16px; box-shadow: none;
  background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container);
  text-decoration: none;
}
.content .qhb-hubs .qhb-card:hover { transform: none; box-shadow: none; filter: brightness(0.97); }
.content .qhb-hubs .qhb-card-body { padding: 14px 16px; gap: 2px; }
.content .qhb-hubs .qhb-card h3 { font: var(--md-sys-typescale-title-medium); color: inherit; margin: 0; }
.content .qhb-hubs .qhb-card .where { font: var(--md-sys-typescale-body-medium); color: inherit; opacity: .85; }

.content .qhb-faq { margin: 44px 0 0; }
.content .qhb-faq h2 {
  font: var(--md-sys-typescale-title-large); font-size: 20px; letter-spacing: -0.01em;
  margin: 0 0 14px; color: var(--md-sys-color-on-surface);
}
.content .qhb-faq details {
  background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 12px; padding: 14px 18px; margin: 0 0 8px;
}
.content .qhb-faq summary { font: var(--md-sys-typescale-title-small); font-size: 15px; color: var(--md-sys-color-on-surface); }
.content .qhb-faq .answer { font: var(--md-sys-typescale-body-large); font-size: 15px; line-height: 24px; color: var(--md-sys-color-on-surface-variant); }

.content .qhb-hero,
.content .qhb-hero.has-image {
  display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; margin: 4px 0 0;
}
@media (min-width: 761px) {
  .content .qhb-hero.has-image { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.content .qhb-hero-media,
.content .qhb-hero.has-image .qhb-hero-media {
  position: relative; aspect-ratio: auto; border-radius: 16px; overflow: hidden;
  background: var(--md-sys-color-surface-container);
  display: flex; align-items: center; justify-content: center;
}
.content .qhb-hero-media img,
.content .qhb-hero.has-image .qhb-hero-media img {
  position: static; display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain;
}
.content .qhb-illus-tag { left: 12px; bottom: 12px; }

.content .qhb-topic-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px;
  border-radius: 8px; background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  font: var(--md-sys-typescale-label-medium); letter-spacing: .06em; text-transform: uppercase;
  color: var(--md-sys-color-on-surface);
}
.content .qhb-topic-chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--topic, var(--topic-default));
}
.content .qhb-chip-paso {
  background: var(--md-sys-color-tertiary-container); color: var(--md-sys-color-on-tertiary-container);
  border-color: transparent;
}
.content .qhb-chip-paso::before { display: none; }

.content .qhb-hero-body h1 {
  font: var(--md-sys-typescale-headline-large); font-size: 34px; line-height: 42px;
  letter-spacing: -0.02em; margin: 14px 0 20px; color: var(--md-sys-color-on-surface);
  text-wrap: balance;
}

.content .qhb-meta-list {
  display: grid; grid-template-columns: auto 1fr; gap: 12px 20px;
  margin: 0 0 26px; padding: 18px 0; list-style: none;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.content .qhb-meta-list li { display: contents; }
.content .qhb-meta-list li .label {
  font: var(--md-sys-typescale-label-small); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--md-sys-color-on-surface-variant); padding-top: 4px;
}
.content .qhb-meta-list li .valor { font: var(--md-sys-typescale-title-medium); color: var(--md-sys-color-on-surface); }
.content .qhb-meta-list a { color: var(--md-sys-color-primary); text-decoration: none; }
.content .qhb-meta-list a:hover { text-decoration: underline; }

.content .qhb-cta-group { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.content .qhb-cta,
.content .qhb-cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border: 0; border-radius: 9999px; box-shadow: none;
  font: var(--md-sys-typescale-label-large); font-size: 14px; text-decoration: none;
}
.content .qhb-cta { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
.content .qhb-cta-secondary { background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); }
.content .qhb-cta:hover,
.content .qhb-cta-secondary:hover { transform: none; box-shadow: none; filter: brightness(1.08); text-decoration: none; }

.content .qhb-description {
  font: var(--md-sys-typescale-body-large); font-size: 16px; line-height: 26px;
  color: var(--md-sys-color-on-surface); max-width: 62ch; margin: 0;
}
.content .qhb-description p { margin: 0 0 12px; }

.content .qhb-agenda-links { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--md-sys-color-outline-variant); }
.content .qhb-agenda-links h2 {
  font: var(--md-sys-typescale-label-small); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--md-sys-color-on-surface-variant); margin: 0 0 10px;
}
.content .qhb-agenda-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.content .qhb-agenda-links a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 9999px;
  border: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-surface-container-lowest);
  font: var(--md-sys-typescale-label-large); color: var(--md-sys-color-on-surface); text-decoration: none;
}
.content .qhb-agenda-links a:hover { background: var(--md-sys-color-surface-container); }

.content .qhb-footer {
  max-width: none; margin: 56px 0 0; padding: 28px 0 8px;
  background: none; border-top: 1px solid var(--md-sys-color-outline-variant);
}
.content .qhb-footer-inner { max-width: none; }
.content .qhb-footer-col h3 {
  font: var(--md-sys-typescale-label-small); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--md-sys-color-on-surface-variant); margin: 0 0 12px;
}
.content .qhb-footer-col a { font: var(--md-sys-typescale-body-medium); color: var(--md-sys-color-on-surface); }
.content .qhb-footer-col a:hover { color: var(--md-sys-color-primary); }
.content .qhb-footer-bottom { font: var(--md-sys-typescale-body-small); line-height: 18px; color: var(--md-sys-color-on-surface-variant); }

.content #qhb-404-eventos { display: flex; flex-direction: column; gap: 30px; }
.content .empty-group-head { padding: 0 0 4px; }
.content .empty-group-head h3 { font: var(--md-sys-typescale-title-large); letter-spacing: -0.01em; color: var(--md-sys-color-on-surface); }
.content .empty-group-count { font: var(--md-sys-typescale-label-medium); color: var(--md-sys-color-on-surface-variant); }

@media (max-width: 760px) {
  .content .qhb-prose h1,
  .content .qhb-hero-body h1 { font-size: 26px; line-height: 32px; }
  .content .qhb-intro,
  .content .qhb-description { font-size: 15px; line-height: 24px; }
  .content .qhb-hero, .content .qhb-hero.has-image { gap: 20px; }
  .content .qhb-hero-media img,
  .content .qhb-hero.has-image .qhb-hero-media img { max-height: 40vh; max-height: min(40svh, 380px); }
  .content .qhb-meta-list { grid-template-columns: 1fr; gap: 2px 0; }
  .content .qhb-meta-list li .label { padding-top: 10px; }
  .content .qhb-meta-list li:first-child .label { padding-top: 0; }
  .content .qhb-cta-group .qhb-cta,
  .content .qhb-cta-group .qhb-cta-secondary { width: 100%; }
  .content .qhb-section, .content .qhb-faq { margin-top: 34px; }
  .content .qhb-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .content .qhb-hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

html:where(:has(.header-stack)), :where(html:has(.header-stack)) body { overscroll-behavior-y: none; }
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  user-select: none;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block; width: 1em; overflow: hidden;
}
.icon-sm { font-size: 18px; }
:where(.header-stack, .search-panel, .drawer, .bottom-nav, .tab-more-menu) {
  font: var(--md-sys-typescale-body-large); letter-spacing: -0.005em;
}
:where(.header-stack, .search-panel, .drawer, .bottom-nav, .tab-more-menu) :where(*) { margin: 0; padding: 0; }
:where(.header-stack, .search-panel, .drawer, .bottom-nav) button {
  font: inherit; color: inherit; background: none; border: 0; cursor: pointer;
}
a:where([data-filtro]) { color: inherit; }
a:where([data-filtro], .list-more, .brand, .ig-link):hover { text-decoration: none; }
.content { padding: 16px 24px 96px; min-width: 0; }
@media (max-width: 599px) { .content { padding: 12px 16px 96px 10px; } }
@media (max-width: 839px) { .content > .qhb-footer { padding-bottom: 24px; } }
:root {
  color-scheme: light dark;

  --md-sys-color-primary:                #00658B;
  --md-sys-color-on-primary:             #FFFFFF;
  --md-sys-color-primary-container:      #C7E7FF;
  --md-sys-color-on-primary-container:   #001E2C;
  --md-sys-color-secondary:              #4F616E;
  --md-sys-color-on-secondary:           #FFFFFF;
  --md-sys-color-secondary-container:    #D3E5F5;
  --md-sys-color-on-secondary-container: #0B1D29;
  --md-sys-color-tertiary:               #B62B17;
  --md-sys-color-on-tertiary:            #FFFFFF;
  --md-sys-color-tertiary-container:     #FFDAD2;
  --md-sys-color-on-tertiary-container:  #410001;
  --md-sys-color-error:                  #BA1A1A;
  --md-sys-color-on-error:               #FFFFFF;
  --md-sys-color-error-container:        #FFDAD6;
  --md-sys-color-on-error-container:     #410002;

  --md-sys-color-surface:                #F8FAFC;
  --md-sys-color-on-surface:             #181C20;
  --md-sys-color-on-surface-variant:     #41484D;
  --md-sys-color-surface-variant:        #DFE3E7;
  --md-sys-color-surface-dim:            #D8DBE0;
  --md-sys-color-surface-bright:         #F8FAFC;
  --md-sys-color-surface-container-lowest: #FFFFFF;
  --md-sys-color-surface-container-low:  #F2F4F7;
  --md-sys-color-surface-container:      #ECEEF2;
  --md-sys-color-surface-container-high: #E6E9ED;
  --md-sys-color-surface-container-highest: #DFE3E7;
  --md-sys-color-outline:                #71787D;
  --md-sys-color-outline-variant:        #C1C7CD;
  --md-sys-color-inverse-surface:        #2D3135;
  --md-sys-color-inverse-on-surface:     #EFF1F5;
  --md-sys-color-inverse-primary:        #87CEFF;

  --md-sys-typescale-display-large:    800 57px/64px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-headline-large:   800 32px/40px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-headline-medium:  700 26px/32px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-headline-small:   700 22px/28px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-title-large:      700 18px/24px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-title-medium:     700 15px/22px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-title-small:      600 13px/18px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-body-large:       400 15px/22px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-body-medium:      400 13px/19px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-body-small:       400 12px/16px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-label-large:      600 13px/18px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-label-medium:     600 11px/16px 'Manrope', system-ui, sans-serif;
  --md-sys-typescale-label-small:      600 10px/14px 'Manrope', system-ui, sans-serif;

  --md-sys-shape-corner-none: 0;
  --md-sys-shape-corner-extra-small: 4px;
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-large-increased: 20px;
  --md-sys-shape-corner-extra-large: 28px;
  --md-sys-shape-corner-full: 9999px;

  --md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-easing-emphasized-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1);
  --md-sys-motion-easing-emphasized-accelerate: cubic-bezier(0.3, 0, 0.8, 0.15);

  --topic-musica:      #C73B5C;
  --topic-teatro:      #7B3FA8;
  --topic-cine:        #1B6FB8;
  --topic-festival:    #C73E5A;
  --topic-danza:       #C76A30;
  --topic-arte:        #2E7D5C;
  --topic-gastronomia: #B05A0F;
  --topic-literatura:  #6D4C41;
  --topic-milonga:     #8B2252;
  --topic-default:     #5C5660;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --md-sys-color-primary:                #87CEFF;
    --md-sys-color-on-primary:             #00344A;
    --md-sys-color-primary-container:      #004C6B;
    --md-sys-color-on-primary-container:   #C7E7FF;
    --md-sys-color-secondary:              #B7C9D7;
    --md-sys-color-on-secondary:           #21323D;
    --md-sys-color-secondary-container:    #384955;
    --md-sys-color-on-secondary-container: #D3E5F5;
    --md-sys-color-tertiary:               #FFB4A4;
    --md-sys-color-on-tertiary:            #5F1500;
    --md-sys-color-tertiary-container:     #862004;
    --md-sys-color-on-tertiary-container:  #FFDAD2;
    --md-sys-color-error:                  #FFB4AB;
    --md-sys-color-on-error:               #690005;
    --md-sys-color-error-container:        #93000A;
    --md-sys-color-on-error-container:     #FFDAD6;

    --md-sys-color-surface:                #10141A;
    --md-sys-color-on-surface:             #E1E4EA;
    --md-sys-color-on-surface-variant:     #C1C7CD;
    --md-sys-color-surface-variant:        #303640;
    --md-sys-color-surface-dim:            #10141A;
    --md-sys-color-surface-bright:         #353B41;
    --md-sys-color-surface-container-lowest: #0A0E13;
    --md-sys-color-surface-container-low:  #181C21;
    --md-sys-color-surface-container:      #1B2027;
    --md-sys-color-surface-container-high: #252B33;
    --md-sys-color-surface-container-highest: #303640;
    --md-sys-color-outline:                #8B9197;
    --md-sys-color-outline-variant:        #41484D;
    --md-sys-color-inverse-surface:        #E1E4EA;
    --md-sys-color-inverse-on-surface:     #2D3135;
    --md-sys-color-inverse-primary:        #00658B;
  }
}

.header-stack {
  position: sticky; top: 0; z-index: 40;
  background: var(--md-sys-color-surface);
}
.app-bar {
  height: 64px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  background: var(--md-sys-color-surface);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  max-width: 1600px;
  margin: 0 auto;
}
.app-bar .app-bar-actions { display: flex; align-items: center; gap: 4px; padding-right: 16px; justify-self: end; }
.app-bar .ig-link svg { display: block; }
.app-bar .ig-link:hover { color: var(--md-sys-color-primary); }
.app-bar .brand-cell { display: flex; align-items: center; gap: 12px; padding-left: 24px; }
.app-bar .brand-stack { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.app-bar .kicker {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.app-bar .kicker b {
  color: var(--md-sys-color-on-surface);
  font-weight: 700;
}
.app-bar .tabs-cell { padding-right: 16px; position: relative; min-width: 0; }
.app-bar .tabs-cell::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 32px;
  background: linear-gradient(to right, transparent, var(--md-sys-color-surface));
  pointer-events: none;
}
.app-bar.scrolled {
  background: var(--md-sys-color-surface-container);
  border-bottom-color: var(--md-sys-color-outline-variant);
}
.app-bar .menu-btn { display: none; }
.app-bar .brand {
  display: flex; align-items: center; gap: 10px;
  font: var(--md-sys-typescale-title-large);
  letter-spacing: -0.02em;
  height: 40px;
}
.app-bar .brand img.lockup { height: 32px; width: auto; display: block; padding-top: 5px; }
.app-bar .brand img.iso { height: 32px; width: 32px; display: none; object-fit: contain; }
@media (max-width: 839px) {
  .app-bar .brand img.lockup { display: none; }
  .app-bar .brand img.iso    { display: block; height: 28px; width: 28px; }
}
.app-bar .spacer { flex: 1; }

.icon-btn {
  width: 40px; height: 40px; border-radius: var(--md-sys-shape-corner-full);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--md-sys-color-on-surface-variant);
  position: relative;
  transition: background .15s var(--md-sys-motion-easing-standard);
}
.icon-btn:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); }
.icon-btn:active { background: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent); }
.icon-btn.is-active { color: var(--md-sys-color-primary); }

.app-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  max-width: 1600px;
  margin: 0 auto;
  align-items: start;
}
.app-bar { padding-left: 0; }
.header-pills { display: none; }
.header-pill-menu { display: none; }

.drawer-header { display: none; }

@media (max-width: 839px) {
  :root { --app-bar-h: 72px; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-bar { display: flex; padding: 0 16px; height: var(--app-bar-h); align-items: center; }
  .app-bar .brand-cell { padding-left: 0; flex-shrink: 0; gap: 8px; }
  .app-bar .brand img.iso { height: 36px; width: 36px; }
  .app-bar .brand-stack { display: none; }
  .app-bar .tabs-cell { display: none; }
  .app-bar .menu-btn { display: inline-flex; width: 42px; height: 42px; margin-left: -10px; }
  .app-bar .menu-btn .material-symbols-rounded { font-size: 26px; }
  .qbar { display: none; }

  .header-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex: 1 1 0;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-left: 12px;       
  }
  .header-pills > :first-child { margin-left: auto; }
  .header-pills::-webkit-scrollbar { display: none; }
  .header-pill {
    height: 34px;
    padding: 0 8px 0 12px;
    border-radius: var(--md-sys-shape-corner-full);
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-outline-variant);
    color: var(--md-sys-color-on-surface);
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    cursor: pointer;
    transition: background .15s var(--md-sys-motion-easing-standard), color .15s var(--md-sys-motion-easing-standard);
    flex-shrink: 1;
    min-width: 0;
  }
  #cercaPill { flex-shrink: 0; }
  #quePill.is-set, #hoyPill.is-set { min-width: 104px; }
  .header-pill .header-pill-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
  .header-pill .material-symbols-rounded { flex-shrink: 0; width: 18px; overflow: hidden; }
  .header-pill.is-set {
    background: var(--md-sys-color-primary-container);
    border-color: transparent;
    color: var(--md-sys-color-on-primary-container);
  }
  .header-pill .material-symbols-rounded {
    font-size: 18px;
    color: inherit;
  }
  .header-pill:active { transform: scale(0.97); }

  .header-pill-menu {
    display: block;
    position: fixed;
    z-index: 90;
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    min-width: 220px;
    max-width: calc(100vw - 24px);
    max-height: 70vh;
    overflow-y: auto;
    padding: 8px 0;
  }
  .header-pill-menu[hidden] { display: none; }
  .header-pill-menu .item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: var(--md-sys-color-on-surface);
  }
  .header-pill-menu .item:active {
    background: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent);
  }
  .header-pill-menu .item.is-active {
    color: var(--md-sys-color-primary);
    font-weight: 600;
  }
  .header-pill-menu .item .check {
    width: 16px;
    color: var(--md-sys-color-primary);
    font-weight: 700;
  }
  .header-pill-menu .item .label { flex: 1; }
  .header-pill-menu .item .count {
    color: var(--md-sys-color-on-surface-variant);
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  .header-pill-menu .divider {
    height: 1px;
    background: var(--md-sys-color-outline-variant);
    margin: 6px 0;
  }

  .drawer-header {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 -8px 8px -12px;       
    padding: 10px 8px 10px 24px;    
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    background: var(--md-sys-color-surface);
  }
  .drawer-header-title {
    flex: 1;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
    letter-spacing: -0.01em;
  }
  .drawer-header-close {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--md-sys-color-on-surface-variant);
    background: none;
    border: 0;
    cursor: pointer;
    flex-shrink: 0;
  }
  .drawer-header-close:active {
    background: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent);
  }
  .drawer-header-close .material-symbols-rounded { font-size: 22px; }

  .drawer .drawer-precio-block { display: block; }

  .drawer .drawer-date-block {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 1px;
    overflow: hidden;
  }
}

@media (max-width: 599px) {
  :root { --app-bar-h: 52px; }
  .app-bar {
    flex-wrap: wrap;
    align-content: center;
    padding: 0 12px;
    height: auto;
    min-height: 52px;
  }
  .app-bar .brand-cell { order: 1; height: 52px; }
  .app-bar .header-pills { order: 2; }
  .app-bar .app-bar-actions { display: none; }
  .app-bar.pastillas-abajo .header-pills {
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-bottom: 10px;
  }
  .app-bar.pastillas-abajo .header-pills > :first-child { margin-left: 0; }
  .app-bar .header-pill { flex-shrink: 0; }
  .app-bar .header-pill .header-pill-label { max-width: 11ch; }
}

.drawer {
  position: sticky; top: var(--header-h, 112px);
  height: calc(100dvh - var(--header-h, 112px));
  overflow-y: auto;
  padding: 8px 8px 24px 12px;
  background: var(--md-sys-color-surface);
  scrollbar-width: thin;
}
.drawer > div[style*="flex-direction:column"] { padding: 0 4px !important; gap: 1px; }
.drawer::-webkit-scrollbar { width: 4px; }
.drawer::-webkit-scrollbar-thumb { background: var(--md-sys-color-outline-variant); border-radius: 4px; }

.drawer h3 {
  font: var(--md-sys-typescale-label-small);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface-variant);
  padding: 18px 12px 6px;
}
.drawer h3:first-child { padding-top: 8px; }

.drawer-item {
  display: flex; align-items: center; gap: 10px;
  height: 32px; padding: 0 10px;
  border-radius: 6px;
  color: var(--md-sys-color-on-surface);
  font-size: 13px; font-weight: 500;
  transition: background .12s var(--md-sys-motion-easing-standard), color .12s var(--md-sys-motion-easing-standard);
  cursor: pointer; user-select: none;
  width: 100%; text-align: left;
  position: relative;
}
.drawer-item .material-symbols-rounded { font-size: 16px; color: var(--md-sys-color-on-surface-variant); }
.drawer-item:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 6%, transparent); }
.drawer-item.is-active {
  background: transparent;
  color: var(--md-sys-color-primary);
  font-weight: 700;
}
.drawer-item.is-active::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 3px; border-radius: 2px;
  background: var(--md-sys-color-primary);
}
.drawer-item.is-active .material-symbols-rounded { color: var(--md-sys-color-primary); font-variation-settings: 'FILL' 1, 'wght' 600; }
.drawer-item .badge {
  margin-left: auto;
  font-size: 11px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--md-sys-color-on-surface-variant);
  padding: 0; background: transparent;
  min-width: auto;
}
.drawer-item.is-active .badge { color: var(--md-sys-color-primary); opacity: 1; }

.drawer-date {
  display: flex; align-items: center; gap: 8px;
  margin: 4px 10px 0;
  height: 32px; padding: 0 8px;
  border: 0;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 0;
  font-size: 12px;
  color: var(--md-sys-color-on-surface-variant);
  background: transparent;
}
.drawer-date:focus-within { border-bottom-color: var(--md-sys-color-primary); }
.drawer-date .material-symbols-rounded { font-size: 14px; }
.drawer-date input { border: 0; outline: 0; flex: 1; background: transparent; color: inherit; font: inherit; padding: 0; }

.drawer-date-block {
  display: none !important;
}
.qchip-date {
  position: relative;
}
.qchip-date #dateInput {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  pointer-events: auto;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  font: inherit;
  color: transparent;
}
.qchip-date:has(#dateInput:focus-visible) { outline: 3px solid var(--md-sys-color-primary); outline-offset: 2px; border-radius: 999px; }
.qchip-date #dateInput::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.drawer-date-block-OLD {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 1px !important;
  overflow: hidden !important;
}

.segmented {
  display: inline-flex;
  margin: 6px 10px 0;
  width: calc(100% - 20px);
  border-radius: 6px;
  background: var(--md-sys-color-surface-container);
  padding: 2px;
  gap: 0;
}
.segmented .seg {
  flex: 1; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  border-radius: 4px;
  transition: background .12s, color .12s;
}
.segmented .seg:hover { color: var(--md-sys-color-on-surface); }
.segmented .seg.is-on {
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

.drawer-divider {
  height: 1px; background: var(--md-sys-color-outline-variant);
  margin: 6px 12px;
}
.drawer-section-header {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--md-sys-color-primary); padding: 14px 14px 6px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  margin-top: 4px;
}

.drawer-list { display: flex; flex-direction: column; padding: 2px 0; max-height: 280px; overflow-y: auto; scrollbar-width: thin; }
.drawer-list::-webkit-scrollbar { width: 3px; }
.drawer-list::-webkit-scrollbar-thumb { background: var(--md-sys-color-outline-variant); border-radius: 3px; }
.drawer-list .drawer-item {
  height: 28px; padding: 0 10px 0 22px;
  font-size: 12.5px; font-weight: 500;
  border-radius: 4px;
  gap: 8px;
}
.drawer-list .drawer-item::before { display: none; }
.drawer-list .drawer-item .lead {
  position: absolute; left: 8px;
  width: 12px; height: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 2px;
  border: 1.5px solid var(--md-sys-color-outline);
  flex-shrink: 0;
  background: transparent;
}
.drawer-list .drawer-item .lead .material-symbols-rounded { display: none; }
.drawer-list .drawer-item.is-checked {
  color: var(--md-sys-color-on-surface);
  font-weight: 700;
  background: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent);
}
.drawer-list .drawer-item.is-checked .lead {
  background: var(--md-sys-color-primary);
  border-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}
.drawer-list .drawer-item.is-checked .lead .material-symbols-rounded { display: inline-flex; font-size: 10px; font-variation-settings: 'FILL' 1, 'wght' 700; }
.drawer-list .drawer-item .badge { font-size: 9.5px; padding: 0; min-width: auto; }
.list-more {
  margin: 2px 10px 4px;
  font-size: 11px; font-weight: 600;
  color: var(--md-sys-color-primary);
  background: none; padding: 4px 0;
  align-self: flex-start;
}
.list-more:hover { text-decoration: underline; }

.drawer-footer {
  margin: 24px 10px 0;
  padding-top: 16px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  font-size: 10.5px;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.4;
}
.drawer-footer .label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--md-sys-color-on-surface-variant);
}
.drawer-footer .when {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 600;
  color: var(--md-sys-color-on-surface);
  letter-spacing: -0.02em;
  margin: 2px 0 6px;
}
.drawer-footer .total {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 700;
  color: var(--md-sys-color-primary);
}
.drawer-footer .legal {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--md-sys-color-outline-variant);
  font-size: 10px;
  line-height: 1.45;
  color: var(--md-sys-color-on-surface-variant);
}
.drawer-footer .legal a {
  color: var(--md-sys-color-primary);
  text-decoration: none;
  font-weight: 600;
}
.drawer-footer .legal a:hover { text-decoration: underline; }

.tabs {
  height: 64px;
  display: flex; gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-right: 8px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab { scroll-snap-align: start; }
.tab {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  height: 64px; padding: 0 16px;
  position: relative;
  font: var(--md-sys-typescale-label-large);
  color: var(--md-sys-color-on-surface-variant);
  transition: color .15s var(--md-sys-motion-easing-standard);
}
.tab:hover { color: var(--md-sys-color-on-surface); background: color-mix(in srgb, var(--md-sys-color-on-surface) 6%, transparent); }
.tab .material-symbols-rounded { font-size: 20px; color: inherit; }
.tab .topic-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--topic, var(--topic-default));
}
.tab.is-on { color: var(--md-sys-color-primary); font-weight: 700; }
.tab.is-on::after {
  content: '';
  position: absolute; left: 12px; right: 12px; bottom: 6px;
  height: 2px; border-radius: 2px;
  background: var(--md-sys-color-primary);
}

.tab-more { flex-shrink: 0; }
.tab-more-menu {
  position: fixed;
  min-width: 200px;
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-small);
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  padding: 8px 0;
  z-index: 2100;  
  display: flex; flex-direction: column;
}
.tab-more-menu[hidden] { display: none; }
.tab[hidden], .tab-more-menu .more-item[hidden] { display: none; }
.tab-more-menu .more-item {
  display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 16px;
  color: var(--md-sys-color-on-surface);
  font: var(--md-sys-typescale-label-large);
  text-align: left; width: 100%;
}
.tab-more-menu .more-item:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); }
.tab-more-menu .more-item.is-active { color: var(--md-sys-color-primary); font-weight: 700; }
.tab-more-menu .more-item .lead .material-symbols-rounded { font-size: 18px; }

.tab-cats-pref { flex-shrink: 0; margin-left: 4px; }
.tab-cats-pref-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px;
  margin-top: 14px;
  border-radius: var(--md-sys-shape-corner-full);
  border: 1px solid var(--md-sys-color-outline-variant);
  background: transparent;
  color: var(--md-sys-color-on-surface-variant);
  font: var(--md-sys-typescale-label-large);
  cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
}
.tab-cats-pref-btn:hover {
  background: color-mix(in srgb, var(--md-sys-color-on-surface) 6%, transparent);
  color: var(--md-sys-color-on-surface);
}
.tab-cats-pref-btn.has-hidden {
  border-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-primary);
}
.tab-cats-pref-btn .material-symbols-rounded { font-size: 18px; }

.drawer-cats-pref-block {
  margin-top: 18px;
  padding: 0 0 14px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.drawer-cats-pref-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 18px 0 6px;
  padding: 0 12px;
  min-height: 24px; 
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--md-sys-color-on-surface-variant);
}
.drawer-cats-pref-toggle-label {
  flex: 1;
  font: var(--md-sys-typescale-label-medium);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--md-sys-color-primary);
}
.drawer-cats-pref-toggle-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--md-sys-color-on-surface-variant);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}
.drawer-cats-pref-toggle-meta:empty {
  display: none;
}
.drawer-cats-pref-toggle-chevron {
  transition: transform .2s;
  font-size: 18px;
  color: var(--md-sys-color-on-surface-variant);
}
.drawer-cats-pref-toggle[aria-expanded="true"] .drawer-cats-pref-toggle-chevron {
  transform: rotate(180deg);
}
.drawer-cats-pref-body[hidden] { display: none; }
.drawer-cats-pref-body {
  padding-top: 6px;
}
.drawer-cats-pref-hint {
  font: var(--md-sys-typescale-body-small);
  color: var(--md-sys-color-on-surface);
  margin: 0 12px 6px;
  line-height: 1.4;
  font-size: 13px;
}
.drawer-cats-pref-hint strong {
  font-weight: 700;
  color: var(--md-sys-color-primary);
}
.drawer-cats-pref-subhint {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 11px;
  opacity: 0.85;
  margin-bottom: 10px;
  line-height: 1.4;
}
.drawer-cats-pref-subhint strong {
  color: var(--md-sys-color-on-surface);
  font-weight: 700;
}
.drawer-cats-pref-block .cats-pref-panel-rows {
  padding: 0;
  max-height: none;
  overflow: visible;
}
.drawer-cats-pref-block .cats-pref-panel-row {
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 6px;
}
.drawer-cats-pref-block .cats-pref-panel-sub {
  font: var(--md-sys-typescale-body-small);
  font-size: 11px;
  color: var(--md-sys-color-on-surface-variant);
  margin: 6px 12px 0;
}
.drawer-cats-pref-block .cats-pref-panel-foot {
  margin: 6px 12px 0;
}
.drawer-cats-pref-block .cats-pref-panel-reset {
  background: none;
  border: 0;
  color: var(--md-sys-color-primary);
  font: var(--md-sys-typescale-label-medium);
  font-size: 12px;
  cursor: pointer;
  padding: 6px 0;
  text-decoration: underline;
}

.cats-pref-panel-row {
  display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 16px;
  cursor: pointer;
  user-select: none;
  background: none; border: 0; width: 100%;
  text-align: left;
  color: var(--md-sys-color-on-surface);
  font: var(--md-sys-typescale-body-medium);
}
.cats-pref-panel-row:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 6%, transparent); }
.cats-pref-panel-row[disabled] { cursor: not-allowed; opacity: 0.55; }
.cats-pref-panel-row[disabled]:hover { background: none; }
.cats-pref-panel-row .topic-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--topic, var(--topic-default));
  flex-shrink: 0;
}
.cats-pref-panel-row .label { flex: 1; }
.cats-pref-panel-row .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--md-sys-color-on-surface-variant);
  margin-right: 8px;
}
.cats-pref-panel-row .switch {
  width: 30px; height: 18px;
  border-radius: 9px;
  background: var(--md-sys-color-outline);
  position: relative;
  flex-shrink: 0;
  transition: background .15s;
}
.cats-pref-panel-row .switch::after {
  content: '';
  position: absolute;
  top: 50%; left: 3px;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--md-sys-color-on-primary);
  transition: left .15s, background .15s;
}
.cats-pref-panel-row.is-on .switch {
  background: var(--md-sys-color-primary);
}
.cats-pref-panel-row.is-on .switch::after {
  left: 15px;
  background: var(--md-sys-color-on-primary);
}
.cats-pref-panel-foot {
  padding: 8px 12px 12px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}
.cats-pref-panel-foot[hidden] { display: none; }
.cats-pref-panel-reset {
  background: none; border: 0;
  color: var(--md-sys-color-primary);
  font: var(--md-sys-typescale-label-large);
  font-weight: 600;
  padding: 8px 4px;
  cursor: pointer;
  border-radius: var(--md-sys-shape-corner-small);
}
.cats-pref-panel-reset:hover { background: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent); }
.qbar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 24px;
  background: var(--md-sys-color-surface);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1600px;
  margin: 0 auto;
}
.qbar::-webkit-scrollbar { display: none; }
.qbar .q-spacer { flex: 1; min-width: 4px; }
.qchip {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px;
  border-radius: var(--md-sys-shape-corner-small);
  border: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-surface-container-lowest);
  color: var(--md-sys-color-on-surface);
  font: var(--md-sys-typescale-label-large);
  font-size: 12.5px;
  transition: background .12s, color .12s, border-color .12s;
}
.qchip[hidden] { display: none !important; }
.qchip:hover { background: var(--md-sys-color-surface-container); }
.qchip .material-symbols-rounded { font-size: 16px; color: var(--md-sys-color-on-surface-variant); }
.qchip.is-on {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-color: var(--md-sys-color-primary);
}
.qchip.is-on .material-symbols-rounded { color: inherit; }
.qchip .count {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px; font-weight: 600;
  opacity: 0.7;
  margin-left: 2px;
}
.qchip.is-on .count { opacity: 0.92; } 
.q-view {
  flex-shrink: 0;
  display: inline-flex;
  border-radius: var(--md-sys-shape-corner-small);
  border: 1px solid var(--md-sys-color-outline-variant);
  overflow: hidden;
  margin-left: 4px;
  background: var(--md-sys-color-surface-container-lowest);
}
.q-view button, .q-view a {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px;
  color: var(--md-sys-color-on-surface-variant);
  font: var(--md-sys-typescale-label-large);
  font-size: 12.5px; font-weight: 600;
  border-right: 1px solid var(--md-sys-color-outline-variant);
}
.q-view button:last-child, .q-view a:last-child { border-right: 0; }
.q-view button.is-on, .q-view a.is-on {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}
.q-view button .material-symbols-rounded, .q-view a .material-symbols-rounded { font-size: 16px; }

@media (max-width: 839px) {
  .qbar { display: none; }
}
@media (max-width: 599px) {
  .qbar { padding: 6px 12px; }
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.zn-tag { color: var(--md-sys-color-on-surface-variant); font-size: 0.88em; opacity: 0.85; }
@media (max-width: 599px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card .body { padding: 6px 8px 8px; gap: 1px; }
  .card .body h3 { font-size: 12.5px; line-height: 16px; -webkit-line-clamp: 2; }
  .card .body .meta { font-size: 11px; }
  .card .meta-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 6px; margin: 0 0 2px;
  }
  .card .meta-row .when {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 10px; font-weight: 600;
    color: var(--md-sys-color-on-surface-variant);
    letter-spacing: -0.02em;
  }
  .card .meta-row .when.is-today { color: var(--md-sys-color-primary); font-weight: 800; }
  .card .meta-row .topic-mini {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--md-sys-color-on-surface-variant);
  }
  .card .meta-row .topic-mini .topic-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--topic, var(--topic-default)); }
  .card .media .topic-chip,
  .card .media .when-chip { display: none; }
  .card .media .placeholder-icon { font-size: 36px; }
  .card .fav { width: 28px; height: 28px; bottom: 4px; right: 4px; }
  .card .fav .material-symbols-rounded { font-size: 14px; }
}

.card {
  display: flex; flex-direction: column;
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  overflow: hidden;
  transition: background .2s var(--md-sys-motion-easing-standard),
              transform .2s var(--md-sys-motion-easing-emphasized-decelerate),
              box-shadow .2s var(--md-sys-motion-easing-standard);
  position: relative;
  text-decoration: none;
  color: inherit;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover { text-decoration: none; }
a.list-item { text-decoration: none; color: inherit; }
.card:hover {
  background: var(--md-sys-color-surface-container);
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.08);
}

.card .media {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--topic, var(--topic-default)) 28%, transparent), transparent 60%),
    radial-gradient(120% 120% at 100% 100%, color-mix(in srgb, var(--topic, var(--topic-default)) 18%, transparent), transparent 60%),
    var(--md-sys-color-surface-container-high);
  background-size: cover, cover, auto;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: color-mix(in srgb, var(--topic, var(--topic-default)) 70%, var(--md-sys-color-on-surface));
  overflow: hidden;
}
.card .media .card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: var(--md-sys-color-surface-container-high);
}
.card .media .placeholder-icon {
  position: absolute; top: 12px; left: 12px;
  font-size: 22px;
  opacity: 0.55;
  font-variation-settings: 'FILL' 1, 'wght' 500;
  z-index: 1;
  color: var(--topic, var(--topic-default));
}
.card .media .placeholder-title {
  position: relative; z-index: 1;
  padding: 0 18px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--topic, var(--topic-default)) 70%, var(--md-sys-color-on-surface));
  text-align: center;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.card.has-image .media .placeholder-icon,
.card.has-image .media .placeholder-title { display: none; }
@media (max-width: 599px) {
  .card .media .placeholder-title { font-size: 14px; padding: 0 12px; -webkit-line-clamp: 3; }
  .card .media .placeholder-icon { font-size: 18px; top: 8px; left: 8px; }
}
.scrim {
  position: fixed; inset: 0; z-index: 60;
  background: color-mix(in srgb, var(--md-sys-color-on-surface) 32%, transparent);
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--md-sys-motion-easing-standard);
}
.scrim.show { opacity: 1; pointer-events: auto; }
@media (max-width: 839px) {
  .drawer {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(360px, 86vw);
    height: 100dvh; padding-top: 12px;
    background: var(--md-sys-color-surface-container-low);
    transform: translateX(-100%);
    transition: transform .3s var(--md-sys-motion-easing-emphasized);
    z-index: 70; box-shadow: 0 0 24px rgba(0,0,0,.18);
  }
  .drawer.open { transform: translateX(0); }
}
.bottom-nav { display: none; }
@media (max-width: 839px) {
  .qchip-desktop-only { display: none !important; }
}
@media (min-width: 840px) {
  .qbar .qchip[data-q="free"] { order: 1; }
  .qbar .q-view { order: 2; }
}
@media (max-width: 839px) {
  .bottom-nav {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0;
    min-height: 72px;
    background: var(--md-sys-color-surface);
    border-top: 1px solid var(--md-sys-color-outline-variant);
    z-index: 100;
    padding-top: 12px;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 4px);
  }
  .bottom-nav .bn-item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 4px;
    padding: 0 4px;
    background: none;
    color: var(--md-sys-color-on-surface-variant);
    transition: color .12s var(--md-sys-motion-easing-standard);
  }
  .bottom-nav .bn-item .material-symbols-rounded {
    font-size: 24px;
    transition: transform .15s var(--md-sys-motion-easing-standard);
  }
  .bottom-nav .bn-item .bn-label {
    font: var(--md-sys-typescale-label-small);
    font-size: 11px;
    line-height: 1.2;
  }
  .bottom-nav a.bn-item {
    text-decoration: none;
    color: var(--md-sys-color-on-surface-variant);
  }
  .bottom-nav .bn-item svg { display: block; }
  .bottom-nav .bn-item.is-active { color: var(--md-sys-color-primary); }
  .bottom-nav .bn-item.is-active .material-symbols-rounded {
    font-variation-settings: 'FILL' 1;
  }
  .bottom-nav .bn-item:active .material-symbols-rounded { transform: scale(0.92); }


  .drawer { padding-bottom: 88px !important; }
  .drawer .drawer-precio-block { display: none; }
}

.pwa-install-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  margin-bottom: 12px;
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font: var(--md-sys-typescale-label-large);
  font-weight: 600;
  cursor: pointer;
}
.pwa-install-btn[hidden] { display: none; }
.pwa-install-btn .material-symbols-rounded { font-size: 18px; }
.pwa-install-btn:hover { filter: brightness(0.96); }
@media (max-width: 839px) {
  .pwa-install-btn { display: none !important; }
}

@media (max-width: 839px) {
  #precioPill { display: none; }
}
.pwa-install-btn { display: none !important; }

.card .media .topic-chip {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px;
  background: var(--md-sys-color-surface-container-lowest);
  color: var(--md-sys-color-on-surface);
  border-radius: var(--md-sys-shape-corner-small);
  font: var(--md-sys-typescale-label-medium);
  letter-spacing: 0.04em;
}
.card .media .topic-chip .topic-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--topic, var(--topic-default));
}
.card .media .illus-tag {
  position: absolute; bottom: 4px; left: 6px; z-index: 1;
  max-width: calc(100% - 12px);
  padding: 0;
  background: none;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.7), 0 0 1px rgba(0, 0, 0, 0.9);
  font-size: 8px; font-weight: 500; line-height: 1.4; letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none;
}
.card .media .illus-tag[hidden] { display: none; }
.card .media .foto-credito {
  position: absolute; bottom: 6px; left: 6px; z-index: 1;
  max-width: calc(100% - 12px);
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border-radius: var(--md-sys-shape-corner-small);
  font-size: 11px; font-weight: 600; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none;
}
.card .media .when-chip {
  position: absolute; top: 12px; right: 12px;
  height: 28px; padding: 0 12px;
  display: inline-flex; align-items: center;
  background: var(--md-sys-color-inverse-surface);
  color: var(--md-sys-color-inverse-on-surface);
  border-radius: var(--md-sys-shape-corner-small);
  font: var(--md-sys-typescale-label-medium);
  letter-spacing: 0.02em;
}
.card .media .when-chip.is-today {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font-weight: 700;
}
.card .fav {
  position: absolute; bottom: 6px; right: 6px;
  width: 32px; height: 32px;
  border-radius: var(--md-sys-shape-corner-full);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--md-sys-color-on-surface-variant);
  transition: color .15s, background .15s;
  z-index: 2;
}
.card .fav:hover {
  background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent);
  color: var(--md-sys-color-tertiary);
}
.card.is-fav .fav { color: #E11D48; }
.card.is-fav .fav .material-symbols-rounded { font-variation-settings: 'FILL' 1, 'wght' 700; }
.card .fav:hover { color: #E11D48; }

.card .body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.card .body .meta-row { display: none; }
.card .body h3 {
  font: var(--md-sys-typescale-title-small);
  font-size: 14px; line-height: 18px;
  color: var(--md-sys-color-on-surface);
  letter-spacing: -0.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .body .meta {
  font: var(--md-sys-typescale-body-small);
  color: var(--md-sys-color-on-surface-variant);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  padding-right: 26px;
  min-height: 16px; min-height: 1lh;
}
.card .body .time-pending {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 6px;
  font: var(--md-sys-typescale-label-small);
  color: var(--md-sys-color-on-surface-variant);
  font-style: italic;
  letter-spacing: 0.01em;
}
.card .body .time-pending .material-symbols-rounded {
  font-size: 14px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'opsz' 20;
}
.reco-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 2px;
  padding: 4px 0; 
  font: var(--md-sys-typescale-label-small);
  font-weight: 700; letter-spacing: 0.01em;
  line-height: 1.35;
  color: #956700;
  text-decoration: none; cursor: pointer;
  max-width: 100%;
}
.reco-badge .reco-star { color: #E0A100; font-size: 13px; margin-right: 4px; vertical-align: -1px; }
.card .body .reco-badge { margin-top: auto; }
.reco-badge strong { text-decoration: underline; text-underline-offset: 2px; font-weight: 800; }
.reco-badge:hover strong { color: #7a5400; }
.reco-badge--plain { cursor: default; }
.reco-badge--plain strong { text-decoration: none; }
@media (prefers-color-scheme: dark) {
  .reco-badge { color: #e8b84b; }
  .reco-badge .reco-star { color: #f0c869; }
  .reco-badge:hover strong { color: #f5d98a; }
}
.card .media .topic-chip,
.card .media .when-chip { height: 24px; padding: 0 9px; font-size: 10px; }
.card .media .placeholder-icon { font-size: 48px; }
.card.is-featured {
  border-color: #FACC15;
}
.schedule-broken {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1;
  opacity: 0.85;
}
.schedule-broken::after {
  content: '';
  position: absolute;
  left: 12%; right: 12%;
  top: 50%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%) rotate(-45deg);
  pointer-events: none;
  border-radius: 1px;
}
.when-chip .schedule-broken { font-size: 14px; margin-left: 2px; }
@media (max-width: 520px) {
  .card .media .when-chip,
  .card .media .topic-chip { height: 20px; padding: 0 7px; font-size: 9px; letter-spacing: .03em; }
  .card .media .topic-chip {
    top: 38px; left: auto; right: 12px;
    max-width: calc(100% - 24px);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
  .card .media .topic-chip .topic-dot { width: 5px; height: 5px; }
}
.no-time-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--md-sys-color-on-surface-variant);
}
.no-time-badge .label { font-style: italic; opacity: 0.85; }
.no-time-badge .ask {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--md-sys-color-primary);
  text-decoration: underline;
  cursor: pointer;
}
.no-time-badge .ask:hover { opacity: 0.85; }
