.locator-photos { border-top:1px solid var(--border,#cbd5e1); padding:1rem 0; }
.locator-photos button,.locator-photos label { margin:.35rem .5rem .35rem 0; }
.locator-photos label { display:inline-flex; flex-direction:column; gap:.3rem; }
.locator-photos article { border-top:1px solid var(--border,#cbd5e1); padding:.75rem 0; }
.locator-photo-frame { position:relative; display:inline-block; margin:0; max-width:100%; }
.locator-photo-frame img { display:block; max-width:100%; max-height:70vh; object-fit:contain; }
.locator-photo-overlay { position:absolute; inset:auto 0 0; padding:.65rem; color:#fff; background:rgba(0,0,0,.8); font-size:.85rem; overflow-wrap:anywhere; }
.locator-photo-viewer:empty { display:none; }
@media(max-width:600px) { .locator-photos label { display:flex; } }
.locator-photo-selection,.locator-photo-location-state,.locator-photo-selection-error{overflow-wrap:anywhere;white-space:pre-wrap}
.locator-photo-selection-error{color:#b42318;border-inline-start:3px solid currentColor;padding-inline-start:8px}
body.dark .locator-photo-selection-error{color:#fda4af}
.locator-photos [role=alert]:empty{display:none}
@media(max-width:730px){
 .locator-photos{font-size:16px;line-height:1.5;min-width:0}
 .locator-photos label{display:flex;width:100%;min-width:0}
 .locator-photos input,.locator-photos button{font-size:16px;min-height:44px;max-width:100%}
 .locator-photos input{width:100%;min-width:0}
 .locator-photos fieldset{min-inline-size:0;max-width:100%;margin-inline:0;padding:10px}
 .locator-photos legend{white-space:normal;overflow-wrap:anywhere;max-width:100%}
 .locator-photos button{white-space:normal;overflow-wrap:anywhere}
 .locator-photo-overlay{font-size:14px;line-height:1.5}
}

.evidence-panel button, .evidence-panel select, .evidence-panel input {
  min-height: 44px; margin: .25rem; max-width: 100%;
}
.evidence-panel article { padding: .75rem; border-bottom: 1px solid #64748b; }
.evidence-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 8px;
}
.evidence-saved-preview img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}
.evidence-panel img, .evidence-panel video { max-width: 100%; max-height: 65vh; object-fit: contain; }
.evidence-overlay { padding: .75rem; background: #111827; color: white; overflow-wrap: anywhere; }

.evidence-panel {
  font-size: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.evidence-capture-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.evidence-capture-bar button {
  flex: 1 1 145px;
  min-width: 0;
  margin: 0;
  font-size: 16px;
}
.evidence-frame {
  position: relative;
  margin: 0;
  background: #111827;
}
.evidence-frame img, .evidence-frame video {
  display: block;
  width: 100%;
}
.evidence-frame .evidence-overlay {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  max-height: 45%;
  overflow: auto;
}
.evidence-frame:has(video) .evidence-overlay { bottom: 44px; }
@media (max-width: 1100px) {
  .evidence-panel { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
  .evidence-capture-bar:not([hidden]) {
    position: fixed;
    z-index: 70;
    inset: auto 0 var(--evidence-keyboard-inset, 0px);
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    max-height: 45dvh;
    overflow: auto;
    border-radius: 0;
  }
}
