/* CAE disclosure — the `disclosure` behaviour's ONLY styling.
 *
 * Enqueued ONLY on a page whose interaction-surfaces row declares this behaviour
 * (inc/cae-interact-surface.php::cae_intsurf_enqueue), so no other served page gains a byte.
 *
 * It paints nothing the design draws. The drawn control keeps its own button styling; the two
 * rules below exist only because the control BECOMES operable when the behaviour is present:
 *
 *  1. A pointer, gated on `.is-cae-intsurf-disc-live`, which assets/interact/disclosure.js
 *     adds. With the script absent the drawn <a> has no href and does nothing, and nothing
 *     here suggests otherwise.
 *  2. A visible focus ring, because the same script gives that anchor role="button" and
 *     tabindex="0" and the drawn band has no focus treatment of its own. The ring colour is
 *     the design's own cream #F7F4E2, the same literal select-one-of-n.css already uses for
 *     the tabs arm's focus ring — not a new paint.
 *
 * NOTHING HERE CLAMPS OR TRUNCATES. The collapsed copy is the design's own drawn text (or, for
 * the one card the design draws expanded, a declared literal in the registry row); it is never
 * produced by a CSS line-clamp, because a clamp would be this stylesheet choosing where the
 * client's sentence ends.
 */

a.is-cae-intsurf-disc-live {
  cursor: pointer;
}

a.is-cae-intsurf-disc-live:focus-visible {
  outline: 3px solid #f7f4e2;
  outline-offset: 4px;
  border-radius: 5px;
}

/* ── THE BLOCK AXIS OF A BOX THIS BEHAVIOUR MAKES DYNAMIC ────────────────────────────────────
 * KATE SHAWVER 2026-09-04, ClickUp 869ew1ad4, verbatim:
 *   "When I click Read More the buttons need to glide down so that they don't overlap with the
 *    text"
 *   "The buttons in contracted view should fall directly underneath the text and the height of
 *    the box should be dynamic and expand/contract based on whether the panel is showing or not"
 *
 * MEASURED BEFORE, on this lane's :18515 serve of the unchanged trunk (v20.65 @ c13a0f11f),
 * Chromium @1440, warm double-goto, rects divided by the element's own currentCSSZoom:
 *
 *   card                                   panel box   text scrollHeight   OVERFLOW past the box
 *   Hardwick Area Food Pantry                63.98px            128px            +64.02px
 *   Northeast Kingdom Organizing            191.99px            192px             +0.01px
 *   Orleans Southwest Supervisory Union      63.98px            352px           +288.02px
 *   Town of Hardwick, Vermont                63.98px            128px            +64.02px
 *
 * The button row sits a drawn 23.98px below the PANEL BOX, so the expanded copy of three of the
 * four cards runs 40.04px, 264.04px and 40.04px INTO the controls. The fourth is clear only
 * because it is the one card the design happens to draw open, so its literal is the expanded
 * measurement already. Nothing was overlapping before the toggle existed; the overlap is the
 * second state meeting a height the design only ever drew for the first.
 *
 * WHY HERE AND NOT IN THE LITERAL. The design DID draw those boxes at those heights and the
 * unbound-literals lane is right to lower them (SPEC-unbound-literals-lane.md §2.3, "faithful is
 * the default, not a mode"). What the literal cannot know is that a declaration elsewhere gives
 * this box a second state. That knowledge belongs to the behaviour, so the behaviour releases
 * the axis — the literal file stays byte-identical and every box on every page that does NOT
 * declare a disclosure keeps its drawn height exactly.
 *
 * IT IS A RELEASE, NOT A REPLACEMENT. `height: auto` hands the box back to its own content; no
 * number is invented here, no min-height re-states a value this file would have had to copy out
 * of the design, and with the script absent the served collapsed copy sizes the box to the same
 * text the design measured. The inline axis is untouched: `max-width` (the TEXT upper bound) and
 * every width literal still stand, so the line length that produced the drawn height is the
 * line length that produces the released one.
 *
 * SPECIFICITY BY ARITHMETIC. Both selectors are (0,2,0) against the literal lane's (0,1,0)
 * single-class rule, so this wins wherever the two sheets land in the cascade — never by being
 * enqueued later. inc/cae-interact-surface.php stamps the second attribute for exactly this. */

[data-cae-intsurf-disc][data-cae-intsurf-disc-panel],
[data-cae-intsurf-disc][data-cae-intsurf-disc-box] {
  height: auto;
}
