/* Vlastní e-mail kontaktu (src/views/contactMail.ts; the owner, 30. 11. 2026, as the messages of an acquisition in INTECHI CRM, its
   css/leads.css .lead-msg): the card E-maily under the form of a contact, the form folded, every message folded with its text */
html.sd .kmail .kmail-new > summary,
html.sd .kmail .kmail-msg > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
html.sd .kmail .kmail-msg {
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
html.sd .kmail .kmail-sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
html.sd .kmail .kmail-subj {
  overflow-wrap: anywhere;
}
html.sd .kmail .kmail-when {
  margin: 0;
  white-space: nowrap;
}
html.sd .kmail .kmail-body {
  gap: 8px;
  padding: 4px 0 8px;
}
html.sd .kmail .kmail-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 12px;
  margin: 0;
}
html.sd .kmail .kmail-meta dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
html.sd .kmail .kmail-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}
html.sd .kmail .kmail-text {
  margin: 0;
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
html.sd .kmail .kmail-btns {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
html.sd .kmail .kmail-form textarea {
  width: 100%;
  min-height: 160px;
  font: inherit;
}
@media (max-width: 640px) {
  html.sd .kmail .kmail-meta {
    grid-template-columns: 1fr;
  }
  html.sd .kmail .kmail-btns .btn {
    min-height: 44px;
  }
}
