.content details {
    border: 1px solid #cfd8dc;
    border-radius: 10px;
    background: #f8fbf8;
    margin: 0 0 1rem;
}

.content details > summary {
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    padding: 0.8rem 1rem;
    color: #1b5e20;
}

.checklist {
    border: 1px solid #d8d8d8;
    border-right: none;
    border-left: none;
    margin: 0 0 0.9rem;
    background: #fff;
}

.checklist h3 {
    display: block;
    border-left: 3px solid transparent; /* makes space for orange border */
    padding: 0.7rem 0.7rem;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: bold;
    margin: 0;
}

.checklist .checklist-anchor {
    margin-left: 0.35rem;
    opacity: 0;
    color: #6b7280;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.checklist h3:hover .checklist-anchor,
.checklist .checklist-anchor:focus,
.checklist .checklist-anchor:focus-visible {
    opacity: 1;
}

.checklist ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checklist li {
    display: grid;
    grid-template-columns: 1.4rem 1fr;
    gap: 0.7rem;
    align-items: center;
    padding: 0.2rem 0.7rem;
    border-left: 3px solid transparent; /* makes space for orange border */
}

.checklist input[type="checkbox"] {
    width: 1.3rem;
    height: 1.3rem;
    margin: 0;
    align-self: center;
}

.checklist label {
    display: block;
    cursor: pointer;
    line-height: 1.45;
    padding: 0.45rem 0;
}

.checklist label strong {
    font-weight: bold;
}

.checklist .checklist-item-detail {
    color: #6b7280;
}

.checklist input[type="checkbox"]:checked + label {
    color: #2e7d32; /* green */
    font-weight: normal;
}

mark.time,
.checklist li:has(mark),
.checklist h3:has(mark) {
    background: #ffa50020;
    border-left: 3px solid #ff9500;
}
.checklist mark {
    background: none;
}

.checklist li:has(input[type="checkbox"]:checked),
.checklist.complete h3 {
    background: #2e7d3210;
    border-left: 3px solid #2e7d32;
    color: #2e7d32;
}

mark.time {
    padding: 0 0.2rem; /* used inline => make it less ugly */
}