.exports-dialog {
  box-sizing: border-box;
  width: min(720px, calc(100vw - 24px));
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  border: 1px solid #cadcd6;
  border-radius: 20px;
  background: #fbfcf8;
  color: #173c3b;
  box-shadow: 0 24px 70px #153f3933;
  font:
    16px/1.5 system-ui,
    sans-serif;
  overflow: auto;
}
.exports-dialog::backdrop {
  background: #0b302f99;
}
.exports-head {
  position: sticky;
  top: 0;
  background: #fbfcf8;
  border-bottom: 1px solid #dce7e1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px;
  z-index: 1;
}
.exports-head h2 {
  font-size: 1.25rem;
  margin: 0;
}
.exports-form,
.exports-output,
.exports-links {
  padding: 0 20px 20px;
  display: grid;
  gap: 16px;
}
.exports-status {
  padding: 0 20px;
  overflow-wrap: anywhere;
}
.exports-hint {
  margin: 0;
  font-size: 0.9rem;
  color: #44615a;
}
.exports-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.exports-field {
  display: grid;
  gap: 6px;
}
.exports-field input,
.exports-field select {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #8aa79c;
  border-radius: 8px;
  background: white;
  color: #173c3b;
  font: inherit;
}
.exports-field input[type="checkbox"] {
  width: 24px;
  min-height: 24px;
}
.exports-collections {
  border: 1px solid #cadcd6;
  border-radius: 12px;
  display: grid;
  gap: 6px;
  padding: 12px;
}
.exports-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.exports-check input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: #236c5d;
}
.exports-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #7a9e8b;
  border-radius: 12px;
  background: #e6efdf;
  color: #214b40;
  font: 600 1rem/1.3 system-ui;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.exports-button:focus-visible,
.exports-dialog input:focus-visible,
.exports-dialog select:focus-visible {
  outline: 3px solid #316dcb;
  outline-offset: 3px;
}
.exports-button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.exports-link {
  overflow-wrap: anywhere;
  border: 1px solid #cadcd6;
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 10px;
}
.exports-link p {
  margin: 0;
}
.exports-link a {
  color: #236c5d;
}
@media (max-width: 400px) {
  .exports-dates {
    grid-template-columns: 1fr;
  }
  .exports-form,
  .exports-output,
  .exports-links {
    padding-left: 14px;
    padding-right: 14px;
  }
  .exports-head {
    padding: 12px;
  }
  .exports-head h2 {
    font-size: 1.1rem;
  }
}
