.lsm-color {display:flex; flex-wrap:wrap; align-items:end; gap:6px; margin:8px 0}
.lsm-color label {display:flex; flex-direction:column; gap:4px}
.lsm-color input[data-lsm-hex] {width:8.5em; font-family:monospace; min-height:34px; margin:0}
.lsm-color input[data-lsm-swatch] {padding:2px; width:38px; height:34px; min-height:0; margin:0; cursor:pointer}
.lsm-color [data-lsm-copy] {min-height:34px; padding:4px 10px; margin:0}
.lsm-color-status {font-size:.85em; align-self:center}
.lsm .lsm-photo-zoom, .lsm .lsm-photo-zoom:hover, .lsm .lsm-provider-profile button.lsm-photo-zoom {padding:0; border:0; background:transparent; box-shadow:none; flex-shrink:0; line-height:0; cursor:zoom-in}
.lsm .lsm-photo-zoom:focus-visible {outline:2px solid currentColor; outline-offset:3px}
.lsm .lsm-profile-header .lsm-photo-zoom img {background:white; object-fit:contain; border-radius:12px}
.lsm .lsm-customer-identity .lsm-photo-zoom img {width:48px; height:48px; object-fit:cover; border-radius:50%}
.lsm-photo-dialog {max-width:min(90vw,480px); padding:16px; border:0; border-radius:12px; background:white; color:#182644}
.lsm-photo-dialog::backdrop {background:rgba(0,0,0,.65)}
.lsm-photo-dialog img {display:block; max-width:100%; max-height:65vh; object-fit:contain; margin:12px auto 0}
.lsm .lsm-provider-profile .lsm-button:hover,.lsm .lsm-provider-profile button:not(.lsm-photo-zoom):hover {background:var(--provider-button-hover,var(--lsm-button-hover)); color:var(--provider-button-hover-text,var(--provider-button-text,var(--lsm-button-text))); filter:none}
dialog.lsm-photo-dialog button.lsm-photo-close,
dialog.lsm-photo-dialog button.lsm-photo-close:is(:hover,:focus,:active) {
  background:var(--lsm-photo-close-background,#305ad0);
  color:var(--lsm-photo-close-text,#ffffff);
  border:1px solid var(--lsm-photo-close-background,#305ad0);
  border-radius:8px;
  padding:8px 14px;
  cursor:pointer;
}
dialog.lsm-photo-dialog button.lsm-photo-close:focus-visible {outline:2px solid #182644; outline-offset:2px}

.lsm-request-photo-viewport { margin-top: 12px; max-height: 65vh; overflow: auto; }
.lsm-request-photo-viewport img { margin: 0 auto; }
.lsm-request-photo-viewport.is-zoomed img { max-width: none; max-height: none; margin: 0; }
