/* THEME OVERRIDE — scoped under .cp-postcontent .cp-sponsor-checklist */

.cp-postcontent .cp-sponsor-checklist {
  width: 80%;
  max-width: 80%;
  margin: 0 auto 2rem;
  color: #262626;
  font-size: 16px;
  line-height: 1.45;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .cp-postcontent .cp-sponsor-checklist {
    width: 100%;
    max-width: none;
  }
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__page-header {
  margin: 0 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__intro {
  margin: 0;
  padding: 1.2rem 1.35rem 1.15rem;
  background: linear-gradient(180deg, #faf6f0 0%, #f3ebe2 100%);
  border: 1px solid #c9b8a8;
  border-left: 4px solid #500000;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(80, 0, 0, 0.1);
  font-size: 1rem;
  line-height: 1.55;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__intro-title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700 !important;
  color: #500000 !important;
  letter-spacing: 0.01em;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__intro-list {
  margin: 0;
  padding-left: 1.35rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__intro-list li {
  margin: 0.45rem 0;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__intro-list li::marker {
  color: #500000;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__toolbar {
  margin: 0 0 1.5rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row--split {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row-main {
  flex: 1 1 12rem;
  min-width: 0;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__controls {
  flex: 0 0 auto;
  margin-left: auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row-hd .cp-sc__label {
  margin-bottom: 0;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row-hd .cp-sc__pill {
  margin-bottom: 0;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__guidance-text {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: #5e5e5e;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__section--developer {
  margin-top: 2.5rem;
  border-style: dashed;
  border-color: #b8a89a;
  box-shadow: none;
  background: #faf8f5;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__section--developer .cp-sc__section-hd {
  background: #f0ebe4;
  border-left-color: #8a6a6a;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__btn--danger {
  background: #6b1a1a !important;
  color: #fff !important;
  border: none !important;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__title {
  margin: 0 0 0.25rem;
  font-size: 1.55rem;
  color: #500000 !important;
  font-weight: 700;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__subtitle {
  margin: 0.5rem 0 1.25rem;
  color: #5e5e5e;
  font-size: 0.95rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__meta,
.cp-postcontent .cp-sponsor-checklist .cp-sc__meta-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 1.2rem 1.35rem;
  background: #fffcfa;
  border: 1px solid #c9b8a8;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(80, 0, 0, 0.1);
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__meta > div,
.cp-postcontent .cp-sponsor-checklist .cp-sc__meta-strip > div {
  padding: 0.35rem 0.5rem;
  border-left: 3px solid rgba(80, 0, 0, 0.2);
  padding-left: 0.75rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__meta dt,
.cp-postcontent .cp-sponsor-checklist .cp-sc__meta-strip dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5e5e5e;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__meta dd,
.cp-postcontent .cp-sponsor-checklist .cp-sc__meta-strip dd {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #262626;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__progress label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__progress label span {
  font-weight: 400;
  color: #5e5e5e;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__bar {
  height: 8px;
  background: #e4d8cc;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__bar i {
  display: block;
  height: 100%;
  background: #1a6b3c;
  border-radius: 4px;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__section {
  margin: 0 0 2.25rem;
  border: 1px solid #c9b8a8;
  border-radius: 6px;
  overflow: hidden;
  background: #fffcfa;
  box-shadow: 0 2px 10px rgba(80, 0, 0, 0.08);
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__section-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(180deg, #f3ebe2 0%, #ebe2d6 100%);
  border-bottom: 2px solid #c9b8a8;
  border-left: 4px solid #500000;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__section-hd h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  color: #500000 !important;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__section-stat {
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a3f38;
  text-align: right;
  line-height: 1.35;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__section-bd {
  padding: 0.65rem 1.1rem 1rem;
  background: #fffcfa;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row {
  padding: 0.65rem 0;
  border-bottom: 1px solid #e8dfd4;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row:last-child {
  border-bottom: none;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row--mine {
  margin-left: -0.65rem;
  margin-right: -0.65rem;
  padding-left: calc(0.65rem + 3px);
  padding-right: 0.65rem;
  border-left: 3px solid #500000;
  background: #f8f2eb;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row--focus {
  background: #fff6e8;
  box-shadow: inset 0 0 0 2px #500000;
  border-radius: 4px;
  scroll-margin-top: 6rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row--done {
  margin-left: -0.65rem;
  margin-right: -0.65rem;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  background: #e8e3dc;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row--done .cp-sc__label {
  color: #5a534d;
  font-weight: 600;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row--done + .cp-sc__row--done {
  box-shadow: inset 0 1px 0 #ddd6cd;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row--mine.cp-sc__row--done {
  padding-left: calc(0.65rem + 3px);
  background: #e3ddd5;
  border-left-color: #9a8585;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row--mine + .cp-sc__row--mine {
  border-top: 1px solid #e8dfd4;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__label {
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.15rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__critical {
  color: #a31f1f;
  font-weight: 700;
  margin-left: 0.1em;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row-main .cp-sc__handbook-status,
.cp-postcontent .cp-sponsor-checklist .cp-sc__row-main .cp-sc__handbook-link,
.cp-postcontent .cp-sponsor-checklist .cp-sc__row-main .cp-sc__assignee,
.cp-postcontent .cp-sponsor-checklist .cp-sc__row-main .cp-sc__assignee-name {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row-main .cp-sc__handbook-link {
  margin-top: 0.25rem;
}


.cp-postcontent .cp-sponsor-checklist .cp-sc__pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__pill--yes { background: #d4edda; color: #1a6b3c; }
.cp-postcontent .cp-sponsor-checklist .cp-sc__pill--pending { background: #eee; color: #6b6b6b; }
.cp-postcontent .cp-sponsor-checklist .cp-sc__pill--no { background: #f8d7da; color: #a31f1f; }
.cp-postcontent .cp-sponsor-checklist .cp-sc__pill--na { background: #e8e8e8; color: #555; }

/* THEME OVERRIDE — postcontent often forces 13px on form fields */
.cp-postcontent .cp-sponsor-checklist select,
.cp-postcontent .cp-sponsor-checklist input[type="date"],
.cp-postcontent .cp-sponsor-checklist textarea {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__row-main select,
.cp-postcontent .cp-sponsor-checklist .cp-sc__row-main input[type="date"],
.cp-postcontent .cp-sponsor-checklist .cp-sc__row-main textarea {
  width: 100%;
  max-width: 24rem;
  margin: 0.2rem 0 0;
  padding: 0.45rem 0.55rem !important;
  border: 1px solid #bbb !important;
  border-radius: 3px;
  box-sizing: border-box;
}

/* Single-line notes; longer text scrolls inside */
.cp-postcontent .cp-sponsor-checklist .cp-sc__row-main textarea.cp-sc-notes {
  display: block;
  min-height: 0 !important;
  height: calc(1.35em + 0.9rem + 2px) !important;
  max-height: calc(1.35em + 0.9rem + 2px) !important;
  resize: none !important;
  overflow-x: hidden;
  overflow-y: auto;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__controls select,
.cp-postcontent .cp-sponsor-checklist .cp-sc__controls input[type="date"] {
  width: auto;
  min-width: 11rem;
  max-width: 18rem;
  margin: 0 !important;
  padding: 0.45rem 0.55rem !important;
  border: 1px solid #bbb !important;
  border-radius: 3px;
  box-sizing: border-box;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__yn {
  display: inline-flex;
  border: 1px solid #c9b8a8;
  border-radius: 4px;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 1px 3px rgba(80, 0, 0, 0.08);
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__yn .cp-sc-yn {
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700;
  border: none !important;
  background: #faf8f5 !important;
  color: #262626 !important;
  padding: 0.45rem 0.9rem !important;
  min-width: 3.1rem;
  cursor: pointer;
  border-right: 1px solid #c9b8a8 !important;
  min-height: 44px;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__yn .cp-sc-yn:last-child {
  border-right: none !important;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__yn .cp-sc-yn:hover {
  background: #f3ebe2 !important;
  color: #500000 !important;
  box-shadow: inset 0 0 0 1px #c9b8a8;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__yn .cp-sc-yn:focus-visible {
  outline: 2px solid #500000 !important;
  outline-offset: -2px;
  z-index: 1;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__yn .cp-sc-yn[aria-pressed="true"] {
  background: #500000 !important;
  color: #fff !important;
  box-shadow: none;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__yn .cp-sc-yn[aria-pressed="true"]:hover {
  background: #6b2020 !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__yn .cp-sc-yn[data-value="yes"]:hover:not([aria-pressed="true"]) {
  background: #e8f5ec !important;
  color: #1a6b3c !important;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__yn .cp-sc-yn[data-value="no"]:hover:not([aria-pressed="true"]) {
  background: #fce8ea !important;
  color: #a31f1f !important;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__yn .cp-sc-yn[data-value="na"]:hover:not([aria-pressed="true"]) {
  background: #f0f0f0 !important;
  color: #444 !important;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__btn,
.cp-postcontent .cp-sponsor-checklist .cp-sc__btn--ghost {
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700;
  padding: 0.4rem 0.8rem !important;
  margin: 0;
  border-radius: 3px;
  cursor: pointer;
  min-height: 42px;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__toolbar .cp-sc__btn {
  margin: 0;
  min-height: 44px;
  padding: 0.45rem 0.85rem !important;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__btn {
  background: #741f11 !important;
  color: #fff !important;
  border: none !important;
}

.cp-postcontent .cp-sponsor-checklist .cp-sc__btn--ghost {
  background: #fff !important;
  color: #741f11 !important;
  border: 1px solid #741f11 !important;
}

.cp-postcontent .cp-sc__message {
  padding: 0.75rem 0;
}