/* The complete selection remains visible across photos and body zones. */
.p37-summary{background:var(--studio-panel);border-color:var(--studio-border);color:var(--text);padding:18px}
.p37-summary>.selection-heading{align-items:baseline;gap:8px 16px;margin-bottom:16px}
.p37-summary>.selection-heading strong{font-size:16px;line-height:1.4}
.p37-summary>.selection-heading span{color:var(--studio-lime-ink,var(--studio-lime));font-size:13px;white-space:nowrap}
.selection-groups{display:grid;gap:16px;min-width:0}
.selection-group{min-width:0;border:1px solid var(--studio-border);border-radius:12px;overflow:hidden;background:var(--studio-bg)}
.selection-group>header{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--studio-border)}
.selection-photo-preview,.selection-photo-missing{width:46px;height:62px;flex:none;overflow:hidden;background:var(--studio-panel);border-radius:6px}
.selection-photo-preview>.dv-thumbnail{width:100%;height:100%;max-width:none;min-height:0;padding:0;border:0;border-radius:0}
.selection-photo-preview .dv-count,.selection-photo-preview .dv-photo-loading{display:none}
.selection-photo-missing{display:grid;place-items:center;font-size:24px;color:var(--studio-muted)}
.selection-group>header>div:not(.selection-photo-preview){flex:1;min-width:0;display:grid;gap:6px}
.selection-group strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.selection-group small{color:var(--studio-muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.selection-group button,.selection-more button{min-height:44px;min-width:44px;border:1px solid var(--studio-border);border-radius:8px;background:var(--studio-panel);color:var(--text);padding:9px 12px;line-height:1.3;font-size:12px}
.selection-group button:hover,.selection-more button:hover{border-color:var(--studio-muted)}
.selection-group button:focus-visible,.selection-more button:focus-visible,.selection-more summary:focus-visible{outline:2px solid var(--studio-lime);outline-offset:3px}
.selection-rows{display:grid}
.selection-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:start;gap:12px;padding:14px 12px;border-top:1px solid var(--studio-border);min-width:0}
.selection-row:first-child{border-top:0}
.selection-row[data-selection-active=true]{background:#7657FF09;box-shadow:inset 3px 0 var(--studio-lime)}
.selection-badge{width:46px;height:46px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:linear-gradient(135deg,#F4F3F6 50%,#4B4654 50%)}
.selection-badge>img{width:100%;height:100%;object-fit:contain;padding:5px;box-sizing:border-box}
.selection-badge-missing{font-size:21px;color:var(--studio-muted)}
.selection-copy{min-width:0;display:grid;gap:5px}
.selection-copy>span{font-size:13px;color:var(--text);overflow-wrap:anywhere}
.selection-copy em{font-size:12px;line-height:1.5;font-style:normal;color:var(--amber,#ffd785)}
.selection-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.selection-actions [data-placement-summary-remove]{color:var(--studio-muted);background:transparent}
.selection-total{margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:9px;font-size:13px}
.selection-total>strong{font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}
.selection-total>small,.selection-total>p{grid-column:1/-1;font-size:12px;color:var(--studio-muted);line-height:1.55;margin:0}
.selection-total>p{color:var(--amber,#ffd785)}
.selection-more{border-top:1px solid var(--studio-border);padding-top:10px;margin-top:16px}
.selection-more summary{cursor:pointer;min-height:44px;align-content:center;color:var(--studio-lime-ink,var(--studio-lime));font-size:13px;line-height:1.45}
.selection-more>div{display:flex;flex-wrap:wrap;gap:8px;padding-top:6px}
.selection-more button{display:flex;align-items:center;gap:12px;text-align:left}
.selection-more button small{color:var(--studio-muted);font-size:12px;white-space:nowrap}
.selection-more button[aria-pressed=true]{border-color:var(--studio-lime)}
.selection-empty{font-size:13px;line-height:1.65;color:var(--studio-muted);margin:0}
@media(max-width:1100px){.selection-actions{grid-column:2/-1;justify-content:flex-start}.selection-row{grid-template-columns:46px minmax(0,1fr)}}
@media(max-width:480px){.p37-summary{padding:14px}.selection-group>header{gap:9px}.selection-photo-preview,.selection-photo-missing{width:38px;height:52px}.selection-group>header>button{padding:8px}.selection-row{gap:9px}.selection-total{grid-template-columns:1fr}.selection-total>strong{font-size:20px}}
