.pd-button {
  background: var(--poductivity-accent-alt, #61dcd2);
  outline: none;
  font-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--pd-text-color, #ffffff);
  font-size: 0.9em;
  padding: 4px 8px;
  display: inline-block;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: none;
}
.pd-button.pd-button-small {
  font-size: 0.8em;
  padding: 2px 4px;
}
.pd-button.pd-button-large {
  padding: 8px 12px;
}

.pd-button-link {
  background: none;
  padding: 0;
  border: none;
  display: inline-block;
  width: auto;
  color: var(--poductivity-accent, #112bd1);
  cursor: pointer;
  font-size: inherit;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
poductivity-modal {
  display: none;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
poductivity-modal.pd-modal-absolute {
  position: absolute;
}
poductivity-modal.pd-modal-show {
  display: flex;
}

.pd-modal {
  position: absolute;
  width: 95%;
  max-width: 600px;
  max-height: min(600px, 85vh);
  background: #fff;
  font-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 9999999;
}
.pd-modal-fill .pd-modal {
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: none;
  border-radius: 0;
}
.pd-modal .pd-modal-close-button {
  position: absolute;
  top: 4px;
  right: 4px;
  background: none;
  font-size: 1.5em;
  z-index: 10;
}
.pd-modal .pd-modal-close-button:hover svg, .pd-modal .pd-modal-close-button:focus svg {
  fill: var(--poductivity-accent-alt, #61dcd2);
}
.pd-modal .pd-modal-close-button svg {
  fill: var(--poductivity-accent, #112bd1);
  height: 1.8em;
  width: auto;
}
.pd-modal .pd-modal-loading {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 99;
}
.pd-modal .pd-modal-loading svg {
  animation: 1000ms linear infinite spin;
  height: 1.5em;
  width: 1.5em;
}
.pd-modal .pd-modal-loading svg path {
  fill: var(--poductivity-muted, #c0c3d9);
}
.pd-modal iframe.pd-modal-frame {
  display: block;
  border: none;
  background: transparent;
  width: 100%;
  max-height: min(600px, 85vh);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.pd-modal .pd-modal-slot {
  max-height: 100%;
  padding: 16px;
  overflow: auto;
  color: var(--pd-text-color, #292c3d);
  -webkit-overflow-scrolling: touch;
}
.pd-modal .pd-modal-slot:empty {
  display: none;
}