.upload-success {
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 28px;
  text-align: center;
  background: #eef8f3;
  border: 2px solid #b9ddca;
  border-radius: 20px;
}
.upload-success h1, .upload-success p { margin: 8px 0; }
.upload-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #b9ddca;
  color: #245b40;
  font-size: 34px;
  font-weight: 700;
}
.upload-result-actions { max-width: 760px; margin: 20px auto; justify-content: center; }
.upload-card button:disabled { cursor: wait; opacity: .7; }
.upload-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 14px; }
.upload-choice { min-height: 160px; padding: 20px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 2px solid #d8e8ec; border-radius: 18px; background: #f5fbfc; color: #34494f; cursor: pointer; }
.upload-choice.camera-choice { background: #fff5f0; border-color: #f1d7ca; }
.upload-choice:hover, .upload-choice:focus-within { border-color: #79a8b3; }
.upload-choice-icon { font-size: 38px; line-height: 1; }
.upload-choice strong { font-size: 17px; }
.upload-choice small { color: #71868c; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.selected-files { margin: 4px 0 14px; padding: 11px 14px; border-radius: 12px; background: #eef8f3; color: #245b40; font-weight: 600; }
.field-error { color: #a94e4e; font-size: 13px; }
.notification-settings { max-width: 760px; }
.notification-settings section { display: grid; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #edddd5; }
.notification-settings ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.notification-settings ul label, .setting-check { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px; padding: 11px 13px; border: 1px solid #edddd5; border-radius: 12px; background: #fffdfb; }
.notification-settings input[type="checkbox"] { width: auto; margin-top: 3px; }
.setting-check span { display: grid; gap: 3px; }
.setting-check small, .notification-settings p small { color: #71868c; }
.document-preview {
  width: min(96vw, 1200px);
  height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: white;
}
.document-preview::backdrop { background: rgba(22, 35, 39, .75); }
.document-preview-bar {
  min-height: 64px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fde8de;
}
.document-preview iframe { width: 100%; height: calc(94vh - 64px); border: 0; background: #e9edef; }
@media (max-width: 700px) {
  .upload-choices { grid-template-columns: 1fr; }
  .upload-choice { min-height: 132px; }
  .document-preview { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; }
  .document-preview-bar { align-items: stretch; flex-direction: column; }
  .document-preview iframe { height: calc(100vh - 105px); }
}
