.emt-camera-view__method {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--emt-calc-line);
  border-radius: var(--emt-calc-radius-small);
  background: var(--emt-calc-bg);
}

.emt-camera-view__toggle {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 100%;
  padding: 14px;
  border: 1px solid var(--emt-calc-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.emt-camera-view__toggle input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--emt-calc-accent-dark);
}

.emt-camera-view__toggle strong,
.emt-camera-view__toggle small {
  display: block;
}

.emt-camera-view__toggle strong {
  margin-bottom: 4px;
  line-height: 1.35;
}

.emt-camera-view__toggle small {
  color: var(--emt-calc-muted);
  font-size: 13px;
  line-height: 1.4;
}

.emt-camera-view__visual {
  margin-top: 22px;
}

.emt-camera-view__visual svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 390px;
}

.emt-camera-view__status {
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 4px solid var(--emt-calc-success);
  border-radius: 13px;
  background: #edf8f3;
}

.emt-camera-view__status.is-warning {
  border-left-color: #d59c00;
  background: #fff8df;
}

.emt-camera-view__status strong {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
}

.emt-camera-view__status p:last-child {
  margin-bottom: 0;
}

.emt-camera-view__section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--emt-calc-line);
}

.emt-camera-view__table-wrap {
  overflow-x: auto;
  margin-top: 15px;
  border: 1px solid var(--emt-calc-line);
  border-radius: 14px;
}

.emt-camera-view__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

.emt-camera-view__table th,
.emt-camera-view__table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--emt-calc-line);
  text-align: left;
  vertical-align: middle;
}

.emt-camera-view__table th {
  background: #eff3f6;
  color: #334252;
  font-size: 14px;
}

.emt-camera-view__table tr:last-child td {
  border-bottom: 0;
}

.emt-camera-view__table td strong,
.emt-camera-view__table td small {
  display: block;
}

.emt-camera-view__table td small {
  margin-top: 2px;
  color: var(--emt-calc-muted);
  font-size: 12px;
}

.emt-camera-view__pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.emt-camera-view__pill.is-ok {
  background: #e4f5ec;
  color: #196044;
}

.emt-camera-view__pill.is-no {
  background: #f3f5f6;
  color: #6c7884;
}

.emt-camera-view__details {
  margin-top: 24px;
}

.emt-camera-view__detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.emt-camera-view__detail-grid article {
  padding: 20px;
  border: 1px solid var(--emt-calc-line);
  border-radius: 14px;
  background: var(--emt-calc-bg);
}

.emt-camera-view__detail-grid p:last-child {
  margin-bottom: 0;
}

.emt-camera-view__warnings {
  margin-top: 16px;
  padding: 18px 20px;
  border-left: 4px solid #d59c00;
  border-radius: 12px;
  background: #fff8df;
}

.emt-camera-view__warnings ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

@media (max-width: 900px) {
  .emt-camera-view .emt-field-grid--four,
  .emt-camera-view__detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .emt-camera-view .emt-choice-grid,
  .emt-camera-view .emt-field-grid--three,
  .emt-camera-view .emt-field-grid--four,
  .emt-camera-view__detail-grid {
    grid-template-columns: 1fr;
  }

  .emt-camera-view__method {
    padding: 15px;
  }

  .emt-camera-view__visual svg {
    min-height: 220px;
  }

  .emt-camera-view__table-wrap {
    overflow: visible;
    border: 0;
  }

  .emt-camera-view__table {
    min-width: 0;
  }

  .emt-camera-view__table thead {
    display: none;
  }

  .emt-camera-view__table,
  .emt-camera-view__table tbody,
  .emt-camera-view__table tr,
  .emt-camera-view__table td {
    display: block;
    width: 100%;
  }

  .emt-camera-view__table tr {
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid var(--emt-calc-line);
    border-radius: 13px;
    background: #fff;
  }

  .emt-camera-view__table td {
    display: grid;
    grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--emt-calc-line);
  }

  .emt-camera-view__table td:last-child {
    border-bottom: 0;
  }

  .emt-camera-view__table td::before {
    content: attr(data-label);
    color: var(--emt-calc-muted);
    font-size: 12px;
    font-weight: 800;
  }
}

@media print {
  .emt-camera-view .emt-calculator__form,
  .emt-camera-view .emt-result__actions {
    display: none !important;
  }

  .emt-camera-view .emt-result {
    border: 0;
    box-shadow: none;
  }
}
