/* Native fields, including the accessible label hidden only visually. */
.wp-block-post-comments-form { box-sizing: border-box; border-radius: 12px; }
.wp-block-post-comments-form .comment-form { display: flex; flex-direction: column; gap: 16px; }
.wp-block-post-comments-form .comment-form > p { margin: 0; }
.wp-block-post-comments-form textarea,
.wp-block-post-comments-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]) { box-sizing: border-box; width: 100%; max-width: 100%; padding: 12px 16px; font: inherit; border: 1px solid #cbd3d6; border-radius: 8px; background: #fff; color: #263238; }
.wp-block-post-comments-form textarea { min-height: 140px; resize: vertical; }
.wp-block-post-comments-form :is(textarea,input,button):focus-visible { outline: 2px solid #577c59; outline-offset: 3px; }
.wp-block-post-comments-form .form-submit { align-self: flex-end; }
.wp-block-post-comments-form [type=submit] { min-height: 44px; padding: 10px 24px; border: 0; border-radius: 8px; font: inherit; cursor: pointer; }
@media (max-width: 600px) {
    .wp-block-post-comments-form { padding: 20px 16px !important; }
    .wp-block-post-comments-form .form-submit { width: 100%; }
    .wp-block-post-comments-form [type=submit] { width: 100%; }
}
.kp-comment-rating { border: 0; margin: 0; padding: 0; min-width: 0; }
.kp-comment-rating legend { margin-bottom: 8px; font-size: 14px; }
.kp-comment-rating__choices { display: flex; flex-wrap: wrap; gap: 6px; }
.kp-comment-rating__choices label { position: relative; cursor: pointer; }
.kp-comment-rating__choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.kp-comment-rating__choices span:not(.screen-reader-text) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; box-sizing: border-box; padding: 6px 10px; border: 1px solid #a8b3ae; border-radius: 8px; background: #fff; color: #3a513d; }
.kp-comment-rating__choices input:checked + span { background: #577c59; border-color: #577c59; color: #fff; }
.kp-comment-rating__choices input:focus-visible + span { outline: 2px solid #263238; outline-offset: 2px; }
.kp-comment-score { color: #99651a; letter-spacing: 2px; }
.kp-comment-captcha { max-width: 100%; }
.kp-comment-captcha-status:empty { display: none; }
.kp-comment-captcha-status { font-size: 13px; }
/* Bot trap is excluded from both keyboard flow and visible comment layout. */
.kp-comment-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; margin: 0 !important; padding: 0 !important; }

/* Core block themes use wp-element-button rather than the legacy submit class. */
.wp-block-post-comments-form [type=submit] { color: #fff; background-color: #394449; }
.wp-block-post-comments-form [type=submit]:hover { color: #fff; background-color: #263238; }
