.jjcp, .jjcp * { box-sizing: border-box; }
.jjcp { display:flex; flex-direction:column; gap:10px; width:100%; max-width:100%; margin:12px 0 24px; color:inherit; }
.jjcp__head { display:flex; gap:12px; align-items:baseline; justify-content:space-between; flex-wrap:wrap; }
.jjcp__head strong { font-size:1.15rem; line-height:1.4; }
.jjcp__count { font-size:.85rem; opacity:.7; white-space:nowrap; }
.jjcp__hint { margin:0 !important; font-size:.92rem; line-height:1.45; opacity:.82; }
.jjcp__dropdown { width:100%; position:relative; border:1px solid #c5c5c5; border-radius:9px; background:#fff; color:#222; }
.jjcp__dropdown > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 15px; cursor:pointer; list-style:none; line-height:1.5; }
.jjcp__dropdown > summary::-webkit-details-marker { display:none; }
.jjcp__dropdown > summary:focus-visible { outline:3px solid #6b7b48; outline-offset:3px; border-radius:8px; }
.jjcp__chevron { display:inline-block; flex-shrink:0; width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); transition:transform .15s; }
.jjcp__dropdown[open] .jjcp__chevron { transform:rotate(225deg); }
.jjcp__panel { padding:14px; border-top:1px solid #e5e5e5; }
.jjcp__search-label { display:block; font-size:.85rem; font-weight:600; margin-bottom:6px; }
.jjcp input.jjcp__search { display:block; width:100%; max-width:100%; height:42px; font:inherit; font-size:.95rem; padding:9px 12px; border-radius:6px; border:1px solid #c9c9c9; background:#fff; color:#222; }
.jjcp__list { display:flex; flex-direction:column; gap:15px; max-height:320px; overflow-y:auto; overscroll-behavior:contain; margin-top:12px; padding-right:4px; }
.jjcp__group { display:flex; flex-direction:column; gap:2px; }
.jjcp__group[hidden], .jjcp__option[hidden], .jjcp__empty[hidden] { display:none !important; }
.jjcp__group h4 { margin:2px 0 7px; font-size:.94rem; font-weight:700; line-height:1.4; }
.jjcp__option { display:flex !important; flex-direction:row; align-items:center; gap:9px; width:100%; padding:7px 6px; border-radius:5px; font-size:.92rem; line-height:1.4; cursor:pointer; font-weight:400; }
.jjcp__option:hover { background:#f3f5f1; }
.jjcp__option input[type="checkbox"] { position:static; flex-shrink:0; width:18px; height:18px; margin:0; opacity:1; accent-color:#536942; cursor:pointer; }
.jjcp__option input:disabled { cursor:not-allowed; opacity:.45; }
.jjcp__option:has(input:disabled) { opacity:.48; cursor:not-allowed; }
.jjcp__option-name { flex:1; min-width:0; }
.jjcp__new { flex-shrink:0; border-radius:99px; background:#ecf0e8; color:#395534; padding:3px 7px; font-size:.69rem; font-weight:700; line-height:1.2; }
.jjcp__empty { padding:8px 0; margin:0; font-size:.91rem; }
.jjcp__selected { display:flex; flex-wrap:wrap; gap:7px; }
.jjcp__selected:empty { display:none; }
.jjcp button.jjcp__chip { display:inline-flex; width:auto; min-height:0; gap:9px; justify-content:space-between; align-items:center; border:1px solid #c8d1c1; border-radius:99px; background:#f2f5ef; color:#284324; padding:7px 11px; font-size:.8rem; font-weight:500; line-height:1.4; text-transform:none; letter-spacing:normal; cursor:pointer; }
.jjcp__chip:hover { background:#e4ebde; }
.jjcp__chip span { font-size:1.2em; line-height:1; }
.jjcp__legend { margin:0 !important; font-size:.82rem; line-height:1.4; opacity:.8; }
@media (max-width: 767px) {
    .jjcp { gap:9px; margin:12px 0 20px; }
    .jjcp__head strong { font-size:1.04rem; }
    .jjcp__panel { padding:10px; }
    .jjcp__list { max-height:260px; }
    .jjcp__option { padding:9px 5px; }
}
