.field-share-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #cbdcce;
  border-radius: 13px;
  background: #e8f1e7;
  color: #285739;
  font-weight: 650;
  min-height: 44px;
}
.field-share-button svg {
  width: 20px;
  height: 20px;
}
.field-export-dialog {
  width: min(500px, calc(100vw - 24px));
  max-height: calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: auto;
  padding: 22px;
  border: 1px solid #d7e3d9;
  border-radius: 24px;
  background: #f9fbf7;
  color: #243c2c;
  box-sizing: border-box;
  box-shadow: 0 18px 70px #10271944;
}
.field-export-dialog::backdrop {
  background: #11261db3;
  backdrop-filter: blur(3px);
}
.field-export-dialog header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.field-export-dialog h2 {
  font-size: 25px;
  line-height: 1.2;
  margin: 0;
}
.field-export-dialog header p {
  font-size: 13px;
  margin: 5px 0 0;
  color: #617366;
  overflow-wrap: anywhere;
}
.field-export-dialog header > button {
  margin-left: auto;
  align-self: flex-start;
  border: 0;
  border-radius: 12px;
  background: #eaf0e8;
  min-width: 42px;
  min-height: 42px;
  font-size: 24px;
  color: #355c41;
}
.field-export-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e1eddc;
  border-radius: 16px;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: #356844;
}
.field-export-symbol svg {
  width: 26px;
  height: 26px;
}
.field-export-scope {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}
.field-export-scope select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #cddacf;
  border-radius: 12px;
  background: white;
  font-size: 16px;
  color: #274632;
}
.field-export-dialog fieldset {
  border: 0;
  padding: 0;
  margin: 18px 0;
}
.field-export-dialog legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.field-export-format {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid #dce5db;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.field-export-format:has(input:checked) {
  border-color: #4b805a;
  background: #eaf3e5;
  box-shadow: inset 0 0 0 1px #4b805a;
}
.field-export-format input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: #356c45;
  margin: 0;
}
.field-export-format strong {
  display: block;
  font-size: 15px;
}
.field-export-format small {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #5a6b5f;
  margin-top: 3px;
}
.field-export-preview {
  display: grid;
  gap: 4px;
  border-radius: 12px;
  background: #edf2eb;
  padding: 12px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.field-export-preview span {
  color: #5d7063;
}
.field-export-preview:empty {
  display: none;
}
.field-export-help {
  font-size: 12px;
  color: #65736a;
  line-height: 1.5;
  margin: 12px 0;
}
.field-export-status {
  font-size: 13px;
  line-height: 1.5;
  color: #36583e;
  overflow-wrap: anywhere;
}
.field-export-status:empty {
  display: none;
}
.field-export-dialog footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.field-export-dialog footer button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 13px;
  min-height: 48px;
  padding: 10px;
  font-size: 14px;
  font-weight: 650;
}
.field-export-dialog footer .primary {
  background: #295c3b;
  color: white;
  border: 0;
}
.field-export-dialog footer .secondary {
  background: #e8efe5;
  color: #315c3d;
  border: 1px solid #d9e3d4;
}
.field-export-dialog footer svg {
  width: 20px;
  height: 20px;
}
.field-export-dialog button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 420px) {
  .field-export-dialog {
    padding: 16px;
    border-radius: 20px;
  }
  .field-export-dialog h2 {
    font-size: 23px;
  }
  .field-export-dialog footer button {
    font-size: 13px;
  }
}
.field-export-dialog footer {
  position: sticky;
  bottom: -22px;
  background: #f9fbf7;
  padding: 12px 0 16px;
  margin-bottom: -16px;
  box-shadow: 0 -8px 12px #f9fbf7;
}
@media (max-width: 420px) {
  .field-export-dialog footer {
    bottom: -16px;
  }
}
