.travel-checklist {
    margin: 40px 0;
}

.travel-checklist [hidden] {
    display: none !important;
}

.travel-checklist__intro {
    padding: clamp(20px, 4vw, 32px);
    background: var(--surface-strong);
    border: 1px solid rgba(204, 255, 0, 0.35);
    border-radius: 20px;
}

.travel-checklist__intro h2 {
    margin-top: 0;
}

.travel-checklist__intro p:last-child {
    margin-bottom: 0;
}

.travel-checklist__count {
    margin-bottom: 8px !important;
    color: var(--text);
    font-weight: 700;
}

.travel-checklist progress {
    display: block;
    width: 100%;
    height: 12px;
    accent-color: var(--accent);
}

.travel-checklist__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.travel-checklist button {
    min-height: 44px;
    padding: 10px 18px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--muted);
    border-radius: 10px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.travel-checklist button:hover {
    border-color: var(--accent);
}

.travel-checklist [data-checklist-print] {
    color: #080908;
    background: var(--accent);
    border-color: var(--accent);
}

.travel-checklist button:focus-visible,
.travel-checklist input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.travel-checklist__storage,
.travel-checklist__detail {
    color: var(--muted);
    font-size: 0.9rem;
}

.travel-checklist__reset {
    padding: 18px;
    border: 1px solid var(--muted);
    border-radius: 10px;
}

.travel-checklist__reset p,
.travel-checklist__reset .travel-checklist__actions {
    margin: 0;
}

.travel-checklist__reset .travel-checklist__actions {
    margin-top: 12px;
}

.travel-checklist__jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 24px 0;
    font-size: 0.9rem;
}

.travel-checklist__group {
    min-width: 0;
    margin: 18px 0 30px;
    padding: 10px clamp(14px, 3vw, 24px) 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    scroll-margin-top: 100px;
}

.travel-checklist__group legend {
    max-width: 100%;
    padding: 0 8px;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
}

.travel-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    cursor: pointer;
}

.travel-checklist__item + .travel-checklist__item {
    border-top: 1px solid var(--line);
}

.travel-checklist__item input {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 3px 0 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.travel-checklist__detail {
    display: block;
    margin-top: 4px;
}

.travel-checklist__item input:checked + span strong {
    color: var(--accent);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

@media print {
    @page {
        margin: 16mm;
    }

    body.blog-page {
        color: #000;
        background: #fff;
        font-size: 10pt;
    }

    .blog-nav, .blog-footer, .blog-skip-link, .breadcrumbs,
    .article-summary, .article-toc, .article-cta, .article-related,
    .article-deck, .article-body > :not(.travel-checklist),
    .travel-checklist__actions, .travel-checklist__reset,
    .travel-checklist__storage, .travel-checklist__jump,
    .travel-checklist noscript, .travel-checklist progress {
        display: none !important;
    }

    .blog-main, .article {
        width: 100%;
        max-width: none;
    }

    .article-header {
        padding: 0 0 14px;
    }

    .article-header h1 {
        font-size: 22pt;
    }

    .article-deck, .article-body {
        font-size: 10pt;
        line-height: 1.45;
    }

    .article-body, .article-body h2, .article-body strong,
    .article-body a, .article-kicker, .article-deck, .article-meta,
    .travel-checklist__detail, .travel-checklist__group legend,
    .travel-checklist__count, .travel-checklist__item input:checked + span strong {
        color: #000 !important;
    }

    .travel-checklist__intro, .travel-checklist__group {
        padding: 12px;
        background: #fff;
        border-color: #888;
        border-radius: 0;
    }

    .travel-checklist {
        margin: 20px 0;
    }

    .travel-checklist__group {
        margin: 20px 0;
        break-inside: avoid;
    }

    .travel-checklist__detail {
        font-size: 9pt;
        line-height: 1.45;
    }

    .travel-checklist__item strong {
        display: block;
        text-decoration: none !important;
    }

    .travel-checklist__item {
        display: block;
        padding: 7px 0 7px 26px;
        break-inside: avoid;
    }

    .travel-checklist__item input {
        display: none;
    }

    .travel-checklist__item > span {
        display: block;
        position: relative;
    }

    .travel-checklist__item > span::before {
        position: absolute;
        left: -26px;
        top: 1px;
        content: '';
        width: 16px;
        height: 16px;
        border: 1px solid #000;
    }

    .travel-checklist__item input:checked + span::before {
        display: block;
        content: '✓';
        color: #000;
        font-size: 14px;
        line-height: 14px;
        text-align: center;
    }

    .article-body h2, .travel-checklist__group legend {
        break-after: avoid;
    }
}
