.task-repeat-chip {
    display: none;
    height: 24px;
    padding: 0 10px;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--textsecond);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.task-item[data-repeat]:not([data-repeat=""]) .task-repeat-chip {
    display: inline-flex;
}

.task-repeat-chip:hover {
    color: var(--text);
}

.task-repeat-chip svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.repeat-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.repeat-chip:hover {
    border-color: color-mix(in srgb, #6366f1 50%, var(--border));
}

.repeat-chip:active {
    transform: scale(0.96);
}

.repeat-chip.active {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.sidebar-field-label svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--textsecond);
}

.sidebar-repeat-btn.active {
    background: var(--addbtnbg);
}
