/* admin-v2 "Booking rules" panel: the consequence note, nested choices, the reminder checklist and
   the disclosure for settings the deck does not draw. */

.booking-rules__nested {
    margin-left: 1.5rem;
}

.booking-rules__list {
    border: 1px solid var(--line);
    border-radius: var(--ak-card-radius);
}

/* wp-admin gives every li a 6px bottom margin; the deck's rows sit flush. */
.booking-rules__list > li {
    margin: 0;
    padding: 0.5625rem 0.75rem;
    border-bottom: 1px solid var(--line-soft);
}

.booking-rules__list > li:last-child {
    border-bottom: 0;
}

.booking-rules__more {
    border-top: 1px solid var(--line-soft);
    padding-top: 1rem;
}

.booking-rules__more > summary {
    cursor: pointer;
}

/* Group headings read as field labels, so they take the app-wide label size and weight. */
.booking-rules__heading {
    display: block;
    margin-bottom: 0.25rem;
    font-size: var(--ak-font-base);
    font-weight: var(--ak-label-weight);
    line-height: var(--ak-line-tight);
}
