/* Public recipe preparation checklist */
.rp-cook-hint {
    display: block;
    margin: 0.15rem 0 0.4rem;
    color: #666b70;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: start;
}
.rp-cook-row {
    display: grid;
    grid-template-columns: 1.125rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: baseline;
    min-height: 1.85em;
    text-align: start;
}
.rp-cook-row > input.rp-cook-check {
    position: static;
    display: inline-grid;
    place-content: center;
    box-sizing: border-box;
    width: 1.125rem;
    height: 1.125rem;
    padding: 0;
    margin: 0;
    opacity: 1;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #85898d;
    border-radius: 3px;
    background: #f1f2f3;
    align-self: start;
    margin-block-start: max(0px, calc((1lh - 1.125rem) / 2));
    font: inherit;
    cursor: pointer;
}
.rp-cook-row > input.rp-cook-check:checked {
    background: #e4e6e8;
}
.rp-cook-row > input.rp-cook-check:checked::before {
    content: '';
    display: block;
    box-sizing: border-box;
    width: 0.35rem;
    height: 0.65rem;
    border: solid #363c42;
    border-width: 0 2px 2px 0;
    transform: translateY(-0.06rem) rotate(45deg);
}
.rp-cook-row > .rp-cook-text {
    display: block;
    margin: 0;
    padding: 0;
    min-width: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
    overflow-wrap: break-word;
    cursor: pointer;
}
.rp-cook-check:focus-visible {
    outline: 2px solid #835500;
    outline-offset: 2px;
}
.rp-cook-check:checked + .rp-cook-text {
    color: #626262;
    text-decoration: line-through;
}
ol.rp-cook-list {
    padding-inline-start: 0;
    margin-inline-start: 0;
}
ol.rp-cook-list > li.rp-cook-item {
    list-style: none;
    padding-inline-start: 0;
    margin-inline-start: 0;
}
@media (pointer: coarse) {
    .rp-cook-row > .rp-cook-text {
        min-height: 2.5rem;
    }
}
@media (forced-colors: active) {
    .rp-cook-row > input.rp-cook-check {
        -webkit-appearance: auto;
        appearance: auto;
        display: inline-block;
    }
    .rp-cook-row > input.rp-cook-check:checked::before {
        content: none;
    }
}
/* Older DLE themes can draw the list number using a CSS counter. The reader
   row contains an accessible number of its own, so suppress both old markers. */
ol.rp-cook-list > li.rp-cook-item::before {
    content: none !important;
    display: none !important;
}
ol.rp-cook-list > li.rp-cook-item::marker {
    content: '' !important;
}
