.local-photo-layout{display:grid;grid-template-columns:minmax(230px,340px) minmax(0,1fr);gap:22px;align-items:start}
.local-photo-preview img{display:block;width:100%;height:300px;object-fit:contain;margin:20px auto;background:#f4f6fa;border-radius:10px}
.local-photo-preview p{line-height:1.6;color:#495e7b}
.local-photo-empty{padding:65px 15px;text-align:center;background:#edf1f7;border:1px dashed #9badc6;border-radius:10px}
.local-photo-thumb{object-fit:contain;background:#f4f6fa;border:1px solid #c0cce0;border-radius:7px;flex:none}
.local-photo-product{display:flex;align-items:center;gap:12px;min-width:0}
.local-photo-product>div{min-width:0}
.local-photo-link{display:inline-block;font-size:14px;margin-top:7px;line-height:1.4}
.local-photo-form-note{color:#415c85;font-size:13px;line-height:1.6}
.local-photo-layout #id_action label{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:15px}
body.workspace .local-photo-layout #id_action input[type=radio]{width:20px;height:20px;min-height:20px;padding:0;margin:0;flex:none}
.local-photo-layout~.card{margin-top:24px}
.photo-selection{margin:18px 0;padding:18px;border:2px solid #9cafcf;border-radius:12px;background:#f4f7ff;min-width:0}
.photo-selection[hidden],.photo-selection canvas[hidden]{display:none}
.photo-selection h3{margin:0 0 12px}
.photo-selection canvas{display:block;width:100%;max-width:340px;height:auto;background:#fff;border-radius:8px}
.photo-selection p{line-height:1.5;overflow-wrap:anywhere}
.photo-selection-file{font-weight:600}
.photo-selection.has-error{border-color:#b84132;background:#fff3ef}
.photo-selection.has-error [data-photo-status]{color:#9f2519}
.photo-selection .button{white-space:normal;max-width:100%}
@media(max-width:760px){.local-photo-layout{grid-template-columns:minmax(0,1fr)}.local-photo-preview img{height:240px}.local-photo-empty{padding:30px 12px}}
