/* admin-v2 "Close and reopen a practice": the confirmation and the closed practice. Titles, notices,
   captions, cards, labels and help are the shared hooks; this file keeps the page layout, the deck's
   18px consequence icon, and the closed practice's identity band (display name, foundation proposal F31). */

.practice-closure {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

#akashic-health-records-patient-portal-root .practice-closure__head {
    margin: 2px 0 0;
}

#akashic-health-records-patient-portal-root .practice-closure__card {
    gap: 0;
}

#akashic-health-records-patient-portal-root .practice-closure__effects {
    margin: 0;
    padding: 0;
    list-style: none;
}

.practice-closure__effect-icon {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--warning);
}

.practice-closure__line {
    display: block;
    margin-top: 6px;
}

/* The closed practice spaces its notice and its "If you cannot" band off the page rhythm, as the deck does.
   The spacing sits on page wrappers, so the shared notice and caption keep their own rules. */
#akashic-health-records-patient-portal-root .practice-closure__closed {
    margin-bottom: 14px;
}

#akashic-health-records-patient-portal-root .practice-closure__recovery {
    margin-top: 16px;
}

#akashic-health-records-patient-portal-root .practice-closure__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

#akashic-health-records-patient-portal-root .practice-closure__check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 10px;
}

.practice-closure__check > button {
    margin-top: 1px;
}

#akashic-health-records-patient-portal-root .practice-closure__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

#akashic-health-records-patient-portal-root .practice-closure__field > .practice-closure__actions {
    margin-top: 10px;
}

/* The identity band: the practice, closed, over the primary rule. */
#akashic-health-records-patient-portal-root .practice-closure__idband {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
    padding: 2px 0 12px;
    border-bottom: 2px solid var(--primary);
}

.practice-closure__idtext {
    min-width: 0;
    flex: 1;
}


#akashic-health-records-patient-portal-root .practice-closure__idsub {
    margin: 5px 0 0;
    font-size: var(--ak-font-13);
    line-height: 1.5;
    color: var(--ink-muted);
}

#akashic-health-records-patient-portal-root .practice-closure__quote {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#akashic-health-records-patient-portal-root .practice-closure__quote ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#akashic-health-records-patient-portal-root .practice-closure__quote-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
}
