/* PDF card checklist (js/shared/card-checklist.js): Email Digest blocks and
   the "Choose cards" export picker. */
.asc-card-checklist__head,
.asc-card-checklist__group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.asc-card-checklist__head {
  margin-bottom: 6px;
}

.asc-card-checklist__summary {
  color: var(--bs-secondary-color);
  font-size: 0.8125rem;
}

.asc-card-checklist__actions {
  display: inline-flex;
  gap: 4px;
}

.asc-card-checklist__group + .asc-card-checklist__group {
  margin-top: 8px;
}

.asc-card-checklist__group-title {
  font-weight: 600;
  font-size: 0.8125rem;
}

.asc-card-checklist__options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 2px 16px;
  margin-top: 2px;
}

.asc-card-checklist__option {
  margin-bottom: 0;
}

.asc-card-checklist.is-invalid .asc-card-checklist__summary {
  color: var(--asc-danger-text);
}

/* Export PDF split button (views/partials/pdf-export-split-button.ejs): the
   tooltip wrapper sits between the btn-group and the button, so join the
   corners by hand. */
.asc-pdf-export-split > .d-inline-flex > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* The caret's wrapper stretches with the group; its button fills it, so
   both halves are the export button's height. */
.asc-pdf-export-split > .dropdown {
  display: flex;
}

.asc-pdf-export-split > .dropdown > .dropdown-toggle-split {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
