/* trama's own drop-down list (plan 046, js/lista.js): the presentation's
   language and a price's currency. Paper, a hairline, 12px corners and no
   shadow (the No-Shadow Rule); 44px rows with the line check on the chosen
   one, and the active one (mouse or keyboard) on the squares' grey. Seven rows
   in view at most, the rest scrolling; at most 320px wide, a long name cut
   with "…". Named colours only: the same in light and dark. Loaded by the
   pages that have one (armario.html, presentacion.html). */
.lista {
  position: fixed;
  z-index: 60;
  box-sizing: border-box;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 32px));
  margin: 0;
  padding: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line-faint-strong);
  border-radius: 12px;
  color: var(--ink);
  font-size: var(--fs-300, 0.9375rem);
  font-weight: 400;
  letter-spacing: normal;
  text-align: start;
  animation: lista-entra var(--dur-fast, 160ms) var(--ease-out, ease-out);
}
@keyframes lista-entra {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lista {
    animation: none;
  }
}
:where(html[data-movimiento="reducido"]) .lista {
  animation: none;
}
.lista-fila {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
}
.lista-fila.es-activa {
  background: var(--casilla);
}
.lista-texto {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lista-nota {
  color: var(--ink-soft);
}
.lista-marca {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lista-fila[aria-selected="false"] .lista-marca {
  visibility: hidden;
}
