/* TGD professional photo presentation — candidate visual update only. */
/* Keeps existing V14 page geometry, image identities, text, and rotation logic. */
.photo-slot, .ap-approved-photos .ap-image-stage {
  background:linear-gradient(140deg,#e9edf0 0%,#d5dfe4 55%,#f4f5f5 100%)!important;
  overflow:hidden; isolation:isolate;
}
.photo-slot::before,.ap-approved-photos .ap-image-stage::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(135deg,#ffffff55,transparent 40%,#0c2a3b13);
  z-index:0;
}
.photo-slot img.photo-frame, .ap-approved-photos .ap-image-stage img {
  filter:contrast(1.045) saturate(1.045);
}
/* Large imagery may fill its existing frame; do not artificially stretch small archive images. */
.photo-slot img.photo-frame[data-source-kind="ai_concept"],
.photo-slot img.photo-frame[data-source-kind="ai_design_example"] {
  object-fit:cover!important; width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  inset:0!important;left:0!important;top:0!important;transform:none!important;
}
.photo-slot img.photo-frame[data-source-kind^="archive"] {z-index:1;}
.photo-slot .photo-kind {z-index:4;}
.ap-approved-photos .ap-image-stage {position:relative;}
.ap-approved-photos .ap-image-stage img {position:relative;z-index:1;box-shadow:0 12px 28px #182c3a20;border-radius:4px;}
/* Archive panels receive a lighter editorial frame instead of the old dark letterbox. */
.ap-approved-photos .ap-figure {box-shadow:0 18px 35px -29px #1d2e3c80;}
/* Small photos remain contained at their actual useful size; no misleading AI reconstruction. */
@media(prefers-reduced-motion:reduce){.photo-slot img,.ap-image-stage img{transition:none!important}}
