.wn-app-install {
  box-sizing: border-box;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 1px solid #d6e1f0;
  border-radius: 20px;
  background: #fff;
  color: #152847;
  font: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.wn-app-install::backdrop { background: #15284780; }
.wn-app-install header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.wn-app-install h2 { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.wn-app-install button { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #d6e1f0; border-radius: 10px; background: #f5f8fc; color: #52637d; font: inherit; font-size: 26px; cursor: pointer; }
.wn-app-install .wn-install-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 14px; border: 1px solid #b8cbea; border-radius: 12px; background: #f3f7ff; color: #1643ad; font-size: 14px; line-height: 1.6; text-underline-offset: 3px; }
.wn-install-link > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.wn-app-install figure { margin: 24px 0 0; text-align: center; }
.wn-install-qr { box-sizing: content-box; width: 224px; height: 224px; max-width: calc(100% - 40px); margin: auto; padding: 20px; background: #fff; }
.wn-install-qr img, .wn-install-qr canvas { max-width: 100%; height: auto; margin: auto; }
.wn-app-install figcaption, .wn-app-install .wn-install-status { color: #52637d; font-size: 13px; line-height: 1.6; }
.wn-app-install figcaption { margin-top: 12px; }
.wn-app-install .wn-install-status { margin: 12px 0 0; text-align: center; }
.wn-app-install .wn-install-status:empty { display: none; }
.wn-app-install a:focus-visible, .wn-app-install button:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
html:has(.wn-app-install[open]) { overflow: hidden; }

.wn-downloads-section {scroll-margin-top:90px}
.wn-downloads-card {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:48px;padding:clamp(24px,5vw,56px);background:linear-gradient(135deg,#fff,#f0f8fc);border:1px solid #d6e1f0;border-radius:24px}
.wn-downloads-copy {min-width:0;max-width:650px}
.wn-downloads-copy .section-title {margin-top:12px}
.wn-downloads-copy .section-subtitle {margin:16px 0 24px;max-width:100%}
.wn-downloads-button {display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 20px;border-radius:12px;background:#1643ad;color:#fff;font-weight:600;text-decoration:none}
.wn-downloads-button:hover {background:#1d4ed8;color:#fff}
.wn-downloads-url {display:block;width:fit-content;max-width:100%;margin-top:14px;color:#1643ad;font-size:14px;line-height:1.6;overflow-wrap:anywhere;text-underline-offset:3px}
.wn-downloads-note,.wn-downloads-code figcaption,.wn-downloads-code .wn-install-status {font-size:13px;line-height:1.6;color:#52637d}
.wn-downloads-note {margin:16px 0 0}
.wn-downloads-code {min-width:0;margin:0;text-align:center;padding:16px;background:#fff;border:1px solid #e1ebf0;border-radius:20px}
.wn-downloads-code figcaption {margin-top:12px}
.wn-downloads-code .wn-install-status {max-width:264px;margin:8px auto 0}
.wn-downloads-code .wn-install-status:empty {display:none}
.wn-downloads-section a:focus-visible {outline:3px solid #2563eb;outline-offset:4px}
@media(max-width:760px){.wn-downloads-card{grid-template-columns:minmax(0,1fr);gap:28px}.wn-downloads-code{justify-self:center;max-width:100%;box-sizing:border-box}.wn-downloads-copy .section-title{font-size:clamp(26px,6vw,36px)}}
