.ds24b-backdrop {
  position: fixed; inset: 0; z-index: 10040;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(7, 17, 31, .48);
  backdrop-filter: blur(8px);
}
.ds24b-sheet {
  width: min(680px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(16, 42, 67, .12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(7, 17, 31, .22);
  color: #0a0d12;
}
.ds24b-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid #e7ecf2;
}
.ds24b-eyebrow {
  margin-bottom: 5px; color: #667085; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.ds24b-title { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.ds24b-subtitle { margin: 6px 0 0; color: #667085; font-size: 13px; }
.ds24b-close {
  width: 36px; height: 36px; border: 0; border-radius: 10px; background: #f5f7fa;
  color: #344054; font-size: 24px; line-height: 1; cursor: pointer;
}
.ds24b-channels {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  padding: 18px 24px 0;
}
.ds24b-channel {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
  padding: 12px; border: 1px solid #d9e0e8; border-radius: 12px;
  background: #fff; color: #344054; text-align: left; cursor: pointer;
}
.ds24b-channel strong { font-size: 13px; }
.ds24b-channel span { color: #667085; font-size: 11px; line-height: 1.35; }
.ds24b-channel.is-active {
  border-color: #204b72; background: #f3f7fb; color: #102a43;
  box-shadow: inset 0 0 0 1px #204b72;
}
.ds24b-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding: 20px 24px 0;
}
.ds24b-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ds24b-field:has(.ds24b-textarea) { grid-column: 1 / -1; }
.ds24b-label { color: #475467; font-size: 12px; font-weight: 700; }
.ds24b-input {
  width: 100%; box-sizing: border-box; border: 1px solid #d0d5dd; border-radius: 10px;
  padding: 10px 12px; background: #fff; color: #101828; font: inherit; font-size: 14px; outline: none;
}
.ds24b-input:focus { border-color: #204b72; box-shadow: 0 0 0 3px rgba(32, 75, 114, .10); }
.ds24b-textarea { min-height: 104px; resize: vertical; line-height: 1.45; }
.ds24b-artifacts { padding: 18px 24px 0; }
.ds24b-artifact-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ds24b-artifact {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid #d9e0e8; border-radius: 999px; padding: 8px 11px;
  background: #fff; color: #344054; cursor: pointer; font-size: 12px;
}
.ds24b-artifact strong { color: #102a43; font-size: 11px; letter-spacing: .03em; }
.ds24b-artifact:disabled { opacity: .5; cursor: not-allowed; }
.ds24b-empty { color: #667085; font-size: 12px; }
.ds24b-truth {
  margin: 18px 24px 0; padding: 12px 14px; border-radius: 10px;
  background: #f5f7fa; color: #475467; font-size: 12px; line-height: 1.45;
}
.ds24b-actions {
  display: flex; justify-content: flex-end; gap: 10px; padding: 20px 24px 24px;
}
.ds24b-btn {
  border: 0; border-radius: 10px; padding: 10px 16px; font: inherit; font-size: 13px;
  font-weight: 700; cursor: pointer;
}
.ds24b-btn--secondary { background: #eef2f6; color: #344054; }
.ds24b-btn--primary { background: #07111f; color: #fff; }
@media (max-width: 680px) {
  .ds24b-backdrop { align-items: end; padding: 0; }
  .ds24b-sheet { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
  .ds24b-channels { grid-template-columns: 1fr 1fr; }
  .ds24b-form { grid-template-columns: 1fr; }
  .ds24b-field:has(.ds24b-textarea) { grid-column: auto; }
  .ds24b-actions { position: sticky; bottom: 0; background: #fff; border-top: 1px solid #e7ecf2; }
  .ds24b-btn { flex: 1; }
}
