@media (max-width: 760px) {
  .header:has(.desktop-download) {
    height: auto;
    min-height: 68px;
    padding-block: 14px;
  }

  .header:has(.desktop-download) .header-actions {
    margin-top: 6px;
  }
}

.desktop-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.desktop-download-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#download-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 1px solid #dce2d8;
  border-radius: 16px;
  background: #f7f8f2;
  color: #172c25;
  box-shadow: 0 24px 80px #10261b33;
}

#download-dialog::backdrop {
  background: #0d211a73;
  backdrop-filter: blur(3px);
}

.download-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 0;
}

.download-dialog-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.download-dialog-close {
  width: 34px;
  height: 34px;
  border: 1px solid #dce2d8;
  border-radius: 8px;
  background: #fff;
  color: #69766d;
  font-size: 22px;
  line-height: 1;
}

.download-dialog-close:hover {
  color: #172c25;
  border-color: #b9c7b6;
}

.download-dialog-body {
  padding: 16px 22px 4px;
}

.download-dialog-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.download-dialog-note {
  margin: 8px 0 0;
  color: #69766d;
  font-size: 13px;
  line-height: 1.8;
}

.download-dialog-actions {
  display: flex;
  justify-content: flex-end;
  padding: 14px 22px 22px;
}

.download-dialog-ok {
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 8px;
  background: #172c25;
  color: #fff;
  font-weight: 650;
}

.download-dialog-ok:hover {
  background: #205a48;
}
