/* Buscador global RNP-Sys */
.rnp-searchk {
  position: fixed;
  inset: 0;
  z-index: 100000;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rnp-searchk.hidden { display: none; }

.rnp-searchk-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 22, 0.56);
  backdrop-filter: saturate(130%) blur(4px);
}

.rnp-searchk-panel {
  position: relative;
  width: min(720px, calc(100vw - 28px));
  margin: 8vh auto 0;
  background: #ffffff;
  border: 1px solid rgba(18, 24, 22, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 70px -22px rgba(12, 45, 33, 0.44), 0 8px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  animation: rnpcmdk-in 0.14s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes rnpcmdk-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.rnp-searchk-inputwrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #e3e4dd;
}

.rnp-searchk-ic {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #22543b;
  font-size: 18px;
  flex: 0 0 auto;
}

#rnp-searchk-input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #16201a;
  background: transparent;
}

#rnp-searchk-input::placeholder { color: #8a938c; }

.rnp-searchk-esc {
  font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #68736d;
  background: #f3f5f1;
  border: 1px solid #dde2dc;
  border-radius: 6px;
  padding: 4px 6px;
}

.rnp-searchk-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  padding: 0 12px;
  background: #fbfcfa;
}

.rnp-searchk-status:not(:empty) {
  padding-top: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eef0ea;
}

.rnp-searchk-pill,
.rnp-searchk-dym,
.rnp-searchk-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.rnp-searchk-pill {
  color: #2f5c4a;
  background: #eaf4ef;
}

.rnp-searchk-dym {
  border: 1px solid #badbca;
  color: #185c3c;
  background: #ffffff;
  cursor: pointer;
}

.rnp-searchk-dym:hover { background: #eaf4ef; }

.rnp-searchk-results {
  max-height: min(62vh, 620px);
  overflow-y: auto;
  padding: 7px;
}

.rnp-searchk-group {
  padding: 12px 10px 6px;
  color: #758078;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rnp-searchk-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #16201a;
  text-decoration: none;
  cursor: pointer;
}

.rnp-searchk-item.activo {
  color: #ffffff;
  background: #165f42;
}

.rnp-searchk-iico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  font-size: 17px;
}

.rnp-searchk-itxt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.rnp-searchk-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.rnp-searchk-ititle {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.rnp-searchk-isub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6f7a73;
  font-size: 12px;
  line-height: 1.25;
}

.rnp-searchk-badge {
  min-height: 18px;
  padding: 2px 6px;
  color: #165f42;
  background: #eaf4ef;
  font-size: 10px;
  flex: 0 0 auto;
}

.rnp-searchk-badge.muted {
  color: #5f6b64;
  background: #f0f2ed;
}

.rnp-searchk-item.activo .rnp-searchk-isub { color: rgba(255, 255, 255, 0.82); }
.rnp-searchk-item.activo .rnp-searchk-badge {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.rnp-searchk-empty {
  padding: 34px 16px;
  color: #758078;
  text-align: center;
  font-size: 14px;
}

.rnp-searchk-foot {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 9px 14px;
  border-top: 1px solid #e3e4dd;
  color: #758078;
  background: #fbfcfa;
  font-size: 11px;
}

#rnp-searchk-fab {
  position: fixed;
  bottom: 18px;
  left: 50%;
  z-index: 99998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  border: 1px solid rgba(22, 95, 66, 0.24);
  border-radius: 999px;
  padding: 8px 13px;
  color: #165f42;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px -16px rgba(12, 45, 33, 0.5);
  backdrop-filter: blur(6px);
  cursor: pointer;
  font: 700 13px/1 "IBM Plex Sans", sans-serif;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

#rnp-searchk-fab:hover {
  color: #ffffff;
  background: #165f42;
  transform: translateX(-50%) translateY(-2px);
}

#rnp-searchk-fab kbd {
  border-radius: 5px;
  padding: 3px 5px;
  background: rgba(22, 95, 66, 0.12);
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

#rnp-searchk-fab:hover kbd { background: rgba(255, 255, 255, 0.22); }

@media (max-width: 620px) {
  .rnp-searchk-panel {
    width: calc(100vw - 16px);
    margin-top: 3vh;
  }

  .rnp-searchk-inputwrap { padding: 12px; }
  #rnp-searchk-input { font-size: 15px; }
  .rnp-searchk-line { align-items: flex-start; flex-direction: column; gap: 4px; }
  .rnp-searchk-ititle,
  .rnp-searchk-isub { white-space: normal; }
  .rnp-searchk-foot { justify-content: space-between; gap: 8px; }
}
