/* Uploaded photographs set their own width. Controls stay outside the picture. */
.intake-grid { --photo-height: 420px; }
.comparison-grid { --photo-height: 420px; }
.intake-column { display:flex; flex-direction:column; align-items:center; }
.intake-column h3 { align-self:stretch; }
.intake-column .upload-zone { height:var(--photo-height); aspect-ratio:auto; flex:none; }
.intake-column .upload-zone.has-image { width:fit-content; max-width:100%; background:none; border:0; border-radius:0; box-shadow:none; transform:none; overflow:visible; }
.intake-column .upload-zone.has-image:hover { background:none; box-shadow:none; transform:none; }
.upload-zone.has-image .portrait-preview { width:fit-content; height:var(--photo-height); overflow:visible; border-radius:0; }
.upload-zone.has-image .preview-image, .comparison-image.has-image .preview-image { width:auto; height:var(--photo-height); max-width:none; object-fit:contain; border-radius:0; }
.intake-column .photo-upload-button { position:static; display:inline-flex; align-items:center; justify-content:center; margin:12px 0 0; min-height:40px; flex:none; cursor:pointer; opacity:1; }
.photo-upload-button:focus-visible { outline:2px solid #756099; outline-offset:4px; }
.intake-column .upload-feedback { align-self:stretch; text-align:center; overflow-wrap:anywhere; }
.comparison-grid { align-items:start; }
.comparison-grid figure { display:flex; flex-direction:column; align-items:center; min-width:0; height:auto; aspect-ratio:auto; border:0; border-radius:0; background:none; overflow:visible; }
.comparison-grid figcaption { position:static; order:-1; padding:0; margin:0 0 12px; background:none; border:0; border-radius:0; min-height:20px; font-size:12px; line-height:20px; }
.comparison-grid .comparison-image { height:var(--photo-height); flex:none; width:100%; border-radius:8px; background:#e0e5f061; }
.comparison-grid .comparison-image.has-image { width:fit-content; background:none; border:0; border-radius:0; overflow:visible; }
.comparison-grid .save-button { position:static; margin:12px 0 0; min-height:40px; padding:8px 12px; font-size:12px; flex:none; }
.comparison-grid .save-button svg { width:16px; height:16px; flex:none; }
@media(max-width:700px) { .intake-column .photo-upload-button { font-size:12px; padding:8px 12px; }.comparison-grid .save-button { padding:8px; gap:4px; flex-wrap:wrap; justify-content:center; } }
