.jpc-comments{max-width:100%;margin:2.2rem 0 1.5rem;padding:1.2rem 0;border-top:1px solid #d7d7d7;color:inherit;font:inherit;line-height:1.6}
.jpc-heading{font-size:1.35rem!important;line-height:1.4;margin:0 0 1rem!important;padding:0!important}
.jpc-count{font-size:.85em;color:#666;font-weight:400}
.jpc-controls{display:flex;gap:.65rem;flex-wrap:wrap;margin:0 0 1rem}
.jpc-select{min-width:130px;max-width:100%;background:#fff;color:#202124;border:1px solid #c5c9ce;border-radius:6px;padding:.5rem .65rem;font:inherit;font-size:.9rem}
.jpc-item{border-top:1px solid #e5e7eb;padding:1rem 0;overflow-wrap:anywhere}
.jpc-meta{display:flex;gap:.5rem;flex-wrap:wrap;align-items:baseline;font-size:.85rem}
.jpc-author{font-weight:700}.jpc-language,.jpc-time{color:#666;font-size:.82rem}
.jpc-body{margin:.45rem 0!important;white-space:pre-wrap;overflow-wrap:anywhere}
.jpc-parent{margin-top:.55rem;border-left:3px solid #bfc7cf;padding:.35rem .65rem;color:#555;background:#f8f9fa;font-size:.86rem;overflow-wrap:anywhere}
.jpc-actions{display:flex;align-items:center;gap:.55rem}
.jpc-copy,.jpc-more{background:transparent!important;color:inherit!important;border:1px solid #c9c9c9!important;border-radius:6px!important;cursor:pointer;padding:.3rem .7rem!important;font-size:.86rem!important;line-height:1.5!important}
.jpc-copy:hover,.jpc-more:hover{background:#f2f4f6!important;color:#202124!important}
.jpc-more{margin:.75rem 0}.jpc-more[hidden]{display:none}
.jpc-status{color:#676767;margin:.6rem 0}.jpc-auth-notice{font-size:.87rem;color:#666;margin:1rem 0 0;padding:.8rem;background:#f7f8f9;border-radius:6px}
@media(max-width:560px){.jpc-comments{padding:1rem 0}.jpc-controls{display:grid;grid-template-columns:1fr 1fr}.jpc-select{min-width:0;width:100%;font-size:.82rem}}
/* v0.3.0: stable parent/reply grouping, site-specific responsive form. */
.jpc-thread{margin:0;padding:0;border-top:1px solid #e1e5e9}
.jpc-thread>.jpc-item{border-top:0;padding:1rem 0 .5rem}
.jpc-replies{margin:0 0 .7rem clamp(14px,4vw,34px);padding-left:clamp(10px,2vw,19px);border-left:2px solid #dae1e8}
.jpc-reply{padding:.65rem 0;border-top:1px solid #f0f1f4}
.jpc-replies .jpc-reply:first-child{border-top:0}
.jpc-action,.jpc-more-replies{background:transparent!important;color:inherit!important;border:1px solid #c9c9c9!important;border-radius:6px!important;cursor:pointer;padding:.3rem .7rem!important;font-size:.86rem!important;line-height:1.5!important}
.jpc-action:hover,.jpc-more-replies:hover{background:#f2f4f6!important;color:#202124!important}
.jpc-more-replies{margin:.3rem 0 .8rem 1rem}
.jpc-context-note{display:inline-block;font-size:.76rem;color:#64748b;margin-top:.25rem}
.jpc-write{border-top:1px solid #d7d7d7;margin-top:1.4rem;padding:1.2rem 0}
.jpc-write-heading{font-size:1.15rem!important;line-height:1.4;margin:0 0 1rem!important}
.jpc-field{display:block;font:inherit;font-size:.88rem;margin:.7rem 0}
.jpc-field>span{display:block;font-weight:600;margin-bottom:.3rem}
.jpc-input,.jpc-textarea{display:block;width:100%;box-sizing:border-box;background:#fff;color:#202124;border:1px solid #b9c3cc;border-radius:6px;padding:.65rem;font:inherit;font-size:.93rem}
.jpc-textarea{resize:vertical;min-height:100px;white-space:pre-wrap}
.jpc-write-actions{display:flex;justify-content:flex-end;align-items:center;gap:.6rem;flex-wrap:wrap}
.jpc-write-language{width:auto}
.jpc-send{background:#1b4b78!important;color:#fff!important;border:1px solid #1b4b78!important;border-radius:6px!important;padding:.55rem 1.2rem!important;font:inherit!important;font-size:.9rem!important;cursor:pointer}
.jpc-send:disabled{opacity:.6;cursor:default}
.jpc-write-hint{margin:.6rem 0 0;color:#667085;font-size:.8rem}
.jpc-reply-bar{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;font-size:.85rem}
.jpc-reply-target{font-weight:600;color:#334155}
.jpc-honey{position:absolute!important;left:-9999px!important;top:-9999px!important;width:1px;height:1px;opacity:0;pointer-events:none}
.jpc-write [hidden],.jpc-replies [hidden],.jpc-more-replies[hidden]{display:none!important}
@media(max-width:560px){.jpc-replies{margin-left:12px;padding-left:12px}.jpc-write-actions{justify-content:space-between}.jpc-send{flex:0 0 auto}}

/* v0.3.1: pending submissions are visible to the author only in current page DOM. */
.jpc-pending-thread,.jpc-item.jpc-pending{background:#fffaf1}
.jpc-item.jpc-pending{padding:.8rem .65rem;border-radius:6px}
.jpc-pending-label{display:inline-block;background:#fff0c2;color:#78520a;border:1px solid #ebcf82;border-radius:4px;font-weight:700;font-size:.76rem;padding:.1rem .45rem}
.jpc-pending-help{margin:.5rem 0 0!important;color:#665323;font-size:.82rem}
.jpc-body[hidden]{display:none!important}
.jpc-actions{flex-wrap:wrap}
.jpc-translate:disabled{opacity:.6;cursor:wait}
.jpc-translation-status{font-size:.8rem;color:#666;overflow-wrap:anywhere}
.jpc-translation-label{font-size:.76rem;color:#526375;font-weight:600}
.jpc-translation-label[hidden]{display:none!important}
