/* Usuarios beta · nota al desarrollador */
body.bn-activo { -webkit-touch-callout: none; }
.bn-objetivo { outline: 2px dashed #F59E0B !important; outline-offset: 2px; }
.bn-pin { position: fixed; z-index: 9998; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid #F59E0B; background: rgba(245, 158, 11, .25); pointer-events: none; box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }
.bn-pop {
    position: fixed; z-index: 9999; width: 380px; max-width: calc(100vw - 16px); box-sizing: border-box; padding: 14px; border-radius: 16px;
    background: #fff; color: var(--azul-oscuro, #12305f); border: 1px solid var(--azul-borde, #cbd9ee); box-shadow: 0 18px 50px rgba(15, 35, 70, .3); font-family: var(--f-cuerpo, inherit);
}
.bn-pop.bn-compacta { left: 8px; right: 8px; top: calc(8px + env(safe-area-inset-top, 0px)); width: auto; }
.bn-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 14.5px; }
.bn-x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 22px; line-height: 1; color: inherit; cursor: pointer; }
.bn-x:hover { background: var(--azul-suave, #eaf2ff); }
.bn-lugar, .bn-el { margin: 0 0 4px; font-size: 12.5px; line-height: 1.4; overflow-wrap: anywhere; }
.bn-lugar span { display: inline-block; padding: 1px 7px; border-radius: 99px; background: #FEF3C7; color: #92400E; font-weight: 700; font-size: 11px; margin-right: 4px; }
.bn-el { color: #64748b; margin-bottom: 8px; }
.bn-texto { width: 100%; box-sizing: border-box; resize: vertical; min-height: 92px; max-height: 40vh; padding: 10px 12px; border: 1px solid var(--azul-borde, #cbd9ee); border-radius: 12px; font: 400 15px/1.45 var(--f-cuerpo, inherit); color: inherit; background: #fff; }
.bn-texto:focus-visible { outline: 2px solid var(--azul, #1f5fbf); outline-offset: 1px; }
.bn-error { margin: 6px 0 0; font-size: 12.5px; color: #b91c1c; }
.bn-error.oculto { display: none; }
.bn-pie { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.bn-cont { margin-right: auto; font-size: 11.5px; color: #64748b; }
.bn-btn { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--azul-borde, #cbd9ee); background: #fff; color: inherit; font: 600 13.5px var(--f-cuerpo, inherit); cursor: pointer; }
.bn-btn:hover { background: var(--azul-suave, #eaf2ff); }
.bn-btn.bn-primario { background: var(--azul-oscuro, #12305f); border-color: var(--azul-oscuro, #12305f); color: #fff; }
.bn-btn.bn-primario:hover { background: var(--azul, #1f5fbf); }
.bn-btn:disabled { opacity: .6; cursor: default; }
.bn-aviso { position: fixed; left: 50%; transform: translate(-50%, 8px); bottom: 96px; z-index: 10000; max-width: min(420px, calc(100vw - 32px)); padding: 11px 16px; border-radius: 12px; background: var(--azul-oscuro, #12305f); color: #fff; font-size: 13.5px; line-height: 1.4; box-shadow: 0 8px 24px rgba(15, 35, 70, .3); opacity: 0; transition: opacity .2s, transform .2s; }
.bn-aviso.on { opacity: 1; transform: translate(-50%, 0); }
.bn-aviso.error { background: #b91c1c; }
.bn-boton { white-space: nowrap; width: max-content; position: fixed; right: 8px; top: 42%; z-index: 9990; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 11px; border-radius: 99px; border: 1px solid #F59E0B; background: #FFFBEB; color: #92400E; font: 700 13px var(--f-cuerpo, inherit); box-shadow: 0 6px 18px rgba(15, 35, 70, .18); cursor: pointer; opacity: .5; transition: opacity .15s, transform .15s; touch-action: none; user-select: none; -webkit-user-select: none; }
.bn-boton:hover, .bn-boton.on, .bn-boton.bn-toque { opacity: 1; }
.bn-boton.bn-arrastrando { opacity: .85; cursor: grabbing; transform: scale(1.06); }
.bn-boton > span { display: none; }
.bn-boton.on > span { display: inline; }
.bn-boton svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bn-boton.on { background: #F59E0B; color: #fff; }
body.bn-modo, body.bn-modo * { cursor: crosshair !important; }
body.ur-lapiz-on .bn-boton { display: none; }
@media print { .bn-boton { display: none; } }
