.comment-compose-row{display:flex;align-items:flex-end;gap:8px}.comment-compose-row .field{flex:1;min-width:0;width:0;margin:0;min-height:48px;max-height:160px;resize:vertical;font-size:16px}.comment-compose-row .icon-btn{flex:0 0 44px;min-height:44px}.comment-compose-row .primary{background:var(--accent);color:white}.comment-status{display:block;margin-top:6px;overflow-wrap:anywhere}.comment-status:empty{display:none}.comment-attachments{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding-bottom:8px}.comment-attachments:empty{display:none}.comment-attachment{position:relative;flex:0 0 90px;min-width:0}.comment-attachment>img{width:90px;height:72px;object-fit:cover;border-radius:8px}.comment-attachment>span{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:90px}.comment-attachment>.icon-btn{position:absolute;right:0;top:0;background:var(--surface);width:44px;height:44px}.comment-body{white-space:pre-wrap;overflow-wrap:anywhere}.comment-photo{display:block;max-width:240px;margin:8px 0;border:1px solid var(--line);border-radius:10px;overflow:hidden;white-space:normal;text-decoration:none;background:var(--surface)}.comment-photo img{display:block;width:100%;max-height:180px;object-fit:contain;background:var(--bg)}.comment-photo>span{display:block;padding:6px 9px;font-size:12px;overflow-wrap:anywhere}.comment-photo.missing{padding:10px;font-size:12px;color:var(--muted)}.photo-description a,.comment-body>span>a{text-decoration:underline;color:var(--accent)}.comment-form{min-width:0}.comment-photo:focus-visible,.comment-compose-row button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:720px){.comments-panel{flex:0 0 auto;min-height:360px}.comments-list{flex:0 0 auto;max-height:none;overflow:visible}.comment-form{position:static;flex-shrink:0;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}}
.comment-actions{gap:4px;flex-wrap:wrap;margin-top:4px}.comment-actions>.btn{font-size:12px;min-height:44px}.comment-actions>[data-action="delete-comment"]{color:var(--danger)}
.edit-photo-row{display:flex;align-items:flex-start;gap:8px;min-width:0;margin:8px 0}.edit-photo-row>.icon-btn{flex:0 0 44px;min-height:44px}.edit-photo-row>textarea{flex:1;min-width:0;width:0;margin:0}.editor-form>.comment-attachments{margin:12px 0}.photo-share-form>.field{display:block;width:100%;margin:8px 0 16px}.photo-share-form>.share-status{color:var(--muted);font-size:13px;overflow-wrap:anywhere}.photo-share-form>.share-status:empty{display:none}.edit-photo-row>.icon-btn:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.message-editor .editor-form{padding:20px}.message-editor h2{font-size:20px;margin-bottom:12px}#editor .photo-share-form [role=alert],#editor .edit-photo-row~[role=alert]{color:var(--danger)}
