/* R16, Oct 5 2026 (Tab): the crisis notice folds behind a "Get help" summary.
   The fold itself is a native details/summary in
   resources/views/professionals/partials/crisis.blade.php, so it needs no
   JavaScript and stays keyboard reachable and screen-reader legible.

   WHY THIS IS ITS OWN FILE, and not a rule inside directory.css: directory.css
   is GENERATED by /root/backups/r1233/design/build_css.py and must not be
   hand-edited, or the live sheet drifts from its generator. This is the same
   reason public/css/profile-card.css exists. Loaded from
   resources/views/professionals/partials/head.blade.php, which every page that
   shows the notice already includes, on both hosts.

   The summary is a plain word in a full-width, full-size target (44px), not an
   icon and not a vague label (Tab's ruling). The label carries a disclosure
   chevron so it is unmistakably a control that opens something, and it stays
   underlined as the site's other folds are. The 988 number and both links are
   untouched inside; only the fold around them is new. */

.ud-crisis > .ud-crisis__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 2px 0;
    cursor: pointer;
    list-style: none;
    font-weight: var(--ud-w-strong);
    font-size: var(--ud-t-m);
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ud-crisis > .ud-crisis__summary::-webkit-details-marker { display: none; }

/* The disclosure chevron: it points down when the notice is closed and up when
   it is open. Drawn in CSS from two borders, so no icon font and no image. */
.ud-crisis > .ud-crisis__summary::after {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-right: 3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.ud-crisis[open] > .ud-crisis__summary::after {
    transform: rotate(-135deg) translateY(-2px);
}

.ud-crisis__body { margin: 10px 0 2px; }
