#charte-public-root #wizard .early-label-photo {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid var(--sos-theme-line, #ccdbce);
  border-radius: 8px;
  background: #fff;
  color: var(--sos-theme-ink, #172b27);
}
#charte-public-root #wizard .early-label-photo [hidden],
#charte-public-root #wizard .early-label-photo[hidden] { display: none !important; }
#charte-public-root #wizard .early-label-photo h4 { margin: 0 0 4px; font-size: 1rem; }
#charte-public-root #wizard .early-label-photo p { margin: 3px 0 8px; font-size: .9rem; line-height: 1.45; }
#charte-public-root #wizard .early-label-photo p:empty { display: none; }
#charte-public-root #wizard .early-label-actions { display: flex; flex-wrap: wrap; gap: 7px; }
#charte-public-root #wizard .early-label-photo button {
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--sos-theme-action, #215b49);
  border-radius: 6px;
  background: #f2f6fc;
  color: var(--sos-theme-ink, #172b27);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
#charte-public-root #wizard .early-label-photo :is(video,img) {
  display: block;
  width: min(100%, 360px);
  max-height: 285px;
  object-fit: contain;
  margin: 9px 0;
  border-radius: 6px;
}
#charte-public-root #wizard .early-label-offer {
  min-height: 44px;
  margin: 0 0 8px;
  padding: 6px 10px;
  border: 1px solid var(--sos-theme-action, #215b49);
  border-radius: 6px;
  background: #fff;
  color: var(--sos-theme-ink, #172b27);
  text-align: left;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
#charte-public-root #wizard .early-label-offer[hidden] { display: none !important; }
#charte-public-root #wizard .early-label-photo [data-read-result] {
  margin-top: 10px;
  padding: 8px 10px;
  border-left: 3px solid var(--sos-theme-action, #215b49);
  background: #f2f6fc;
}
#charte-public-root #wizard .early-label-photo [data-read-status] { margin-bottom: 4px; }
#charte-public-root #wizard .early-label-photo[data-photo-attached] [data-label-help] { display: none; }
#charte-public-root #wizard .early-label-photo[data-photo-attached] img {
  width: auto;
  max-width: 100%;
  max-height: 115px;
}
#charte-public-root #wizard .early-label-technical-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 9px 12px;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  color: inherit;
  font: inherit;
}
#charte-public-root #wizard .early-label-technical-input[hidden] { display: none !important; }
#charte-public-root #wizard .early-label-optional-hint {
  margin: 3px 12px 8px;
  color: var(--sos-theme-action, #215b49);
  font-size: .9rem;
  line-height: 1.45;
}
#charte-public-root #wizard .early-label-optional-hint button {
  padding: 0 2px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--sos-theme-ink, #172b27);
  text-decoration: underline;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
#charte-public-root #wizard .early-label-optional-hint button[hidden] { display: none !important; }

/* Keep the active assessment clear when the wizard becomes shorter. */
body.wizard-in-progress [data-lot1-lab-video] { display: none !important; }
#charte-public-root #wizard .early-label-photo button[data-action="webcam"],
#charte-public-root #wizard .early-label-photo button[data-action="remove"] {
  padding: 6px 4px;
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
}
#charte-public-root #wizard .early-label-photo[data-photo-attached] h4 { display: none; }

#charte-public-root #wizard .early-label-photo progress {
  display: block;
  width: 100%;
  height: 10px;
  accent-color: var(--sos-theme-action, #215b49);
}
#charte-public-root #wizard .early-label-photo[data-photo-attached] button[data-action="file"] {
  padding: 6px 4px;
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
}

#charte-public-root #wizard .early-label-photo [data-photo-choices] {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
}
#charte-public-root #wizard [data-photo-skip] {
  margin: 16px 0 6px;
  color: var(--sos-theme-ink, #172b27);
  font-size: .9rem;
}
#charte-public-root #wizard [data-photo-skip]:not([hidden]) + [data-technical-continue] {
  margin-top: 0;
}
