/* New photo controls remain inside the existing photo section. */
#localBackgroundControls select{max-width:70%;font-size:12px}
#localBackgroundControls p,#photoAdjustmentStatus,#cropPositionHelp{font-size:11px;line-height:1.6}
#adjustedPhotoCanvas{max-width:100%;max-height:370px;object-fit:contain;border-radius:8px}
#adjustedPhotoCanvas[data-transparent=true],#chartCanvas[data-transparent=true]{background-color:#fff;background-image:conic-gradient(#e1e6df 25%,transparent 0 50%,#e1e6df 0 75%,transparent 0);background-size:16px 16px}
.controls input:disabled,.controls select:disabled{opacity:.5;cursor:not-allowed}
@media(min-width:1700px){#adjustedPhotoCanvas{max-height:450px}}
@media(max-width:900px){#adjustedPhotoCanvas{max-height:115px}}
@media(max-width:720px){#adjustedPhotoCanvas{max-height:95px}}
@media(min-width:1280px) and (min-height:640px){.preview-panel #adjustedPhotoCanvas{max-height:calc(var(--preview-stage) - 80px)}}
