/* ── Checklist Page ──────────────────────────── */

.checklist-progress {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem 1.2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--surface2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--green);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-dim);
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

.checklist-category {
    margin-bottom: 2rem;
}

.category-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    transition: background 0.1s;
}

.check-item:hover {
    background: var(--surface);
}

.check-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid var(--border2);
    border-radius: 3px;
    background: var(--surface2);
    cursor: pointer;
    margin-top: 3px;
    position: relative;
    transition: border-color 0.15s,
                background 0.15s;
}

.check-item input[type="checkbox"]:checked {
    background: var(--green);
    border-color: var(--green-lit);
}

.check-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: -1px;
    left: 2px;
    font-size: 12px;
    color: #fff;
}

.check-item.completed .check-label {
    color: var(--text-dim);
    text-decoration: line-through;
}

.check-label {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.4;
}

.check-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    line-height: 1.4;
}

.check-detail a {
    color: var(--accent);
}

.reset-btn {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--border);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-family: var(--mono);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.reset-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
}
