/* Campagne-engine, fullscreen controlekaart. Alles blijft onder .cpp-takeover. */

body.cpp-takeover-open {
  overflow: hidden;
}

.cpp-takeover {
  position: fixed;
  inset: 0;
  z-index: 2200;
  overflow-y: auto;
  background: #F7F7F6;
  color: #22303B;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.cpp-takeover,
.cpp-takeover * {
  box-sizing: border-box;
}

.cpp-takeover h1,
.cpp-takeover h2,
.cpp-takeover h3,
.cpp-takeover h4 {
  margin: 0;
  color: #17384F;
  font-family: var(--font-display);
}

.cpp-takeover p {
  margin: 0;
}

.cpp-wrap {
  width: 100%;
  max-width: 1150px;
  min-height: 100%;
  margin: 0 auto;
  padding: 30px 40px 90px;
}

.cpp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 18px;
  border: 1px solid #DFE2E5;
  border-radius: 9px;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  color: #4E5A64;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.cpp-btn:hover:not(:disabled) {
  background: #FAFAFA;
  color: #22303B;
}

.cpp-btn.is-primary {
  border-color: #D97B3D;
  background: #D97B3D;
  color: #FFFFFF;
  font-weight: 600;
}

.cpp-btn.is-primary:hover:not(:disabled) {
  border-color: #C46A2E;
  background: #C46A2E;
  color: #FFFFFF;
}

.cpp-btn.is-danger {
  border-color: #F0C8C5;
  background: #FFFFFF;
  color: #B42318;
}

.cpp-btn.is-danger:hover:not(:disabled) {
  border-color: #E8AAA5;
  background: #FFF6F5;
  color: #912018;
}

.cpp-btn.is-small {
  min-height: 31px;
  padding: 6px 13px;
  font-size: 12.5px;
}

.cpp-btn:disabled {
  cursor: default;
  opacity: .45;
}

.cpp-btn:focus-visible,
.cpp-back:focus-visible,
.cpp-text-link:focus-visible,
.cpp-picker-row:focus-visible,
.cpp-mini-ad:focus-visible,
.cpp-panel-close:focus-visible,
.cpp-arrow-button:focus-visible,
.cpp-segments button:focus-visible,
.cpp-suggestions button:focus-visible,
.cpp-search:focus-within,
.cpp-side-panel textarea:focus {
  outline: none;
  border-color: #D97B3D;
  box-shadow: 0 0 0 3px rgba(217, 123, 61, .12);
}

.cpp-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #8A939B;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
}

.cpp-back:hover {
  color: #22303B;
}

.cpp-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.cpp-page-head__copy {
  flex: 1;
  min-width: 0;
}

.cpp-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.cpp-title-row > div {
  min-width: 0;
}

.cpp-title-row h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
}

.cpp-title-row p {
  margin-top: 3px;
  color: #8A939B;
  font-size: 13px;
}

.cpp-head-actions,
.cpp-footer-actions,
.cpp-build-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cpp-head-actions {
  padding-top: 30px;
}

.cpp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 6px;
  background: #F2F3F4;
  color: #8A939B;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.cpp-chip i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: currentColor;
  animation: cppPulse 1.4s ease-in-out infinite;
}

.cpp-chip.is-green {
  background: #ECFDF5;
  color: #059669;
}

.cpp-chip.is-busy {
  background: #FFF3E6;
  color: #C2410C;
}

.cpp-chip.is-error {
  background: #FEF2F2;
  color: #B91C1C;
}

.cpp-chip.is-blue {
  background: #EFF6FF;
  color: #1E40AF;
}

.cpp-panelbox {
  border: 1px solid #E8EAEC;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}

.cpp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid #E8EAEC;
  border-radius: 9px;
  background: #FFFFFF;
  color: #AEB6BD;
}

.cpp-picker-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  margin-bottom: 5px;
}

.cpp-picker-count {
  color: #8A939B;
  font-size: 12.5px;
  white-space: nowrap;
}

.cpp-picker-note {
  margin: 0 0 12px !important;
  color: #8A939B;
  font-size: 12px;
}

.cpp-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #22303B;
  font-family: var(--font-body);
  font-size: 13.5px;
}

.cpp-search input::placeholder {
  color: #AEB6BD;
}

.cpp-picker-list {
  overflow-x: auto;
  border: 1px solid #E8EAEC;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}

.cpp-picker-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.cpp-picker-table th,
.cpp-picker-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #E8EAEC;
  text-align: left;
  vertical-align: middle;
}

.cpp-picker-table th {
  background: #FAFAF9;
  color: #8A939B;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cpp-picker-table th:first-child { width: 30%; }
.cpp-picker-table th:nth-child(2) { width: 22%; }
.cpp-picker-table th:nth-child(3) { width: 17%; }
.cpp-picker-table th:nth-child(4) { width: 110px; }
.cpp-picker-table th:last-child { width: 225px; }

.cpp-picker-row {
  cursor: pointer;
}

.cpp-picker-row:last-child td {
  border-bottom: 0;
}

.cpp-picker-row:hover {
  background: #FBFAF9;
}

.cpp-picker-row__name {
  overflow: hidden;
  color: #22303B;
  font-size: 13.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cpp-picker-row__action {
  text-align: right !important;
}

.cpp-picker-row__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.cpp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 32px;
  border: 1px solid #E8EAEC;
  border-radius: 12px;
  background: #FFFFFF;
  text-align: center;
}

.cpp-empty b {
  color: #22303B;
  font-size: 14px;
}

.cpp-empty span {
  margin-top: 4px;
  color: #8A939B;
  font-size: 12.5px;
}

.cpp-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  color: #8A939B;
  font-size: 13px;
}

.cpp-loading-dot {
  width: 10px;
  height: 10px;
  margin-bottom: 12px;
  border-radius: 99px;
  background: #D97B3D;
  animation: cppPulse 1.4s ease-in-out infinite;
}

.cpp-fatal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 600px;
  padding: 22px 24px;
}

.cpp-fatal__icon {
  display: inline-flex;
  color: #B91C1C;
}

.cpp-fatal h2 {
  font-size: 17px;
}

.cpp-fatal p {
  color: #8A939B;
  font-size: 13px;
  line-height: 1.55;
}

.cpp-context {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #E8EAEC;
  border-radius: 12px;
  background: #E8EAEC;
}

.cpp-context-cell {
  min-width: 0;
  padding: 12px 16px;
  background: #FFFFFF;
}

.cpp-context-cell span,
.cpp-context-cell b {
  display: block;
}

.cpp-context-cell span {
  margin-bottom: 3px;
  color: #AEB6BD;
  font-size: 11.5px;
}

.cpp-context-cell b {
  overflow: hidden;
  color: #22303B;
  font-size: 13.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cpp-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 20px;
}

.cpp-start-card {
  padding: 22px 24px;
}

.cpp-start-card h2 {
  margin-bottom: 4px;
  font-size: 16px;
}

.cpp-start-card > p {
  margin-bottom: 14px;
  color: #8A939B;
  font-size: 13px;
  line-height: 1.6;
}

.cpp-start-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
}

.cpp-start-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 99px;
  background: #FBF1E9;
  color: #9A5423;
  font-size: 11.5px;
  font-weight: 600;
}

.cpp-start-step b {
  display: block;
  color: #22303B;
  font-size: 13.5px;
  font-weight: 600;
}

.cpp-start-step p {
  color: #8A939B;
  font-size: 12.5px;
  line-height: 1.55;
}

.cpp-materials {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 12px 0 18px;
  padding: 11px 14px;
  border: 1px solid #E8EAEC;
  border-radius: 9px;
  background: #FAFAF9;
}

.cpp-material {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #4E5A64;
  font-size: 12.5px;
}

.cpp-material__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #8A939B;
}

.cpp-material.is-pass .cpp-material__mark {
  color: #059669;
}

.cpp-material.is-fail .cpp-material__mark,
.cpp-material.is-unknown .cpp-material__mark {
  color: #C2410C;
}

.cpp-material.is-loading .cpp-material__mark i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #D97B3D;
  animation: cppPulse 1.4s ease-in-out infinite;
}

.cpp-material b,
.cpp-material small {
  display: block;
}

.cpp-material b {
  font-weight: 500;
}

.cpp-material small {
  margin-top: 1px;
  color: #8A939B;
  font-size: 11px;
}

.cpp-trust-card {
  padding: 18px 20px;
}

.cpp-trust-card h3 {
  margin-bottom: 10px;
  font-size: 13.5px;
}

.cpp-trust-list {
  display: grid;
}

.cpp-trust-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: #4E5A64;
  font-size: 12.5px;
  line-height: 1.55;
}

.cpp-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  border-radius: 99px;
  background: #ECFDF5;
  color: #059669;
}

.cpp-trust-card > small {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #E8EAEC;
  color: #AEB6BD;
  font-size: 11.5px;
  line-height: 1.5;
}

.cpp-label {
  color: #AEB6BD;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cpp-build-shell {
  width: 100%;
  max-width: 640px;
}

.cpp-build-card {
  padding: 18px 22px;
}

.cpp-build-progress {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #F4D7C4;
  border-radius: 10px;
  background: #FFF8F3;
  color: #7C3A13;
}

.cpp-build-progress__indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 99px;
}

.cpp-build-progress.is-working .cpp-build-progress__indicator {
  border: 3px solid #F4D7C4;
  border-top-color: #D97B3D;
  animation: cppSpin .8s linear infinite;
}

.cpp-build-progress.is-working::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38%;
  height: 3px;
  border-radius: 99px;
  background: #D97B3D;
  content: '';
  animation: cppSweep 1.6s ease-in-out infinite;
}

.cpp-build-progress.is-ready {
  border-color: #A7F3D0;
  background: #ECFDF5;
  color: #047857;
}

.cpp-build-progress.is-ready .cpp-build-progress__indicator {
  background: #D1FAE5;
}

.cpp-build-progress__copy,
.cpp-build-progress__copy b,
.cpp-build-progress__copy small {
  display: block;
}

.cpp-build-progress__copy b {
  font-size: 13px;
  font-weight: 650;
}

.cpp-build-progress__copy small {
  margin-top: 2px;
  color: #8A5A3B;
  font-size: 11.5px;
  line-height: 1.45;
}

.cpp-build-progress.is-ready .cpp-build-progress__copy small {
  color: #4B806D;
}

.cpp-build-list {
  margin-top: 7px;
}

.cpp-build-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #F2F3F4;
  color: #8A939B;
  font-size: 13.5px;
}

.cpp-build-row:last-child {
  border-bottom: 0;
}

.cpp-build-row__state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px dashed #DFE2E5;
  border-radius: 99px;
}

.cpp-build-row.is-neutral .cpp-build-row__state i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #D97B3D;
  opacity: .35;
}

.cpp-build-row.is-working {
  color: #68747E;
}

.cpp-build-row.is-working .cpp-build-row__state {
  border-color: #F0CDB6;
  border-style: solid;
  background: #FFF8F3;
}

.cpp-build-row.is-working .cpp-build-row__state i {
  width: 8px;
  height: 8px;
  opacity: .55;
  animation: cppPulse 1.4s ease-in-out infinite;
}

.cpp-build-row.is-done {
  color: #4E5A64;
}

.cpp-build-row.is-done .cpp-build-row__state {
  border-color: transparent;
  background: #ECFDF5;
  color: #059669;
}

.cpp-build-row.is-working:nth-child(2) i { animation-delay: .12s; }
.cpp-build-row.is-working:nth-child(3) i { animation-delay: .24s; }
.cpp-build-row.is-working:nth-child(4) i { animation-delay: .36s; }
.cpp-build-row.is-working:nth-child(5) i { animation-delay: .48s; }
.cpp-build-row.is-working:nth-child(6) i { animation-delay: .60s; }
.cpp-build-row.is-working:nth-child(7) i { animation-delay: .72s; }

.cpp-inline-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid #FECACA;
  border-radius: 9px;
  background: #FEF2F2;
  color: #B91C1C;
}

.cpp-inline-error svg {
  flex-shrink: 0;
}

.cpp-inline-error b {
  display: block;
  font-size: 12.5px;
}

.cpp-inline-error p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
}

.cpp-build-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.cpp-build-footer p {
  color: #8A939B;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.cpp-summary-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 13px 18px;
  border: 1px solid #D6EFE3;
  border-radius: 12px;
  background: #ECFDF5;
}

.cpp-summary-bar.is-warning {
  border-color: #FED7AA;
  background: #FFF7ED;
}

.cpp-summary-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 99px;
  background: #059669;
  color: #FFFFFF;
}

.cpp-summary-bar.is-warning .cpp-summary-bar__icon {
  background: #C2410C;
}

.cpp-summary-bar__copy b,
.cpp-summary-bar__copy span {
  display: block;
}

.cpp-summary-bar__copy b {
  color: #065F46;
  font-size: 13.5px;
  font-weight: 600;
}

.cpp-summary-bar__copy span {
  color: #047857;
  font-size: 12.5px;
}

.cpp-summary-bar.is-warning .cpp-summary-bar__copy b {
  color: #9A3412;
}

.cpp-summary-bar.is-warning .cpp-summary-bar__copy span {
  color: #C2410C;
}

.cpp-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.cpp-control-card {
  padding: 16px 18px;
  border: 1px solid #E8EAEC;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}

.cpp-control-card.is-wide {
  grid-column: 1 / -1;
}

.cpp-control-card__head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.cpp-control-card__head > b {
  flex: 1;
  min-width: 0;
  color: #22303B;
  font-size: 14px;
  font-weight: 600;
}

.cpp-control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border-radius: 99px;
}

.cpp-control-icon.is-pass {
  background: #ECFDF5;
  color: #059669;
}

.cpp-control-icon.is-unknown {
  background: #FFF3E6;
  color: #C2410C;
}

.cpp-text-link {
  flex-shrink: 0;
  margin: 0;
  padding: 1px 2px;
  border: 0;
  background: transparent;
  color: #B5612E;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
}

.cpp-text-link:hover {
  color: #8F4C22;
  text-decoration: underline;
}

.cpp-control-card__evidence {
  margin: 8px 0 0 34px;
}

.cpp-control-card__evidence > p {
  color: #4E5A64;
  font-size: 13px;
  line-height: 1.6;
}

.cpp-mini-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 13px;
}

.cpp-mini-ad {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #E8EAEC;
  border-radius: 9px;
  background: #FFFFFF;
  cursor: pointer;
  text-align: left;
}

.cpp-mini-ad:hover {
  border-color: #D97B3D;
  box-shadow: 0 0 0 3px rgba(217, 123, 61, .1);
}

.cpp-mini-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(-45deg, #F1EEEA 0 10px, #ECE8E3 10px 20px);
}

.cpp-mini-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpp-mini-ad > b,
.cpp-mini-ad > small {
  display: block;
  overflow: hidden;
  padding-right: 10px;
  padding-left: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cpp-mini-hypothesis {
  display: block;
  overflow: hidden;
  margin: 8px 10px 0;
  color: #B45F2B;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cpp-mini-ad > b {
  padding-top: 5px;
  color: #22303B;
  font-size: 12px;
  font-weight: 600;
}

.cpp-mini-ad > small {
  padding-top: 2px;
  padding-bottom: 9px;
  color: #8A939B;
  font-size: 11px;
}

.cpp-preview-status {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 6px 8px;
  background: rgba(250, 250, 249, .94);
  color: #8A939B;
  font-size: 10px;
  line-height: 1.35;
}

.cpp-preview-status.is-error {
  background: rgba(254, 242, 242, .95);
  color: #B91C1C;
}

.cpp-evidence-link {
  margin-top: 8px !important;
  color: #8A939B !important;
  font-size: 12px !important;
}

.cpp-evidence-link .cpp-text-link {
  padding: 0;
  font-size: inherit;
}

.cpp-unavailable {
  margin-top: 7px !important;
  color: #8A939B !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.cpp-rule-summary {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 9px;
}

.cpp-rule-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #4E5A64;
  font-size: 12.5px;
}

.cpp-rule-line svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.cpp-rule-line.is-pass {
  color: #047857;
}

.cpp-rule-line.is-warning,
.cpp-rule-line.is-unknown {
  color: #9A3412;
}

.cpp-proposal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 15px 20px;
  border: 1px solid #E8EAEC;
  border-radius: 12px;
  background: #FFFFFF;
}

.cpp-proposal-footer > p {
  max-width: 610px;
  color: #8A939B;
  font-size: 12.5px;
  line-height: 1.55;
}

.cpp-proposal-footer > p b {
  color: #22303B;
  font-weight: 600;
}

.cpp-done {
  max-width: 560px;
  margin: 40px auto 0;
  text-align: center;
}

.cpp-done__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 99px;
  background: #ECFDF5;
  color: #059669;
}

.cpp-done h1 {
  margin-bottom: 8px;
  font-size: 24px;
}

.cpp-done > p {
  margin-bottom: 22px;
  color: #4E5A64;
  font-size: 13.5px;
  line-height: 1.65;
}

.cpp-done > p b {
  color: #22303B;
}

.cpp-done__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cpp-receipt,
.cpp-publish-receipt {
  overflow: hidden;
  border: 1px solid #E8EAEC;
  border-radius: 10px;
  background: #FFFFFF;
  text-align: left;
}

.cpp-receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 14px;
  border-bottom: 1px solid #F2F3F4;
  color: #4E5A64;
  font-size: 13px;
}

.cpp-receipt-row:last-child {
  border-bottom: 0;
}

.cpp-receipt-row b {
  color: #22303B;
  font-weight: 600;
  text-align: right;
}

.cpp-next-step {
  margin: 16px 0 22px;
  padding: 13px 16px;
  border: 1px solid #DBEAFE;
  border-radius: 10px;
  background: #EFF6FF;
  color: #1E40AF;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: left;
}

.cpp-panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 2210;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  background: rgba(13, 31, 51, .24);
}

.cpp-side-panel {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 460px;
  max-width: 92vw;
  height: 100%;
  overflow-y: auto;
  padding: 22px 26px;
  background: #FFFFFF;
  box-shadow: -16px 0 44px rgba(0, 0, 0, .16);
  animation: cppPanelSlide .22s ease;
}

.cpp-side-panel.is-wide {
  width: 680px;
}

.cpp-side-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cpp-side-panel__head h2 {
  flex: 1;
  font-size: 17px;
}

.cpp-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #DFE2E5;
  border-radius: 8px;
  background: #FFFFFF;
  color: #8A939B;
  cursor: pointer;
}

.cpp-panel-close:hover {
  background: #F2F3F4;
}

.cpp-panel-subtitle {
  color: #8A939B;
  font-size: 12.5px;
  line-height: 1.55;
}

.cpp-side-panel__body {
  flex: 1;
  min-height: 0;
}

.cpp-panel-footer,
.cpp-ad-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F2F3F4;
}

.cpp-ad-panel-content,
.cpp-source-list,
.cpp-rule-detail-list,
.cpp-adjust-content,
.cpp-publish-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cpp-feed-host {
  min-height: 250px;
}

.cpp-feed-card {
  overflow: hidden;
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid #E8EAEC;
  border-radius: 12px;
  background: #FFFFFF;
  transition: width .2s;
}

.cpp-feed-card.is-story {
  width: 240px;
}

.cpp-feed-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
}

.cpp-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 99px;
  background: #17384F;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.cpp-feed-head b,
.cpp-feed-head span {
  display: block;
}

.cpp-feed-head b {
  color: #22303B;
  font-size: 12.5px;
  font-weight: 600;
}

.cpp-feed-head span:not(.cpp-avatar) {
  color: #AEB6BD;
  font-size: 10.5px;
}

.cpp-feed-copy {
  padding: 0 13px 10px;
  color: #22303B;
  font-size: 12.5px;
  line-height: 1.5;
}

.cpp-ad-image {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(-45deg, #F1EEEA 0 10px, #ECE8E3 10px 20px);
}

.cpp-ad-image[data-ratio="4:5"] { aspect-ratio: 4 / 5; }
.cpp-ad-image[data-ratio="9:16"] { aspect-ratio: 9 / 16; }
.cpp-ad-image[data-ratio="1:1"] { aspect-ratio: 1 / 1; }

.cpp-ad-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cpp-feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-top: 1px solid #F2F3F4;
  background: #FAFAF9;
}

.cpp-feed-footer small,
.cpp-feed-footer b {
  display: block;
}

.cpp-feed-footer small {
  color: #AEB6BD;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cpp-feed-footer b {
  color: #22303B;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.cpp-feed-cta {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: 7px;
  background: rgba(0, 0, 0, .07);
  color: #4E5A64;
  font-size: 11px;
  font-weight: 550;
}

.cpp-angle {
  color: #22303B;
  font-size: 15px;
  font-weight: 600;
}

.cpp-segments {
  display: inline-flex;
  align-self: flex-start;
  gap: 2px;
  padding: 2px;
  border-radius: 8px;
  background: #F2F3F4;
}

.cpp-segments button {
  padding: 5px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #8A939B;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
}

.cpp-segments button.is-active {
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  color: #22303B;
}

.cpp-why {
  padding: 10px 12px;
  border: 1px solid #E8EAEC;
  border-radius: 9px;
  background: #FAFAF9;
  color: #4E5A64;
  font-size: 12.5px;
  line-height: 1.6;
}

.cpp-why b {
  color: #22303B;
}

.cpp-strategy-brief,
.cpp-strategy-rejections {
  overflow: hidden;
  border: 1px solid #E8EAEC;
  border-radius: 11px;
  background: #FFFFFF;
}

.cpp-strategy-brief__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border-bottom: 1px solid #F0F1F2;
  background: #FAFAF9;
}

.cpp-strategy-brief__head span {
  color: #B45F2B;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cpp-strategy-brief__head b {
  color: #22303B;
  font-size: 13px;
  text-align: right;
}

.cpp-strategy-brief dl {
  margin: 0;
}

.cpp-strategy-row {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 14px;
  padding: 9px 13px;
  border-bottom: 1px solid #F2F3F4;
}

.cpp-strategy-row:last-child {
  border-bottom: 0;
}

.cpp-strategy-row dt,
.cpp-strategy-row dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.cpp-strategy-row dt {
  color: #8A939B;
  font-weight: 550;
}

.cpp-strategy-row dd {
  color: #33414C;
}

.cpp-strategy-row.is-hypothesis {
  background: #FFF8F2;
}

.cpp-strategy-row.is-hypothesis dd {
  color: #8F4C22;
}

.cpp-strategy-brief.is-legacy,
.cpp-strategy-rejections {
  padding: 11px 13px;
  color: #4E5A64;
  font-size: 12px;
  line-height: 1.55;
}

.cpp-strategy-brief.is-legacy p,
.cpp-strategy-rejections p {
  margin: 5px 0 0;
}

.cpp-strategy-rejections {
  border-color: #F2D6C4;
  background: #FFF8F2;
}

.cpp-strategy-rejections > b {
  color: #8F4C22;
}

.cpp-strategy-rejections p + p {
  padding-top: 7px;
  border-top: 1px solid #F5E2D5;
}

.cpp-panel-note {
  color: #AEB6BD;
  font-size: 11.5px;
  line-height: 1.5;
}

.cpp-ad-navigation > span:first-child {
  color: #8A939B;
  font-size: 12.5px;
  font-weight: 500;
}

.cpp-ad-dots {
  flex: 1;
  text-align: center;
}

.cpp-ad-dots span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 99px;
  background: #DFE2E5;
}

.cpp-ad-dots span.is-active {
  background: #D97B3D;
}

.cpp-arrow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #DFE2E5;
  border-radius: 99px;
  background: #FFFFFF;
  color: #4E5A64;
  cursor: pointer;
}

.cpp-arrow-button:hover {
  background: #F2F3F4;
}

.cpp-source-row,
.cpp-rule-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #F2F3F4;
}

.cpp-source-row:first-child,
.cpp-rule-detail:first-child {
  border-top: 0;
}

.cpp-source-tag {
  flex-shrink: 0;
  min-width: 76px;
  margin-top: 2px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #F2F3F4;
  color: #8A939B;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: center;
}

.cpp-source-row b,
.cpp-rule-detail b {
  display: block;
  color: #22303B;
  font-size: 13px;
  font-weight: 600;
}

.cpp-source-row p,
.cpp-rule-detail p {
  margin-top: 2px;
  color: #8A939B;
  font-size: 12px;
  line-height: 1.5;
}

.cpp-rule-detail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  border-radius: 99px;
  background: #FFF3E6;
  color: #C2410C;
}

.cpp-rule-detail.is-pass .cpp-rule-detail__icon {
  background: #ECFDF5;
  color: #059669;
}

.cpp-lead-preview {
  overflow: hidden;
  width: 320px;
  max-width: 100%;
  margin: 0 auto 15px;
  border: 1px solid #E8EAEC;
  border-radius: 12px;
  background: #FFFFFF;
}

.cpp-lead-preview__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 2px 13px 12px;
}

.cpp-lead-intro {
  color: #22303B;
  font-size: 13px;
  font-weight: 600;
}

.cpp-lead-fields {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cpp-lead-field {
  padding: 8px 11px;
  border: 1px solid #E8EAEC;
  border-radius: 8px;
}

.cpp-lead-field small,
.cpp-lead-field span {
  display: block;
}

.cpp-lead-field small {
  margin-bottom: 2px;
  color: #AEB6BD;
  font-size: 10.5px;
}

.cpp-lead-field span {
  color: #4E5A64;
  font-size: 12.5px;
}

.cpp-lead-submit {
  padding: 9px 0;
  border-radius: 8px;
  background: #17384F;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.cpp-side-panel textarea {
  width: 100%;
  min-height: 96px;
  padding: 11px 13px;
  resize: vertical;
  border: 1px solid #DFE2E5;
  border-radius: 9px;
  color: #22303B;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
}

.cpp-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cpp-suggestions button {
  padding: 4px 11px;
  border: 1px solid #E8EAEC;
  border-radius: 99px;
  background: #FFFFFF;
  color: #8A939B;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
}

.cpp-suggestions button:hover {
  border-color: #D97B3D;
  color: #9A5423;
}

.cpp-panel-error {
  padding: 9px 11px;
  border: 1px solid #FECACA;
  border-radius: 8px;
  background: #FEF2F2;
  color: #B91C1C;
  font-size: 12px;
  line-height: 1.5;
}

.cpp-paused-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #D6EFE3;
  border-radius: 10px;
  background: #ECFDF5;
}

.cpp-paused-guarantee > span {
  flex-shrink: 0;
  margin-top: 1px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #059669;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
}

.cpp-paused-guarantee p {
  color: #065F46;
  font-size: 12.5px;
  line-height: 1.5;
}

.cpp-paused-guarantee b {
  font-weight: 650;
}

.cpp-publish-content .cpp-label {
  margin-bottom: 7px;
}

.cpp-account-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cpp-account-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid #E8EAEC;
  border-radius: 10px;
  background: #FFFFFF;
  cursor: pointer;
}

.cpp-account-card.is-selected {
  border-color: #D97B3D;
  box-shadow: 0 0 0 3px rgba(217, 123, 61, .12);
}

.cpp-account-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cpp-radio-dot {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border: 1.5px solid #DFE2E5;
  border-radius: 99px;
}

.cpp-account-card.is-selected .cpp-radio-dot {
  border: 4.5px solid #D97B3D;
}

.cpp-account-card b,
.cpp-account-card small {
  display: block;
}

.cpp-account-card b {
  color: #22303B;
  font-size: 13px;
  font-weight: 600;
}

.cpp-account-card small {
  margin-top: 1px;
  color: #AEB6BD;
  font-size: 11.5px;
  line-height: 1.4;
}

.cpp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 2220;
  padding: 10px 18px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #17384F;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .25);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

@keyframes cppPulse {
  0%, 100% { opacity: .35; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes cppSpin {
  to { transform: rotate(360deg); }
}

@keyframes cppSweep {
  0% { transform: translateX(-110%); }
  50% { transform: translateX(82%); }
  100% { transform: translateX(265%); }
}

@keyframes cppPanelSlide {
  from { opacity: .4; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 980px) {
  .cpp-start-grid,
  .cpp-control-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cpp-control-card.is-wide {
    grid-column: auto;
  }

  .cpp-context {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .cpp-wrap {
    padding: 20px 16px 70px;
  }

  .cpp-page-head,
  .cpp-title-row,
  .cpp-proposal-footer,
  .cpp-build-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .cpp-head-actions {
    padding-top: 0;
  }

  .cpp-title-row .cpp-chip {
    align-self: flex-start;
  }

  .cpp-head-actions,
  .cpp-footer-actions,
  .cpp-build-actions {
    flex-wrap: wrap;
  }

  .cpp-head-actions .cpp-btn,
  .cpp-footer-actions .cpp-btn {
    flex: 1;
  }

  .cpp-search {
    width: 100%;
  }

  .cpp-picker-toolbar {
    flex-wrap: wrap;
  }

  .cpp-picker-count { width: 100%; }

  .cpp-mini-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cpp-control-card__evidence {
    margin-left: 0;
  }

  .cpp-summary-bar {
    align-items: flex-start;
  }

  .cpp-side-panel {
    width: 100%;
    max-width: 100%;
    padding: 20px 18px;
  }

  .cpp-strategy-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .cpp-toast {
    width: calc(100% - 32px);
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 460px) {
  .cpp-context {
    grid-template-columns: minmax(0, 1fr);
  }

  .cpp-title-row h1,
  .cpp-done h1 {
    font-size: 22px;
  }

  .cpp-control-card__head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .cpp-control-card__head > b {
    width: calc(100% - 34px);
  }

  .cpp-control-card__head .cpp-text-link {
    margin-left: 34px;
  }

  .cpp-receipt-row {
    flex-direction: column;
    gap: 3px;
  }

  .cpp-receipt-row b {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cpp-takeover *,
  .cpp-takeover *::before,
  .cpp-takeover *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
