/* Autorización de Luis + historial + cuenta/no cuenta (2026-10-21) — ver js/autoriza.js.
   Luis es daltónico: ⏳ + borde punteado ámbar grueso + texto, nunca solo color. */
.az-marca {
  display: block; font-size: 10px; font-weight: 800; line-height: 1.25; margin: 1px 0 2px; padding: 1px 4px;
  background: #fffbeb; color: #78350f; border: 2px dotted #b45309; white-space: normal; overflow-wrap: anywhere;
}
.az-marca .rg-corto { display: none; white-space: nowrap; }
.az-mes { font-weight: 800; font-size: 10px; padding: 0 3px; background: #fffbeb; color: #78350f; border: 1px dotted #b45309; }
.az-ficha { margin: 0 16px 6px; display: flex; flex-direction: column; gap: 6px; }
.az-ficha-pend {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding: 10px 12px; font-size: 14px; line-height: 1.3;
  background: #fffbeb; color: #78350f; border: 3px dotted #b45309;
}
.az-ficha-pend > span:nth-child(2) { flex: 1 1 220px; }
.az-acc { display: flex; gap: 6px; }
.az-si, .az-no, .az-retirar, .az-cuenta-btn {
  font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 6px; cursor: pointer; background: #fff; color: #111; border: 2px solid #111;
}
.az-si { background: #14532d; color: #fff; border-color: #14532d; }
.az-retirar, .az-auto { border-style: dashed; }
.az-cuenta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; font-weight: 600; color: #374151; }
.az-hist-btn {
  margin-left: auto; margin-right: 8px; width: 34px; height: 34px; border-radius: 6px; border: 2px solid currentColor;
  background: transparent; font-size: 17px; line-height: 1; cursor: pointer; padding: 0;
}
.az-historial { margin: 0 16px 8px; padding: 10px 12px; border: 2px solid #9ca3af; border-radius: 8px; background: #f9fafb; color: #111; font-size: 13px; max-height: 260px; overflow-y: auto; }
.az-hist-tit { font-weight: 800; margin-bottom: 6px; }
.az-historial ul { margin: 0; padding-left: 18px; }
.az-historial li { margin: 3px 0; line-height: 1.35; overflow-wrap: anywhere; }
.az-hist-cuando { color: #4b5563; }
.az-hist-vacio { margin: 0; color: #4b5563; }
.az-razon { width: 100%; font-size: 16px; padding: 9px 10px; border: 2px solid #9ca3af; border-radius: 7px; box-sizing: border-box; resize: vertical; font-family: inherit; }
.az-aviso { margin: 10px 0 0; padding: 8px 10px; background: #eff6ff; color: #1e3a8a; border-left: 5px solid #1d4ed8; font-size: 14px; font-weight: 600; }

html.theme-neuronal .az-ficha-pend, html.theme-neuronal .az-marca, html.theme-neuronal .az-mes { background: #451a03; color: #fde68a; border-color: #fbbf24; }
html.theme-neuronal .az-cuenta { color: #d1d5db; }
html.theme-neuronal .az-historial { background: #111827; color: #e5e7eb; border-color: #4b5563; }
html.theme-neuronal .az-hist-cuando, html.theme-neuronal .az-hist-vacio { color: #9ca3af; }
html.theme-neuronal .az-razon { background: #111827; color: #e5e7eb; }
html.theme-neuronal .az-aviso { background: #172554; color: #dbeafe; }

@media (max-width: 767px) {
  .az-marca { padding: 0 2px; }
  .az-marca .rg-largo { display: none; }
  .az-marca .rg-corto { display: inline; }
  .az-ficha, .az-historial { margin: 0 12px 6px; }
  .az-ficha-pend { font-size: 13px; }
}
