.wagc-user-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wagc-user-checklist__filter {
    width: 100%;
    margin: 0;
}

.wagc-user-checklist__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wagc-user-checklist__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 8px;
    border: 1px solid #c5d6c5;
    border-radius: 999px;
    background: #eef8ee;
    color: #1a4f4f;
    font-size: 0.85rem;
    line-height: 1.2;
    cursor: pointer;
}

.wagc-user-checklist__chip:hover,
.wagc-user-checklist__chip:focus {
    background: #dcefdc;
    outline: none;
}

.wagc-user-checklist__chip-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wagc-user-checklist__chip-x {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.7;
}

.wagc-user-checklist__list {
    max-height: 220px;
    overflow: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    padding: 4px 0;
}

.wagc-user-checklist__item,
.wagc-termin-form .wagc-user-checklist__item,
.wagc-edit-details-form .wagc-user-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 7px 10px;
    cursor: pointer;
    font-weight: 400;
}

.wagc-user-checklist__item:hover {
    background: #f4f7f4;
}

.wagc-user-checklist__item input[type="checkbox"] {
    margin: 3px 0 0;
    flex-shrink: 0;
}

.wagc-user-checklist__label {
    min-width: 0;
    line-height: 1.35;
}

.wagc-user-checklist__item.wagc-excluded-by-other .wagc-user-checklist__label {
    color: #c62828;
    font-style: italic;
}

.wagc-user-checklist__count {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.wagc-user-checklist__item[hidden] {
    display: none !important;
}

.wagc-form-disclosure {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.wagc-form-disclosure > summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 14px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wagc-form-disclosure > summary::-webkit-details-marker {
    display: none;
}

.wagc-form-disclosure > summary::after {
    content: '';
    width: 0.45em;
    height: 0.45em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    flex-shrink: 0;
    opacity: 0.65;
}

.wagc-form-disclosure[open] > summary::after {
    transform: rotate(45deg);
}

.wagc-form-disclosure > summary:hover {
    background: #f7f7f7;
}

.wagc-form-disclosure__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px 14px;
}

.wagc-edit-details-form .wagc-form-disclosure {
    margin: 0 0 12px;
}
