.photo-section .section-heading { align-items: flex-start; flex-wrap: wrap; }
.photo-count { margin-inline-start: auto; background: #f0ebf8; color: #554571; padding: 5px 9px; border-radius: 7px; font-size: 12px; direction: ltr; font-weight: 700; }
.photo-help, .photo-empty { color: var(--muted); font-size: 12px; line-height: 1.7; }
.photo-upload-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.photo-upload-actions .button { font-size: 12px; min-height: 44px; }
.photo-empty { padding: 17px 0 4px; }
.photo-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.photo-card { min-width: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.photo-thumbnail { height: 130px; background: #f1f2f7; display: grid; place-items: center; padding: 5px; }
.photo-thumbnail img { display: block; width: 100%; height: 120px; object-fit: contain; }
.photo-thumbnail span { font-size: 11px; color: var(--muted); padding: 10px; text-align: center; }
.photo-card p { padding: 9px 9px 3px; font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.photo-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; padding: 7px; direction: ltr; }
.photo-actions .button { min-width: 0; min-height: 38px; padding: 6px; font-size: 20px; line-height: 1; }
.photo-actions .button:last-child { color: #9c4239; }
.photo-status { margin-top: 10px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.preview-pages { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 19px 13px; }
.preview-pages > div { display: flex; gap: 7px; }
.preview-pages .button { min-height: 36px; padding: 7px 11px; font-size: 11px; }
.preview-pages .button[aria-pressed=true] { background: var(--brand-purple); color: #fff; border-color: var(--brand-purple); }
.preview-pages > span { color: var(--muted); font-size: 10px; }
@media(max-width:800px) { .preview-pages { grid-column: 1 / -1; } .preview-stage { grid-row: 4 / 8; } }
@media(max-width:380px) { .photo-list { grid-template-columns: 1fr; } .preview-pages { flex-wrap: wrap; } }
