.download-dialog{box-sizing:border-box;width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:38px;border:1px solid #c7dcea;border-radius:20px;color:#102c58;background:#fff;box-shadow:0 28px 100px #061f4d40}
.download-dialog::backdrop{background:#071b39b8;backdrop-filter:blur(5px)}
.download-dialog[open]{animation:download-enter .18s ease-out}
.download-dialog .download-close{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#edf5fa;color:#345774;cursor:pointer}
.download-dialog svg{width:20px;height:20px;flex:none}
.download-dialog .download-symbol{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#d5f58b;color:#102c58;margin-bottom:25px;transform:rotate(-6deg)}
.download-dialog .download-symbol svg{width:28px;height:28px;transform:rotate(6deg)}
.download-dialog .kicker{display:block;font-size:10px;letter-spacing:.12em;color:#176a98}
.download-dialog h2{font:600 36px/1.1 Outfit,sans-serif;letter-spacing:-.035em;margin:13px 0 16px}
.download-dialog p{font-size:14px;line-height:1.65;margin:0 0 20px;color:#4d6881}
.download-dialog .download-format{display:inline-block;background:#eaf5fc;color:#176a98;border-radius:6px;padding:7px 11px;font-size:12px;font-weight:700;margin-bottom:24px}
.download-dialog label{display:block;font-size:13px;font-weight:700;margin-bottom:9px}
.download-dialog input{box-sizing:border-box;width:100%;font:inherit;font-size:16px;padding:14px;border:1px solid #b9cfdd;border-radius:8px;background:#fff;color:#102c58;margin-bottom:14px;min-width:0}
.download-dialog input:focus{outline:3px solid #92d8fd80;outline-offset:2px;border-color:#137aaf}
.download-dialog .button{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;box-sizing:border-box;border:0;cursor:pointer;min-height:48px;background:#102c58;color:white;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;border-radius:8px}
.download-dialog button:disabled{opacity:.6;cursor:wait}
.download-dialog .download-help{font-size:12px;text-align:center;margin:12px 0 0}
.download-dialog .download-privacy{font-size:11px;line-height:1.65;border-top:1px solid #deebf2;padding-top:18px;margin:20px 0 0}
.download-dialog .download-privacy a{color:#176a98;text-decoration:underline}
.download-dialog .download-error{color:#b13636;font-size:13px;margin:12px 0 0}
.download-dialog .download-error:empty{display:none}
.download-dialog .download-sent{font-size:13px;overflow-wrap:anywhere}
.download-dialog #download-code{font-size:25px;letter-spacing:.3em;text-align:center;font-variant-numeric:tabular-nums}
.download-code-actions{display:flex;gap:15px;justify-content:space-between;margin-top:16px}
.download-code-actions button{font:inherit;font-size:12px;color:#176a98;background:none;border:0;padding:5px 0;text-decoration:underline;cursor:pointer}
.export .member-download-note{font-size:13px;color:#102c58;font-weight:600;margin:20px 0 12px;display:flex;align-items:center;gap:8px}
.member-download-note svg{width:16px;height:16px;flex:none}
@keyframes download-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:540px){.download-dialog{padding:30px 24px}.download-dialog h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){.download-dialog[open]{animation:none}}
