/* Nexorat Live — la finestra «Pubblica la demo» (pannello ed editor) */
.nxl-pb-velo { position: fixed; inset: 0; z-index: 9800; background: rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; padding: 14px; animation: nxlPbVelo .2s ease-out; }
@keyframes nxlPbVelo { from { opacity: 0; } }
.nxl-pb-box {
  width: 100%; max-width: 540px; max-height: calc(100vh - 28px); overflow: auto; background: #fff; color: #1d1d1f; border-radius: 24px; padding: 26px 26px 20px;
  font: 400 16px/1.5 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif; letter-spacing: -.011em; text-align: left;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35); animation: nxlPbBox .26s cubic-bezier(.23, 1, .32, 1);
}
@keyframes nxlPbBox { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.nxl-pb-box h2 { margin: 0 0 8px; font: 700 26px/1.12 'Inter', -apple-system, sans-serif; letter-spacing: -.035em; color: #1d1d1f; text-transform: none; }
.nxl-pb-occhiello { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6e6e73; display: flex; align-items: center; gap: 8px; }
.nxl-pb-occhiello span { width: 6px; height: 6px; border-radius: 50%; background: #fb5b5b; }
.nxl-pb-intro { margin: 0 0 16px; color: #424245; }
.nxl-pb-modulo { display: grid; gap: 12px; }
.nxl-pb-modulo label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #1d1d1f; }
.nxl-pb-modulo label small { font-weight: 400; color: #6e6e73; }
.nxl-pb-modulo input[type=email], .nxl-pb-modulo input[type=text] {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #d2d2d7; border-radius: 12px; background: #fff; color: #1d1d1f;
  font: 400 16px 'Inter', -apple-system, sans-serif; letter-spacing: -.01em;
}
.nxl-pb-modulo input:focus { outline: none; border-color: #2d5da9; box-shadow: 0 0 0 3px rgba(122, 159, 217, .35); }
.nxl-pb-url { margin: -4px 0 0; font-size: 13.5px; color: #6e6e73; overflow-wrap: anywhere; }
.nxl-pb-url b { color: #2d5da9; }
.nxl-pb-modulo fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.nxl-pb-modulo legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.nxl-pb-scelta { display: flex !important; align-items: center; gap: 10px !important; min-height: 46px; padding: 10px 14px; border: 1px solid #d2d2d7; border-radius: 12px; cursor: pointer; font-weight: 500 !important; }
.nxl-pb-scelta:has(input:checked) { border-color: #1d1d1f; box-shadow: inset 0 0 0 1px #1d1d1f; background: #f5f5f7; }
.nxl-pb-scelta input { width: 18px; height: 18px; accent-color: #1d1d1f; margin: 0; }
.nxl-pb-sbagliato { border-color: #d70015 !important; box-shadow: 0 0 0 3px rgba(215, 0, 21, .15) !important; border-radius: 12px; }
.nxl-pb-nota { margin: 2px 0 0; font-size: 13px; color: #6e6e73; }
.nxl-pb-nota a { color: #2d5da9; }
.nxl-pb-errore { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff0f0; color: #b00012; font-size: 14px; font-weight: 500; }
.nxl-pb-tasti { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.nxl-pb-tasti button, .nxl-pb-azioni a, .nxl-pb-azioni button {
  min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 0; background: #f5f5f7; color: #1d1d1f; font: 600 15px 'Inter', sans-serif;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; letter-spacing: -.01em;
  transition: transform .16s cubic-bezier(.23, 1, .32, 1), background-color .2s;
}
.nxl-pb-tasti button:active, .nxl-pb-azioni a:active, .nxl-pb-azioni button:active { transform: scale(.97); }
.nxl-pb-box .nxl-pb-primario { background: #1d1d1f; color: #fff; }
.nxl-pb-box .nxl-pb-primario:hover { background: #000; }
.nxl-pb-box .nxl-pb-primario:disabled { opacity: .6; cursor: wait; }
.nxl-pb-link { display: block; margin: 6px 0 14px; padding: 14px 16px; border-radius: 14px; background: #eef3fb; color: #2d5da9; font-weight: 600; font-size: 17px; overflow-wrap: anywhere; text-decoration: none; }
.nxl-pb-azioni { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.nxl-pb-wa { background: #25d366 !important; color: #fff !important; }
@media (max-width: 520px) {
  .nxl-pb-box { padding: 22px 18px 16px; border-radius: 20px; }
  .nxl-pb-box h2 { font-size: 23px; }
  .nxl-pb-tasti button, .nxl-pb-azioni a, .nxl-pb-azioni button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .nxl-pb-velo, .nxl-pb-box { animation: none; } }
