.xbp-dialog {
  font:
    13px/1.7 Manrope,
    Arial,
    sans-serif;
  padding: 15px 8px;
  color: inherit;
  overflow: auto;
  max-height: 70vh;
}
.xbp-dialog h3 {
  font-size: 17px;
  margin: 22px 0 10px;
}
.xbp-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 14px 0;
  font-size: 12px;
  font-weight: 600;
}
.xbp-field input,
.xbp-field textarea,
.xbp-field select {
  border: 1px solid #bccddc;
  border-radius: 8px;
  background: #f6f9fc;
  color: #19314b;
  padding: 10px;
  font: inherit;
  max-width: 100%;
  min-width: 0;
}
.xbp-field input[type='checkbox'] {
  width: 19px;
  height: 19px;
}
.xbp-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bccddc;
  border-radius: 8px;
  background: #f7faff;
  color: #174f76;
  padding: 9px 13px;
  margin: 5px 8px 5px 0;
  font:
    600 12px/1.5 Manrope,
    Arial,
    sans-serif;
  cursor: pointer;
}
.xbp-button:hover {
  background: #e6f3fd;
  border-color: #218ed0;
}
.xbp-item {
  padding: 14px 0;
  border-bottom: 1px solid #d3deea;
  overflow-wrap: anywhere;
}
.xbp-secret {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #eff5fb;
  border: 1px solid #c4d4e2;
  padding: 18px;
  border-radius: 10px;
  color: #153c59;
  user-select: all;
}
.xbp-compose {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 12px 20px;
  border-top: 1px solid #c4d4e2;
  background: #f6faff;
}
.xbp-compose .xbp-field {
  flex: 1;
  min-width: 180px;
  margin: 0;
}
.xbp-login-code {
  margin: 15px 0;
  text-align: left;
}
.xbp-login-code .xbp-field {
  font-size: 11px;
}
.xbp-login-code input {
  width: 100%;
}
#xbp-tools {
  margin: 10px 8px;
  padding: 10px 7px;
  justify-content: center;
  white-space: normal;
  font-size: 10px;
  max-width: calc(100% - 16px);
}
html.dark-mode .xbp-field input,
html.dark-mode .xbp-field textarea,
html.dark-mode .xbp-field select,
html.dark-mode .xbp-secret,
html.dark-mode .xbp-compose {
  background: #142436;
  color: #dce7f2;
  border-color: #365066;
}
html.dark-mode .xbp-button {
  background: #193349;
  color: #b5e2ff;
  border-color: #35556d;
}
html.dark-mode .xbp-item {
  border-color: #365066;
}
@media (max-width: 480px) {
  .xbp-compose {
    padding: 14px;
    gap: 12px;
  }
  .xbp-dialog {
    padding: 8px 0;
  }
  .xbp-button {
    width: 100%;
    justify-content: center;
  }
  .xbp-compose .xbp-field {
    min-width: 100%;
  }
}
