/* ===== Checklist Page Styles ===== */
.checklist-page {
    padding: 32px 0 64px;
}

.checklist-header {
    margin-bottom: 40px;
}

.checklist-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.checklist-header p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.checklist-tip {
    background: rgba(62, 104, 255, 0.08);
    border: 1px solid rgba(62, 104, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    margin-top: 16px;
}

.checklist-tip strong { color: var(--color-text); }

/* Section */
.cl-section {
    margin-bottom: 36px;
}

.cl-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-accent);
    color: var(--color-text);
}

.cl-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 16px 0 8px;
    color: var(--color-text-muted);
}

/* Checklist items */
.cl-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cl-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.6;
    font-size: 14px;
    color: var(--color-text);
}

.cl-item:last-child {
    border-bottom: none;
}

.cl-item input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-green);
    cursor: pointer;
}

.cl-item label {
    cursor: pointer;
    flex: 1;
}

.cl-item.checked label {
    text-decoration: line-through;
    opacity: 0.5;
}

/* Progress bar */
.cl-progress {
    position: sticky;
    top: 48px;
    z-index: 50;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
    margin-bottom: 24px;
}

.cl-progress-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cl-progress-bar {
    flex: 1;
    height: 8px;
    background: var(--color-surface-2);
    border-radius: 4px;
    overflow: hidden;
}

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

.cl-progress-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* Nav bar extras */
.back-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
}
.back-link:hover { color: var(--color-text); }

.checklist-langs {
    display: flex;
    gap: 4px;
}

.lang-btn {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}
.lang-btn:hover { color: var(--color-text); background: var(--color-surface-2); }
.lang-btn.active { color: #fff; background: var(--color-accent); }

.print-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    cursor: pointer;
    font-family: inherit;
}
.print-btn:hover { background: var(--color-accent); border-color: var(--color-accent); }

/* Footer */
.checklist-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-text-muted);
}
.checklist-footer p { margin-bottom: 8px; }

/* ===== Print Styles ===== */
@media print {
    .no-print { display: none !important; }

    body {
        background: #fff;
        color: #000;
        font-size: 11px;
        line-height: 1.4;
    }

    .checklist-page { padding: 0; }

    .checklist-header h1 {
        font-size: 18px;
        color: #000;
    }

    .checklist-header p,
    .checklist-tip {
        color: #333;
        font-size: 10px;
    }

    .checklist-tip {
        background: #f5f5f5;
        border: 1px solid #ccc;
    }

    .cl-section h2 {
        font-size: 14px;
        color: #000;
        border-bottom-color: #000;
        page-break-after: avoid;
    }

    .cl-section h3 {
        font-size: 12px;
        color: #333;
        page-break-after: avoid;
    }

    .cl-item {
        font-size: 11px;
        color: #000;
        border-bottom-color: #ddd;
        padding: 6px 0;
        page-break-inside: avoid;
    }

    .cl-item input[type="checkbox"] {
        width: 14px;
        height: 14px;
        -webkit-appearance: none;
        appearance: none;
        border: 1.5px solid #000;
        border-radius: 2px;
        background: #fff;
    }

    .cl-progress { display: none; }

    .cl-section { page-break-inside: avoid; }

    a { color: #000; text-decoration: none; }
}

@media (max-width: 768px) {
    .lang-bar-inner {
        flex-wrap: wrap;
        gap: 8px;
    }
    .checklist-langs { order: 3; width: 100%; justify-content: center; }
}
