[data-macos-only][hidden] { display: none !important; }
.install-dialog { box-sizing: border-box; width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 32px; overflow: auto; border: 0; border-radius: 20px; background: #1e1c1c; color: #f5f4f2; box-shadow: 0 24px 80px #0008; font-family: "Inter Tight Local", system-ui, sans-serif; }
.install-dialog::backdrop { background: #080707bd; }
.install-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.install-dialog h2 { margin: 0; font-size: clamp(28px, 5vw, 38px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.install-dialog p { margin: 0; color: #ccc8c5; font-size: 16px; line-height: 1.5; }
.install-panels { display: grid; gap: 16px; margin-top: 26px; }
.install-panel { padding: 22px; border: 1px solid #ffffff24; border-radius: 14px; }
.install-panel h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.3; font-weight: 600; }
.install-command { margin: 18px 0; padding: 16px; background: #141212; border-radius: 8px; overflow-x: auto; }
.install-command code { color: #c5c1bd; font: 14px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.install-dialog button { min-height: 44px; border: 0; border-radius: 12px; font: 600 16px/1.5 system-ui, sans-serif; cursor: pointer; }
.install-close { display: grid; place-items: center; width: 44px; flex: 0 0 44px; padding: 0; background: transparent; color: #f5f4f2; }
.install-close:hover { background: #ffffff14; }
.install-copy { display: block; width: 100%; padding: 12px 24px; background: #393634; color: #bfbab6; }
.install-copy:disabled { cursor: not-allowed; }
.install-dialog button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.install-dialog .install-pending { margin-top: 12px; font-size: 14px; }
.install-dialog .install-meta { margin-top: 22px; font-size: 13px; text-align: center; }
body.install-dialog-open { overflow: hidden; }
button[data-install-trigger] { cursor: pointer; }
@media (max-width: 480px) { .install-dialog { padding: 24px 20px; } .install-panel { padding: 18px; } }

/* One primary download action, with the existing platform gate. */
.hero-action.hero-action--single { width: min(360px, calc(100vw - 48px)); min-width: 0; height: 64px; padding: 18px 28px; gap: 14px; border-radius: 18px; background: #f5f4f2; color: #141212; border-color: #f5f4f2; font-size: 18px; }
:root[data-theme=dark] .hero-action.hero-action--single { background: #f5f4f2; color: #141212; border-color: #f5f4f2; }
:root[data-theme=dark] .hero-action.hero-action--single:hover { background: #dedbd7; border-color: #dedbd7; }
.hero-action--single > .static-download-icon { position: static; width: 24px; height: 24px; flex: 0 0 24px; transform: none; }
.hero-action--single .hero-action__copy { position: static; height: auto; transform: none; }
.install-dialog { width: min(760px, calc(100vw - 32px)); padding: 36px; }
.install-panel { position: relative; padding: 24px 24px 24px 74px; }
.install-step { position: absolute; left: 22px; top: 23px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #f5f4f2; color: #141212; font-size: 16px; font-weight: 600; }
.install-command { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; min-height: 64px; }
.install-command code { overflow: hidden; text-overflow: ellipsis; }
.install-command .install-copy { width: auto; flex: 0 0 auto; padding: 10px 16px; font-size: 14px; }
.install-dialog .install-meta { border-top: 1px solid #ffffff24; padding-top: 20px; text-align: left; }
@media (max-width: 520px) { .install-dialog { padding: 24px 20px; } .install-panel { padding: 20px; } .install-step { position: static; margin-bottom: 12px; } .install-command { flex-wrap: wrap; } .install-command .install-copy { width: 100%; } }
