.masthead-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.masthead-actions a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.pairing {
  display: flex;
  flex-direction: column;
}
.pairing > .pair-visual {
  align-self: flex-start;
}
.desktop-setup {
  margin: 8px 0 28px;
  padding: 24px;
  background: #edf4fb;
  border-radius: 20px;
}
.desktop-setup h2 {
  margin: 0 0 10px;
  font-size: 21px;
  color: #182b40;
}
.setup-caption {
  color: #5a6c7b;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 20px;
}
.platform-switch {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.platform-switch button {
  padding: 7px 16px;
  border-radius: 18px;
  background: transparent;
  color: #435b73;
  font-size: 13px;
}
.platform-switch button[aria-pressed="true"] {
  background: white;
  color: #135db6;
  box-shadow: 0 1px 3px #123b6414;
}
.download-button {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 12px;
  background: #135db6;
  color: white;
  font-weight: 600;
}
.download-button:hover {
  background: #104d96;
}
.download-button:focus-visible {
  outline: 3px solid #135db6;
  outline-offset: 4px;
}
#platform-note {
  margin: 10px 0 0;
  color: #5a6c7b;
  font-size: 12px;
}
#download-help {
  color: #182b40;
  font-size: 13px;
  line-height: 1.6;
  margin: 18px 0 0;
  overflow-wrap: anywhere;
}
.setup-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 0;
  margin: 18px 0 0;
  list-style-position: inside;
  font-size: 12px;
  color: #5a6c7b;
}
.setup-requirements {
  font-size: 12px;
  line-height: 1.7;
  color: #5a6c7b;
  margin: 18px 0 0;
}
.setup-requirements a {
  color: #135db6;
}
.secondary-setup {
  order: 2;
  margin-top: 28px;
}
#invite {
  margin: 12px 20px 0;
  padding: 11px;
  color: #135db6;
  background: #edf4fb;
  border-radius: 10px;
}
#invite-link {
  width: 100%;
  font-size: 14px;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.dialog-actions .primary {
  width: auto;
  flex: 1;
}
@media (max-width: 600px) {
  .masthead-actions {
    gap: 12px;
  }
  .masthead-actions a {
    font-size: 12px;
  }
  .desktop-setup {
    padding: 20px;
  }
}

#invite-qr {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 22px auto;
  image-rendering: pixelated;
}
#invite-expiry {
  font-size: 14px;
  line-height: 1.6;
}
.qr-private {
  font-size: 12px;
  color: #5a6c7b;
  margin: 12px 0 20px;
}
#invite-link {
  padding: 12px;
  border: 1px solid #bac9d6;
  border-radius: 9px;
  color: #435b73;
  background: #f8fafc;
}
