/* =====================================================================
   Community editor dialog (community-profile-dialog.xhtml).

   Loaded BY the include itself, not by a host page. That include has two hosts —
   bioregional-community-list.xhtml and directory.xhtml — and NEITHER loaded the stylesheet
   these rules used to live in (passport-admin.css), so the section editor rendered
   unstyled in both. Same failure the reCAPTCHA notice had: an include that depends on
   whichever CSS its host happens to pull in is only ever one host away from being wrong.
   ===================================================================== */

/* ---- V1.3: community custom-section editor blocks ---- */
.mln-sec-block {
    border: 1px solid var(--surface-border, #e3ebe7);
    border-radius: 8px;
    padding: 0.35rem 0.9rem 0;
    margin-bottom: 1rem;
    background: var(--surface-50, #fafbfa);
}
.mln-sec-block legend {
    padding: 0 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color, #00594c);
}
/* A hidden section must be obvious in the editor, or an author wonders why the public
   page does not show what they just wrote. */
.mln-sec-hidden-tag {
    margin-left: 0.4rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: rgba(163, 45, 45, 0.12);
    color: #A32D2D;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}
