/* Aviso de privacidad simplificado de Balam Hub (LFPDPPP art. 16).
   Se usa en balamhub.com y en las utilidades bajo el dominio (p. ej. /python/). */
.bh-aviso {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1000; max-width: 46rem; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; padding: .55rem .8rem;
  background: #1F1F1F; color: #FFFFFF; border: 1px solid #2E2E2E; border-radius: 12px;
  font: 400 .8rem/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: left;
}
.bh-aviso[hidden] { display: none; }
.bh-aviso p { margin: 0; }
.bh-aviso a { color: inherit; text-underline-offset: 2px; }
.bh-aviso-linea { flex: 1 1 18rem; }
.bh-aviso button {
  font: inherit; font-weight: 600; cursor: pointer; padding: .3rem .8rem;
  background: #F58220; color: #171717; border: 0; border-radius: 8px;
}
.bh-aviso button:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.bh-aviso details { flex: 1 1 100%; font-size: .7rem; line-height: 1.4; color: #A3A3A3; }
.bh-aviso summary { cursor: pointer; }
.bh-aviso details p { margin: .3rem 0 0; }
:root[data-theme="light"] .bh-aviso { background: #FFFFFF; color: #171717; border-color: #E5E5E5; }
:root[data-theme="light"] .bh-aviso details { color: #737373; }
:root[data-theme="light"] .bh-aviso button:focus-visible { outline-color: #171717; }
@media (max-width: 700px) { .bh-aviso { left: .5rem; right: .5rem; bottom: .5rem; max-height: 45vh; overflow-y: auto; } }
@media print { .bh-aviso { display: none !important; } }
