.task-cell-editor {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.task-cell-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

/* チェックボックスのスタイル - 目立ちすぎないデザイン */
.task-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid var(--text-secondary, #999);
    border-radius: 3px;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    opacity: 0.7;
    flex-shrink: 0;
}



.task-checkbox:checked {
    background-color: var(--accent-color, #4a9eff);
    border-color: var(--accent-color, #4a9eff);
    opacity: 0.8;
}

/* チェックマーク */
.task-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* タイトル入力 - TextセルのUIと共通 */
.task-cell-editor .task-cell-title.cell-title-input {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0.25rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.task-cell-editor .task-cell-title.cell-title-input:focus {
    border-bottom-color: #9575cd;
}

/* 完了したタスクのタイトルには取り消し線 */
.task-checkbox:checked~.task-cell-title,
.task-checkbox:checked~.task-cell-title-display {
    text-decoration: line-through;
    color: var(--text-secondary);
    /* opacityの代わりに色を変更して読みやすく */
}