.lp { position: fixed; inset: 0; z-index: 9990; display: grid; place-items: center; padding: 16px; background: rgba(10,12,14,.55); backdrop-filter: blur(3px); animation: lpIn .25s ease; }
.lp[hidden] { display: none; }
.lp-box { position: relative; width: 100%; max-width: 440px; background: var(--card, #fff); color: var(--ink, #111); border-radius: 14px; padding: 30px 28px 22px; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: lpUp .3s cubic-bezier(.2,.9,.3,1.2); }
.lp-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted, #777); }
.lp-x:hover { background: rgba(0,0,0,.06); }
.lp-badge { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, #1f4d3a); background: color-mix(in srgb, var(--accent, #1f4d3a) 12%, transparent); padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.lp-box h2 { font-size: 26px; line-height: 1.12; margin: 0 0 8px; }
.lp-box > p { margin: 0 0 16px; color: var(--muted, #666); font-size: 15.5px; }
.lp-f { display: grid; gap: 9px; }
.lp-f input { min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-2, #ccc); border-radius: 8px; font: inherit; background: var(--field, #fff); color: inherit; }
.lp-f input:focus { outline: 2px solid var(--accent, #1f4d3a); outline-offset: 1px; }
.lp-f button { min-height: 50px; border: 0; border-radius: 8px; background: var(--accent, #1f4d3a); color: #fff; font: 700 16px/1 var(--body, inherit); letter-spacing: .03em; cursor: pointer; }
.lp-f button:disabled { opacity: .6; }
.lp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lp-err { margin: 0; color: var(--danger, #b3321b); font-size: 14px; }
.lp-small { margin: 12px 0 0; font-size: 12.5px; color: var(--muted, #777); text-align: center; }
.lp-done { text-align: center; padding: 20px 0 10px; font-size: 18px; font-weight: 700; }
.lp-done span { display: block; font-size: 40px; margin-bottom: 8px; }
@keyframes lpIn { from { opacity: 0; } } @keyframes lpUp { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@media (max-width: 520px) { .lp { align-items: end; padding: 0; } .lp-box { border-radius: 16px 16px 0 0; max-width: none; padding-bottom: calc(22px + env(safe-area-inset-bottom)); } }
