/* Onboarding primo accesso consulente: wizard + banner installazione PWA */
.bep-ob-overlay { position: fixed; inset: 0; background: rgba(15,30,50,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; animation: bepObFade .3s ease; }
@keyframes bepObFade { from { opacity: 0; } to { opacity: 1; } }
.bep-ob-card { background: #fff; border-radius: 22px; max-width: 560px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 32px 28px 26px; box-shadow: 0 24px 70px rgba(10,25,45,.35); animation: bepObUp .35s cubic-bezier(.2,.9,.3,1.15); }
@keyframes bepObUp { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
.bep-ob-dots { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; }
.bep-ob-dot { width: 9px; height: 9px; border-radius: 50%; background: #d8e2ec; transition: all .25s; }
.bep-ob-dot.on { background: #1f7a4d; transform: scale(1.25); }
.bep-ob-step-label { text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #7b8496; font-weight: 700; margin-bottom: 8px; }
.bep-ob-title { font-size: 25px; font-weight: 800; color: #123d72; text-align: center; margin: 0 0 10px; line-height: 1.2; }
.bep-ob-sub { text-align: center; color: #4a5a6d; font-size: 15px; line-height: 1.55; margin: 0 0 18px; }
.bep-ob-feats { display: grid; gap: 10px; margin-bottom: 20px; }
.bep-ob-feat { display: flex; gap: 12px; align-items: flex-start; background: #f6f9fc; border: 1px solid #e5edf5; border-radius: 14px; padding: 12px 14px; font-size: 14px; color: #2c3e50; line-height: 1.45; }
.bep-ob-feat .ico { font-size: 20px; line-height: 1.25; flex: 0 0 auto; }
.bep-ob-steps { display: grid; gap: 12px; margin-bottom: 18px; }
.bep-ob-istep { display: flex; gap: 13px; align-items: center; background: #f6fbf7; border: 1px solid #d9ead9; border-radius: 14px; padding: 12px 14px; }
.bep-ob-istep .num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #1f7a4d; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.bep-ob-istep .txt { flex: 1; font-size: 14px; color: #2c3e50; line-height: 1.45; }
.bep-ob-istep .illus { flex: 0 0 auto; width: 54px; }
.bep-ob-istep .illus svg { width: 100%; height: auto; display: block; }
.bep-ob-illus-pulse { animation: bepObPulse 1.6s ease-in-out infinite; }
@keyframes bepObPulse { 0%,100% { opacity: .9; } 50% { opacity: .2; } }
.bep-ob-check { text-align: center; font-size: 52px; margin-bottom: 4px; }
.bep-ob-btn { display: block; width: 100%; border: none; cursor: pointer; background: linear-gradient(135deg,#1f7a4d,#2e9e63); color: #fff; font-size: 16.5px; font-weight: 800; padding: 15px 18px; border-radius: 14px; box-shadow: 0 8px 22px rgba(31,122,77,.35); transition: transform .15s ease, box-shadow .15s ease; }
.bep-ob-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31,122,77,.42); }
.bep-ob-btn:active { transform: translateY(0); }
.bep-ob-btn:disabled { opacity: .6; cursor: wait; }
.bep-ob-btn.secondary { background: #eef3f8; color: #123d72; box-shadow: none; margin-top: 10px; font-weight: 700; }
.bep-ob-note { text-align: center; font-size: 12.5px; color: #8492a5; margin-top: 14px; line-height: 1.5; }
/* Banner installazione persistente */
.bep-ib { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 99998; background: #123d72; color: #fff; border-radius: 16px; padding: 13px 15px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 34px rgba(10,25,45,.4); animation: bepIbUp .4s cubic-bezier(.2,.9,.3,1.15); }
@keyframes bepIbUp { from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; } }
.bep-ib .txt { flex: 1; font-size: 13px; line-height: 1.4; }
.bep-ib .txt strong { display: block; font-size: 14px; }
.bep-ib button.act { flex: 0 0 auto; background: #1f7a4d; color: #fff; border: none; border-radius: 10px; padding: 9px 14px; font-weight: 800; font-size: 13px; cursor: pointer; }
.bep-ib button.x { flex: 0 0 auto; background: transparent; color: #b8c6d9; border: none; font-size: 17px; cursor: pointer; padding: 4px 6px; }
.bep-ib button.never { display: block; margin-top: 5px; background: none; border: none; padding: 0; color: #9fb3cd; font-size: 11.5px; text-decoration: underline; cursor: pointer; text-align: left; }
@media (min-width: 640px) {
  .bep-ib { left: 50%; right: auto; margin-left: -245px; width: 490px; bottom: 18px; }
}

/* [NUOVA SCHERMATA INSTALLAZIONE] Card passi grandi e leggibili (iOS ⋯ → Condividi → Home) */
.bep-ins { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 6px; text-align: left; }
.bep-ins-card { max-height: 92vh; overflow-y: auto; }
.bep-ins-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.bep-ins-ico { font-size: 30px; }
.bep-ins-sub { color: #64748b; font-size: 12.5px; margin-top: 2px; }
.bep-ins-step { display: flex; gap: 12px; align-items: center; background: #f7fafc; border: 1.5px solid #e2e9f1; border-radius: 14px; padding: 12px; }
.bep-ins-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #1f7a4d; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.bep-ins-illus { flex: 0 0 auto; width: 52px; }
.bep-ins-illus svg { width: 52px; height: auto; display: block; }
.bep-ins-title { font-weight: 800; color: #123d72; font-size: 14.5px; line-height: 1.35; }
.bep-ins-desc { font-size: 13px; color: #475569; line-height: 1.5; margin-top: 3px; }
