.cp-content {
  --content-navy: #102a43;
  --content-blue: #2563eb;
  --content-line: #dbe5ef;
  --content-muted: #64748b;
  color: var(--content-navy);
}

.content-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.content-filter {
  background: #fff;
  border: 1px solid var(--content-line);
  border-radius: 999px;
  color: #52667a;
  font: inherit;
  padding: 8px 14px;
  white-space: nowrap;
}

.content-filter:hover,
.content-filter.is-active {
  background: #eaf2ff;
  border-color: #9bbcf8;
  color: #174ea6;
}

.content-pages { margin-bottom: 34px; }

.content-section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 0 13px;
}

.content-section-heading h2 {
  font-size: 19px;
  letter-spacing: -.02em;
  margin: 3px 0 0;
}

.content-section-heading > span { color: var(--content-muted); font-size: 13px; }
.content-page-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-page-card {
  background: #fff;
  border: 1px solid var(--content-line);
  border-radius: 14px;
  padding: 19px;
}

.content-page-card__top,
.content-page-card__bottom,
.content-row__meta,
.content-dialog__top,
.content-dialog__actions {
  align-items: center;
  display: flex;
}

.content-page-card__top { justify-content: space-between; }
.content-page-card__top > span:last-child { color: var(--content-muted); font-size: 12px; }
.content-page-card h3 { font-size: 18px; margin: 20px 0 7px; }
.content-page-card p { color: #617386; line-height: 1.6; margin: 0; min-height: 52px; }

.content-page-card__bottom {
  border-top: 1px solid #e7edf3;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
}

.content-page-card__bottom span { color: var(--content-muted); font-size: 12px; }
.content-page-card__bottom button,
.content-row__action {
  background: transparent;
  border: 0;
  color: #1c61b9;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 0;
}

.content-list {
  background: #fff;
  border: 1px solid var(--content-line);
  border-radius: 14px;
  overflow: hidden;
}

.content-row {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 210px;
  padding: 18px 20px;
}

.content-row + .content-row { border-top: 1px solid #e7edf3; }
.content-row:hover { background: #f8fbff; }
.content-row__meta { color: var(--content-muted); font-size: 12px; gap: 9px; }
.content-channel { color: #2666b6; font-weight: 700; }
.content-row h3 { font-size: 15px; margin: 7px 0 5px; }
.content-row p { color: #6b7e90; font-size: 13px; line-height: 1.5; margin: 0; max-width: 780px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.content-row__side {
  align-items: end;
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr auto;
  justify-items: end;
}

.content-row__side .content-status { grid-column: 1; grid-row: 1; justify-self: start; }
.content-date { color: var(--content-muted); font-size: 12px; grid-column: 2; grid-row: 1; }
.content-row__action { grid-column: 1 / 3; }

.content-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 9px;
}

.content-status--published { background: #e6f6ee; color: #187049; }
.content-status--scheduled { background: #e9f1ff; color: #285fa9; }
.content-status--review { background: #fff3d6; color: #8a5b00; }
.content-status--draft { background: #eef1f5; color: #637083; }
.content-empty { background: #fff; border: 1px dashed #bdcddd; border-radius: 14px; color: var(--content-muted); padding: 38px; text-align: center; }

.content-dialog {
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(15, 38, 64, .27);
  color: var(--content-navy);
  max-height: min(760px, calc(100vh - 40px));
  max-width: calc(100vw - 32px);
  padding: 0;
  width: 650px;
}

.content-dialog::backdrop { background: rgba(10, 28, 48, .48); backdrop-filter: blur(2px); }
.content-editor { padding: 28px; }
.content-dialog__top { justify-content: space-between; margin-bottom: 26px; }
.content-dialog__eyebrow { color: #3976be; display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; margin-bottom: 5px; text-transform: uppercase; }
.content-dialog h2 { font-size: 24px; margin: 0; }

.content-dialog__close {
  background: #eff4f8;
  border: 0;
  border-radius: 50%;
  color: #52677a;
  font-size: 24px;
  height: 36px;
  line-height: 1;
  width: 36px;
}

.content-field { display: grid; gap: 7px; margin-bottom: 17px; }
.content-field > span { color: #40566b; font-size: 12px; font-weight: 700; }
.content-field-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }

.content-field input,
.content-field select,
.content-field textarea {
  background: #fbfdff;
  border: 1px solid #ccd9e5;
  border-radius: 9px;
  color: #18324a;
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}

.content-field textarea { line-height: 1.55; resize: vertical; }
.content-field input:focus,
.content-field select:focus,
.content-field textarea:focus { border-color: #5b8fd3; outline: 3px solid #e5effd; }
.content-editor__note { color: #78899a; font-size: 12px; margin: 0; }
.content-dialog__actions { gap: 9px; justify-content: flex-end; margin-top: 24px; }

.content-button {
  border: 1px solid #cbd8e5;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 15px;
}

.content-button--quiet { background: #fff; color: #315876; }
.content-button--primary { background: #175eb5; border-color: #175eb5; color: #fff; }

@media (max-width: 720px) {
  .content-page-grid { grid-template-columns: 1fr; }
  .content-row { align-items: start; gap: 14px; grid-template-columns: 1fr; }
  .content-row__side { grid-template-columns: 1fr auto; justify-items: start; }
  .content-row__action { justify-self: end; }
  .content-field-row { grid-template-columns: 1fr; }
  .content-dialog__actions { align-items: stretch; flex-direction: column; }
}

.content-reaction{padding:9px 12px;background:#eef6f4;border-radius:6px;color:#20594d;font-size:13px}.content-reaction small{display:block;margin-top:4px;color:#49695e;font-size:11px}
