.crop-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:24px}.crop-canvas{display:block;width:100%;height:auto;touch-action:none;background:#1b2a20;border:3px solid #b8894a;border-radius:12px}.crop-tools label{margin-top:8px}.crop-tools input[type=range]{padding:0;min-height:32px}.crop-list{list-style:none;padding:0}.crop-item{display:grid;grid-template-columns:140px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid #d7c59f}.crop-item img{width:140px;height:140px;object-fit:cover;border-radius:50%;border:5px solid #b8894a}.crop-item input[type=checkbox]{width:24px}.photo-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px}.photo-gallery figure{margin:0}.photo-gallery img{object-fit:contain;max-height:500px}.portrait img{width:100%;height:100%;object-fit:cover;border-radius:50%}@media(max-width:760px){.crop-layout{grid-template-columns:1fr}.crop-item{grid-template-columns:90px 1fr;gap:12px}.crop-item img{width:90px;height:90px}}@media(prefers-reduced-motion:reduce){.crop-canvas{transition:none}}

.portrait{width:88px;height:88px;padding:11px;background:transparent url(art/medallion-blank-v1.webp) center/contain no-repeat}.branch-node{border:8px solid transparent;border-image:url(art/card-frame-v1.webp) 90 fill/8px stretch;border-radius:0;background:#fcf3dc;min-height:156px}
