.account-entry > .app-download-link {
  display: inline-flex;
  flex: none;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--sky-deep);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.account-entry > .app-download-link:hover {
  transform: translateY(-1px);
  border-color: var(--sky);
  background: var(--sky-pale);
}

.account-entry > .app-download-link:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.app-download-icon {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-download-label--short { display: none; }

.app-download-dialog {
  width: min(460px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(31, 108, 147, 0.22);
}

.app-download-dialog::backdrop {
  background: rgba(12, 31, 44, 0.48);
  backdrop-filter: blur(3px);
}

.app-download-dialog__content { padding: 25px; }
.app-download-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.app-download-dialog__eyebrow { margin: 0 0 6px; color: var(--sky-deep); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; }
.app-download-dialog h2 { margin: 0; color: var(--ink); font-size: 19px; font-weight: 750; letter-spacing: -0.025em; line-height: 1.35; }
.app-download-dialog__description { margin: 6px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }

.app-download-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
}

.app-download-close:hover { border-color: var(--sky); background: var(--sky-pale); color: var(--sky-deep); }
.app-download-close:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.app-download-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.app-download-choices { display: grid; gap: 9px; }

.app-download-choice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.app-download-choice:hover,
.app-download-choice:focus-visible {
  transform: translateY(-1px);
  border-color: var(--sky);
  background: var(--sky-wash);
}

.app-download-choice:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.app-download-choice__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: var(--sky-pale); color: var(--sky-deep); }
.app-download-choice__icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.app-download-choice__icon--phone svg { width: 27px; height: 27px; }
.app-download-choice__copy { display: grid; min-width: 0; gap: 4px; }
.app-download-choice__copy strong { color: var(--ink); font-size: 14px; font-weight: 730; line-height: 1.3; }
.app-download-choice__copy > span { overflow: hidden; color: var(--ink-soft); font-size: 11px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.app-download-choice__action { display: inline-flex; align-items: center; gap: 4px; color: var(--sky-deep); font-size: 11px; font-weight: 700; white-space: nowrap; }
.app-download-choice__action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 600px) {
  .account-entry > .app-download-link { min-height: 32px; padding-inline: 9px; }
  .app-download-label--full { display: none; }
  .app-download-label--short { display: inline; }
}

@media (max-width: 380px) {
  .app-download-dialog__content { padding: 19px; }
  .app-download-choice { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 9px; padding: 10px; }
  .app-download-choice__icon { width: 40px; height: 40px; }
  .app-download-choice__action { gap: 2px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .account-entry > .app-download-link,
  .app-download-choice { transition: none; }
  .account-entry > .app-download-link:hover,
  .app-download-choice:hover,
  .app-download-choice:focus-visible { transform: none; }
}
