.operations-dashboard {
  --ops-ink: #15151a;
  --ops-muted: #686875;
  --ops-line: #e4e4e9;
  --ops-soft: #f7f7f9;
  --ops-accent: #dc2e45;
  color: var(--ops-ink);
}

.operations-dashboard * {
  box-sizing: border-box;
}

.operations-hero {
  background: linear-gradient(120deg, #17171d 0%, #272735 100%);
  border-radius: 18px;
  color: #fff;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 24px;
  padding: 26px 28px;
}

.operations-eyebrow {
  color: #ff9eaa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 8px;
}

.operations-hero h1 {
  color: inherit;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.operations-hero p {
  color: #cfcfd7;
  margin: 8px 0 0;
}

.operations-hero__status {
  align-items: center;
  display: flex;
  gap: 10px;
}

.operations-status-pill {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: 13px;
  padding: 8px 12px;
  white-space: nowrap;
}

.operations-section {
  margin: 0 0 28px;
}

.operations-section__head {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.operations-section h2 {
  color: var(--ops-ink);
  font-size: 19px;
  font-weight: 800;
  margin: 0;
}

.operations-section__head p {
  color: var(--ops-muted);
  font-size: 13px;
  margin: 0;
}

.operations-steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.operations-step {
  background: #fff;
  border: 1px solid var(--ops-line);
  border-radius: 15px;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 20px;
  position: relative;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.operations-step:hover {
  border-color: var(--ops-accent);
  box-shadow: 0 12px 28px rgba(20, 20, 30, .08);
  transform: translateY(-2px);
}

.operations-step__number {
  align-items: center;
  background: #19191f;
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  margin-bottom: 18px;
  width: 30px;
}

.operations-step h3 {
  color: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 8px;
}

.operations-step p {
  color: var(--ops-muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.operations-step__footer {
  align-items: center;
  border-top: 1px solid var(--ops-line);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.operations-count {
  background: #fff0f2;
  border-radius: 999px;
  color: #b71932;
  padding: 4px 9px;
}

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

.operations-panel {
  background: #fff;
  border: 1px solid var(--ops-line);
  border-radius: 15px;
  padding: 18px;
}

.operations-panel h3 {
  color: inherit;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 12px;
}

.operations-kpi {
  align-items: baseline;
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.operations-kpi strong {
  font-size: 30px;
  line-height: 1;
}

.operations-kpi span,
.operations-panel p {
  color: var(--ops-muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.operations-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.operations-link {
  border: 1px solid var(--ops-line);
  border-radius: 9px;
  color: var(--ops-ink);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
}

.operations-link:hover {
  border-color: var(--ops-accent);
  color: var(--ops-accent);
}

.operations-note {
  background: var(--ops-soft);
  border-radius: 12px;
  color: var(--ops-muted);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 14px;
  padding: 13px 15px;
}

@media (prefers-color-scheme: dark) {
  .dark .operations-dashboard {
    --ops-ink: #f2f2f4;
    --ops-muted: #aaaab5;
    --ops-line: #393942;
    --ops-soft: #222229;
  }

  .dark .operations-step,
  .dark .operations-panel {
    background: #1c1c22;
  }
}

@media (max-width: 1100px) {
  .operations-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .operations-hero {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }

  .operations-hero__status {
    align-items: flex-start;
    flex-direction: column;
  }

  .operations-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .operations-steps,
  .operations-grid {
    grid-template-columns: 1fr;
  }

  .operations-step {
    min-height: 0;
  }

  body.model-product.change-list #result_list .column-format_and_circle,
  body.model-product.change-list #result_list .field-format_and_circle,
  body.model-product.change-list #result_list .column-popularity,
  body.model-product.change-list #result_list .field-popularity,
  body.model-product.change-list #result_list .column-freshness_status,
  body.model-product.change-list #result_list .field-freshness_status {
    display: none !important;
  }

  body.model-product.change-list #result_list {
    min-width: 0 !important;
    table-layout: auto !important;
    width: 100% !important;
  }

  body.model-product.change-list #result_list th,
  body.model-product.change-list #result_list td {
    white-space: normal;
  }

  body.model-product.change-list #result_list .column-cover_thumbnail,
  body.model-product.change-list #result_list .field-cover_thumbnail {
    width: 60px;
  }

  body.change-form #main,
  body.change-form #content,
  body.change-form #content-main,
  body.change-form form,
  body.change-form fieldset,
  body.change-form .form-row,
  body.change-form .field-line,
  body.change-form .related-widget-wrapper {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.change-form input,
  body.change-form textarea,
  body.change-form select {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.change-form .selector {
    max-width: 100% !important;
    overflow-x: auto;
  }
}
