/* Only the product photography workspace; do not change other module layouts. */
.photo-start-row>.photo-auto-options{margin:0;min-width:0;padding:20px;border-radius:10px;background:#f7f8fa;display:flex;flex-direction:column;justify-content:center;gap:12px}.photo-start-row .photo-auto-toggle{margin:0;min-height:44px;gap:12px}.photo-start-row #photoAutoConsent{margin:0;font-size:12px;line-height:1.6}.photo-start-row .photo-auto-toggle>span{min-width:0}.photo-start-row .photo-auto-toggle span span{font-size:13px;line-height:1.6;margin-top:4px}#photoAutoModels{margin-top:18px}#photoAutoMode:focus-visible{outline:3px solid #92a9ff;outline-offset:4px}
.photo-auto-options{border:1px solid #dce3ef;border-radius:12px;padding:18px;margin-top:20px;background:#fff}.photo-auto-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;cursor:pointer}.photo-auto-toggle strong{font-size:16px;display:block}.photo-auto-toggle span span{display:block;color:#66758b;font-size:13px}.photo-auto-toggle input{appearance:none;width:46px;height:28px;border-radius:20px;background:#b1b9c8;position:relative;cursor:pointer;flex:none}.photo-auto-toggle input:before{content:'';position:absolute;width:22px;height:22px;border-radius:50%;background:#fff;top:3px;left:3px;transition:transform .15s}.photo-auto-toggle input:checked{background:#315ee8}.photo-auto-toggle input:checked:before{transform:translateX(18px)}#photoAutoConsent{font-size:13px;color:#66758b;margin:12px 0 0}
#view-productphoto #photoModelCountNote,#view-productphoto .photo-wide-field>small,#view-productphoto .photo-locked-brief,#view-productphoto .buyer-section-head p,#view-productphoto #photoCompositionEmpty,#view-productphoto #photoModelUploadHint{display:none!important}
#view-productphoto .photo-model-controls{grid-template-columns:minmax(0,1fr)}
#view-productphoto .photo-source-card button.preview{height:auto;min-height:0;aspect-ratio:1;display:block}
#view-productphoto .rr-rule .seed-head-actions{margin:12px 0;flex-wrap:wrap}
#view-productphoto .photo-source-grid{align-items:start}
@media(max-width:700px){
 body:has(#view-productphoto.active) .app-shell{display:block}
 body:has(#view-productphoto.active) .main-area{margin-left:0;width:100%}
 body:has(#view-productphoto.active) .topbar{height:auto;min-height:72px;padding:12px;gap:8px;flex-wrap:wrap;position:static}
 body:has(#view-productphoto.active) .topbar h1{font-size:21px}
 #view-productphoto{padding:12px}
 #view-productphoto .buyer-layout{display:block}
 #view-productphoto .buyer-side{margin-top:16px}
 #view-productphoto .buyer-stepper{display:flex;overflow-x:auto;padding:10px;gap:14px}
 #view-productphoto .buyer-stepper>i{display:none}
 #view-productphoto .buyer-stepper button{flex:0 0 112px}
 #view-productphoto .buyer-section{padding:16px}
 #view-productphoto .buyer-section-head{flex-wrap:wrap;gap:12px}
 #view-productphoto .buyer-section-head>div:not(.seed-head-actions){flex:1;min-width:180px}
 #view-productphoto .seed-head-actions{flex-wrap:wrap;max-width:100%}
 #view-productphoto .form-grid,#view-productphoto .photo-board-row,#view-productphoto .production-action-row,#view-productphoto .photo-model-controls{grid-template-columns:minmax(0,1fr)}
 #view-productphoto .photo-source-grid,#view-productphoto .photo-source-grid.model{grid-template-columns:repeat(2,minmax(0,1fr))}
 #view-productphoto .field,#view-productphoto input,#view-productphoto select,#view-productphoto textarea{min-width:0;max-width:100%}
 #view-productphoto .photo-source-empty{grid-template-columns:32px minmax(0,1fr);padding:12px}
 #view-productphoto .buyer-save-row,#view-productphoto .project-context-bar{flex-wrap:wrap;gap:10px}
 #view-productphoto .production-start-button{width:100%;min-width:0}
 #view-productphoto .photo-board-row>.photo-board-card,#view-productphoto .photo-board-row>.photo-board-actions{grid-column:auto;grid-row:auto}
}
.request-review .pp-reference-picker{min-width:0;margin:16px 0 0;padding:14px;border:1px solid #e1e6ef;border-radius:12px}
.request-review .pp-reference-picker legend{font-size:14px;padding:0 6px;color:#465675}
.request-review .pp-reference-picker small{display:block;color:#7c8aa2;line-height:1.6}
.request-review .pp-reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(116px,1fr));gap:10px;margin-top:12px}
.request-review .pp-reference-grid label{display:flex;flex-direction:column;gap:6px;min-width:0;padding:8px;border:1px solid #e1e6ef;border-radius:10px;cursor:pointer;font-size:12px}
.request-review .pp-reference-grid label:has(input:checked){border-color:#355cf5;background:#eef2ff}
.request-review .pp-reference-grid input{width:18px;height:18px;align-self:flex-start;accent-color:#355cf5}
.request-review .pp-reference-grid img{width:100%;height:90px;object-fit:contain;background:#f6f7fa;border-radius:6px}
.request-review .pp-reference-grid span{overflow-wrap:anywhere}
