.report-filter form,
.review-actions {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.report-filter label {
  flex: 1;
  min-width: 150px;
}
.indicator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 18px 0;
}
.indicator {
  padding: 20px;
}
.indicator small,
.indicator span {
  display: block;
  color: #78685d;
}
.indicator strong {
  display: block;
  font-size: 2rem;
  margin: 8px 0;
}
.comparison-card {
  padding: 22px;
  margin-bottom: 18px;
}
.comparison-list {
  display: grid;
  gap: 16px;
}
.comparison-list > div > span {
  float: right;
  color: #78685d;
}
.comparison-list .progress {
  clear: both;
  margin-top: 8px;
}
.report-table small {
  display: block;
  margin-top: 4px;
  color: #78685d;
}
.review-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eadfd5;
}
.review-form textarea {
  min-height: 80px;
}
.review-actions {
  justify-content: flex-end;
  margin-top: 12px;
}
.danger-button {
  background: #9f2f27;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
}
.review-summary {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f8efe4;
  border-radius: 10px;
}
.status-atrasada,
.status-nao_conforme {
  background: #fbe3df;
  color: #9f2f27;
}
.status-em_andamento,
.status-pendente {
  background: #fff1c9;
  color: #805500;
}
.status-refazer {
  background: #ffe1bf;
  color: #8b4300;
  font-weight: 700;
}
@media (max-width: 900px) {
  .indicator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .indicator-grid {
    grid-template-columns: 1fr;
  }
  .report-filter form > * {
    width: 100%;
  }
  .review-actions > * {
    flex: 1;
  }
  .comparison-list > div > span {
    float: none;
    display: block;
    margin-top: 4px;
  }
}

.live-camera {
  margin: 18px 0;
}
.camera-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  padding: 24px;
  border: 2px dashed #d8c6b7;
  border-radius: 16px;
  background: #fffaf5;
  text-align: center;
}
.camera-placeholder > span {
  font-size: 2rem;
}
.camera-placeholder small,
.camera-status {
  color: #78685d;
}
.camera-stage {
  overflow: hidden;
  border-radius: 16px;
  background: #1c140f;
}
.camera-stage video,
.camera-stage img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}
.camera-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px;
}
.camera-status {
  min-height: 1.4em;
  margin: 9px 2px 0;
  font-size: 0.88rem;
}
.evidence-photo {
  margin: 0;
}
.evidence-photo figcaption {
  display: grid;
  gap: 3px;
  margin-top: 7px;
  color: #78685d;
  font-size: 0.75rem;
}
.evidence-photo figcaption a {
  color: #a55f18;
  font-weight: 700;
}
@media (max-width: 600px) {
  .camera-actions button {
    flex: 1;
  }
}

.start-task-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  margin-top: 20px;
}
.start-task-card > div {
  flex: 1;
}
.start-task-card h2,
.start-task-card p {
  margin: 0;
}
.start-task-card p {
  margin-top: 5px;
  color: #78685d;
}
.execution-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}
.execution-status small {
  color: #78685d;
}
@media (max-width: 600px) {
  .start-task-card {
    align-items: stretch;
    flex-direction: column;
  }
  .start-task-card form,
  .start-task-card button {
    width: 100%;
  }
  .execution-status {
    align-items: flex-start;
    flex-direction: column;
  }
}
