/* Photo studio only: explicit grid areas override legacy layout rules. */
body.photo74.layout-standard main.photo-shell{display:grid;grid-template-columns:minmax(0,65fr) minmax(0,35fr);grid-template-areas:'nav nav' 'canvas settings';gap:14px;align-items:start}
body.photo74.layout-standard main.photo-shell>.photo74-nav{grid-area:nav}
body.photo74.layout-standard main.photo-shell>.photo-center{grid-area:canvas;min-width:0}
body.photo74.layout-standard main.photo-shell>.photo-inspector{grid-area:settings;min-width:0}
.photo-shell .photo-workspace-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;margin-bottom:16px}
.photo-shell .photo-workspace-heading>div:empty{display:none}
.photo-shell .photo-workspace-heading h1{margin:0 0 8px}
.photo-shell .photo-workspace-heading p{margin:0 0 12px}
.photo-shell .photo-workspace-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.photo-shell .photo-workspace-pair h3{font-size:15px;margin:10px 0}
.photo-shell .photo-upload-target,.photo-shell .photo36-empty{min-height:220px;border-radius:10px}
.photo-shell .photo36-empty{display:flex;flex-direction:column;justify-content:center;background:var(--ppanel);padding:8px;box-sizing:border-box;border:1px solid var(--pline)}
.photo-shell .photo36-empty #photoExamples{display:block}
.photo-shell .photo36-empty #photoExamples img{width:100%;height:auto;max-height:45vh;object-fit:contain}
.photo-shell .photo36-empty .photo-note{text-align:center;margin:8px 0;font-size:11px}
.photo-shell .photo36-empty:has(+ #photoCanvas.photo-loaded){display:none}
.photo-shell .photo36-empty + #photoCanvas:not(.photo-loaded){display:none}
.photo-shell .photo-workspace-actions button{border:1px solid var(--pline);border-radius:7px;padding:8px 10px;background:var(--ppanel);color:var(--paccent);cursor:pointer}
.photo-shell .photo-inspector input,.photo-shell .photo-inspector select,.photo-shell .photo-inspector textarea{max-width:100%;box-sizing:border-box}
@media(max-width:760px){body.photo74.layout-standard main.photo-shell{grid-template-columns:minmax(0,1fr);grid-template-areas:'nav' 'canvas' 'settings'}}
@media(max-width:480px){.photo-shell .photo-workspace-pair{grid-template-columns:minmax(0,1fr)}}

/* V37: permanent reference image above editor, like Beauty. */
.photo-shell .photo-workspace-heading #photoExamples,.photo-shell .photo-workspace-heading #photoExamples .photo-example{display:block;margin:0}
.photo-shell .photo-workspace-heading #photoExamples img{display:block;width:100%;height:auto;aspect-ratio:auto;max-height:220px;object-fit:contain;background:transparent;border-radius:10px}
.photo-shell .photo-workspace-heading #photoExamples figcaption{display:none}
.photo-shell .photo-workspace-heading .photo-note{font-size:11px;line-height:1.4;margin:6px 0 0;text-align:center;color:var(--pmuted)}
.photo-shell .photo36-empty{min-height:220px;align-items:center;text-align:center;color:var(--pmuted);font-size:13px;background:var(--pbg)}
@media(max-width:600px){.photo-shell .photo-workspace-heading{grid-template-columns:minmax(0,1fr)}}
