.dlp .dlp-card-photo {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  color: #302a22;
  font: 400 13px/1.5 system-ui, sans-serif;
}

.dlp .dlp-card-photo__title {
  margin: 0;
  font-weight: 600;
}

.dlp .dlp-card-photo__title > span {
  margin-inline-start: 3px;
  color: #6c6255;
  font-weight: 400;
}

.dlp .dlp-card-photo__control {
  position: relative;
  min-width: 0;
}

.dlp .dlp-card-photo .dlp-card-photo__input {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.dlp .dlp-card-photo__picker {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #bcb09d;
  border-radius: 6px;
  background: #fcfaf5;
  color: inherit;
}

.dlp .dlp-card-photo__control:hover .dlp-card-photo__picker,
.dlp .dlp-card-photo.has-photo .dlp-card-photo__picker {
  border-color: #937a52;
}

.dlp .dlp-card-photo__input[aria-invalid="true"] + .dlp-card-photo__picker {
  border-color: #9d4338;
}

.dlp .dlp-card-photo__input:focus-visible + .dlp-card-photo__picker,
.dlp .dlp-card-photo .dlp-card-photo__remove:focus-visible {
  outline: 2px solid #76603f;
  outline-offset: 3px;
}

.dlp .dlp-card-photo__tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 5px;
  background: #eee6d7;
  color: #705635;
}

.dlp .dlp-card-photo__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dlp .dlp-card-photo__icon {
  position: relative;
  box-sizing: border-box;
  width: 20px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  transform: translateY(3px);
}

.dlp .dlp-card-photo__icon::before,
.dlp .dlp-card-photo__icon::after {
  position: absolute;
  left: 50%;
  box-sizing: border-box;
  content: "";
}

.dlp .dlp-card-photo__icon::before {
  top: -6px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.dlp .dlp-card-photo__icon::after {
  top: -7px;
  height: 12px;
  border-left: 1.5px solid currentColor;
  transform: translateX(-50%);
}

.dlp .dlp-card-photo__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.dlp .dlp-card-photo__action {
  font-weight: 650;
}

.dlp .dlp-card-photo__hint,
.dlp .dlp-card-photo__filename {
  color: #6c6255;
  font-size: 12px;
}

.dlp .dlp-card-photo .dlp-card-photo__remove {
  justify-self: start;
  min-height: 40px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.dlp .dlp-card-photo [hidden] {
  display: none !important;
}

.dlp .dlp-share--personal-card .dlp-share__canvas-wrap {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 4 / 5;
  justify-self: center;
  background: #141925;
}

.dlp .dlp-share--personal-card .dlp-share__canvas-wrap canvas,
.dlp .dlp-share--personal-card .dlp-share__preparing,
.dlp .dlp-share--personal-card:not(.dlp-share--suit-card) [data-dlp-share-download]:not([data-dmn-photo-only]),
.dlp .dlp-share--personal-card:not(.dlp-share--suit-card) [data-dlp-share-image]:not([data-dmn-photo-only]) {
  display: none !important;
}

.dlp .dlp-share__canvas-wrap [data-dmn-personal-preview] {
  display: block;
  width: 100%;
  height: auto;
}

.dlp .dlp-share__canvas-wrap [data-dmn-personal-preview][hidden] {
  display: none !important;
}
