/* Photo comments use compact standard dark actions, not the large photo
   uploader's submit-photo-button or green comment-launcher styles. */
[data-ajax-feed-section="photo-comments"] .photo-comment-toggle-button,
[data-ajax-feed-section="photo-comments"] .photo-comment-submit-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #111827;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

[data-ajax-feed-section="photo-comments"] .photo-comment-toggle-button:hover,
[data-ajax-feed-section="photo-comments"] .photo-comment-submit-button:hover {
    background: #1f2937;
    color: #ffffff;
    text-decoration: none;
}

[data-ajax-feed-section="photo-comments"] .photo-comment-toggle-button:focus-visible,
[data-ajax-feed-section="photo-comments"] .photo-comment-submit-button:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 2px;
}

body.dark-mode [data-ajax-feed-section="photo-comments"] .photo-comment-toggle-button,
body.dark-mode [data-ajax-feed-section="photo-comments"] .photo-comment-submit-button {
    border-color: #64748b;
}
