.photo-quality { box-sizing: border-box; width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 20px; border: 1px solid #414141; border-radius: 18px; background: #202020; color: #f5f5f5; overflow-y: auto; font-family: inherit; }
.photo-quality::backdrop { background: rgb(0 0 0 / 80%); }
.photo-quality header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.photo-quality h2 { font-size: 1.3rem; margin: 0; }
.pq-close { flex: 0 0 40px; height: 40px; border: 0; border-radius: 50%; color: inherit; background: #333; font-size: 24px; cursor: pointer; }
.pq-intro, .pq-note { color: #bbb; font-size: .9rem; line-height: 1.45; }
.photo-quality .pq-intro { margin: 8px 0 16px; }
.photo-quality .pq-note { margin: 14px 0 0; }
.pq-preview { display: block; padding: 0; width: 100%; height: 32dvh; min-height: 140px; border: 0; border-radius: 10px; background: #111; overflow: auto; cursor: zoom-in; }
.pq-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pq-preview.is-zoomed { cursor: zoom-out; }
.pq-preview.is-zoomed img { width: 200%; height: auto; max-width: none; }
.pq-result { margin-top: 16px; line-height: 1.45; }
.pq-warning { padding: 12px 14px; border-radius: 10px; background: #3b301b; color: #ffdf9e; }
.pq-result ul { margin: 0; padding-left: 18px; }
.pq-result li + li { margin-top: 8px; }
.photo-quality footer { display: grid; gap: 10px; margin-top: 18px; }
.photo-quality .btn { white-space: normal; min-height: 46px; }
.photo-quality button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.camera-guidance { flex: none; margin: 8px 1rem 0; padding: 0; color: var(--muted); font-size: .8rem; line-height: 1.35; text-align: center; pointer-events: none; }
