.photo-comment-editor{margin:16px 0 0;min-width:0}.photo-comment-editor textarea{width:100%;max-width:100%;min-width:0;font-size:16px;line-height:1.5}
#photo-comment-assistance{margin-top:10px;min-width:0}#photo-comment-assistance .field-note{margin:8px 0}.photo-comment-correct{margin-top:10px}
.photo-comment-auto{display:flex;align-items:center;gap:7px;font-size:.78rem;color:var(--muted);margin-top:12px;line-height:1.5}.photo-comment-auto input{flex:0 0 auto}
.photo-comment-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.photo-comment-comparison>div{min-width:0;border:1px solid var(--line);padding:12px;border-radius:8px;background:#f8fafb;font-size:.85rem;line-height:1.5}
.photo-comment-comparison p{margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.photo-comment-photo{margin:0;min-width:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}
.photo-comment-photo>a{display:block}.photo-comment-gallery .photo-comment-photo img{display:block;width:100%;height:125px;object-fit:cover;border-radius:0}
.photo-caption{padding:8px;min-width:0;font-size:.78rem;line-height:1.45;overflow-wrap:anywhere}
.photo-caption-short{margin:3px 0;font:inherit;overflow-wrap:anywhere}
.photo-comment-gallery .photo-comment-photo .photo-caption-detail>summary,.photo-comment-gallery .photo-comment-photo .photo-comment-original>summary{display:block;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;font:inherit;font-weight:400;cursor:pointer;list-style:none}
.photo-comment-gallery .photo-comment-photo .photo-caption-detail>summary::after,.photo-comment-gallery .photo-comment-photo .photo-comment-original>summary::after{content:none}
.photo-comment-gallery .photo-comment-photo .photo-caption-detail>summary::-webkit-details-marker{display:none}
.photo-caption-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}
.photo-caption-read,.photo-caption-reduce{display:block;color:#315e81;text-decoration:underline;font-size:.73rem;margin-top:4px}
.photo-caption-reduce{display:none}.photo-caption-detail[open]>summary .photo-caption-excerpt,.photo-caption-detail[open]>summary .photo-caption-read{display:none}
.photo-caption-detail[open]>summary .photo-caption-reduce{display:block}.photo-caption-complete,.photo-comment-original p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.photo-comment-source{display:block;color:var(--muted);font-size:.69rem;margin-top:6px}.photo-comment-original{margin-top:8px}
.photo-summary-groups h3{font-size:.9rem;line-height:1.45;margin:15px 0 8px;overflow-wrap:anywhere}.photo-summary-groups .work-gallery{margin-top:8px}
.photo-summary>details>summary{display:flex;align-items:center;gap:10px}.photo-summary>details>summary>span:first-child{min-width:0;flex:1}.photo-summary-count{flex:0 0 auto;background:#edf4fb;color:#345e80;border:1px solid #c8dced;font-weight:600;white-space:nowrap}
@media(max-width:480px){.photo-comment-comparison{grid-template-columns:minmax(0,1fr)}.photo-comment-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}
.photo-caption-edit{display:block;border:0;background:transparent;color:#315e81;font:inherit;font-size:.73rem;text-decoration:underline;text-align:left;padding:7px 8px;cursor:pointer;min-height:34px;width:100%}.photo-caption-edit:focus-visible{outline:2px solid #2672ad;outline-offset:-2px}.photo-caption-preview{display:block;max-width:100%;max-height:32vh;object-fit:contain;margin:0 auto 12px}.photo-caption-history{margin-top:20px}.photo-caption-history article{border-top:1px solid var(--line);margin-top:12px;padding-top:12px;font-size:.82rem}.photo-caption-history p,.photo-caption-history dd{white-space:pre-wrap;overflow-wrap:anywhere}.photo-caption-history dd{margin:4px 0 10px}#photo-caption-error{margin-top:12px}
