/* Rediseño (redesign-riel-nocturno.mdc) · 2 · Listados.
   table.tpl pone body.rn-list en todos los listados. Lo que es solo de Cotizaciones (anchos de columna,
   ruta, estado, bloque de celular, barra de selección) va bajo .table-model-quote o en clases rn-* que
   solo escribe Cotizaciones. Los demás listados conservan la forma de producción. No cambia clases de JS:
   delete-btn, selectAll, deleteCheckbox[], redirect-to-view, filter-lists, table-action siguen iguales.
   Escritorio y tableta: la tabla. Celular (hasta 767.98px): cada cotización como bloque (td.rn-m). */

/* ---------- Tabla ---------- */
body.rn-list {
  --rn-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

body.rn-list .table-container {
  position: relative;
}

body.rn-list .tablee {
  border: 0 !important;
  border-radius: var(--rn-radius-sheet);
  box-shadow: var(--rn-shadow-sheet);
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--rn-font-sans) !important;
  font-variant-numeric: tabular-nums;
}

body.rn-list .tablee thead th {
  height: 42px;
  padding: 0 10px !important;
  background: var(--rn-navy) !important;
  color: var(--rn-on-navy-muted);
  font-size: var(--rn-label-size);
  font-weight: var(--rn-label-weight);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  vertical-align: middle;
}

body.rn-list .tablee thead th:first-child {
  border-top-left-radius: var(--rn-radius-sheet);
}

body.rn-list .tablee thead th:last-child {
  border-top-right-radius: var(--rn-radius-sheet);
}

body.rn-list .tablee thead th a {
  color: var(--rn-on-navy-muted) !important;
  font-size: inherit;
  font-weight: inherit;
}

body.rn-list .tablee thead th a:hover,
body.rn-list .tablee thead th.is-sorted a {
  color: var(--rn-on-navy) !important;
}

body.rn-list .tablee tbody td {
  height: var(--rn-size-row);
  padding: 7px 10px !important;
  border-bottom: 1px solid var(--rn-line);
  color: var(--rn-ink-2);
  font-size: 12px; /* Phil, 06/11/2026: un punto menos que 13 px en todos los listados, para que el mail entre en una línea. */
  line-height: 1.3;
  vertical-align: middle;
  transition: background-color var(--rn-duration-fast) var(--rn-ease-standard);
}

body.rn-list .tablee tbody tr:last-child td {
  border-bottom: 0;
}

body.rn-list .tablee tbody tr,
body.rn-list .tablee tbody tr:hover {
  background: transparent !important;
}

@media (hover: hover) and (pointer: fine) {
  body.rn-list .tablee tbody tr:hover td {
    background: var(--rn-surface-tint);
  }
}

body.rn-list .tablee tbody td {
  -webkit-tap-highlight-color: transparent;
}

/* Un mail o un nombre sin espacios se parte antes de pisar la columna de al lado (en todos los listados:
   en Clientes y Operadores los mails largos tapaban los íconos de Acciones). */
body.rn-list .table-container .tablee tbody td {
  overflow-wrap: break-word;
}

/* Mails en un renglón y, si no entran, con «…» (Phil 10/11/2026: se partían a mitad de palabra, «digitalair.c / om.ar»).
   El mail entero queda en el title de la celda (table.tpl). Vale para Operadores, Usuarios y Clientes. */
body.rn-list .table-container .tablee tbody td.col-email {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-wrap: normal;
}

/* Foco con teclado: anillo navy, solo cuando se navega con Tab. */
body.rn-list .tablee a:focus-visible,
body.rn-list .tablee input:focus-visible,
body.rn-list .rn-selbar .delete-btn:focus-visible {
  outline: 2px solid var(--rn-navy);
  outline-offset: 2px;
  border-radius: var(--rn-radius-button);
}

body.rn-list .tablee thead a:focus-visible,
body.rn-list .tablee thead input:focus-visible,
body.rn-list .rn-selbar .delete-btn:focus-visible {
  outline-color: #ffffff;
}

body.rn-list .tablee tbody tr.rn-sel td {
  background: var(--rn-surface-selected);
}

body.rn-list .tablee tbody tr.rn-sel td:first-child {
  box-shadow: inset 3px 0 0 var(--rn-navy);
}

body.rn-list .tablee th.col-select,
body.rn-list .tablee td.col-select {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  padding: 0 0 0 14px !important;
}

body.rn-list .tablee .col-select input[type="checkbox"] {
  accent-color: var(--rn-navy);
  cursor: pointer;
}

body.rn-list .tablee th.col-select input[type="checkbox"] {
  accent-color: #ffffff;
}

body.rn-list .tablee td.col-id {
  color: var(--rn-ink-muted);
  font-size: 11.5px;
  font-weight: 500;
}

body.rn-list .tablee td.col-customer_name {
  color: var(--rn-ink);
  font-weight: 600;
}

/* La ruta va en una línea; el title tiene la ruta completa. Es la única celda con «…». */
body.rn-list .rn-route {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--rn-ink);
}

body.rn-list .rn-route > span + span::before {
  content: "\2192";
  margin: 0 7px;
  color: var(--rn-ink-faint);
  font-size: 12px;
}

body.rn-list .tablee th.col-total,
body.rn-list .tablee td.col-total {
  text-align: right;
  white-space: nowrap;
}

body.rn-list .tablee td.col-total {
  color: var(--rn-ink);
  font-weight: 650;
}

body.rn-list .tablee td.col-total small,
body.rn-list .rn-money small {
  margin-right: 4px;
  color: var(--rn-ink-muted);
  font-size: 11px;
  font-weight: 600;
}

body.rn-list .tablee th.col-created,
body.rn-list .tablee td.col-created {
  white-space: nowrap;
}

body.rn-list .tablee td.col-created {
  color: var(--rn-ink-muted);
}

body.rn-list .rn-st {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  white-space: nowrap;
}

body.rn-list .rn-st i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: var(--rn-radius-dot);
}

body.rn-list .rn-st-quoted { color: var(--rn-status-quoted-ink); }
body.rn-list .rn-st-quoted i { background: var(--rn-status-quoted); }
body.rn-list .rn-st-sold { color: var(--rn-status-sold-ink); }
body.rn-list .rn-st-sold i { background: var(--rn-status-sold); }
body.rn-list .rn-st-rejected { color: var(--rn-status-rejected-ink); }
body.rn-list .rn-st-rejected i { background: var(--rn-status-rejected); }

body.rn-list .tablee .table-action {
  transition: transform 160ms var(--rn-ease-out), background-color var(--rn-duration-fast) var(--rn-ease-standard);
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-radius: var(--rn-radius-button);
  color: var(--rn-ink-muted) !important;
}

body.rn-list .tablee .table-action:hover,
body.rn-list .tablee .table-action:focus {
  background: var(--rn-surface-sunken);
  color: var(--rn-ink) !important;
}

body.rn-list .tablee .table-action:active,
body.rn-list .rn-selbar .delete-btn:active {
  transform: scale(0.97);
}

body.rn-list .tablee .table-action.is-disabled {
  opacity: 0.3;
  background: transparent;
}

body.rn-list .tablee td.rn-m {
  display: none;
}

/* Sin cotizaciones: la fila table-empty-row de producción, con el estilo del rediseño. */
body.rn-list .tablee tr.table-empty-row td {
  height: 120px;
  color: var(--rn-ink-muted);
  font-size: var(--rn-body-size);
  text-align: center;
  cursor: default;
}

body.rn-list .tablee tbody tr.table-empty-row:hover td {
  background: transparent;
}

/* Anchos de escritorio: contacto, empresa y aeronave pasan a dos líneas; montos y fechas en una. */
@media screen and (min-width: 1025px) {
  body.rn-list .tablee.table-model-quote th.col-id { width: 64px; }
  body.rn-list .tablee.table-model-quote th.col-customer_name { width: 14%; }
  body.rn-list .tablee.table-model-quote th.col-customer_company { width: 12%; }
  body.rn-list .tablee.table-model-quote th.col-plane { width: 11%; }
  /* Total, Fecha, Estado y Acciones: justas a su contenido (Phil 06/11/2026: «anchas al pedo»);
     el espacio que sobra se lo llevan ruta, contacto, empresa y aeronave. */
  /* Total, Fecha, Estado y Acciones: justas a su contenido (Phil 06/11/2026: «anchas al pedo»).
     Desde 1600 px Ruta queda sin ancho fijo y se lleva lo que sobra, así estas cuatro no crecen. */
  body.rn-list .tablee.table-model-quote th.col-total { width: 108px; }
  body.rn-list .tablee.table-model-quote th.col-created { width: 100px; }
  body.rn-list .tablee.table-model-quote th.col-status { width: 100px; }
  body.rn-list .tablee.table-model-quote th.col-actions { width: 82px; }
}

@media screen and (min-width: 1600px) {
  body.rn-list .tablee.table-model-quote th.col-route { width: auto; }
}

/* De 1025 a 1279 px las columnas fijas se achican para que contacto, empresa y aeronave no corten palabras. */
@media screen and (min-width: 1025px) and (max-width: 1279.98px) {
  body.rn-list .tablee.table-model-quote th.col-id { width: 52px; }
  body.rn-list .tablee.table-model-quote th.col-total { width: 104px; }
  body.rn-list .tablee.table-model-quote th.col-created { width: 96px; }
  body.rn-list .tablee.table-model-quote th.col-status { width: 96px; }
  body.rn-list .tablee.table-model-quote th.col-actions { width: 78px; }
  body.rn-list .tablee.table-model-quote tbody td,
  body.rn-list .tablee.table-model-quote thead th {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  body.rn-list .tablee.table-model-quote th.col-select,
  body.rn-list .tablee.table-model-quote td.col-select {
    padding: 0 0 0 14px !important;
  }
}

/* Los demás listados, de 1025 a 1279 px: la fecha de Historial y Logs no entraba en su columna;
   se achican los márgenes de celda. */
@media screen and (min-width: 1025px) and (max-width: 1279.98px) {
  body.rn-list .table-container .tablee:not(.table-model-quote) tbody td:not(.col-select),
  body.rn-list .table-container .tablee:not(.table-model-quote) thead th:not(.col-select) {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  /* En Aeronaves «Anexo 1» pisaba a «Categoría»: el título de columna pasa a dos líneas. */
  body.rn-list .table-container .tablee:not(.table-model-quote) thead th {
    white-space: normal;
    line-height: 1.2;
  }
}

/* Clientes en escritorio: producción da 18 % a Nombre y reparte el resto en partes iguales, así Nombre y
   Apellido quedaban anchos y el mail se partía. Nombre y Apellido se achican y el mail se lleva el resto. */
@media screen and (min-width: 1025px) {
  body.rn-list .tablee.table-model-customer th.col-name,
  body.rn-list .tablee.table-model-customer th.col-surname { width: 14%; }
  body.rn-list .tablee.table-model-customer th.col-company { width: 18%; }
  body.rn-list .tablee.table-model-customer th.col-phone_number { width: 14%; }
}

/* Aeronaves en escritorio (Phil 08/11/2026): PAX (8 %) y KM/H (9 %) sobraban para uno a cuatro dígitos y el
   nombre (12 %) se partía en dos líneas («Cessna Grand Caravan EX»). El espacio pasa al nombre. */
@media screen and (min-width: 1025px) {
  body.rn-list .tablee.table-model-plane th.col-name { width: 17.375%; }
  body.rn-list .tablee.table-model-plane th.col-capacity { width: 5%; }
  body.rn-list .tablee.table-model-plane th.col-speed { width: 6.75%; }
}

/* De 768 a 1024 px la tabla de 1200 px de producción scrollea; el estado lleva punto y no entra en el 5,5 %. */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  body.rn-list .tablee.table-model-quote th.col-status { width: 8.5%; }
  body.rn-list .tablee.table-model-quote th.col-route { width: 22.5%; }
}

/* ---------- Barra de selección (rn-selection.js) ---------- */
/* Se apoya sobre el encabezado y deja a la vista la casilla de «Seleccionar todos». Adentro va el mismo
   botón .delete-btn de siempre (delete_item.js le pone display en línea; acá se fuerza). */
body.rn-list .rn-selbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  margin: 0 0 -42px 40px;
  padding: 0 10px 0 4px;
  border-top-right-radius: var(--rn-radius-sheet);
  background: var(--rn-navy);
  color: var(--rn-on-navy-muted);
  font: 500 13.5px var(--rn-font-sans);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms var(--rn-ease-out), visibility 0s linear 120ms;
}

body.rn-list.rn-has-sel .rn-selbar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--rn-duration-fast) var(--rn-ease-out), visibility 0s;
}

body.rn-list .rn-selbar-n {
  color: var(--rn-on-navy-muted);
  white-space: nowrap;
}

body.rn-list .rn-selbar-n b {
  color: var(--rn-on-navy);
  font-weight: 700;
}

body.rn-list .rn-selbar .delete-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  height: 30px;
  margin: 0 0 0 auto;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: var(--rn-radius-button) !important;
  background: var(--rn-danger-strong) !important;
  color: #ffffff !important;
  font: 600 13px var(--rn-font-sans) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: transform 160ms var(--rn-ease-out), background-color var(--rn-duration-fast) var(--rn-ease-standard);
}

body.rn-list .rn-selbar .delete-btn:hover,
body.rn-list .rn-selbar .delete-btn:focus {
  background: var(--rn-danger-strong-hover) !important;
}

/* ---------- Celular: cada cotización como bloque ---------- */
@media screen and (max-width: 767.98px) {
  body.rn-list .table-container .tablee.table-model-quote {
    display: block;
    width: 100%;
    min-width: 0;
    border-radius: var(--rn-radius-sheet);
  }

  /* El encabezado queda como una fila de opciones de orden, con «Seleccionar todos» al principio. */
  body.rn-list .table-container .tablee.table-model-quote thead {
    position: sticky;
    top: 0;
    z-index: 2;
    display: block;
    height: 46px;
    overflow-x: auto;
    border-radius: var(--rn-radius-sheet) var(--rn-radius-sheet) 0 0;
    scrollbar-width: none;
  }

  body.rn-list .table-container .tablee.table-model-quote thead::-webkit-scrollbar {
    display: none;
  }

  /* table.tpl no escribe el <tr> del encabezado; el navegador lo agrega. */
  body.rn-list .table-container .tablee.table-model-quote thead tr {
    display: flex;
    align-items: center;
    gap: 2px;
    width: max-content;
    height: 46px;
  }

  body.rn-list .table-container .tablee.table-model-quote thead th {
    display: flex;
    align-items: center;
    flex: none;
    width: auto !important;
    height: 46px;
    padding: 0 9px !important;
    border-radius: 0 !important;
    font-size: 13px;
  }

  body.rn-list .table-container .tablee.table-model-quote thead th.col-select {
    width: 44px !important;
    min-width: 44px;
    max-width: none;
    padding: 0 0 0 14px !important;
  }

  body.rn-list .table-container .tablee.table-model-quote thead th.col-actions {
    display: none;
  }

  body.rn-list .table-container .tablee.table-model-quote tbody {
    display: block;
  }

  /* Tres líneas por cotización (Phil 18/11/2026: «se ven pocas por pantalla»): ruta y monto; contacto y fecha;
     número, aeronave y estado con las acciones a la derecha. */
  body.rn-list .table-container .tablee.table-model-quote tbody tr {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    grid-template-areas:
      "cb block block"
      "cb foot acts";
    align-items: center;
    height: auto !important;
    padding: 10px 6px 2px 12px;
    border-bottom: 1px solid var(--rn-line) !important;
  }

  body.rn-list .table-container .tablee.table-model-quote tbody tr:last-child {
    border-bottom: 0 !important;
  }

  body.rn-list .table-container .tablee.table-model-quote tbody tr.table-empty-row {
    display: block;
    padding: 0;
  }

  body.rn-list .table-container .tablee.table-model-quote tbody tr.table-empty-row td {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 0 16px !important;
  }

  body.rn-list .table-container .tablee.table-model-quote tbody td {
    display: none;
    height: auto;
    padding: 0 !important;
    border: 0;
    background: transparent !important;
  }


  body.rn-list .table-container .tablee.table-model-quote tbody tr.rn-sel {
    background: var(--rn-surface-selected) !important;
    box-shadow: inset 3px 0 0 var(--rn-navy);
  }

  body.rn-list .table-container .tablee.table-model-quote tbody tr.rn-sel td:first-child {
    box-shadow: none;
  }

  /* La casilla ocupa toda la columna izquierda del bloque: se marca tocando en cualquier parte (rn-selection.js). */
  body.rn-list .table-container .tablee.table-model-quote td.col-select {
    display: block;
    grid-area: cb;
    align-self: stretch;
    margin: -10px 0 -2px -12px;
    padding: 12px 0 0 12px !important;
    width: auto;
    max-width: none;
    min-width: 0;
    cursor: pointer;
  }

  body.rn-list .table-container .tablee.table-model-quote td.col-select input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
  }

  body.rn-list .table-container .tablee.table-model-quote td.rn-m {
    display: block;
    grid-area: block;
    min-width: 0;
    color: var(--rn-ink-2);
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
  }

  body.rn-list .table-container .tablee.table-model-quote td.actions-column {
    display: block;
    grid-area: acts;
    width: auto;
    padding: 0 !important;
  }

  body.rn-list .table-container .tablee.table-model-quote .table-action {
    width: var(--rn-size-touch);
    min-width: var(--rn-size-touch);
    height: 40px;
    border-radius: var(--rn-radius-button);
  }

  /* Contacto, empresa y aeronave pasan a otra línea; las escalas de la ruta no se parten por la mitad. */
  body.rn-list .table-container .tablee.table-model-quote td.rn-m span {
    white-space: normal;
    overflow-wrap: break-word;
  }

  /* Cada escala es un bloque en línea: baja entera a la línea siguiente y solo se parte si no entra sola
     («Aeroparque Jorge Newbery» en 360 px). rn-route.tpl no deja espacios entre escalas y Safari de iPhone no
     cortaba la línea con nowrap: la ruta tapaba el monto y la lista se corría de costado (Phil 18/11/2026). */
  body.rn-list .table-container .tablee.table-model-quote td.rn-m .rn-route > span {
    display: inline-block;
    max-width: 100%;
  }

  body.rn-list .rn-m-l1 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }

  /* Ruta con códigos de aeropuerto (route_codes): corta y en una línea en casi todas las cotizaciones. */
  body.rn-list .rn-m .rn-route {
    min-width: 0;
    overflow: visible;
    white-space: normal;
    color: var(--rn-ink);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
  }

  body.rn-list .rn-m .rn-route > span + span::before {
    margin: 0 3px;
  }

  body.rn-list .rn-m .rn-money {
    flex: none;
    color: var(--rn-ink);
    font-size: 14px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  /* Contacto y empresa en una línea (lo que no entra termina en «…»; completo en la ficha); monto a la derecha. */
  body.rn-list .rn-m-l2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 2px;
    font-size: 13.5px;
  }

  body.rn-list .table-container .tablee.table-model-quote td.rn-m .rn-m-who-line {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  body.rn-list .table-container .tablee.table-model-quote td.rn-m .rn-m-who-line > span {
    white-space: nowrap;
  }

  body.rn-list .rn-m-who-line > span + span::before {
    content: "\00b7";
    margin: 0 6px;
    color: var(--rn-ink-faint);
  }

  body.rn-list .rn-who {
    color: var(--rn-ink);
    font-weight: 600;
  }

  /* Fecha de vuelo (primer tramo) a la derecha de la ruta. */
  body.rn-list .rn-m-date {
    flex: none;
    color: var(--rn-ink-2);
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  body.rn-list .rn-m-date.is-tbc {
    color: var(--rn-ink-muted);
    font-weight: 400;
  }

  /* Última línea: número en etiqueta chica, aeronave y estado; las acciones quedan a la derecha (actions-column). */
  body.rn-list .table-container .tablee.table-model-quote td.rn-m.rn-m-foot {
    display: flex;
    align-items: center;
    gap: 6px;
    grid-area: foot;
    min-width: 0;
    color: var(--rn-ink-2);
    font-size: 13px;
    line-height: 1.3;
  }

  body.rn-list .rn-m-id {
    flex: none;
    padding: 1px 6px;
    border-radius: var(--rn-radius-control);
    background: var(--rn-surface-sunken);
    color: var(--rn-ink-2);
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 18px;
  }

  body.rn-list .table-container .tablee.table-model-quote td.rn-m .rn-m-plane {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  body.rn-list .rn-m-foot .rn-st {
    flex: none;
    gap: 5px;
    margin-left: 2px;
    font-size: 12.5px;
  }

  /* La barra de selección queda fija abajo mientras haya casillas marcadas. */
  body.rn-list .rn-selbar {
    position: fixed;
    top: auto;
    left: 12px;
    right: 12px;
    bottom: max(16px, env(safe-area-inset-bottom));
    height: 54px;
    margin: 0;
    padding: 0 6px 0 16px;
    border-radius: var(--rn-radius-sheet);
    box-shadow: var(--rn-shadow-dock);
    font-size: 14px;
    transform: translateY(8px);
    transition: opacity 140ms var(--rn-ease-out), transform 140ms var(--rn-ease-out), visibility 0s linear 140ms;
  }

  body.rn-list.rn-has-sel .rn-selbar {
    transform: none;
    transition: opacity var(--rn-duration-base) var(--rn-ease-out), transform var(--rn-duration-base) var(--rn-ease-out), visibility 0s;
  }

  body.rn-list .rn-selbar .delete-btn {
    height: 42px;
    padding: 0 14px !important;
    border-radius: var(--rn-radius-button) !important;
    font-size: 14px !important;
  }
}

/* Movimiento reducido: la barra aparece y se va solo con opacidad; sin escala al apretar. */
@media (prefers-reduced-motion: reduce) {
  body.rn-list .rn-selbar,
  body.rn-list.rn-has-sel .rn-selbar {
    transform: none;
  }

  body.rn-list .tablee .table-action:active,
  body.rn-list .rn-selbar .delete-btn:active {
    transform: none;
  }
}

/* Buscador de listados: la lupa se ve y se puede tocar dentro del campo (QA 10/11/2026: el botón «Buscar» estaba oculto y
   solo se buscaba con Enter, sin pista). Es el mismo <button type="submit"> de filter.tpl; el texto queda para lectores. */
body.rn-list .filter-lists input[name="query"] {
  padding-right: 38px !important;
}

body.rn-list .filter-lists .filter-submit:not(#rn-no) {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  margin: 0 8px 0 -46px;
  padding: 0;
  overflow: hidden;
  clip: auto;
  border: 0;
  border-radius: 6px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D6468' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body.rn-list .filter-lists .filter-submit:not(#rn-no):focus-visible {
  outline: 2px solid var(--rn-navy);
  outline-offset: 0;
}

@media (hover: hover) and (pointer: fine) {
  body.rn-list .filter-lists .filter-submit:not(#rn-no):hover {
    background-color: var(--rn-surface-sunken);
  }
}
