/* Send Listy Core 0.721 — Add/Edit List Templates + Items canonical header + dark-mode completion.
 * Scope: editor catalog mode only. No global modal, Find & Add, provider, or data changes.
 */
.send-list-app .sl-modal.is-editor-catalog-modal .sl-modal-card{
  padding:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  background:#fff!important;
}
.send-list-app .sl-modal.is-editor-catalog-modal .sl-modal-card::after{display:none!important}
.send-list-app .sl-modal.is-editor-catalog-modal .sl-modal-card>[data-sl-modal-content]{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  width:100%!important;
  padding:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  border-radius:0 0 20px 20px!important;
}
.send-list-app .sl-editor-catalog-window-head{
  position:relative!important;
  flex:0 0 52px!important;
  width:100%!important;
  min-width:0!important;
  height:52px!important;
  margin:0!important;
  padding:0 9px!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) 34px!important;
  align-items:center!important;
  gap:10px!important;
  background:#fff!important;
  border-bottom:1px solid #edf2ee!important;
  border-radius:20px 20px 0 0!important;
  box-sizing:border-box!important;
  isolation:isolate!important;
  z-index:140!important;
}
.send-list-app .sl-editor-catalog-window-head [data-sl-modal-back],
.send-list-app[dir="rtl"] .sl-editor-catalog-window-head [data-sl-modal-back]{
  grid-column:1!important;
  grid-row:1!important;
  justify-self:start!important;
  align-self:center!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0!important;
}
.send-list-app .sl-editor-catalog-window-head #sl-modal-title{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:stretch!important;
  align-self:center!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#1e2c24!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.send-list-app .sl-editor-catalog-window-head .sl-modal-close,
.send-list-app[dir="rtl"] .sl-editor-catalog-window-head .sl-modal-close{
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:center!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0!important;
}
.send-list-app .sl-modal.is-editor-catalog-modal .sl-unified-editor-catalog{
  flex:1 1 auto!important;
  min-height:0!important;
  width:100%!important;
  padding:12px 14px 14px!important;
  gap:10px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
/* The old in-body title is intentionally removed by JS in 0.720. */
.send-list-app .sl-modal.is-editor-catalog-modal .sl-unified-editor-catalog>.sl-unified-search-title{display:none!important}

/* Dark-mode completion for this editor-only catalog surface. */
.send-list-app.sl-dark-mode .sl-modal.is-editor-catalog-modal .sl-modal-card,
.send-list-app.sl-dark-mode .sl-modal.is-editor-catalog-modal .sl-modal-card>[data-sl-modal-content],
.send-list-app.sl-dark-mode .sl-modal.is-editor-catalog-modal .sl-unified-editor-catalog,
.send-list-app.sl-dark-mode .sl-editor-catalog-window-head{
  background:#18222e!important;
  color:#edf2f7!important;
}
.send-list-app.sl-dark-mode .sl-editor-catalog-window-head{
  border-bottom-color:#354151!important;
}
.send-list-app.sl-dark-mode .sl-editor-catalog-window-head #sl-modal-title{color:#edf2f7!important}
.send-list-app.sl-dark-mode .sl-editor-catalog-window-head [data-sl-modal-back],
.send-list-app.sl-dark-mode .sl-editor-catalog-window-head .sl-modal-close{
  background:#22303b!important;
  border-color:#405063!important;
  color:#dce5eb!important;
  box-shadow:none!important;
}
.send-list-app.sl-dark-mode .sl-editor-catalog-window-head [data-sl-modal-back] svg{stroke:#dce5eb!important}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-modal-search{
  background:#111923!important;
  border-color:#405063!important;
}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-modal-search>span{color:#9eabb8!important}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-modal-search input{
  color:#edf2f7!important;
  background:transparent!important;
}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-modal-search input::placeholder{color:#8997a5!important}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-modal-search button{
  background:#22303b!important;
  border-color:#405063!important;
  color:#7bd37f!important;
}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-modal-search button svg circle{fill:#22303b!important}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-tabs button{
  background:#1d2732!important;
  color:#cbd5df!important;
  border-color:#3a4856!important;
}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-tabs button.is-active{
  background:#193023!important;
  color:#9be0a5!important;
  border-color:#4f9f60!important;
}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-template-category-chip,
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-template-category-arrow{
  background:#1d2732!important;
  color:#d6dee6!important;
  border-color:#3a4856!important;
  box-shadow:none!important;
}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-template-category-chip.is-active{
  background:#193023!important;
  color:#9be0a5!important;
  border-color:#4f9f60!important;
  box-shadow:none!important;
}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-result{
  background:#1b2530!important;
  color:#edf2f7!important;
  border-color:#354151!important;
}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-result:hover{background:#202c37!important;border-color:#4a5a69!important}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-result-copy strong{color:#f4f7f9!important}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-result-copy small{color:#a9b4c2!important}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-result-source{color:#7bd37f!important}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-result-icon{background:#22302a!important;color:#dbe7df!important}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-result-actions .sl-preview-button{
  background:#27323d!important;
  color:#edf2f7!important;
}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-preview{border-top-color:#354151!important;color:#dce5eb!important}
.send-list-app.sl-dark-mode .sl-unified-editor-catalog .sl-unified-editor-item-bulk{
  background:#18222e!important;
  border-color:#3a4856!important;
}
@media(max-width:650px){
  .send-list-app .sl-modal.is-editor-catalog-modal .sl-unified-editor-catalog{padding:10px 12px 12px!important}
  .send-list-app .sl-editor-catalog-window-head #sl-modal-title{font-size:14px!important}
}
