.howto-modal{width:min(560px,calc(100vw - 24px));max-width:560px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #e2eaf2;border-radius:24px;padding:32px;background:linear-gradient(145deg,#f4fbff,#fff 45%,#fff5f9);color:#20202d;box-sizing:border-box;font-family:Montserrat,Arial,sans-serif;box-shadow:0 20px 70px #273b6440}
.howto-modal::backdrop{background:#1f294466;backdrop-filter:blur(3px)}
.howto-modal .howto-close{position:absolute;right:14px;top:12px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#edf3f8;color:#526075;font-size:26px;line-height:36px;cursor:pointer}
.howto-modal .howto-eyebrow{font-size:10px;letter-spacing:1.2px;font-weight:700;color:#408fba;margin:8px 28px 12px 0}
.howto-modal h2{font-size:26px;line-height:1.25;margin:0 0 12px;font-weight:700}
.howto-modal .howto-intro,.howto-modal .howto-note{font-size:12px;line-height:1.6;color:#67748a;margin:0 0 20px}
.howto-modal .howto-steps{counter-reset:howto;list-style:none;margin:0;padding:0;display:grid;gap:18px}
.howto-modal .howto-steps li{position:relative;padding-left:44px;min-height:32px}
.howto-modal .howto-steps li::before{counter-increment:howto;content:counter(howto);position:absolute;left:0;top:0;width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#e0f2fc;color:#238ec7;font-weight:700;font-size:14px}
.howto-modal .howto-steps li:nth-child(even)::before{background:#fce7f0;color:#d96492}
.howto-modal .howto-steps strong{font-size:14px;line-height:1.5;font-weight:600}
.howto-modal .howto-steps p{font-size:12px;line-height:1.65;margin:4px 0 0;color:#536079}
.howto-modal .howto-note{margin:24px 0 16px}
.howto-modal .howto-done{display:block;width:100%;min-height:46px;padding:12px 16px;border:0;border-radius:14px;background:#42a4d8;color:white;font:600 14px Montserrat,Arial,sans-serif;cursor:pointer}
.howto-modal button:focus-visible{outline:3px solid #235e94;outline-offset:3px}
@media(max-width:600px){.howto-modal{padding:24px 20px;max-height:calc(100dvh - 24px)}.howto-modal h2{font-size:22px}.howto-modal .howto-steps{gap:16px}}
