#appDownloadDialog { width: min(560px, calc(100% - 32px)); box-sizing: border-box; margin: auto; padding: 24px; border: 2px solid #111; border-radius: 8px; max-height: calc(100dvh - 32px); overflow: auto; color: #111; background: #fff; }
#appDownloadDialog::backdrop { background: rgb(0 0 0 / 50%); }
.download-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.download-dialog-header h2 { margin: 0; font-size: 22px; letter-spacing: 0; }
#closeAppDownload { flex: 0 0 40px; width: 40px; height: 40px; font-size: 26px; border: 0; background: transparent; cursor: pointer; }
.download-platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0; border-bottom: 1px solid #ccc; }
.download-platforms button { padding: 12px 4px; font: inherit; font-size: 14px; letter-spacing: 0; border: 0; border-bottom: 3px solid transparent; background: transparent; cursor: pointer; overflow-wrap: anywhere; }
.download-platforms [aria-selected="true"] { border-bottom-color: #16845d; font-weight: 700; }
#downloadPanel { min-height: 170px; line-height: 1.7; overflow-wrap: anywhere; }
#downloadPanel h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: 0; }
#downloadPanel p { margin: 8px 0 16px; }
.download-action { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid #111; border-radius: 4px; text-decoration: none; color: #fff; background: #111; font: inherit; cursor: pointer; box-sizing: border-box; }
.download-copy-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.download-copy-row input { min-width: 0; flex: 1; padding: 10px; font: inherit; border: 1px solid #bbb; border-radius: 4px; }
.download-copy-row button { width: 42px; height: 42px; flex-shrink: 0; cursor: pointer; background: #fff; border: 1px solid #bbb; border-radius: 4px; }
.download-copy-row svg { width: 20px; height: 20px; }
#downloadFeedback { min-height: 24px; font-size: 14px; margin: 12px 0 0; }
#appDownloadDialog button:focus-visible, #appDownloadDialog a:focus-visible { outline: 2px solid #16845d; outline-offset: 3px; }
