/* El mostrador conserva los rubros con nombre; las acciones universales se reconocen
   por sus iconos. Nada se mueve mientras se está leyendo un monto. */
.sr-solo { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0; }
.compositor-venta { background: var(--f0); border: 1px solid var(--linea2); border-radius: 24px;
  padding: 18px 16px 12px; margin: 16px 0; box-shadow: 0 4px 22px #201b1105; }
.compositor-venta:focus-within { border-color: var(--t2); }
#textoVenta { display: block; box-sizing: border-box; width: 100%; min-height: 62px; max-height: 160px;
  resize: vertical; border: 0; padding: 0 6px; background: transparent; color: var(--t0);
  font: inherit; font-size: 18px; line-height: 1.5; outline: none; }
#textoVenta::placeholder { color: var(--t2); }
.compositor-herramientas, .compositor-derecha { display: flex; align-items: center; gap: 8px; }
.compositor-herramientas { min-height: 52px; }
.compositor-derecha { margin-left: auto; }
.icono-boton, #compositorVenta #botonVoz { display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; min-height: 48px; flex-shrink: 0; padding: 12px; margin: 0;
  border: 0; border-radius: 50%; color: var(--t0); background: var(--f2); cursor: pointer;
  touch-action: manipulation; box-sizing: border-box; }
.icono-boton svg, #compositorVenta #botonVoz svg { width: 24px; height: 24px; flex-shrink: 0; }
.icono-principal { color: var(--f0); background: var(--t0); }
.icono-boton:disabled { opacity: .3; cursor: default; }
.icono-boton:focus-visible, #compositorVenta #botonVoz:focus-visible { outline: 2px solid var(--entra); outline-offset: 4px; }
.icono-boton:active:not(:disabled), #compositorVenta #botonVoz:active:not(:disabled) { background: var(--linea2); }
.icono-principal:active:not(:disabled) { background: var(--entra); }
#compositorVenta #botonVoz[data-grabando="true"] { background: var(--t0); color: var(--f0); }
#compositorVenta #botonVoz.escuchando { animation: pulsoBoton 1.2s ease-in-out infinite; }
@keyframes pulsoBoton {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43,90,160,.42); }
  50% { box-shadow: 0 0 0 7px rgba(43,90,160,0); }
}
.onda-voz { display: flex; align-items: center; justify-content: center; gap: 4px; height: 36px; width: 78px; }
.onda-voz i { display: block; width: 3px; height: 8px; border-radius: 3px; background: var(--entra); }
.onda-voz[data-habla="true"] i { animation: voz-presente 600ms ease-in-out infinite alternate; }
.onda-voz i:nth-child(2n) { height: 18px; animation-delay: -200ms; }
.onda-voz i:nth-child(3n) { height: 26px; animation-delay: -400ms; }
@keyframes voz-presente { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
#errorGrabacion { color: var(--aviso); font-size: 13px; margin: 8px 6px 0; }
#compositorVenta [hidden] { display: none !important; }
#compositorVenta[data-estado="iniciando"] #botonVoz { opacity: .6; }
#compositorVenta[data-manos="true"] { border-color: var(--entra); }
#ultima { border-radius: 18px; }
#deshacer { min-width: 44px; min-height: 44px; }
#revisar summary, #ajustes summary { min-height: 48px; }
.dia-controles { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; }
.dia-totales { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--t2); }
.dia-totales b { color: var(--t0); }
.dia-mas { width: 100%; min-height: 48px; margin-top: 12px; border: 1px solid var(--linea2);
  border-radius: 14px; background: var(--f0); color: var(--t0); font: inherit; cursor: pointer; }
.dia-estado { color: var(--t2); font-size: 14px; padding: 12px 0; }
.listaCargas .linea2 { overflow-wrap: anywhere; }
.accionesCarga .mini { min-width: 44px; min-height: 44px; }
@media (hover: hover) and (pointer: fine) {
  .icono-boton:hover:not(:disabled), #compositorVenta #botonVoz:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--linea2); }
}
@media (prefers-reduced-motion: reduce) {
  .onda-voz[data-habla="true"] i, #compositorVenta #botonVoz.escuchando { animation: none; }
}
@media (max-width: 420px) {
  .compositor-venta { padding: 14px 12px 10px; border-radius: 20px; }
  #textoVenta { font-size: 17px; }
}
