.desktop-download-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:28px 28px 22px;border:0;border-radius:24px;background:#fff;color:#25344b;box-shadow:0 24px 80px #0003;font:inherit}
.desktop-download-dialog::backdrop{background:#0007}.desktop-download-dialog [hidden]{display:none!important}
.desktop-download-dialog button,.desktop-download-dialog a{font:inherit;cursor:pointer}.dd-close{position:absolute;right:16px;top:16px;border:0;background:transparent;color:#25344b;font-size:26px!important;width:32px;height:32px;border-radius:8px}
.dd-heading{display:flex;align-items:center;gap:14px;padding-right:16px;margin-bottom:24px}.dd-heading img{flex-shrink:0;border:1px solid #e9f2f8;border-radius:15px}.dd-heading h2{font-size:20px;line-height:30px;font-weight:600}.dd-heading p{font-size:13px;color:#7a8494;margin-top:5px}.dd-heading p span{font-size:11px;border:1px solid #e7eef8;border-radius:4px;padding:0 5px;margin-left:5px;white-space:nowrap}
.dd-steps{display:flex;align-items:center;gap:12px;margin-bottom:18px;font-size:12px;color:#6d7b8e}.dd-steps span{display:flex;align-items:center;gap:7px;white-space:nowrap}.dd-steps i{display:grid;place-items:center;width:21px;height:21px;border:1px solid #e7eef8;border-radius:50%;font-style:normal}.dd-steps b{height:1px;flex:1;background:#e7eef8}.dd-step-one{color:#0a5aff}[data-state=checking] .dd-step-one i,[data-state=ready] .dd-step-two i{background:#0a5aff;color:#fff}[data-state=ready] .dd-step-two{color:#0a5aff}
.dd-status{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #e7eef8;border-radius:10px;background:#f6f9fe}.dd-status-copy{flex:1;min-width:0}.dd-status h3{font-size:14px;line-height:23px;font-weight:600}.dd-message{font-size:13px;line-height:21px;color:#6d7b8e;margin-top:5px}.dd-indicator{width:16px;height:16px;margin-top:3px;flex-shrink:0;border:1px solid #0a5aff;border-radius:50%;color:#0a5aff;font-size:11px;display:grid;place-items:center}[data-state=checking] .dd-indicator{border:2px solid #dbe8ff;border-top-color:#0a5aff;animation:dd-spin 1.2s linear infinite}[data-state=ready] .dd-indicator:after{content:'✓'}[data-state=error] .dd-indicator:after{content:'!'}
.dd-progress-meta,.dd-progress-caption{display:flex;justify-content:space-between;gap:8px;font-variant-numeric:tabular-nums}.dd-progress-meta{margin-top:24px;font-size:12px;color:#6d7b8e}.dd-progress-meta strong{font-size:14px;color:#33435a}.dd-track{height:6px;margin-top:10px;overflow:hidden;border-radius:4px;background:#e7eef8}.dd-track>span{display:block;height:100%;width:0;background:#0a5aff;border-radius:inherit;transition:width .2s ease}.dd-progress-caption{margin-top:8px;font-size:11px;color:#6d7b8e}.dd-detail{font-size:11px;line-height:18px;color:#7a8494;overflow-wrap:anywhere;margin-top:8px}
.dd-guide{display:flex;gap:12px;margin-top:24px}.dd-guide>span{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border:1px solid #edf1f6;border-radius:8px;color:#71839a}.dd-guide strong{font-size:14px;font-weight:500;color:#42536b}.dd-guide p{font-size:13px;line-height:21px;color:#7a8494;margin-top:4px}.dd-note{font-size:12px;color:#8994a5;margin:14px 0 0 44px;line-height:20px}.dd-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid #edf1f6}.dd-actions>*{padding:7px 14px;border:1px solid #d2d5da;border-radius:8px;background:#fff;color:#62676d;text-decoration:none;font-size:14px!important}.dd-actions .dd-primary,.dd-actions .dd-retry{background:#0a5aff;border-color:#0a5aff;color:#fff}.desktop-download-dialog :focus-visible{outline:3px solid #84b8ff;outline-offset:3px}
@keyframes dd-spin{to{transform:rotate(360deg)}}@media(max-width:480px){.desktop-download-dialog{padding:24px 20px}.dd-heading{gap:10px}.dd-heading img{width:52px;height:52px}.dd-heading h2{font-size:18px}.dd-heading p{font-size:12px}.dd-progress-caption{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){[data-state=checking] .dd-indicator{animation:none}.dd-track>span{transition:none}}
