/* Keep both crop previews and the save action visible on a turned phone. */
@media (min-width:480px) and (max-height:600px) and (orientation:landscape){
 html[data-brand] body #photoCropModal{padding:10px!important}
 html[data-brand] body #photoCropModal .crop-card{box-sizing:border-box;width:min(900px,100%)!important;height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:12px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,1.2fr)!important;grid-template-rows:44px auto auto minmax(0,1fr) 44px!important;gap:6px 18px!important;overflow:hidden!important}
 html[data-brand] #photoCropModal .modal-head{grid-column:1/-1;grid-row:1;margin:0!important;min-height:0!important;align-items:center!important}
 html[data-brand] #photoCropModal .modal-head h3{font-size:clamp(18px,2.6vw,22px)!important;line-height:1.1!important;margin:0!important}
 html[data-brand] #photoCropModal .modal-head .c-overline{display:none!important}
 html[data-brand] #photoCropModal .photo-modal-controls{align-items:center!important;gap:8px!important}
 html[data-brand] #photoCropModal .photo-modal-controls button{position:static!important;transform:none!important;margin:0!important;flex:none!important}
 html[data-brand] #photoCropModal .subtle{grid-column:1/-1;grid-row:2;font-size:11px!important;line-height:1.3!important;margin:0!important}
 html[data-brand] #photoCropModal .crop-preview-label{grid-column:1/-1;grid-row:3;font-size:11px!important;line-height:1.2!important;margin:0!important}
 html[data-brand] body #cropSurface{grid-column:1!important;grid-row:4!important;place-self:center!important;height:100%!important;width:auto!important;aspect-ratio:4/5!important;max-width:100%!important;max-height:100%!important;min-height:0!important;margin:0!important;border-radius:12px!important}
 html[data-brand] body #photoCropModal .crop-tools{grid-column:2!important;grid-row:4!important;display:grid!important;grid-template-columns:minmax(90px,1fr) minmax(134px,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important;gap:6px 12px!important;align-items:center!important;height:100%!important;min-height:0!important;margin:0!important}
 html[data-brand] #photoCropModal .crop-avatar-preview{grid-column:1;grid-row:1/3;align-self:center;width:min(100%,112px)!important;margin:0 auto!important}
 html[data-brand] #photoCropModal .crop-avatar-preview figcaption{font-size:10px!important;line-height:1.2!important;margin-top:4px!important;white-space:nowrap}
 html[data-brand] #photoCropModal .crop-pan{grid-column:2;grid-row:1;grid-template-columns:repeat(3,40px)!important;grid-template-rows:repeat(2,40px)!important;gap:4px!important}
 html[data-brand] #photoCropModal .crop-pan button{min-width:40px!important;width:40px!important;min-height:40px!important;height:40px!important;padding:0!important}
 html[data-brand] #photoCropModal .crop-zoom{grid-column:2;grid-row:2;gap:2px!important;font-size:11px!important;line-height:1.2!important}
 html[data-brand] #photoCropModal .crop-zoom input{min-height:24px!important;height:24px!important;margin:0!important}
 html[data-brand] body #photoCropModal .crop-actions{grid-column:1/-1!important;grid-row:5!important;display:grid!important;grid-template-columns:1fr 1.4fr!important;gap:10px!important;margin:0!important;align-self:stretch!important}
 html[data-brand] #photoCropModal .crop-actions button{min-height:44px!important;height:44px!important;padding:8px 12px!important;font-size:14px!important;line-height:1.2!important}
}
@media (min-width:480px) and (max-height:500px) and (orientation:landscape){
 html[data-brand] body #participantEditor .participant-editor-card{padding:12px!important;gap:6px!important;overflow:hidden!important}
 html[data-brand] body #participantEditor .photo-editor{flex-direction:row!important;align-items:center!important;gap:14px!important}
 html[data-brand] body #participantEditor .photo-preview{height:110px!important;width:88px!important;flex:none!important;margin:0!important}
 html[data-brand] body #participantEditor .photo-tools{flex:1;min-width:0!important;gap:5px!important}
 html[data-brand] body #participantEditor .photo-status{font-size:10px!important;line-height:1.3!important;margin:0!important}
 html[data-brand] body #participantEditor .photo-upload{min-height:40px!important;padding:7px!important}
 html[data-brand] body #participantEditor .photo-edit-buttons{margin:0!important}
 html[data-brand] body #participantEditor .photo-edit-buttons button{min-height:40px!important;padding:6px 10px!important}
}
