.gx-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 14px;
  border: 1.5px solid #d9d3c4;
  border-radius: 14px;
  background: #fff;
  color: var(--tinta);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.gx-btn:hover {
  border-color: var(--verde);
}
.gx-btn:focus-visible {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px #1b7a3a33;
}
.gx-btn .gx-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef6f0;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.gx-btn .gx-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.gx-btn .gx-txt b {
  font-size: 16px;
  font-weight: 800;
}
.gx-btn .gx-txt small {
  font-size: 13px;
  color: #6b7a70;
  font-weight: 500;
}
.gx-btn .gx-fl {
  flex: none;
  color: var(--verde);
}
.gx-btn.gx-vacio {
  border-style: dashed;
  border-color: var(--verde);
  background: #f7fbf8;
}
.gx-btn.gx-vacio .gx-txt b {
  color: var(--verde-osc);
}
.gx-btn.gx-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px #c0392b26;
}
html.gx-abierto,
html.gx-abierto body {
  overflow: hidden;
}
.gx-fondo {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #10161280;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity .18s;
}
.gx-fondo.ver {
  opacity: 1;
}
.gx-hoja {
  width: 100%;
  max-width: 640px;
  height: min(92dvh, 92vh);
  background: #fdfbf6;
  color: var(--tinta);
  border-radius: 22px 22px 0 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -18px 50px -20px #000a;
  transform: translateY(24px);
  transition: transform .22s cubic-bezier(.2, .9, .25, 1);
  outline: none;
  font-family: inherit;
}
.gx-fondo.ver .gx-hoja {
  transform: none;
}
.gx-cab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 2px 20px;
}
.gx-cab h2 {
  flex: 1;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.gx-x {
  flex: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--linea-suave);
  color: var(--tinta);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.gx-sub {
  margin: 4px 20px 10px;
  font-size: 14px;
  color: #6b7a70;
  line-height: 1.35;
}
.gx-bus {
  margin: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1.5px solid #d9d3c4;
  border-radius: 999px;
  background: #fff;
  color: #6b7a70;
}
.gx-bus:focus-within {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px #1b7a3a26;
}
.gx-bus input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: none;
  background: none;
  font: inherit;
  font-size: 16px;
  color: var(--tinta);
}
.gx-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px 8px;
  scrollbar-width: none;
  flex: none;
}
.gx-chips::-webkit-scrollbar {
  display: none;
}
.gx-chips button {
  flex: none;
  border: 1px solid var(--linea);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--tinta);
  cursor: pointer;
  white-space: nowrap;
}
.gx-chips button:hover {
  border-color: var(--verde);
}
.gx-lista {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 10px 14px;
  position: relative;
}
.gx-gt {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fdfbf6;
  padding: 14px 10px 8px;
  box-shadow: 0 1px 0 #ece6d8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--verde-osc);
}
.gx-op {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  font: inherit;
  text-align: left;
  color: var(--tinta);
  cursor: pointer;
}
.gx-op .gx-n {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 650;
}
.gx-op .gx-d {
  flex: none;
  max-width: 46%;
  font-size: 12.5px;
  color: #6b7a70;
  text-align: right;
  line-height: 1.2;
}
.gx-op .gx-ch {
  flex: none;
  color: var(--verde);
  visibility: hidden;
}
.gx-op:hover,
.gx-op:focus-visible {
  background: #eef6f0;
  outline: none;
}
.gx-op[aria-selected="true"] {
  background: #e3f2e7;
  box-shadow: inset 0 0 0 1.5px var(--verde);
}
.gx-op[aria-selected="true"] .gx-ch {
  visibility: visible;
}
.gx-op[aria-selected="true"] .gx-n {
  font-weight: 800;
}
.gx-nada {
  margin: 24px 12px;
  text-align: center;
  color: #6b7a70;
  font-size: 15px;
}
.gx-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: var(--verde);
  text-decoration: underline;
  cursor: pointer;
}
.gx-otro {
  flex: none;
  border-top: 1px solid var(--linea);
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: #fff;
}
.gx-otro label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}
.gx-otro-f {
  display: flex;
  gap: 8px;
}
.gx-otro-f input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid #d9d3c4;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
}
.gx-otro-f input:focus {
  outline: none;
  border-color: var(--verde);
}
.gx-ok {
  flex: none;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--verde);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.gx-err {
  margin: 6px 0 0;
  color: #c0392b;
  font-size: 13px;
  font-weight: 700;
  min-height: 1em;
}
@media (min-width: 700px) {
  .gx-fondo {
    align-items: center;
    padding: 24px;
  }
  .gx-hoja {
    height: min(760px, 86vh);
    border-radius: 22px;
  }
  .gx-otro {
    border-radius: 0 0 22px 22px;
  }
}
@media (max-width: 380px) {
  .gx-op .gx-d {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gx-fondo,
  .gx-hoja {
    transition: none;
  }
}
