#pfMultiPhotoDialog {
  width: min(1120px, 96vw);
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: #e9f3f5;
  background: #172730;
  border: 1px solid #496771;
  border-radius: 14px;
  box-shadow: 0 16px 55px #06111690;
}
#pfMultiPhotoDialog[open] { display: flex; flex-direction: column; }
#pfMultiPhotoDialog::backdrop { background: #0d1e29b8; }
#pfMultiPhotoDialog header, #pfMultiPhotoDialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #122129;
}
#pfMultiPhotoDialog h2, #pfMultiPhotoDialog h3, #pfMultiPhotoDialog p { margin: 0; }
#pfMultiPhotoDialog h2 { font-size: 1.2rem; }
#pfMultiPhotoDialog h3 { font-size: 1rem; }
#pfMultiPhotoDialog footer { border-top: 1px solid #435d66; }
#pfMultiPhotoDialog button { min-height: 37px; }
#pfMultiPhotoDialog button:disabled { opacity: .55; }
#pfMultiPhotoDialog :focus-visible { outline: 2px solid #85e7dc; outline-offset: 2px; }
#pfMultiPhotoDialog small, .pf-multi-photo-note { color: #bacdd2; }
#pfMultiPhotoDialog output { display: block; color: #b7e9e6; }
.pf-multi-photo-work { padding: 16px 18px; overflow: auto; display: grid; gap: 14px; }
.pf-multi-photo-views, .pf-multi-photo-measures { display: grid; gap: 12px; }
.pf-multi-photo-views { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pf-multi-photo-views section {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 11px;
  min-width: 0;
  background: #20363e;
  border: 1px solid #406068;
  border-radius: 9px;
}
.pf-multi-photo-views section > small { min-height: 3em; }
.pf-multi-photo-views section > [data-saved-name] { min-height: 0; overflow-wrap: anywhere; }
.pf-multi-photo-image { position: relative; display: grid; place-items: center; min-height: 150px; height: min(29dvh, 235px); background: #122229; border-radius: 6px; overflow: hidden; }
.pf-multi-photo-image span { color: #adc5cb; }
.pf-multi-photo-image canvas { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.pf-multi-photo-cropping { cursor: crosshair; touch-action: none; }
.pf-multi-photo-adjust label, .pf-multi-photo-measures label { display: grid; gap: 4px; min-width: 0; font-size: .87rem; }
.pf-multi-photo-adjust button { margin: 5px 5px 0 0; }
.pf-multi-photo-adjust button[aria-pressed="true"] { border-color: #85e7dc; }
.pf-multi-photo-adjust label[data-alpha-row] { display: flex; align-items: center; gap: 6px; margin: 7px 0; }
.pf-multi-photo-adjust [data-perspective] { margin-top: 8px; border-top: 1px solid #57747b; padding-top: 8px; }
.pf-multi-photo-adjust [data-perspective] summary { cursor: pointer; font-weight: 650; }
.pf-multi-photo-adjust [data-perspective] p { margin: 7px 0; font-size: .8rem; color: #c1d8dc; }
.pf-photo-perspective-control span { display: flex; justify-content: space-between; align-items: baseline; gap: 7px; }
.pf-photo-perspective-control output { font-variant-numeric: tabular-nums; }
.pf-photo-compare-options { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .85rem; }
.pf-photo-compare-options label, .pf-photo-line-key { display: inline-flex; align-items: center; gap: 5px; }
.pf-photo-line-key i { width: 17px; height: 0; border-top: 3px solid #28e1ca; box-shadow: 0 1px #274248; }
.pf-photo-model-key i { border-top: 3px dashed #e180f2; }
#pfSectionsPhotoRefs .pf-photo-compare-options { margin: 7px 0 0; }
#pfSectionsDialog #pfSectionsPhotoRefs label { display: inline-flex; align-items: center; margin: 0; }
#pfSectionsDialog #pfSectionsShowPhotoModel { width: auto; flex: none; margin: 0; accent-color: #167679; }
#pfSectionsAdjustPhotos { margin-top: 7px; }
#pfSectionsEditPhone[hidden] { display: none; }
.pf-multi-photo-measures { grid-template-columns: repeat(5,minmax(0,1fr)); }
#pfMultiPhotoCorrections summary { cursor: pointer; }
#pfMultiPhotoCorrections p { margin: 7px 0; }
#pfMultiPhotoCorrections .pf-multi-photo-measures { grid-template-columns: repeat(3,minmax(0,1fr)); }
#pfMultiPhotoCorrections input:disabled { opacity: .6; }
.pf-multi-photo-measures input, .pf-multi-photo-measures select, .pf-multi-photo-views input { width: 100%; min-width: 0; }
.pf-multi-photo-views input[type=checkbox] { width: auto; flex: none; }
.pf-multi-photo-measures input, .pf-multi-photo-measures select {
  min-height: 37px;
  padding: 5px 7px;
  color: #e9f3f5;
  background: #101f27;
  border: 1px solid #597681;
  border-radius: 5px;
}
#pfMultiPhotoDialog [hidden], #pfMultiPhotoDialog label[data-alpha-row][hidden], #pfSectionsPhotoRefs[hidden] { display: none; }
#pfSectionsPhotoRefs { margin: 8px 0 3px; }
#pfSectionsPhotoRefs summary { cursor: pointer; }
#pfSectionsPhotoRefs p { margin: 6px 0; }
#pfMultiPhotoOpen { white-space: nowrap; }
.pf-sections-photo-views { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.pf-sections-photo-views figure { display: grid; place-items: center; align-content: start; margin: 0; }
.pf-sections-photo-views canvas { display: block; max-width: 100%; max-height: 130px; width: auto; height: auto; }
@media (max-width: 920px) { #pfMultiPhotoOpen { display: none; } }
@media (max-width: 700px) {
  #pfMultiPhotoDialog header, #pfMultiPhotoDialog footer { padding: 9px 12px; }
  #pfMultiPhotoDialog footer { flex-wrap: wrap; }
  #pfMultiPhotoContinue { width: 100%; }
  .pf-multi-photo-work { padding: 12px; }
  .pf-multi-photo-views { grid-template-columns: 1fr; }
  .pf-multi-photo-measures { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #pfMultiPhotoCorrections .pf-multi-photo-measures { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pf-multi-photo-views section > small { min-height: unset; }
}
