/* ============================================================
 * campaign-create.css — Next-Gen Full-Screen Campaign Creation
 * 2-Column layout: Step Guide & Tracker | Configuration Canvas
 * Theme: Black, White, and Orange (#F34829)
 * Clean, high-end SaaS feel (similar to Mercury / Linear / Stripe)
 * ========================================================== */

.cc-overlay {
  position: fixed;
  inset: 0;
  background: #F8F9FA;
  z-index: 200;
  display: none;
  flex-direction: column;
  font-family: var(--sans);
  color: var(--ink);
}

.cc-overlay.show {
  display: flex;
  animation: ccfade .24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ccfade {
  from { opacity: 0; transform: scale(0.995); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Top Navigation Bar ── */
.cc-top {
  height: 60px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  z-index: 10;
}

.cc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line2);
  background: #fff;
  color: var(--ink2);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cc-back:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--soft);
}

.cc-top .sp {
  flex: 1;
}

.cc-top-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cc-top-meta .sub {
  font-size: 11px;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.cc-top-meta .title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1px;
}

.cc-btn {
  border: 1px solid var(--line2);
  background: #fff;
  color: var(--ink2);
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cc-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cc-btn-pri {
  border: 1px solid var(--nc);
  background: var(--nc);
  color: #fff;
  border-radius: 8px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.cc-btn-pri:hover {
  background: var(--ncd);
  border-color: var(--ncd);
  transform: translateY(-1px);
}

.cc-btn-pri:active {
  transform: translateY(0);
}

/* ── 2-Column Layout ── */
.cc-body {
  flex: 1;
  display: flex;
  min-height: 0;
}

/* Column 1: Step Guide & Side Panel */
.cc-steps {
  width: 280px;
  flex: none;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.cc-steps-h {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink3);
  text-transform: none;
  margin-bottom: 24px;
}

.cc-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-step-group {
  display: flex;
  flex-direction: column;
}

.cc-step {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cc-step:hover {
  background: var(--soft);
}

.cc-step.on {
  background: var(--soft);
}

/* Sub-steps nested list styling */
.cc-step-subs {
  list-style: none;
  margin: 4px 0 10px 38px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1.5px dashed var(--line2);
  padding-left: 14px;
}

.cc-substep {
  font-size: 12.5px;
  color: var(--ink3);
  cursor: pointer;
  padding: 2px 0;
  transition: all 0.15s ease;
  user-select: none;
  position: relative;
}

.cc-substep::before {
  content: '';
  position: absolute;
  left: -19.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line2);
  transition: all 0.15s ease;
}

.cc-substep:hover {
  color: var(--nc);
}

.cc-substep:hover::before {
  background: var(--nc);
  transform: translateY(-50%) scale(1.3);
}

.cc-substep.active {
  color: var(--ink);
  font-weight: 700;
}

.cc-substep.active::before {
  background: var(--nc);
  transform: translateY(-50%) scale(1.4);
}

.cc-step-dot {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--line2);
  background: #fff;
  color: var(--ink3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--mono);
  transition: all 0.15s ease;
}

.cc-step.on .cc-step-dot {
  border-color: var(--nc);
  background: var(--nc);
  color: #fff;
}

.cc-step.done .cc-step-dot {
  border-color: #10B981;
  background: #10B981;
  color: #fff;
}

.cc-step-tx {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 2px;
}

.cc-step-t {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink3);
  transition: color 0.15s ease;
}

.cc-step.on .cc-step-t, .cc-step.done .cc-step-t {
  color: var(--ink);
}

/* Sidebar Progress Tracker (Step 2 Specific) */
.cc-tracker-card {
  margin-top: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.cc-tracker-t {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  word-break: break-all;
}

.cc-tracker-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin-bottom: 14px;
}

.cc-tracker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink2);
}

.cc-tracker-chk {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--nc);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-none: 1;
}

.cc-tracker-prog-bg {
  height: 6px;
  background: var(--line2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.cc-tracker-prog-fg {
  height: 100%;
  width: 100%;
  background: var(--nc);
  border-radius: 3px;
}

.cc-tracker-prog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink2);
  margin-top: 6px;
}

/* Sidebar Footer Badge */
.cc-steps-foot {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
}

.cc-brand-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--soft);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink2);
}

.cc-brand-badge img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: contain;
}

/* Column 2: Configuration Canvas */
.cc-main {
  flex: 1;
  overflow-y: auto;
  padding: 40px 60px 64px;
  background: #F8F9FA;
}

.cc-main-inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.cc-head {
  margin-bottom: 28px;
}

.cc-head h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cc-head p {
  font-size: 13.5px;
  color: var(--ink2);
  margin-top: 6px;
  line-height: 1.5;
}

/* Sleek White Cards */
.cc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 30px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.cc-card-t {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-card-t svg {
  color: var(--nc);
}

.cc-card .fld:last-child {
  margin-bottom: 0;
}

/* Form Layout Elements */
.fld {
  margin-bottom: 20px;
}

.fld > label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.fld .hint {
  font-size: 11.5px;
  color: var(--ink3);
  margin-top: 5px;
  line-height: 1.5;
}

.inp, select.inp, textarea.inp {
  width: 100%;
  border: 1px solid var(--line2);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font-size: 13.5px;
  transition: all 0.12s ease;
  outline: none;
}

.inp:focus, select.inp:focus, textarea.inp:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.05);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Custom Radios & Side-by-Side Groups */
.cc-radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  align-items: center;
}

.cc-radio-lbl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  cursor: pointer;
  user-select: none;
}

.cc-radio-lbl input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line2);
  border-radius: 50%;
  outline: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
  cursor: pointer;
}

.cc-radio-lbl input[type="radio"]:checked {
  border-color: var(--nc);
  background: var(--nc);
}

.cc-radio-lbl input[type="radio"]:checked::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.cc-radio-lbl:hover input[type="radio"] {
  border-color: var(--ink);
}

/* Side-by-side Radio & Input layout */
.cc-bud-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.cc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.cc-input-wrap .pfx {
  position: absolute;
  left: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink3);
  pointer-events: none;
}

.cc-input-wrap .inp-pfx {
  padding-left: 24px;
}

.ai-sugg-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ol);
  border: 1px dashed var(--nc);
  color: var(--nc);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
  margin-left: 12px;
}

/* Beautiful Interactive Objective Cards */
.cc-obj {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cc-obj-c {
  border: 1.5px solid var(--line2);
  border-radius: 12px;
  padding: 18px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.cc-obj-c:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.cc-obj-c.on {
  border-color: var(--nc);
  background: var(--ol);
  box-shadow: 0 4px 12px rgba(243, 72, 41, 0.05);
}

.cc-obj-ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink2);
  margin-bottom: 12px;
  transition: all 0.15s ease;
}

.cc-obj-c.on .cc-obj-ic {
  background: var(--nc);
  color: #fff;
}

.cc-obj-t {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.cc-obj-d {
  font-size: 11.5px;
  color: var(--ink3);
  margin-top: 6px;
  line-height: 1.4;
  flex: 1;
}

/* ── Custom Guidelines ── */
.cc-guide {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin-top: 14px;
}

.cc-guide-t {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.cc-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.cc-guide-i {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink2);
}

.cc-guide-i svg {
  flex: none;
  color: #10B981; /* beautiful green for checklist */
}

/* ── Review Summary Cards ── */
.cc-rev {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01);
}

.cc-rev-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.cc-rev-h h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.cc-rev-h .ok {
  font-size: 10.5px;
  font-weight: 700;
  color: #047857;
  background: #E9FBF1;
  border-radius: 6px;
  padding: 2.5px 8px;
}

.cc-rev-h .sp {
  flex: 1;
}

.cc-rev-edit {
  border: none;
  background: none;
  color: var(--ink3);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.12s ease;
}

.cc-rev-edit:hover {
  color: var(--nc);
  background: var(--soft2);
}

.cc-rev-b {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.cc-rev-row .l {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink3);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.cc-rev-row .v {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

.cc-rev-row.full {
  grid-column: 1 / -1;
}

/* Demographics Video Player / Mockup */
.cc-vid {
  aspect-ratio: 16/9;
  border-radius: 10px;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  margin-top: 14px;
  overflow: hidden;
}

.cc-vid-screen {
  flex: 1;
  background: linear-gradient(135deg, #121212, #2c2c2c);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-vid-screen .play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cc-vid-screen .play-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}

.cc-vid-controls {
  height: 36px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
}

.cc-vid-timeline-bg {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.cc-vid-timeline-fg {
  width: 0%;
  height: 100%;
  background: var(--nc);
  border-radius: 2px;
}

/* Apps & Channels List */
.cc-channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  background: #fff;
}

.cc-channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.1s ease;
}

.cc-channel-item:hover {
  background: var(--soft);
}

.cc-channel-cb {
  accent-color: var(--nc);
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--line2);
  cursor: pointer;
  flex: none;
}

.cc-channel-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  padding: 2px;
  text-align: center;
  line-height: 1.1;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.cc-channel-info {
  min-width: 0;
  flex: 1;
}

.cc-channel-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-channel-reach {
  font-size: 10.5px;
  color: var(--ink3);
  margin-top: 1px;
}

/* Creative guidelines hollow circle indicators */
.cc-guide-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--line2);
  display: inline-block;
  flex: none;
}

.cc-guide-i {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink2);
}

.cc-guide-i span {
  font-weight: 500;
}

.cc-guide-i b {
  color: var(--ink);
  font-weight: 600;
}

/* ── Custom Datepicker ── */
.dpick {
  position: relative;
}

.dp-inp {
  cursor: pointer;
  padding-right: 34px;
}

.dp-ic {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink3);
  pointer-events: none;
  display: flex;
}

.dp-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: 252px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
  padding: 12px;
  display: none;
}

.dp-pop.show {
  display: block;
  animation: pop .14s ease;
}

.dp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dp-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.dp-nav {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line2);
  background: #fff;
  border-radius: 7px;
  color: var(--ink2);
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .12s, color .12s;
}

.dp-nav:hover {
  border-color: var(--ink2);
  color: var(--ink);
}

.dp-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}

.dp-dow span {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink3);
  font-family: var(--mono);
  padding: 4px 0;
}

.dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.dp-cell {
  height: 30px;
  border: none;
  background: none;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .1s, color .1s;
}

.dp-cell:hover:not(.empty) {
  background: var(--soft2);
}

.dp-cell.empty {
  cursor: default;
}

.dp-cell.sel {
  background: var(--nc);
  color: #fff;
  font-weight: 600;
}

/* ── Spec-aligned components ── */

.cc-obj-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
  .cc-obj-2 {
    grid-template-columns: 1fr;
  }
}

.cc-obj-intro {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cc-obj-intro-t {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.cc-obj-intro-d {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.6;
  margin: 0;
}

.cc-seg {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--line2);
  border-radius: 8px;
  overflow: hidden;
}

.cc-seg-btn {
  border: none;
  background: #fff;
  color: var(--ink2);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}

.cc-seg-btn + .cc-seg-btn {
  border-left: 1px solid var(--line2);
}

.cc-seg-btn.on {
  background: var(--ink);
  color: #fff;
}

.cc-seg-btn:hover:not(.on) {
  background: var(--soft);
}

.cc-constraint {
  background: #FFF8F6;
  border: 1px solid rgba(243, 72, 41, 0.35);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.55;
  margin-top: 16px;
}

.cc-input-wrap .sfx {
  position: absolute;
  right: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink3);
  pointer-events: none;
}

.cc-upload-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px dashed var(--line2);
  border-radius: 10px;
  padding: 20px 18px;
  cursor: pointer;
  background: var(--soft);
  transition: border-color 0.12s ease;
  font-size: 13px;
  color: var(--ink2);
}

.cc-upload-zone:hover {
  border-color: var(--ink);
}

/* Apps & Channels — card list */
.cc-ch-card {
  padding: 22px 24px 20px;
}

.cc-ch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cc-ch-header .cc-card-t {
  margin-bottom: 0;
}

.cc-ch-badge {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

.cc-ch-badge-n {
  color: var(--nc);
  font-weight: 700;
}

.cc-ch-search-wrap {
  position: relative;
  margin-bottom: 14px;
}

.cc-ch-search-ic {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink3);
  pointer-events: none;
}

.cc-ch-search {
  padding-left: 38px !important;
  border-radius: 10px !important;
  background: var(--soft) !important;
  border-color: transparent !important;
}

.cc-ch-search:focus {
  background: #fff !important;
  border-color: var(--ink) !important;
}

.cc-ch-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.cc-ch-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cc-ch-filter-label {
  flex: none;
  width: 56px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
}

.cc-ch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.cc-ch-pills-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.cc-ch-pills-scroll::-webkit-scrollbar {
  display: none;
}

.cc-ch-pill {
  border: 1px solid var(--line2);
  background: #fff;
  color: var(--ink2);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.12s ease;
  font-family: inherit;
}

.cc-ch-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cc-ch-pill.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.cc-ch-list-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 0 2px;
}

.cc-ch-link {
  border: none;
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--nc);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.cc-ch-link:hover {
  text-decoration: underline;
}

.cc-ch-list-dot {
  color: var(--line2);
  font-size: 12px;
}

.cc-ch-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: none;
  border-radius: 12px;
  overflow: auto;
  height: 400px;
  min-height: 400px;
  background: var(--soft);
}

.cc-ch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.cc-ch-row:hover {
  border-color: var(--line2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.cc-ch-row.selected {
  background: #FFF8F6;
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cc-ch-row.selected:hover {
  background: #FFF3EF;
  border-color: transparent;
}

.cc-ch-row:active {
  transform: scale(0.995);
}

.cc-ch-logo-wrap {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
}

.cc-ch-logo-fallback[hidden] {
  display: none !important;
}

.cc-ch-mark {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--nc);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cc-ch-logo,
.cc-ch-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.cc-ch-icon {
  display: block;
  object-fit: cover;
  background: var(--soft);
}

.cc-ch-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cc-ch-logo-fallback {
  background: var(--ink3);
}

.cc-ch-main {
  flex: 1;
  min-width: 0;
}

.cc-ch-name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-ch-meta {
  display: block;
  font-size: 11.5px;
  color: var(--ink3);
  margin-top: 2px;
}

.cc-ch-row .cc-ch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.cc-ch-row .cc-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--soft);
  border: none;
  color: var(--ink2);
}

.cc-tag-more {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink3);
}

.cc-ch-reach {
  flex: none;
  text-align: right;
  min-width: 72px;
}

.cc-ch-reach-val {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cc-ch-reach-lbl {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink3);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cc-ch-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 40px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--ink3);
  background: #fff;
  border-radius: 10px;
}

.cc-tracker-hint {
  margin-top: 6px;
}

.cc-help-link {
  color: var(--nc);
  font-weight: 600;
  text-decoration: none;
}

.cc-help-link:hover {
  text-decoration: underline;
}

/* Creative upload & library picker */
.cc-crea-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.cc-crea-guide {
  padding: 14px 16px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.cc-crea-guide-h {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.cc-crea-guide-lead {
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.55;
  margin: 0 0 12px;
}

.cc-crea-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.cc-crea-guide-i {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.45;
}

.cc-crea-guide-i b {
  font-weight: 600;
  color: var(--ink);
}

.cc-crea-panel .cc-crea-drop {
  border: none;
  border-radius: 0;
  background: #fff;
}

.cc-crea-drop {
  border: 2px dashed var(--line2);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cc-crea-drop-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.cc-crea-drop-actions {
  display: flex;
  gap: 8px;
}

.cc-crea-drop.has-picked {
  padding: 0;
  border-style: solid;
  border-color: var(--line);
  background: #fff;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
}

.cc-crea-picked-full {
  width: 100%;
}

.cc-crea-picked-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.cc-crea-picked-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc-crea-picked-bar {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.cc-crea-drop.has-picked .cc-crea-drop-actions {
  display: none;
}

.cc-crea-rm {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.12s ease;
  z-index: 2;
}

.cc-crea-picked-stage:hover .cc-crea-rm {
  opacity: 1;
}

.cc-crea-rm:hover {
  background: rgba(243, 72, 41, 0.9);
}

.cc-guide-spec {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}

.cc-guide-check {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: #E9FBF1;
  color: #047857;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cc-guide-spec .cc-guide-i {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc-crea-picked-dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 1;
}

.cc-crea-picked-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.cc-crea-picked-meta {
  font-size: 12px;
  color: var(--ink3);
  margin-top: 3px;
}
.cc-tracker-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.cc-tracker-row .inp {
  flex: 1;
}

.cc-tracker-rm {
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid var(--line2);
  background: #fff;
  border-radius: 7px;
  color: var(--ink3);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.12s ease;
}

.cc-tracker-rm:hover {
  border-color: var(--nc);
  color: var(--nc);
}

.cc-tracker-add {
  border: none;
  background: none;
  color: var(--nc);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}

/* Strategy & Creative optimized layout */
.cc-main-inner {
  max-width: 1040px;
}

.cc-head {
  margin-bottom: 30px;
}

.cc-head h2 {
  font-size: 24px;
  letter-spacing: 0;
}

.cc-head p {
  color: #666;
}

#cc-card-budget,
#cc-card-location,
#cc-card-channels,
#cc-card-creative,
#cc-card-display-creative {
  border-color: #DFE2E6;
  border-radius: 10px;
  box-shadow: none;
}

#cc-card-budget,
#cc-card-location {
  padding: 28px 32px;
}

#cc-card-creative,
#cc-card-display-creative {
  padding: 26px 34px;
}

.cc-card-t-lg {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
}

#cc-card-budget .cc-card-t,
#cc-card-location .cc-card-t,
#cc-card-channels .cc-card-t {
  font-size: 14px;
  font-weight: 700;
}

.cc-price-seg {
  border-radius: 5px;
}

.cc-price-seg .cc-seg-btn {
  padding: 8px 17px;
  font-size: 12px;
}

.cc-retarget-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #D6DADE;
  border-radius: 9px;
  background: #fff;
}

.cc-retarget-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.cc-retarget-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #667085;
}

.cc-switch {
  width: 44px;
  height: 24px;
  flex: none;
  border: 1px solid #D1D5DB;
  border-radius: 999px;
  background: #fff;
  padding: 2px;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.cc-switch span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #9CA3AF;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: transform 0.14s ease, background 0.14s ease;
}

.cc-switch.on {
  background: var(--ink);
  border-color: var(--ink);
}

.cc-switch.on span {
  transform: translateX(20px);
  background: #fff;
}

.cc-info-dot {
  width: 14px;
  height: 14px;
  border: 1px solid #B8C0CC;
  border-radius: 50%;
  color: #8B95A1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

#cc-card-channels {
  padding: 22px 26px 24px;
}

#cc-card-channels .cc-ch-header {
  margin-bottom: 16px;
}

#cc-card-channels .cc-ch-search {
  height: 40px;
  background: #F4F4F5 !important;
  border-color: transparent !important;
}

#cc-card-channels .cc-ch-filter-label {
  width: auto;
  font-size: 11px;
  color: #7A7F87;
}

#cc-card-channels .cc-ch-pill {
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 999px;
  line-height: 1.2;
}

#cc-card-channels .cc-ch-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 12px;
}

.cc-ch-pane {
  min-width: 0;
  border: 1px solid #DFE2E6;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.cc-ch-pane-selected {
  border-color: #FFC8BB;
  background: #FFF4F1;
}

.cc-ch-pane-head {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.cc-ch-pane-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.cc-ch-pane-sub {
  font-size: 11px;
  color: #8A8F98;
  margin-top: 5px;
}

.cc-ch-mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  margin-left: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--nc);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

#cc-card-channels .cc-ch-list {
  height: 420px;
  min-height: 420px;
  padding: 0 8px 8px;
  gap: 6px;
  background: transparent;
  border-radius: 0;
}

#cc-card-channels .cc-ch-row {
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid #FFC8BB;
  border-radius: 9px;
  box-shadow: none;
}

#cc-card-channels .cc-ch-list-available .cc-ch-row {
  background: #FFF8F6;
}

#cc-card-channels .cc-ch-list-available .cc-ch-row:not(.selected) {
  background: #fff;
  border-color: #ECEEF1;
}

#cc-card-channels .cc-ch-list-selected .cc-ch-row {
  background: #fff;
}

.cc-ch-picked-row {
  cursor: default;
}

#cc-card-channels .cc-ch-name {
  font-size: 13px;
  font-weight: 700;
}

.cc-ch-remove {
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid #FFC8BB;
  border-radius: 50%;
  background: #fff;
  color: var(--nc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cc-ch-remove:hover {
  background: #FFF0EC;
}

.cc-creative-tabs {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  margin-bottom: 24px;
}

.cc-creative-tab {
  border: 0;
  background: #fff;
  color: var(--ink);
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.cc-creative-tab + .cc-creative-tab {
  border-left: 1px solid #D1D5DB;
}

.cc-creative-tab.on {
  background: var(--ink);
  color: #fff;
}

.cc-creative-intro {
  font-size: 13px;
  color: #6C727A;
  line-height: 1.5;
  margin: 0 0 22px;
}

.cc-creative-search {
  height: 40px;
  border: 1px solid #D6DADE;
  border-radius: 8px;
  background: #F7F7F8;
  color: #8A9099;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  margin: -6px 0 18px;
}

.cc-creative-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.cc-upload-copy {
  font-size: 13px;
  color: #656B73;
  line-height: 1.5;
  margin: 0 0 20px;
}

.cc-upload-drop {
  width: 100%;
  min-height: 198px;
  border: 1px dashed #BFC5CC;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.cc-upload-drop:hover {
  border-color: var(--ink);
  background: #FCFCFD;
}

.cc-upload-ic {
  width: 40px;
  height: 40px;
  border: 1px solid #D6DADE;
  border-radius: 50%;
  color: #6E747C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cc-upload-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.cc-upload-spec {
  color: #A0A6AE;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cc-lib-list {
  border: 1px solid #D6DADE;
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #fff;
}

.cc-lib-row {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  min-height: 122px;
  padding: 20px 24px 20px 20px;
  border-bottom: 1px solid #E5E7EB;
}

.cc-lib-row.selected {
  background: #FFF8F6;
}

.cc-lib-row:last-child {
  border-bottom: none;
}

.cc-lib-thumb {
  width: 144px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #111;
}

.cc-lib-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc-lib-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cc-lib-dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.cc-lib-main {
  min-width: 0;
}

.cc-lib-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 26px;
  overflow-wrap: anywhere;
}

.cc-lib-trackers {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
}

.cc-lib-trackers span {
  font-size: 12px;
  color: #898E96;
}

.cc-lib-trackers b {
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  color: #30343A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-lib-select {
  border: 1px solid #D1D5DB;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cc-lib-select.on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.cc-lib-delete {
  border-color: #FFD0C6;
  color: #F34829;
}

.cc-lib-delete:hover {
  background: #FFF0EC;
}

.cc-lib-empty {
  padding: 28px;
  color: var(--ink3);
  font-size: 13px;
}

#cc-card-creative .fld {
  margin-bottom: 16px;
}

#cc-card-creative .inp {
  height: 40px;
  background: #F7F7F8;
}

.cc-format-req {
  border-top: 1px solid #E5E7EB;
  margin-top: 26px;
  padding-top: 18px;
}

.cc-format-title {
  color: #F34829;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cc-format-title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: #F34829;
  vertical-align: 2px;
}

.cc-format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 72px;
  margin-bottom: 22px;
}

.cc-format-grid div {
  font-size: 12px;
  color: var(--ink);
}

.cc-format-grid b {
  font-weight: 800;
}

.cc-format-grid span {
  color: #747A83;
  margin-left: 4px;
}

.cc-display-tabs {
  margin-bottom: 18px;
}

.cc-display-ai {
  min-height: 260px;
  border: 1px solid #D6DADE;
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  margin-bottom: 8px;
}

.cc-ai-empty {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cc-magic-btn {
  width: 54px;
  height: 54px;
  border: 1px solid #D6DADE;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(17,17,17,.08);
}

.cc-magic-btn:hover {
  border-color: var(--ink);
}

.cc-ai-empty-title {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.cc-ai-empty p {
  margin: 6px 0 0;
  color: #7A8089;
  font-size: 12px;
}

.cc-banner-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.cc-banner-card {
  grid-column: span 6;
  border: 1px solid #E1E4E8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17,17,17,.04);
}

.cc-banner-card-mobile,
.cc-banner-card-leaderboard {
  grid-column: span 12;
}

.cc-banner-card-rectangle {
  grid-column: span 7;
}

.cc-banner-card-portrait {
  grid-column: span 5;
}

.cc-banner-frame {
  padding: 16px;
  background: #F7F8FA;
}

.cc-banner-canvas {
  position: relative;
  width: 100%;
  min-height: 0;
  max-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.cc-banner-refresh {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(17,17,17,.78);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-4px);
  cursor: pointer;
  transition: opacity .14s ease, transform .14s ease, background .14s ease;
}

.cc-banner-canvas:hover .cc-banner-refresh,
.cc-banner-refresh:focus {
  opacity: 1;
  transform: translateY(0);
}

.cc-banner-refresh:hover {
  background: #F34829;
}

.cc-banner-card-mobile .cc-banner-canvas,
.cc-banner-card-leaderboard .cc-banner-canvas {
  padding: 10px 18px;
}

.cc-banner-canvas > div {
  text-align: center;
  min-width: 0;
}

.cc-banner-canvas b {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.cc-banner-canvas em {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-style: normal;
  opacity: .9;
}

.cc-banner-card-mobile .cc-banner-brand,
.cc-banner-card-leaderboard .cc-banner-brand {
  margin-bottom: 4px;
  font-size: 9px;
}

.cc-banner-card-mobile .cc-banner-canvas b,
.cc-banner-card-leaderboard .cc-banner-canvas b {
  font-size: 18px;
}

.cc-banner-card-mobile .cc-banner-canvas em,
.cc-banner-card-leaderboard .cc-banner-canvas em {
  margin-top: 3px;
  font-size: 10px;
}

.cc-banner-brand {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cc-banner-canvas-1 { background: linear-gradient(135deg, #F34829, #FFB84D); }
.cc-banner-canvas-2 { background: linear-gradient(135deg, #111, #5C6571); }
.cc-banner-canvas-3 { background: linear-gradient(135deg, #1E6F64, #A5E36D); }
.cc-banner-canvas-4 { background: linear-gradient(135deg, #242424, #F34829); }

.cc-banner-version-1.cc-banner-canvas-1 { background: linear-gradient(135deg, #111, #F34829); }
.cc-banner-version-1.cc-banner-canvas-2 { background: linear-gradient(135deg, #F34829, #7A341F); }
.cc-banner-version-1.cc-banner-canvas-3 { background: linear-gradient(135deg, #111, #1E6F64); }
.cc-banner-version-1.cc-banner-canvas-4 { background: linear-gradient(135deg, #5C6571, #FFB84D); }

.cc-banner-version-2.cc-banner-canvas-1 { background: linear-gradient(135deg, #1E6F64, #F34829); }
.cc-banner-version-2.cc-banner-canvas-2 { background: linear-gradient(135deg, #5C6571, #111); }
.cc-banner-version-2.cc-banner-canvas-3 { background: linear-gradient(135deg, #FFB84D, #F34829); }
.cc-banner-version-2.cc-banner-canvas-4 { background: linear-gradient(135deg, #111, #1E6F64); }

.cc-banner-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 12px;
}

.cc-banner-meta b {
  color: var(--ink);
}

.cc-banner-meta span {
  color: #7A8089;
}

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

.cc-display-upload-head .cc-upload-copy {
  margin: 0;
  max-width: 690px;
}

.cc-add-creative-btn {
  border: none;
  background: transparent;
  color: #F34829;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.cc-add-creative-btn:hover {
  color: #D63B20;
}

.cc-display-upload-assets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(174px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.cc-display-asset-card {
  min-width: 0;
  border: 1px solid #E1E4E8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.cc-display-asset-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.88);
  font-size: 22px;
  font-weight: 800;
  overflow: hidden;
}

.cc-display-asset-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-display-asset-thumb.has-preview span {
  display: none;
}

.cc-asset-trash {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(17,17,17,.82);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-4px);
  cursor: pointer;
  transition: opacity .14s ease, transform .14s ease, background .14s ease;
}

.cc-display-asset-card:hover .cc-asset-trash,
.cc-display-asset-thumb:hover .cc-asset-trash,
.cc-asset-trash:focus {
  opacity: 1;
  transform: translateY(0);
}

.cc-asset-trash:hover {
  background: #F34829;
}

.cc-display-asset-thumb-1 { background: linear-gradient(135deg, #F34829, #FFB84D); }
.cc-display-asset-thumb-2 { background: linear-gradient(135deg, #111, #5C6571); }
.cc-display-asset-thumb-3 { background: linear-gradient(135deg, #1E6F64, #A5E36D); }
.cc-display-asset-thumb-4 { background: linear-gradient(135deg, #242424, #F34829); }

.cc-display-asset-body {
  padding: 10px 12px 12px;
}

.cc-display-asset-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.cc-display-tracker-btn {
  border: 0;
  background: transparent;
  padding: 0;
  margin-top: 7px;
  color: #F34829;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.cc-display-tracker-btn:hover {
  color: #D63B20;
}

.cc-display-tracker-btn.has-tracker {
  color: #F34829;
}

.cc-display-asset-desc {
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #69717B;
  font-size: 11px;
}

.cc-display-empty {
  border: 1px solid #D6DADE;
  border-radius: 8px;
  background: #fff;
}

.cc-ctv-upload-head {
  margin-bottom: 18px;
}

.cc-ctv-upload-list {
  margin-bottom: 0;
}

.modal.modal-ctv-upload {
  width: 760px;
}

.modal.modal-display-tracker {
  width: 560px;
}

.modal.modal-ctv-upload .cc-upload-drop {
  min-height: 198px;
}

.modal.modal-ctv-upload .fld {
  margin-bottom: 14px;
}

.cc-modal-video-preview {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #E1E4E8;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  margin: -8px 0 18px;
}

.cc-modal-video-preview[hidden] {
  display: none;
}

.cc-modal-video-thumb {
  position: relative;
  width: 144px;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  overflow: hidden;
  background: #111;
}

.cc-modal-video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc-modal-video-main {
  min-width: 0;
}

.cc-modal-video-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.cc-modal-video-meta {
  margin-top: 6px;
  color: #737A84;
  font-size: 12px;
}

.cc-modal-video-change {
  border: 1px solid #D1D5DB;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 6px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cc-modal-video-change:hover {
  border-color: var(--ink);
}

@media (max-width: 980px) {
  .cc-main {
    padding: 28px 22px 48px;
  }

  #cc-card-channels .cc-ch-dual {
    grid-template-columns: 1fr;
  }

  .cc-lib-row {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .cc-lib-select {
    grid-column: 2;
    justify-self: start;
  }

  .cc-lib-thumb {
    width: 128px;
  }

  .cc-format-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cc-banner-grid {
    grid-template-columns: 1fr;
  }
}

.cc-tracker-add:hover {
  text-decoration: underline;
}

/* Review single-column layout */
.cc-rev-single {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

/* ── Review page (Step 3) ── */
.cc-rev-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cc-rev-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.cc-rev-hero-head {
  min-width: 0;
}

.cc-rev-basics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc-rev-basics-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.cc-rev-basic-grow {
  flex: 1;
  min-width: 0;
}

.cc-rev-basic-brand {
  flex: none;
  width: 240px;
}

.cc-rev-basic-grow .cc-rev-basic-val {
  font-size: 17px;
}

.cc-rev-basic-item {
  padding: 14px 16px;
  background: var(--soft);
  border-radius: 10px;
  min-width: 0;
}

.cc-rev-basic-lbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.cc-rev-basic-val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  word-break: break-word;
}

.cc-rev-hero-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
  margin-bottom: 6px;
}

.cc-rev-hero-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.cc-rev-identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cc-rev-identity .cc-rev-basic-item {
  background: var(--soft);
}

.cc-rev-setup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cc-rev-metric-geo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cc-rev-ch-more {
  justify-content: center;
  color: var(--ink3);
  font-size: 13px;
  font-weight: 600;
  background: var(--soft);
  border: 1px dashed var(--line2);
  cursor: default;
}

.cc-rev-ch-more:hover {
  border-color: var(--line2);
  background: var(--soft);
}

.cc-rev-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cc-rev-metric {
  padding: 14px 16px;
  background: var(--soft);
  border-radius: 10px;
  min-width: 0;
}

.cc-rev-metric-lbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.cc-rev-metric-val {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.cc-rev-metric-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink3);
  margin-top: 4px;
  line-height: 1.4;
}

.cc-rev-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cc-rev-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.cc-rev-panel-wide {
  width: 100%;
}

.cc-rev-panel-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.cc-rev-panel-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink2);
  background: var(--soft);
  border-radius: 999px;
  padding: 3px 10px;
}

.cc-rev-flight {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cc-rev-flight-item {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 10px;
}

.cc-rev-flight-lbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
  margin-bottom: 4px;
}

.cc-rev-flight-val {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.cc-rev-flight-sep {
  flex: none;
  color: var(--ink3);
  display: flex;
  align-items: center;
}

.cc-rev-geo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 10px;
}

.cc-rev-geo-flag {
  font-size: 32px;
  line-height: 1;
}

.cc-rev-geo-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.cc-rev-geo-code {
  font-size: 12px;
  color: var(--ink3);
  margin-top: 2px;
  font-family: var(--mono);
}

.cc-rev-creative {
  display: flex;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  border-radius: 10px;
  padding: 4px;
  margin: -4px;
  transition: background 0.12s ease;
}

.cc-rev-creative:hover {
  background: var(--soft);
}

.cc-rev-creative-vid {
  position: relative;
  width: 200px;
  flex: none;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}

.cc-rev-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc-rev-vid-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.cc-rev-vid-dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 4px;
  padding: 2px 6px;
}

.cc-rev-creative-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.cc-rev-creative-meta {
  font-size: 12.5px;
  color: var(--ink3);
  margin-top: 4px;
}

.cc-rev-trackers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cc-rev-tracker-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.cc-rev-tracker-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cc-rev-tracker-url {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink2);
  background: var(--soft);
  border-radius: 8px;
  padding: 8px 10px;
  word-break: break-all;
  line-height: 1.45;
}

.cc-rev-tracker-empty {
  font-size: 13px;
  color: var(--ink3);
}

.cc-rev-ch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding: 2px;
}

.cc-rev-ch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--soft);
  border-radius: 10px;
  min-width: 0;
}

.cc-rev-ch-icon-wrap .cc-ch-icon,
.cc-rev-ch-icon-wrap .cc-ch-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.cc-rev-ch-icon-wrap .cc-ch-logo-fallback[hidden] {
  display: none !important;
}

.cc-rev-ch-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-rev-empty {
  font-size: 13px;
  color: var(--ink3);
  padding: 8px 0;
}

.cc-rev-managed {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.55;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 10px;
}

@media (max-width: 720px) {
  .cc-rev-identity-grid {
    grid-template-columns: 1fr;
  }

  .cc-rev-setup-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cc-rev-basics-row {
    flex-direction: column;
  }

  .cc-rev-basic-brand {
    width: 100%;
  }

  .cc-rev-stat-row {
    grid-template-columns: 1fr;
  }

  .cc-rev-hero {
    flex-direction: column;
  }

  .cc-rev-duo {
    grid-template-columns: 1fr;
  }

  .cc-rev-flight {
    flex-direction: column;
    align-items: stretch;
  }

  .cc-rev-flight-sep {
    transform: rotate(90deg);
    align-self: center;
  }

  .cc-rev-creative {
    flex-direction: column;
    align-items: flex-start;
  }

  .cc-rev-creative-vid {
    width: 100%;
  }

  .cc-rev-trackers {
    grid-template-columns: 1fr;
  }
}
