.acquisition-main { max-width: 1320px; }
.acquisition-metrics { margin-bottom: 14px; }
.acquisition-metrics article:first-child strong, .acquisition-metrics article:nth-child(2) strong { color: var(--blue); }

.panel-kicker { margin-bottom: 4px; color: var(--blue); font: 550 9px "IBM Plex Mono", monospace; text-transform: uppercase; }
.panel-icon-button, .row-icon-button, .listing-icon-button { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; color: var(--blue); background: #eef3ff; border-radius: 4px; transition: color 180ms ease, background 180ms ease, transform 180ms var(--ease); }
.panel-icon-button:hover, .row-icon-button:hover, .listing-icon-button:hover { color: var(--white); background: var(--blue); transform: translateY(-1px); }
.panel-icon-button svg, .row-icon-button svg, .listing-icon-button svg { width: 15px; height: 15px; }

.cycle-strip { display: grid; grid-template-columns: minmax(260px, 1fr) auto 36px; gap: 22px; align-items: center; margin-bottom: 14px; padding: 17px 18px; background: var(--navy); color: var(--white); border: 1px solid var(--navy); }
.cycle-strip h2 { margin-bottom: 0; font: 650 19px/1.2 "Onest", sans-serif; }
.cycle-strip .panel-kicker { color: var(--signal-bright, #ffd166); }
.cycle-counters { display: flex; gap: 9px; }
.counter-item { display: grid; gap: 4px; }
.counter-item > span { color: rgb(255 255 255 / 55%); font-size: 8px; text-transform: uppercase; }
.counter-control { display: grid; grid-template-columns: 30px 42px 30px; height: 34px; align-items: center; border: 1px solid rgb(255 255 255 / 20%); }
.counter-control button { display: grid; height: 100%; place-items: center; color: rgb(255 255 255 / 70%); background: transparent; }
.counter-control button:hover { color: var(--white); background: rgb(255 255 255 / 9%); }
.counter-control svg { width: 13px; height: 13px; }
.counter-control strong { text-align: center; font: 650 14px "Onest", sans-serif; }
.payment-counter .counter-control { border-color: rgb(255 209 102 / 55%); }
.cycle-strip > .panel-icon-button { color: var(--white); background: rgb(255 255 255 / 10%); }
.cycle-strip > .panel-icon-button:hover { color: var(--navy); background: var(--signal-bright, #ffd166); }

.acquisition-panel, .weekly-review { margin-bottom: 14px; padding: 20px; background: var(--white); border: 1px solid var(--line); }
.panel-heading, .acquisition-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.acquisition-heading h2, .weekly-review h2 { margin-bottom: 0; font: 650 23px/1.15 "Onest", sans-serif; }
.acquisition-heading > p { max-width: 470px; margin-bottom: 0; color: var(--muted); font-size: 11px; text-align: right; }

.warm-table-head, .warm-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(170px, 1fr) minmax(145px, .8fr) 92px; gap: 10px; align-items: center; }
.warm-table-head { min-height: 28px; padding: 0 10px; color: var(--muted); background: #f2f5f7; border: 1px solid var(--line-soft); font: 550 8px "IBM Plex Mono", monospace; text-transform: uppercase; }
.warm-row { min-height: 60px; padding: 9px 10px; border: 1px solid var(--line-soft); border-top: 0; }
.warm-row.is-sent { background: #f3fbf7; }
.warm-row input, .warm-row select { width: 100%; min-width: 0; height: 38px; padding: 0 10px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 4px; outline: 0; font-size: 11px; }
.warm-row :is(input, select):focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(20 92 255 / 8%); }
.warm-actions { display: flex; justify-content: flex-end; gap: 5px; }
.warm-actions .row-icon-button:last-child { color: var(--success); background: #eaf7f1; }
.warm-actions .row-icon-button:last-child:hover { color: var(--white); background: var(--success); }

.market-list { display: grid; gap: 14px; }
.avito-launch { margin-bottom: 16px; padding: 16px 18px; color: var(--ink); background: #f3f6ff; border-left: 3px solid var(--blue); }
.avito-launch > strong { font: 650 14px "Onest", sans-serif; }
.avito-launch ol { display: grid; gap: 6px; margin: 10px 0; padding-left: 19px; color: #34414b; font-size: 10px; }
.avito-launch p { margin: 0; color: var(--muted); font-size: 9px; }
.market-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.listing-visual { position: relative; min-height: 260px; overflow: hidden; color: var(--white); background: var(--navy); }
.listing-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(.75); }
.listing-visual::after { position: absolute; inset: 0; content: ""; background: rgb(8 28 51 / 42%); }
.listing-visual-copy { position: absolute; z-index: 2; inset: auto 20px 20px; }
.listing-visual-copy span { color: var(--signal-bright, #ffd166); font: 600 8px "IBM Plex Mono", monospace; text-transform: uppercase; }
.listing-visual-copy h3 { max-width: 215px; margin: 8px 0 13px; font: 650 25px/1.08 "Onest", sans-serif; }
.listing-visual-copy strong { display: inline-flex; padding: 7px 9px; color: var(--navy); background: var(--signal-bright, #ffd166); font-size: 12px; }
.listing-content { position: relative; display: grid; min-width: 0; padding: 18px; }
.listing-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.listing-heading > div { min-width: 0; }
.listing-heading span { display: block; margin-bottom: 4px; color: var(--blue); font: 550 8px "IBM Plex Mono", monospace; text-transform: uppercase; }
.listing-heading h3 { margin-bottom: 5px; font: 650 19px/1.2 "Onest", sans-serif; }
.listing-heading p { margin-bottom: 0; color: var(--muted); font-size: 10px; }
.listing-status { width: 145px; height: 38px; flex: 0 0 auto; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 10px; }
.listing-fields { display: grid; grid-template-columns: .7fr 1.5fr 1.1fr .7fr; margin: 12px 0 0; border: 1px solid var(--line-soft); }
.listing-fields > div { min-width: 0; padding: 9px 10px; border-right: 1px solid var(--line-soft); }
.listing-fields > div:last-child { border-right: 0; }
.listing-fields dt { color: var(--muted); font: 550 7px "IBM Plex Mono", monospace; text-transform: uppercase; }
.listing-fields dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 9px; font-weight: 650; line-height: 1.35; }
.listing-description { position: relative; max-height: 136px; margin: 14px 0 0; overflow: hidden; color: #34414b; font-size: 11px; line-height: 1.58; white-space: pre-line; transition: max-height 280ms var(--ease); }
.market-card:not(.is-expanded) .listing-description::after { position: absolute; right: 0; bottom: 0; left: 0; height: 38px; pointer-events: none; content: ""; background: linear-gradient(to bottom, rgb(255 255 255 / 0%), var(--white)); }
.market-card.is-expanded .listing-description { max-height: 900px; }
.listing-description-toggle { display: inline-flex; width: fit-content; align-items: center; gap: 5px; margin: 8px 0 12px; color: var(--blue); background: transparent; font-size: 10px; font-weight: 700; }
.listing-description-toggle svg { width: 14px; height: 14px; transition: transform 220ms var(--ease); }
.market-card.is-expanded .listing-description-toggle svg { transform: rotate(180deg); }
.listing-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.listing-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.listing-action { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 0 10px; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font-size: 10px; font-weight: 700; }
.listing-action:hover { border-color: #aeb8bf; background: var(--white); }
.listing-action svg { width: 14px; height: 14px; }
.listing-crm-link { color: var(--blue); }
.listing-photo-plan { color: var(--muted); font-size: 9px; }

.weekly-review { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.weekly-review h2 { font-size: 20px; }
.review-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.review-steps span { display: grid; gap: 4px; min-height: 74px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-steps strong { font-size: 11px; }
.review-steps small { color: var(--muted); font-size: 9px; }

@media (max-width: 1080px) {
  .cycle-strip { grid-template-columns: 1fr auto 36px; }
  .market-card { grid-template-columns: 220px minmax(0, 1fr); }
  .warm-table-head, .warm-row { grid-template-columns: minmax(140px, 1fr) minmax(150px, .9fr) minmax(130px, .8fr) 82px; }
}

@media (max-width: 840px) {
  .cycle-strip { grid-template-columns: 1fr 36px; }
  .cycle-counters { grid-column: 1 / -1; grid-row: 2; }
  .cycle-strip > .panel-icon-button { grid-column: 2; grid-row: 1; }
  .warm-table-head { display: none; }
  .warm-list { display: grid; gap: 8px; }
  .warm-row { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-soft); border-radius: 5px; }
  .warm-actions { justify-content: start; }
  .market-card { grid-template-columns: 190px minmax(0, 1fr); }
  .weekly-review { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .acquisition-heading { align-items: start; flex-direction: column; }
  .acquisition-heading > p { text-align: left; }
  .cycle-counters { display: grid; grid-template-columns: repeat(3, 1fr); }
  .counter-control { grid-template-columns: 28px minmax(30px, 1fr) 28px; }
  .warm-row { grid-template-columns: 1fr; }
  .market-card { grid-template-columns: 1fr; }
  .listing-visual { min-height: 230px; }
  .listing-visual-copy h3 { max-width: 280px; }
  .listing-heading { display: grid; }
  .listing-status { width: 100%; }
  .listing-fields { grid-template-columns: 1fr 1fr; }
  .listing-fields > div:nth-child(2) { border-right: 0; }
  .listing-fields > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line-soft); }
  .review-steps { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .cycle-counters { grid-template-columns: 1fr; }
  .counter-item { grid-template-columns: 80px 1fr; align-items: center; }
  .listing-actions { width: 100%; }
  .listing-action { flex: 1; justify-content: center; }
}
