.email-additional {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  color: var(--text);
}
.email-simple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.email-simple-provider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.email-simple-provider h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
.email-simple-provider > button {
  flex-shrink: 0;
  min-height: 46px;
}
@media (max-width: 1000px) {
  .email-simple-grid {
    grid-template-columns: 1fr;
  }
}
.email-additional-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.email-smtp-form {
  display: grid;
  gap: 18px;
  color: var(--text);
}
.email-smtp-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.email-smtp-form input,
.email-smtp-form select,
.mail-delivery-sender select {
  box-sizing: border-box;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line, #dce5f3);
  border-radius: 8px;
  background: var(--card, #fff);
  color: var(--text, #19334c);
  font-family: inherit;
  font-size: 15px;
  width: 100%;
}
.email-smtp-form select,
.mail-delivery-sender select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2365768b' stroke-width='1.8'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.mail-delivery-sender select {
  width: auto;
  max-width: 100%;
  flex: 1 1 230px;
}
.email-additional [hidden] {
  display: none !important;
}
.email-additional .email-local-inbox {
  justify-self: start;
}
:root[data-theme="dark"] .mail-delivery-sender {
  background: #1c2e45;
  color: #e8eef9;
  border-color: #3b4b64;
}
:root[data-theme="dark"] .mail-delivery a {
  color: #b5caff;
}
:root[data-theme="dark"] .mail-send-dialog pre {
  background: #132139;
  color: #e8eef9;
  border-color: #3b4b64;
}
@media (max-width: 600px) {
  .email-additional-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .mail-delivery-sender select {
    flex: auto;
    width: 100%;
  }
}
