.project-autoops .project-list a[href*="autoops-agent"],
.project-autoops .project-list a[href="#project-autoops"] {
  border-color: var(--line);
  background: #fff;
  color: var(--hero-2);
  font-weight: 700;
}

.project-autoops .toc a.is-active {
  color: var(--hero-2);
  font-weight: 700;
}

.project-autoops .runtime-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3mm;
}

.project-autoops .runtime-shot-card {
  break-inside: avoid;
  page-break-inside: avoid;
  padding: 2.8mm;
  border: 1px solid var(--line);
  border-radius: 4mm;
  background: #fcfaf5;
}

.project-autoops .runtime-shot-card-wide {
  grid-column: 1 / -1;
}

.project-autoops .runtime-shot-label {
  display: flex;
  justify-content: space-between;
  gap: 3mm;
  margin-bottom: 2mm;
  color: var(--muted);
  font-size: 9.5pt;
  line-height: 1.35;
}

.project-autoops .runtime-shot-label strong {
  color: var(--ink);
  font-size: 10.5pt;
}

.project-autoops .runtime-shot-label span {
  text-align: right;
}

.project-autoops .runtime-shot-image {
  display: block;
  width: 100%;
  height: 28mm;
  object-fit: cover;
  border: 1px solid rgba(112, 93, 71, 0.18);
  border-radius: 3mm;
  background: #f4ede2;
}

.project-autoops .runtime-shot-card-wide .runtime-shot-image {
  height: 42mm;
}

.project-autoops .runtime-shot-placeholder {
  min-height: 28mm;
  display: flex;
  align-items: center;
  padding: 2.8mm;
  border: 1px dashed #be8b62;
  border-radius: 3mm;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(248,241,230,0.88)),
    repeating-linear-gradient(135deg, rgba(190,139,98,0.08) 0 2px, transparent 2px 10px);
  color: #725b48;
  font-size: 9.6pt;
  line-height: 1.55;
}

.project-autoops .runtime-shot-card-wide .runtime-shot-placeholder {
  min-height: 42mm;
}

@media screen and (max-width: 960px) {
  .project-autoops .runtime-shot-grid {
    grid-template-columns: 1fr;
  }

  .project-autoops .runtime-shot-card-wide {
    grid-column: auto;
  }
}

@media print {
  .project-autoops .runtime-shot-card,
  .project-autoops .runtime-shot-placeholder,
  .project-autoops .runtime-shot-image {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .project-autoops .runtime-shot-card {
    background: #fcfaf5 !important;
  }

  .project-autoops .runtime-shot-placeholder {
    background:
      linear-gradient(135deg, rgba(255,255,255,0.86), rgba(248,241,230,0.88)),
      repeating-linear-gradient(135deg, rgba(190,139,98,0.08) 0 2px, transparent 2px 10px) !important;
  }
}
