/* PARTS-ACTIONS 2026-11-29: kit/parts/actions.css, the ONE section of the actions family (buttons, action groups, the Actions menu, favorite, segmented).
   Design grammar contract (SSOT, session-trackers/EE-STYLE-20261129/design/SSOT-CONTRACT.md) section 6.1: this file is
   written ONLY by the actions family. Every rule sits inside `@layer parts` (layer order: ee_core.css line 1), reads tier 2 /
   tier 3 tokens only (no hex, no px literal: checker X-01), carries no `!important` and no id chain (X-02), and is New
   scoped (`:where(.ee-look-new, .ee-look-new *)` on its subject compound; scripts/kit_scope.py lists this file).
   Unlayered tail rules still beat this layer, so a family moves a part here and deletes its tail rules in ONE commit.

   WHAT IT DRAWS (contract 4.4; family spec design/family-actions.md 4.1-4.8):
   1. THE BUTTON. One shape for every `.ee-btn` on a New page: one height per size (md 36 header / card / toolbar /
      footer / dialog, sm 30 rows and card-head icon tools, lg 44 touch), radius 8, 14/600 label that never wraps, an
      icon at 20 (sm 16), 8 between icon and words. Seven roles by MEANING, read from `data-ee-role` (eeButton writes
      it); a page never picks a color. Every state is designed WITHOUT MOVEMENT (owner FINAL SUPPLEMENT 11-29: "Polish
      resting/hover/pressed/focus/selected/loading/empty/disabled without movement"): hover and press change the fill
      one step, focus draws the ring, selected is the emerald wash, disabled fades the label to half.
   2. THE LEGACY BRIDGE. A `.ee-btn` with no `data-ee-role` (an Old template drawn inside a New page, a look row's class
      string) wears the role its old class names (`ee-btn-success` / `ee-btn--go` = main, `ee-btn--card-main` =
      tonal, `ee-btn-danger` = danger, ...); every other old class is a secondary. Old pages never see this file.
   3. THE ACTION GROUP (ee-action-bar): start edge, end edge, the menu always the last control.
   4. THE MENU (ee-more-menu + ee-menu-item): one trigger glyph (the vertical ellipsis), items 36 (phone 48), a leading
      icon column, the emerald wash and a 2 px emerald mark on hover, groups under caps headings, danger last in coral
      (icon AND words), the find field on top, a bottom sheet on a phone.
   5. ROW ACTIONS and THE BULK BAR.
   6. THE FAVORITE TOGGLE: white, control edge, interactive star; on = gold star with the amber outline on amber-1.
   7. THE SEGMENTED CONTROL: one style, the white track with the control edge, the chosen part the emerald wash.
   8. THE OPEN FILTERS BRIDGE: an open Filters control is the emerald wash (a value-free answer to a tail rule).
   Themes change only the role values behind these tokens; the main action and danger stay fixed (contract 2.1). */
@layer parts {

/* ---- 1. THE BUTTON ------------------------------------------------------------------------------------------------ */
/* Every look value is a part-local variable the roles set; the shape reads them once. */
.ee-btn:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-action-secondary-bg);
    --_ee-btn-edge: var(--ee-action-secondary-edge);
    /* the secondary's WORDS are the text ink (owner e8848666 "Buttons not contrast good", r8 review: "Secondary = white,
       dark ink label, control edge"; skill ee-design 2 "Secondary: white, dark label, visible edge"); its leading GLYPH
       keeps the interactive blue (the owner reference's "Resident reports" chart glyph), so a row of secondaries carries
       color without blue words. Read from the cancel ink (= the ink) until layout points --ee-action-secondary-ink at the
       ink and adds --ee-action-secondary-glyph (ask in the actions hand-off). */
    --_ee-btn-ink: var(--ee-action-cancel-ink);
    --_ee-btn-bg-hover: var(--ee-action-secondary-hover-bg);
    --_ee-btn-edge-hover: var(--ee-action-secondary-hover-edge);
    --_ee-btn-ink-hover: var(--_ee-btn-ink);
    --_ee-btn-bg-press: color-mix(in srgb, var(--ee-interactive) 14%, var(--ee-surface-card));
    --_ee-btn-h: var(--ee-action-h-md);
    --_ee-btn-pad: var(--ee-action-pad-x-md);
    /* every button glyph is 16 at every size: the studio's and the layouts' button icons (`.i.s`, owner-approved pieces;
       the visual target outranks the contract table's 20) and the tail's glyph rule draw the same, so a page never mixes
       two icon sizes in one row */
    --_ee-btn-icon: var(--ee-action-icon-sm);
    /* the secondary's leading glyph in the interactive ink; every other role's glyph wears its words' ink (below) */
    --_ee-btn-glyph: var(--ee-action-secondary-ink);
    /* the tonal role's family (a card's domain scope gives its own, else the brand blue) */
    --_ee-fam-1: var(--dom-tint, var(--ee-domain-blue-1));
    --_ee-fam-2: var(--dom-2, var(--ee-domain-blue-2));
    --_ee-fam-3: var(--dom-3, var(--ee-domain-blue-3));
    --_ee-fam-5: var(--dom-ink, var(--ee-domain-blue-5));
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ee-action-gap);
    min-height: var(--_ee-btn-h);
    /* a button never shrinks below its own words and padding (studio: "a control never shrinks below its own words"; r8:
       a settings tile squeezed its Run until the word touched the edge): it keeps its content width in any flex row */
    flex-shrink: 0;
    margin: 0;
    padding: 0 var(--_ee-btn-pad);
    border: var(--ee-space-px) solid var(--_ee-btn-edge);
    border-radius: var(--ee-action-radius);
    background: var(--_ee-btn-bg);
    color: var(--_ee-btn-ink);
    font-family: inherit;
    font-size: var(--ee-type-button-size);
    font-weight: var(--ee-type-button-weight);
    line-height: var(--ee-type-button-lh);
    letter-spacing: var(--ee-type-button-track);
    text-align: center;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    box-shadow: none;
    transform: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color var(--ee-motion-fast) var(--ee-ease-standard),
                border-color var(--ee-motion-fast) var(--ee-ease-standard),
                color var(--ee-motion-fast) var(--ee-ease-standard);
}
/* A ROW'S LONG LABELS WRAP (the shell's row option ee-shell-row--wrap-labels, chosen by the row; fault a27 2: "Ask them to
   fix it: <the problem>" ran past its card on a phone). A button in such a row is at most the row's width, and its words
   wrap inside it from its start. The rule was the tail's until this family's fold deleted it without a replacement (the
   a27f-parts walk at 390: "with the option its words wrap inside it"). */
.ee-shell-row--wrap-labels > .ee-btn:where(.ee-look-new, .ee-look-new *) {
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
    padding-block: var(--ee-space-2);
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: start;
    justify-content: flex-start;
}
/* THE FIELD ROW'S END ACTION (the shell's row option ee-shell-grid--last-auto, chosen by the row; X-EE-FIELD-LABEL, owner
   2026-12-01 "Not aligned"): the button (or link) that ends a row of fields sits on the controls' line: pushed down by
   the field's label line (--ee-field-control-offset, the details part's token) and as high as a control. Under the
   shell's tablet break the row is one part per line, so the action is under the fields and keeps no offset. Moved from
   the shell's own sheet (check_shared_elements A-09: the shell may not restyle the actions part); same elements. */
.ee-shell-grid--last-auto > :last-child:is(button, a, .ee-btn):where(.ee-look-new, .ee-look-new *) {
    margin-block-start: var(--ee-field-control-offset, 0);
    min-block-size: var(--ee-field-h, var(--ee-h-control));
}
@media screen and (max-width: 63.99rem) {
    .ee-shell-grid--last-auto > :last-child:is(button, a, .ee-btn):where(.ee-look-new, .ee-look-new *) { margin-block-start: 0; }
}
/* a hidden button stays hidden (the user agent's [hidden] loses to any author layer; a part shows it when it is ready) */
.ee-btn[hidden]:where(.ee-look-new, .ee-look-new *) {
    display: none;
}
/* a leading (or trailing) icon is the size's icon, one column wide, never stretched by the line */
.ee-btn > :is(mat-icon, .mat-icon, .material-icons, .material-symbols-outlined, .ee-action-icon, i):where(.ee-look-new, .ee-look-new *) {
    flex: none;
    /* the box is the glyph's own advance (auto at line-height 1), so a sheet that draws a larger glyph (the feedback
       card's 18 px thumbs) grows the box instead of spilling the glyph onto the words: the gap stays a gap (r8: "the
       icon touches the label with no gap") */
    width: auto;
    height: auto;
    min-width: var(--_ee-btn-icon);
    /* the icon owns its whole font (the guard below gives the font back to this section in one shorthand) */
    font-family: 'Material Icons Outlined', 'Material Icons';
    font-style: normal;
    font-weight: 400;
    font-size: var(--ee-fs-16);
    line-height: 1;
    margin: 0;
    color: var(--_ee-btn-glyph);
}
.ee-btn > svg:where(.ee-look-new, .ee-look-new *) {
    flex: none;
    width: var(--_ee-btn-icon);
    height: var(--_ee-btn-icon);
}
/* optical padding: the icon side is 2 px tighter (the glyph's own side bearing reads as space) */
.ee-btn:has(> :is(mat-icon, .mat-icon, .ee-action-icon):first-child):not([data-ee-icon-only], .ee-btn--icon, .ee-btn-icon):where(.ee-look-new, .ee-look-new *) {
    padding-inline-start: var(--ee-action-pad-x-icon);
}
.ee-btn:hover:not(:disabled, [aria-disabled="true"]):where(.ee-look-new, .ee-look-new *) {
    background: var(--_ee-btn-bg-hover);
    border-color: var(--_ee-btn-edge-hover);
    color: var(--_ee-btn-ink-hover);
    text-decoration: none;
}
.ee-btn:active:not(:disabled, [aria-disabled="true"]):where(.ee-look-new, .ee-look-new *) {
    background: var(--_ee-btn-bg-press);
}
/* the ring sits on the surrounding surface (filled buttons included), never removed (Primer: "Don't remove default
   Button :focus styles"). It is drawn TWICE in one place: the outline (kept in forced colors) and the same ring as a
   shadow (the white offset, then the ring), because the staff and public bases load mdb.min.css UNLAYERED with
   `button:focus { outline: 0 !important }`, which beats any layered outline; MDB never touches box-shadow. Where both
   draw they cover the same pixels (offset, then width). */
.ee-btn:focus-visible:where(.ee-look-new, .ee-look-new *),
.ee-fav:focus-visible:where(.ee-look-new, .ee-look-new *),
.ee-datatable-action-menu-trigger:focus-visible:where(.ee-look-new, .ee-look-new *) {
    outline: var(--ee-focus-w) solid var(--ee-focus-color);
    outline-offset: var(--ee-focus-offset);
    box-shadow: 0 0 0 var(--ee-focus-offset) var(--ee-surface-card-solid),
                0 0 0 calc(var(--ee-focus-offset) + var(--ee-focus-w)) var(--ee-focus-color);
}
.ee-btn:focus:not(:focus-visible):where(.ee-look-new, .ee-look-new *) {
    outline: none;
}
/* every role but the secondary: the glyph wears its words' ink (a filled main's white, a danger's coral, a link's blue) */
.ee-btn[data-ee-role]:not([data-ee-role="secondary"]):where(.ee-look-new, .ee-look-new *),
.ee-btn:not([data-ee-role]):is(.ee-btn-success, .ee-btn--success, .ee-btn-success-dark, .ee-btn--go, .ee-btn-emerald, .ee-btn-indigo,
    .ee-btn-primary, .ee-btn--primary, .ee-btn--card-main, .ee-btn-outline-blue, .ee-btn-danger, .ee-btn--danger, .ee-btn-delete,
    .ee-btn-outline-danger, .ee-btn--remove, .ee-btn-cancel, .ee-btn--cancel, .ee-btn-info, .ee-btn--helper, .ee-btn--eeva,
    .ee-btn-link, .ee-btn--link):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-glyph: currentColor;
}
/* SELECTED / TOGGLED / OPEN (aria-pressed, or a control whose panel is open: an open Filters, a Run tile's form): the
   emerald wash and the emerald words and glyph (contract C3: highlight is green; r8: "The Filters button is a solid
   bright-blue fill ... Its pressed or active state is the emerald wash (C3, C8), never the old bright accent") */
.ee-btn:is([aria-pressed="true"], [aria-expanded="true"]):not([data-ee-role="main"], [data-ee-role="danger"], [data-ee-role="link"]):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-wash-action-strong);
    --_ee-btn-bg-hover: var(--ee-wash-action-strong);
    --_ee-btn-edge: var(--ee-wash-action-edge);
    --_ee-btn-edge-hover: var(--ee-wash-action-edge);
    --_ee-btn-ink: var(--ee-action-main);
    --_ee-btn-ink-hover: var(--ee-action-main);
    --_ee-btn-glyph: var(--ee-action-main);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
/* DISABLED: the label at half on its own fill; the reason is drawn beside it (eeReason) */
.ee-btn:is(:disabled, [aria-disabled="true"]):where(.ee-look-new, .ee-look-new *) {
    cursor: not-allowed;
    color: color-mix(in srgb, var(--_ee-btn-ink) calc(var(--ee-action-disabled-opacity) * 100%), transparent);
}
.ee-btn:is(:disabled, [aria-disabled="true"]) > *:where(.ee-look-new, .ee-look-new *) {
    opacity: var(--ee-action-disabled-opacity);
}

/* ROLES (data-ee-role, written by eeButton; a page never picks a color) */
/* SECONDARY (the default): white, the interactive words and glyph (6.4:1), the control edge (3.9:1) on ANY ground, so a
   button on a tinted band is white too, never blue words on a pale blue fill (owner e8848666 "Buttons not contrast good",
   59dd1486 "bad contrast", c431fd3f "Not all are styled the same"; contract C8 and X-07 "on a tinted ground a button is
   white"; the layouts' and the owner reference's "Resident reports": white, blue words and glyph, gray edge).
   CHROME is the same white with the text ink (the layouts' outline kind): the Actions trigger and ⋯ (section 4), a row's
   quick action and a table toolbar's tools (section 3: the place decides, never the page). */
.ee-btn[data-ee-role="main"]:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-action-main);
    --_ee-btn-edge: var(--ee-action-main-edge);
    --_ee-btn-ink: var(--ee-action-main-ink);
    --_ee-btn-bg-hover: var(--ee-action-main-hover);
    --_ee-btn-edge-hover: var(--ee-action-main-edge);
    --_ee-btn-bg-press: var(--ee-action-main-pressed);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
.ee-btn[data-ee-role="tonal"]:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--_ee-fam-1);
    --_ee-btn-edge: transparent;
    --_ee-btn-ink: var(--_ee-fam-5);
    --_ee-btn-bg-hover: var(--_ee-fam-2);
    --_ee-btn-edge-hover: transparent;
    --_ee-btn-bg-press: var(--_ee-fam-2);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
/* THE SOFT TONES BY WHAT THE ACTION DOES (owner 2026-12-01, the one drawer contract: "buttons for main action are green
   and other buttons for delete or clear are red and other actional buttons are blue soft colors, or green soft colors").
   ONE rule for every view: the role decides solid or soft (one solid main per view, X-10), the action's intent (eeButton
   writes data-ee-intent from the words a person reads, the action key or the row) decides the soft tone of a
   secondary: adds or confirms -> soft green, removes or empties -> soft coral, anything else -> soft blue. Danger outside
   a confirm's main slot is the soft coral too; solid coral only on the confirm's own main (data-ee-confirm="ok").
   Plain (white, the control edge) stays for what is not an action a person takes: Cancel (its role, or a control named
   cancel whose served look row resolves to a secondary: the form drawer's foot), an icon-only tool (a layer's
   expand and close, a row's ⋯), a menu trigger, a pressed or open toggle, and the place chrome of a list's row and
   toolbar (section 3). Values are BASE tokens (--ee-btn-tone-*), so a kit_tokens row moves any tone. */
.ee-btn[data-ee-role="secondary"]:not([data-ee-icon-only], [aria-haspopup], [aria-pressed="true"], [aria-expanded="true"], .ee-layer__tool, [data-control="cancel"], [data-ee-confirm="cancel"], [data-action="cancel"]):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-btn-tone-other-fill);
    --_ee-btn-edge: var(--ee-btn-tone-other-edge);
    --_ee-btn-ink: var(--ee-btn-tone-other-ink);
    --_ee-btn-glyph: var(--ee-btn-tone-other-ink);
    --_ee-btn-bg-hover: var(--ee-btn-tone-other-hover);
    --_ee-btn-edge-hover: var(--ee-btn-tone-other-ink);
    --_ee-btn-ink-hover: var(--ee-btn-tone-other-ink);
    --_ee-btn-bg-press: var(--ee-btn-tone-other-hover);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
.ee-btn[data-ee-role="secondary"]:is([data-ee-intent="add"], [data-ee-intent="create"], [data-ee-intent="approve"], [data-ee-intent="submit"], [data-ee-intent="save"]):not([data-ee-icon-only], [aria-haspopup], [aria-pressed="true"], [aria-expanded="true"], .ee-layer__tool, [data-control="cancel"], [data-ee-confirm="cancel"], [data-action="cancel"]):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-btn-tone-add-fill);
    --_ee-btn-edge: var(--ee-btn-tone-add-edge);
    --_ee-btn-ink: var(--ee-btn-tone-add-ink);
    --_ee-btn-glyph: var(--ee-btn-tone-add-ink);
    --_ee-btn-bg-hover: var(--ee-btn-tone-add-hover);
    --_ee-btn-edge-hover: var(--ee-btn-tone-add-ink);
    --_ee-btn-ink-hover: var(--ee-btn-tone-add-ink);
    --_ee-btn-bg-press: var(--ee-btn-tone-add-hover);
}
:is(.ee-btn[data-ee-role="secondary"][data-ee-intent="remove"]:not([data-ee-icon-only], [aria-haspopup], [aria-pressed="true"], [aria-expanded="true"], .ee-layer__tool, [data-control="cancel"], [data-ee-confirm="cancel"], [data-action="cancel"]), .ee-btn[data-ee-role="danger"]:not([data-ee-confirm="ok"])):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-btn-tone-remove-fill);
    --_ee-btn-edge: var(--ee-btn-tone-remove-edge);
    --_ee-btn-ink: var(--ee-btn-tone-remove-ink);
    --_ee-btn-glyph: var(--ee-btn-tone-remove-ink);
    --_ee-btn-bg-hover: var(--ee-btn-tone-remove-hover);
    --_ee-btn-edge-hover: var(--ee-btn-tone-remove-ink);
    --_ee-btn-ink-hover: var(--ee-btn-tone-remove-ink);
    --_ee-btn-bg-press: var(--ee-btn-tone-remove-hover);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
.ee-btn[data-ee-role="danger"][data-ee-confirm="ok"]:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-action-danger);
    --_ee-btn-edge: var(--ee-action-danger);
    --_ee-btn-ink: var(--ee-ink-on-fill);
    --_ee-btn-glyph: var(--ee-ink-on-fill);
    --_ee-btn-bg-hover: var(--ee-action-danger-hover);
    --_ee-btn-edge-hover: var(--ee-action-danger-hover);
    --_ee-btn-ink-hover: var(--ee-ink-on-fill);
    --_ee-btn-bg-press: var(--ee-action-danger-hover);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
/* EXPORT is the ONE colored control at a toolbar's right end (contract C7, owner d49d531a "universally colored and on
   right"): the SHADED BLUE button (owner 2026-12-01: "export should be a shaded blue token button"): the blue family's
   lightest tone as its ground, the blue-5 words and glyph (6.0:1 on blue-1), the blue-4 edge; its hover the next tone.
   Whatever role a host hands it (secondary, tonal), Export is drawn this one way; a filled main stays the main. */
.ee-btn:is([data-action="export"], [data-action$=":export"]):not([data-ee-role="main"]):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-domain-blue-1);
    --_ee-btn-edge: var(--ee-domain-blue-4);
    --_ee-btn-ink: var(--ee-domain-blue-5);
    --_ee-btn-glyph: var(--ee-domain-blue-5);
    --_ee-btn-bg-hover: var(--ee-domain-blue-2);
    --_ee-btn-edge-hover: var(--ee-domain-blue-5);
    --_ee-btn-ink-hover: var(--ee-domain-blue-5);
    --_ee-btn-bg-press: var(--ee-domain-blue-3);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
/* DANGER: coral words AND coral glyph on white with a coral edge at rest (skill ee-design 2 "Destructive: coral label AND
   coral icon"; r8 admin-settings: "'Delete logo' (destructive) has the same blue icon and plain Run as the others"), the
   coral fill with white words on hover and press, so the press that destroys reads as the strongest state */
.ee-btn[data-ee-role="danger"]:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-action-secondary-bg);
    --_ee-btn-edge: var(--ee-action-danger);
    --_ee-btn-ink: var(--ee-action-danger);
    --_ee-btn-bg-hover: var(--ee-action-danger);
    --_ee-btn-edge-hover: var(--ee-action-danger);
    --_ee-btn-ink-hover: var(--ee-ink-on-fill);
    --_ee-btn-bg-press: var(--ee-action-danger-hover);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
.ee-btn[data-ee-role="cancel"]:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-ink: var(--ee-action-cancel-ink);
    --_ee-btn-edge-hover: var(--ee-line-control);
    color: var(--_ee-btn-ink);
}
/* Ask EEva: her own soft teal tint, teal hairline and deep teal words (unchanged, WZ-07; the tail's id-chain copy of this
   look is deleted, so this is its one rule), her spark in the info blue */
.ee-btn[data-ee-role="ask"]:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-eeva-tint);
    --_ee-btn-edge: var(--ee-eeva-line);
    --_ee-btn-ink: var(--ee-teal-ink);
    --_ee-btn-bg-hover: var(--ee-eeva-hover);
    --_ee-btn-edge-hover: var(--ee-teal-solid);
    --_ee-btn-bg-press: var(--ee-eeva-press);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
.ee-btn[data-ee-role="ask"]:not(:disabled, [aria-disabled="true"]) > :is(mat-icon, .mat-icon, .ee-eeva-glyph):where(.ee-look-new, .ee-look-new *) {
    color: var(--ee-info-solid);
}
/* LINK: an action inside a sentence only; interactive words, the underline on hover and keyboard focus */
.ee-btn[data-ee-role="link"]:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: transparent;
    --_ee-btn-edge: transparent;
    --_ee-btn-ink: var(--ee-ink-link);
    --_ee-btn-bg-hover: transparent;
    --_ee-btn-edge-hover: transparent;
    --_ee-btn-ink-hover: var(--ee-interactive-hover);
    --_ee-btn-bg-press: transparent;
    min-height: 0;
    padding: 0;
    vertical-align: baseline;
    /* a link is WORDS: it wraps with them and gives way in its row like the sentence it sits in, so a long link never
       pushes its row's next control past the screen (E2E round 2, the certification search at 390: a result's title,
       drawn as this link by the button part, held one unbroken line and put the result's Pin outside the viewport) */
    flex-shrink: 1;
    min-width: 0;
    justify-content: flex-start;
    white-space: normal;
    text-align: start;
}
.ee-btn[data-ee-role="link"]:is(:hover, :focus-visible):not(:disabled, [aria-disabled="true"]):where(.ee-look-new, .ee-look-new *) {
    text-decoration: underline;
    text-underline-offset: var(--ee-space-half);
}
/* THE HEAD'S ONE LOOK (eeRoleInPlace, what ee-action-bar place=header draws by role; owner c431fd3f "Not all are styled
   the same", e8848666 "Buttons not contrast good"; round 3 review, the work order drawer at 1440: "The drawer's 'Ask
   EEva' button is blue text on a pale-blue fill (tonal), not the white secondary with a dark label and a strong edge").
   A head (a page header's action group, an overlay's head tools) draws its ONE main and every other button as the same
   white secondary: Ask EEva (her look row forms.drawer.ask_head, ee-btn--eeva) and a tonal link included. Her spark
   keeps its own ink (the ask glyph rule above). Anywhere else Ask EEva keeps her soft teal. */
:is(.ee-page-header-actions, .ee-layer__tools) .ee-btn:is([data-ee-role="ask"], [data-ee-role="tonal"]):where(.ee-look-new, .ee-look-new *),
:is(.ee-page-header-actions, .ee-layer__tools) .ee-btn:not([data-ee-role]):is(.ee-btn-info, .ee-btn--helper, .ee-btn--eeva, .ee-btn--card-main, .ee-btn-outline-blue):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-action-secondary-bg);
    --_ee-btn-edge: var(--ee-action-secondary-edge);
    --_ee-btn-ink: var(--ee-action-cancel-ink);
    --_ee-btn-bg-hover: var(--ee-action-secondary-hover-bg);
    --_ee-btn-edge-hover: var(--ee-action-secondary-hover-edge);
    --_ee-btn-ink-hover: var(--ee-action-cancel-ink);
    --_ee-btn-bg-press: color-mix(in srgb, var(--ee-interactive) 14%, var(--ee-surface-card));
    --_ee-btn-glyph: var(--ee-action-secondary-ink);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
/* the tonal role's family on the button itself (a drill link names the card's domain) */
.ee-btn[data-ee-family="jade"]:where(.ee-look-new, .ee-look-new *) { --_ee-fam-1: var(--ee-domain-jade-1); --_ee-fam-2: var(--ee-domain-jade-2); --_ee-fam-3: var(--ee-domain-jade-3); --_ee-fam-5: var(--ee-domain-jade-5); background: var(--_ee-btn-bg); border-color: var(--_ee-btn-edge); color: var(--_ee-btn-ink); }
.ee-btn[data-ee-family="emerald"]:where(.ee-look-new, .ee-look-new *) { --_ee-fam-1: var(--ee-domain-emerald-1); --_ee-fam-2: var(--ee-domain-emerald-2); --_ee-fam-3: var(--ee-domain-emerald-3); --_ee-fam-5: var(--ee-domain-emerald-5); background: var(--_ee-btn-bg); border-color: var(--_ee-btn-edge); color: var(--_ee-btn-ink); }
.ee-btn[data-ee-family="violet"]:where(.ee-look-new, .ee-look-new *) { --_ee-fam-1: var(--ee-domain-violet-1); --_ee-fam-2: var(--ee-domain-violet-2); --_ee-fam-3: var(--ee-domain-violet-3); --_ee-fam-5: var(--ee-domain-violet-5); background: var(--_ee-btn-bg); border-color: var(--_ee-btn-edge); color: var(--_ee-btn-ink); }
.ee-btn[data-ee-family="amber"]:where(.ee-look-new, .ee-look-new *) { --_ee-fam-1: var(--ee-domain-amber-1); --_ee-fam-2: var(--ee-domain-amber-2); --_ee-fam-3: var(--ee-domain-amber-3); --_ee-fam-5: var(--ee-domain-amber-5); background: var(--_ee-btn-bg); border-color: var(--_ee-btn-edge); color: var(--_ee-btn-ink); }
.ee-btn[data-ee-family="coral"]:where(.ee-look-new, .ee-look-new *) { --_ee-fam-1: var(--ee-domain-coral-1); --_ee-fam-2: var(--ee-domain-coral-2); --_ee-fam-3: var(--ee-domain-coral-3); --_ee-fam-5: var(--ee-domain-coral-5); background: var(--_ee-btn-bg); border-color: var(--_ee-btn-edge); color: var(--_ee-btn-ink); }
.ee-btn[data-ee-family="blue"]:where(.ee-look-new, .ee-look-new *) { --_ee-fam-1: var(--ee-domain-blue-1); --_ee-fam-2: var(--ee-domain-blue-2); --_ee-fam-3: var(--ee-domain-blue-3); --_ee-fam-5: var(--ee-domain-blue-5); background: var(--_ee-btn-bg); border-color: var(--_ee-btn-edge); color: var(--_ee-btn-ink); }

/* SIZES (data-ee-size, set by the place; a lone button is md) */
.ee-btn[data-ee-size="sm"]:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-h: var(--ee-action-h-sm);
    --_ee-btn-pad: var(--ee-action-pad-x-sm);
    --_ee-btn-icon: var(--ee-action-icon-sm);
    min-height: var(--_ee-btn-h);
    font-size: var(--ee-type-button-sm-size);
}
.ee-btn[data-ee-size="lg"]:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-h: var(--ee-action-h-lg);
    min-height: var(--_ee-btn-h);
}
/* ICON-ONLY: a square of the size's height (Atlassian: "Most icon buttons should be square") */
.ee-btn:is([data-ee-icon-only], .ee-btn--icon, .ee-btn-icon):where(.ee-look-new, .ee-look-new *) {
    width: var(--_ee-btn-h);
    padding: 0;
    gap: 0;
}
.ee-btn:is(.ee-btn--block, .ee-btn-block):where(.ee-look-new, .ee-look-new *) {
    display: flex;
    width: 100%;
}
/* SHORT WORDS: a button may carry a short form of its words for the phone (the phone band swaps them, section 4); on
   every wider screen the long words show and the short ones are not drawn */
.ee-btn__words-short:where(.ee-look-new, .ee-look-new *) {
    display: none;
}
/* THE TOUCH TARGET: on a touch screen every action control answers a 44 px press, whatever it draws (WCAG 2.5.5 /
   contract X-22): an invisible hit area centered on the control. A position nothing else gives (zero specificity). */
@media (pointer: coarse) {
    :where(.ee-btn, .ee-btn-cancel, .ee-menu-trigger, .ee-more-toggle, .ee-datatable-action-menu-trigger, .ee-fav):where(.ee-look-new, .ee-look-new *) {
        position: relative;
    }
    :is(.ee-btn, .ee-btn-cancel, .ee-menu-trigger, .ee-more-toggle, .ee-datatable-action-menu-trigger, .ee-fav):not([data-ee-role="link"], .ee-btn-link, .ee-btn--link, .dropdown-toggle, .ee-is-loading, .action-highlight):where(.ee-look-new, .ee-look-new *)::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: max(100%, var(--ee-tap-min));
        height: max(100%, var(--ee-tap-min));
        transform: translate(-50%, -50%);
    }
}

/* ---- 2. THE LEGACY BRIDGE (a .ee-btn with no data-ee-role: Old templates inside New pages, look-row class strings) -- */
.ee-btn:not([data-ee-role]):is(.ee-btn-success, .ee-btn--success, .ee-btn-success-dark, .ee-btn--go, .ee-btn-emerald,
                               .ee-btn-indigo, .ee-btn-primary, .ee-btn--primary):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-action-main);
    --_ee-btn-edge: var(--ee-action-main-edge);
    --_ee-btn-ink: var(--ee-action-main-ink);
    --_ee-btn-bg-hover: var(--ee-action-main-hover);
    --_ee-btn-edge-hover: var(--ee-action-main-edge);
    --_ee-btn-bg-press: var(--ee-action-main-pressed);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
.ee-btn:not([data-ee-role]):is(.ee-btn--card-main, .ee-btn-outline-blue):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--_ee-fam-1);
    --_ee-btn-edge: transparent;
    --_ee-btn-ink: var(--_ee-fam-5);
    --_ee-btn-bg-hover: var(--_ee-fam-2);
    --_ee-btn-edge-hover: transparent;
    --_ee-btn-bg-press: var(--_ee-fam-2);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
.ee-btn:not([data-ee-role]):is(.ee-btn-danger, .ee-btn--danger, .ee-btn-delete, .ee-btn-outline-danger, .ee-btn--remove):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-action-secondary-bg);
    --_ee-btn-edge: var(--ee-action-danger);
    --_ee-btn-ink: var(--ee-action-danger);
    --_ee-btn-bg-hover: var(--ee-action-danger);
    --_ee-btn-edge-hover: var(--ee-action-danger);
    --_ee-btn-ink-hover: var(--ee-ink-on-fill);
    --_ee-btn-bg-press: var(--ee-action-danger-hover);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
.ee-btn:not([data-ee-role]):is(.ee-btn-cancel, .ee-btn--cancel):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-ink: var(--ee-action-cancel-ink);
    --_ee-btn-edge-hover: var(--ee-line-control);
    color: var(--_ee-btn-ink);
}
.ee-btn:not([data-ee-role]):is(.ee-btn-info, .ee-btn--helper, .ee-btn--eeva):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-eeva-tint);
    --_ee-btn-edge: var(--ee-eeva-line);
    --_ee-btn-ink: var(--ee-teal-ink);
    --_ee-btn-bg-hover: var(--ee-eeva-hover);
    --_ee-btn-edge-hover: var(--ee-teal-solid);
    --_ee-btn-bg-press: var(--ee-eeva-press);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
.ee-btn:not([data-ee-role]):is(.ee-btn-link, .ee-btn--link):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: transparent;
    --_ee-btn-edge: transparent;
    --_ee-btn-ink: var(--ee-ink-link);
    --_ee-btn-bg-hover: transparent;
    --_ee-btn-edge-hover: transparent;
    --_ee-btn-ink-hover: var(--ee-interactive-hover);
    --_ee-btn-bg-press: transparent;
    min-height: 0;
    padding: 0;
}
/* A LINK OUTSIDE A SENTENCE IS A BUTTON (design grammar rule no-bare-buttons, contract 3.1 rule 3 and X-19: "No
   bare-text button in a card head or footer (a link inside a sentence is the only link role use)"; owner 2026-11-27 "Can
   all collapse buttons be colored it looks like just text", "[All activity] Should be blue button not just text"). The
   link look (the role above and its legacy class) stays only where words run: a table cell, a list ROW (the kit's row
   parts, .ee-row and each row of .ee-rowlist, a search result's card, a listbox option or a grid row: the row's name is
   its link), a paragraph, a heading, prose, the banner's words, a navigation or a menu. A list item as such is not a row:
   a native <li> and an ARIA [role=listitem] are judged alike (a bullet list of jumps in a notice is not a list of
   records; the row list of ee-line-import's files is). Placed anywhere else (a card's body stack, a filter bar's
   end, a step footer: the grammar run of 2026-11-30 at the shared-parts release found Reset filters, Add filter, Open
   household, How allowances are counted, the wizard's needed-before jumps and the portal's Save and finish later drawn
   as bare blue words) it is the secondary button: white, the control edge, the text ink, the control's height. The
   place decides, never the page (the tail's old rule "lane fc-f1" (4) said the same and was deleted with the move to
   this part). Its words may wrap inside the button, as the link's did, so a long jump never runs past a phone card. */
.ee-btn:is([data-ee-role="link"], .ee-btn-link, .ee-btn--link):not(.ee-btn--icon, [data-ee-icon-only], [aria-haspopup], [data-ee-list-fold-head]):not(:is(td, th, p, .ee-row, .ee-rowlist > *, [data-ee-result-card], [role="option"], [role="row"], .ee-prose, .ee-banner-text, nav, [role="menu"], h1, h2, h3, h4, h5, h6) *):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-action-secondary-bg);
    --_ee-btn-edge: var(--ee-action-secondary-edge);
    --_ee-btn-ink: var(--ee-action-cancel-ink);
    --_ee-btn-bg-hover: var(--ee-action-secondary-hover-bg);
    --_ee-btn-edge-hover: var(--ee-action-secondary-hover-edge);
    --_ee-btn-ink-hover: var(--_ee-btn-ink);
    --_ee-btn-bg-press: color-mix(in srgb, var(--ee-interactive) 14%, var(--ee-surface-card));
    --_ee-btn-glyph: var(--ee-action-secondary-ink);
    min-height: var(--_ee-btn-h);
    padding: var(--ee-space-1) var(--_ee-btn-pad);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
    text-decoration: none;
    vertical-align: middle;
}
.ee-btn:is([data-ee-role="link"], .ee-btn-link, .ee-btn--link):not(.ee-btn--icon, [data-ee-icon-only], [aria-haspopup], [data-ee-list-fold-head]):not(:is(td, th, p, .ee-row, .ee-rowlist > *, [data-ee-result-card], [role="option"], [role="row"], .ee-prose, .ee-banner-text, nav, [role="menu"], h1, h2, h3, h4, h5, h6) *):is(:hover, :focus-visible):not(:disabled, [aria-disabled="true"]):where(.ee-look-new, .ee-look-new *) {
    text-decoration: none;
}
.ee-btn:not([data-ee-size]):is(.ee-btn-sm, .ee-btn--sm, .ee-btn-xs, .ee-btn-icon-sm):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-h: var(--ee-action-h-sm);
    --_ee-btn-pad: var(--ee-action-pad-x-sm);
    --_ee-btn-icon: var(--ee-action-icon-sm);
    min-height: var(--_ee-btn-h);
    font-size: var(--ee-type-button-sm-size);
}
.ee-btn:not([data-ee-size]):is(.ee-btn-lg, .ee-btn--l, .ee-btn-icon-lg):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-h: var(--ee-action-h-lg);
    min-height: var(--_ee-btn-h);
}
/* the Old close and orb buttons are the icon-only secondary square (contract C10: a white edged 36 px button) */
.ee-btn:is(.ee-btn-close, .ee-btn-close-muted, .ee-btn-close-modal, .ee-btn-orb):where(.ee-look-new, .ee-look-new *) {
    width: var(--_ee-btn-h);
    padding: 0;
    gap: 0;
}

/* THE BAND BRIDGE (holds no value; retire with the tail rule): a page header's secondaries carry data-ee-band-secondary,
   which an unlayered tail rule of the layout family (ee_core_tail.css "THE ACTIONS: the secondary kind (soft)", id chain +
   !important) paints with the soft-blue --ee-btn-soft-* tokens, so Run report and Schedule read pale blue beside a white
   Actions (owner c431fd3f "Not all are styled the same", contract C8). Those tokens resolve on the button itself, so the
   button answers them with the secondary's own tokens: the header's secondary is the one white secondary. */
.ee-btn[data-ee-band-secondary]:where(.ee-look-new, .ee-look-new *) {
    --ee-btn-soft-fill: var(--ee-action-secondary-bg);
    --ee-btn-soft-fill-hover: var(--ee-action-secondary-hover-bg);
    --ee-btn-soft-edge: var(--ee-action-secondary-edge);
    --ee-btn-soft-ink: var(--ee-action-secondary-ink);
}

/* ---- 3. THE ACTION GROUP (ee-action-bar) ---------------------------------------------------------------------- */
.ee-action-bar:where(.ee-look-new, .ee-look-new *) {
    display: flex;
    align-items: center;
    gap: var(--ee-action-group-gap);
    min-width: 0;
}
.ee-action-bar__start:where(.ee-look-new, .ee-look-new *),
.ee-action-bar__end:where(.ee-look-new, .ee-look-new *) {
    display: flex;
    align-items: center;
    gap: var(--ee-action-gap);
    min-width: 0;
}
.ee-action-bar__start:where(.ee-look-new, .ee-look-new *) {
    flex: 1 1 auto;
}
.ee-action-bar__end:where(.ee-look-new, .ee-look-new *) {
    flex: none;
    margin-inline-start: auto;
}
.ee-action-bar[data-ee-place="row"]:where(.ee-look-new, .ee-look-new *) {
    gap: var(--ee-space-1);
    justify-content: flex-end;
}
.ee-action-bar[data-ee-place="row"] .ee-action-bar__end:where(.ee-look-new, .ee-look-new *) {
    gap: var(--ee-space-1);
}
.ee-action-bar__selected:where(.ee-look-new, .ee-look-new *) {
    font-size: var(--ee-type-body-size);
    font-weight: var(--ee-type-button-weight);
    color: var(--ee-ink);
    white-space: nowrap;
}
/* a count on an action: the blue badge (contract C12), tabular */
.ee-action-bar__badge:where(.ee-look-new, .ee-look-new *) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--ee-space-5);
    height: var(--ee-space-5);
    padding: 0 var(--ee-space-1);
    border-radius: var(--ee-r-pill);
    background: var(--ee-domain-blue-2);
    color: var(--ee-domain-blue-5);
    font-size: var(--ee-fs-12);
    font-weight: var(--ee-type-button-weight);
    font-variant-numeric: tabular-nums lining-nums;
}
.ee-btn[data-ee-role="main"] .ee-action-bar__badge:where(.ee-look-new, .ee-look-new *) {
    background: color-mix(in srgb, var(--ee-ink-on-fill) 20%, transparent);
    color: var(--ee-ink-on-fill);
}
/* CHROME BY PLACE: a row's quick action and a toolbar's tools are the white chrome with the text ink (layouts L_list "Take
   payment", "More filters"); Export keeps its tonal blue (its own role) */
.ee-action-bar:is([data-ee-place="row"], [data-ee-place="toolbar"]) .ee-btn[data-ee-role="secondary"]:not([data-action="export"], [data-action$=":export"]):where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-ink: var(--ee-action-cancel-ink);
    --_ee-btn-glyph: currentColor;
    color: var(--_ee-btn-ink);
}
/* the menu's size follows its place: a row's and a card head's tools are sm */
.ee-action-bar[data-ee-place="row"] .ee-more-toggle:where(.ee-look-new, .ee-look-new *),
.ee-more-menu[data-ee-action-menu="row"] .ee-more-toggle:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-h: var(--ee-action-h-sm);
    --_ee-btn-icon: var(--ee-action-icon-sm);
    min-height: var(--_ee-btn-h);
}
/* a footer: Cancel on the far left, the main on the far right (contract C28) */
.ee-action-bar[data-ee-place="footer"]:where(.ee-look-new, .ee-look-new *) {
    width: 100%;
}

/* ---- 4. THE MENU ------------------------------------------------------------------------------------------------ */
/* THE TRIGGER is the one secondary eeButton (icon-only square, or the worded header trigger): .ee-btn draws its shape,
   edge, hover and focus; here only what is its own: the chrome's text ink (layouts: "Actions ▾" dark beside the blue
   secondary), and its glyph and caret wear its words' ink (a chrome affordance, not an action's icon). Open = the
   emerald wash (contract C3). */
.ee-more-toggle:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-ink: var(--ee-action-cancel-ink);
    --_ee-btn-glyph: currentColor;
    color: var(--_ee-btn-ink);
}
.ee-more-toggle--worded:where(.ee-look-new, .ee-look-new *) {
    padding-inline: var(--ee-action-pad-x-icon) var(--ee-action-pad-x-sm);
    gap: var(--ee-space-1);
}
.ee-more-toggle__word:where(.ee-look-new, .ee-look-new *) {
    padding-inline-start: var(--ee-space-1);
}
.ee-more-toggle__caret:where(.ee-look-new, .ee-look-new *) {
    flex: none;
    width: var(--ee-action-icon-sm);
    height: var(--ee-action-icon-sm);
    font-size: var(--ee-fs-16);
    line-height: 1;
    color: var(--_ee-btn-glyph);
}
/* THE PAGE HEADER'S ACTIONS BUTTON is shaded green (owner 2026-12-01 on every list page: "The actions button top left
   should be green shaded"): the main action's wash as its ground, its green edge and words, the stronger wash on hover;
   the same treatment the kit gives a chosen or open control, so it reads as the page's menu of actions, never a plain
   white button. Only the page band's menu (ee-shell-menu, data-ee-action-menu="header"); a row's or a table's tools
   menu stays the quiet square. */
:is(ee-more-menu[ee-shell-menu], [data-ee-action-menu="header"]) > .ee-more-toggle:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-wash-action);
    --_ee-btn-bg-hover: var(--ee-wash-action-strong);
    --_ee-btn-edge: var(--ee-wash-action-edge);
    --_ee-btn-edge-hover: var(--ee-wash-action-edge);
    --_ee-btn-ink: var(--ee-action-main);
    --_ee-btn-ink-hover: var(--ee-action-main);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
.ee-more-toggle[aria-expanded="true"]:where(.ee-look-new, .ee-look-new *) {
    --_ee-btn-bg: var(--ee-wash-action-strong);
    --_ee-btn-bg-hover: var(--ee-wash-action-strong);
    --_ee-btn-edge: var(--ee-wash-action-edge);
    --_ee-btn-edge-hover: var(--ee-wash-action-edge);
    --_ee-btn-ink: var(--ee-action-main);
    --_ee-btn-ink-hover: var(--ee-action-main);
    background: var(--_ee-btn-bg);
    border-color: var(--_ee-btn-edge);
    color: var(--_ee-btn-ink);
}
/* THE PANEL */
.ee-popmenu:where(.ee-look-new, .ee-look-new *) {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: calc(var(--ee-space-12) * 5);
    max-width: var(--ee-popmenu-max-w);
    max-height: var(--ee-popmenu-max-h);
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: var(--ee-space-1) 0;
    padding: var(--ee-space-1);
    border: var(--ee-space-px) solid var(--ee-line-perimeter);
    border-radius: var(--ee-r-frame);
    background: var(--ee-popmenu-bg);
    box-shadow: var(--ee-elev-pop);
    color: var(--ee-ink);
    font-size: var(--ee-type-body-size);
}
.ee-more-menu__sheet:where(.ee-look-new, .ee-look-new *) {
    display: contents;
}
.ee-more-menu__head:where(.ee-look-new, .ee-look-new *) {
    display: none;
}
/* THE ITEM (ee-menu-item, and every projected link or button with role="menuitem") */
.ee-popmenu :is(.ee-popmenu-item, [role="menuitem"]):where(.ee-look-new, .ee-look-new *) {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--ee-space-3);
    width: 100%;
    min-height: var(--ee-popmenu-item-h);
    margin: 0;
    padding: 0 var(--ee-space-3);
    border: 0;
    /* THE ONE MENU'S ROWS (owner 2026-12-01 on the page's Actions menu: "universally in the shared actions menu, I need
       these actions menus to be line bottom and zebra"): every item is a row like a table's, square, a faint line under
       it (the table's own rule token) and its ground the row's zebra (--_ee-item-ground, set below); the hover and
       focus wash and a destructive item's coral are drawn over it */
    border-block-end: var(--ee-space-px) solid var(--_ee-item-line, var(--ee-table-rule));
    border-radius: 0;
    background: var(--_ee-item-ground, transparent);
    color: var(--ee-ink);
    font-family: inherit;
    font-size: var(--ee-type-body-size);
    font-weight: 500;
    line-height: var(--ee-type-button-lh);
    text-align: start;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--ee-motion-fast) var(--ee-ease-standard);
    --_ee-item-ring: 0 0 transparent;
}
.ee-popmenu :is(.ee-popmenu-item, [role="menuitem"]):is(:hover, :focus-visible):not([aria-disabled="true"], :disabled):where(.ee-look-new, .ee-look-new *) {
    background: var(--ee-popmenu-item-hover);
    box-shadow: inset var(--ee-popmenu-item-mark) 0 0 var(--ee-action-main), var(--_ee-item-ring);
    color: var(--ee-ink);
    text-decoration: none;
}
/* ZEBRA by the item's place among the menu's shown items (the list's direct children that are items or the one wrapper
   holding one, as the grouping and the find filter move them: never a group heading, a group line or an item the find
   filter hid), so every second row is on the table's stripe; the item is the unit or the one item inside it */
:is(.ee-more-menu__items, .ee-popmenu) > :nth-child(even of :not(.ee-popmenu-heading, .ee-popmenu-sep, .ee-more-menu__find, .ee-more-menu__items, [hidden])):where(.ee-look-new, .ee-look-new *),
:is(.ee-more-menu__items, .ee-popmenu) > :nth-child(even of :not(.ee-popmenu-heading, .ee-popmenu-sep, .ee-more-menu__find, .ee-more-menu__items, [hidden])) :is(.ee-popmenu-item, [role="menuitem"]):where(.ee-look-new, .ee-look-new *) {
    --_ee-item-ground: var(--ee-table-stripe);
}
/* the last row draws no line (the panel's edge closes it), nor a row right before a group line (the group line is the
   one line there) */
:is(.ee-more-menu__items, .ee-popmenu) > :is(:last-child, :has(+ .ee-popmenu-sep)):not(.ee-more-menu__items, .ee-more-menu__find):where(.ee-look-new, .ee-look-new *),
:is(.ee-more-menu__items, .ee-popmenu) > :is(:last-child, :has(+ .ee-popmenu-sep)):not(.ee-more-menu__items, .ee-more-menu__find) :is(.ee-popmenu-item, [role="menuitem"]):where(.ee-look-new, .ee-look-new *) {
    --_ee-item-line: transparent;
}
/* a menu item's ring sits INSIDE it (a list clips an outer ring): the outline and, for a <button> item MDB strips of
   its outline, the same ring as an inset shadow (--_ee-item-ring, which the hover rules draw beside their mark) */
.ee-popmenu :is(.ee-popmenu-item, [role="menuitem"]):focus-visible:where(.ee-look-new, .ee-look-new *) {
    outline: var(--ee-focus-w) solid var(--ee-focus-color);
    outline-offset: var(--ee-focus-offset-inset);
    --_ee-item-ring: inset 0 0 0 calc(var(--ee-focus-offset-inset) * -1) var(--ee-focus-color);
    box-shadow: var(--_ee-item-ring);
}
.ee-popmenu :is(.ee-popmenu-item, [role="menuitem"]):is([aria-disabled="true"], :disabled):where(.ee-look-new, .ee-look-new *) {
    color: var(--ee-ink-sub);
    cursor: not-allowed;
}
.ee-popmenu-icon:where(.ee-look-new, .ee-look-new *) {
    flex: none;
    width: var(--ee-action-icon-md);
    height: var(--ee-action-icon-md);
    font-family: 'Material Icons Outlined', 'Material Icons';
    font-style: normal;
    font-weight: 400;
    font-size: var(--ee-fs-20);
    line-height: 1;
    color: var(--ee-ink-icon);
}
.ee-popmenu-label:where(.ee-look-new, .ee-look-new *) {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ee-popmenu-count:where(.ee-look-new, .ee-look-new *) {
    flex: none;
    min-width: var(--ee-space-5);
    padding: 0 var(--ee-space-1);
    border-radius: var(--ee-r-pill);
    background: var(--ee-domain-blue-2);
    color: var(--ee-domain-blue-5);
    font-size: var(--ee-fs-12);
    font-weight: var(--ee-type-button-weight);
    line-height: var(--ee-space-5);
    text-align: center;
    font-variant-numeric: tabular-nums lining-nums;
}
.ee-popmenu-keys:where(.ee-look-new, .ee-look-new *) {
    flex: none;
    font-family: inherit;
    font-size: var(--ee-fs-12);
    color: var(--ee-ink-sub);
}
/* a disabled item's reason: one line under its label, aligned with the label */
.ee-popmenu-reason:where(.ee-look-new, .ee-look-new *) {
    flex: 1 0 100%;
    padding: 0 0 var(--ee-space-2) calc(var(--ee-action-icon-md) + var(--ee-space-3));
    font-size: var(--ee-type-meta-size);
    color: var(--ee-ink-sub);
    white-space: normal;
}
/* DANGER: coral words AND icon (contract A-07), the coral tint and mark on hover */
.ee-popmenu .ee-popmenu-item--danger:where(.ee-look-new, .ee-look-new *),
.ee-popmenu .ee-popmenu-item--danger .ee-popmenu-icon:where(.ee-look-new, .ee-look-new *) {
    color: var(--ee-action-danger);
}
.ee-popmenu .ee-popmenu-item--danger:is(:hover, :focus-visible):not([aria-disabled="true"], :disabled):where(.ee-look-new, .ee-look-new *) {
    background: var(--ee-action-danger-tint);
    box-shadow: inset var(--ee-popmenu-item-mark) 0 0 var(--ee-action-danger), var(--_ee-item-ring);
    color: var(--ee-action-danger);
}
/* GROUPS: a caps heading over each run, one hairline between runs */
.ee-popmenu-heading:where(.ee-look-new, .ee-look-new *) {
    margin: 0;
    padding: var(--ee-space-3) var(--ee-space-3) var(--ee-space-1);
    font-size: var(--ee-type-caps-size);
    font-weight: var(--ee-type-caps-weight);
    letter-spacing: var(--ee-type-caps-track);
    text-transform: uppercase;
    color: var(--ee-ink-sub);
    white-space: nowrap;
}
/* THE MENU'S OWN CAPTION (`p.ee-popmenu-heading[data-ee-menu-caption]` holding `[data-ee-menu-caption-title]` and
   `[data-ee-menu-caption-about]`; lane X-EE-QUICK-ACTIONS, owner 2026-12-01): what the whole menu is for ("Actions for
   Accounting") in sentence case at the heading size, its one line under it in the note's ink and size; never the caps
   group heading above (that names a run of items). The caption is no item: the zebra and the keyboard skip it (its class
   is the heading's). Every value is a token (--ee-menu-caption-*, --ee-menu-note-*), so a row restyles every menu. */
.ee-popmenu-heading[data-ee-menu-caption]:where(.ee-look-new, .ee-look-new *) {
    display: grid;
    gap: var(--ee-space-1);
    padding: var(--ee-space-3) var(--ee-space-3) var(--ee-space-2);
    margin-block-end: var(--ee-space-1);
    border-bottom: var(--ee-space-px) solid var(--ee-line-hair);
    font-size: var(--ee-menu-caption-size);
    font-weight: var(--ee-menu-caption-weight);
    letter-spacing: normal;
    text-transform: var(--ee-menu-caption-case);
    color: var(--ee-menu-caption-ink);
    white-space: var(--ee-menu-caption-wrap);
}
.ee-popmenu-heading[data-ee-menu-caption] > [data-ee-menu-caption-about]:where(.ee-look-new, .ee-look-new *) {
    padding: 0;
    font-size: var(--ee-menu-note-size);
    font-weight: var(--ee-fw-regular);
    color: var(--ee-menu-note-ink);
}
/* an item's one line of what it does (`.ee-popmenu-reason[data-ee-menu-note]`, under its label, aligned with it) */
.ee-popmenu-reason[data-ee-menu-note]:where(.ee-look-new, .ee-look-new *) {
    font-size: var(--ee-menu-note-size);
    color: var(--ee-menu-note-ink);
}

/* a heading that only repeats its one item's words (marked data-ee-menu-echo by ee-menu-icons.ts) and the destructive
   group's heading are drawn or not by the rows --ee-menu-echo-heading / --ee-menu-danger-heading (block = drawn, today) */
.ee-popmenu-heading[data-ee-menu-echo]:where(.ee-look-new, .ee-look-new *) {
    display: var(--ee-menu-echo-heading);
}
.ee-popmenu-heading[data-ee-menu-group="danger"]:where(.ee-look-new, .ee-look-new *) {
    display: var(--ee-menu-danger-heading);
}
.ee-popmenu-sep:where(.ee-look-new, .ee-look-new *) {
    flex: none;
    height: var(--ee-space-px);
    margin: var(--ee-space-1) var(--ee-space-2);
    border: 0;
    background: var(--ee-line-hair);
}
/* THE FIND FIELD: on top of every long menu, stays in view while the list scrolls */
.ee-more-menu__find:where(.ee-look-new, .ee-look-new *) {
    position: sticky;
    top: calc(var(--ee-space-1) * -1);
    padding: var(--ee-space-1) var(--ee-space-1) var(--ee-space-2);
    background: var(--ee-popmenu-bg);
}
.ee-more-menu__none:where(.ee-look-new, .ee-look-new *) {
    margin: 0;
    padding: var(--ee-space-2) var(--ee-space-2) 0;
    font-size: var(--ee-type-meta-size);
    color: var(--ee-ink-sub);
}
/* THE PHONE (the one phone band): the menu is a bottom sheet with a grip, a head naming what it acts on, 48 px items */
@media (max-width: 47.99rem) {
    /* a worded trigger outside a page header (a drawer head) is the square on a phone; the page header's keeps its word
       and caret while it stands alone at its row's end, and is the square beside the main (THE PHONE HEADER below) */
    :is(ee-more-menu, .ee-more-menu):not([ee-shell-menu], [data-ee-action-menu="header"]) > .ee-more-toggle :is(.ee-more-toggle__word, .ee-more-toggle__caret):where(.ee-look-new, .ee-look-new *) {
        display: none;
    }
    :is(ee-more-menu, .ee-more-menu):not([ee-shell-menu], [data-ee-action-menu="header"]) > .ee-more-toggle--worded:where(.ee-look-new, .ee-look-new *) {
        width: var(--_ee-btn-h);
        padding: 0;
    }
    /* THE PHONE HEADER IS ONE ROW (contract 4.4 "Phone: ... secondaries move into the menu"; round 3 review at 390: the
       resident record's header took three rows, Take a payment / View Ledger + Generate TIC / Actions; the merchant
       payment's main took a row and Actions another). The group takes the full width: the main first, growing, then the
       Actions trigger at the end (the action bar's arrangement keeps no secondary on a phone: arrangeActions). */
    .ee-action-bar[data-ee-place="header"]:where(.ee-look-new, .ee-look-new *) {
        width: 100%;
    }
    .ee-action-bar[data-ee-place="header"] > .ee-action-bar__start:where(.ee-look-new, .ee-look-new *) {
        flex: none;
    }
    .ee-action-bar[data-ee-place="header"] > .ee-action-bar__end:where(.ee-look-new, .ee-look-new *) {
        flex: 1 1 100%;
        flex-wrap: nowrap;
        justify-content: flex-end;
        margin-inline-start: 0;
    }
    .ee-action-bar[data-ee-place="header"] > .ee-action-bar__end > .ee-btn[data-ee-role="main"]:where(.ee-look-new, .ee-look-new *) {
        flex: 1 1 auto;
        order: -1;
    }
    .ee-more-menu__sheet:where(.ee-look-new, .ee-look-new *) {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: auto 0 0 0;
        width: 100vw;
        max-height: 85dvh;
        padding: var(--ee-space-6) 0 calc(var(--ee-space-2) + env(safe-area-inset-bottom, var(--ee-space-0)));
        border-top: var(--ee-space-px) solid var(--ee-line-perimeter);
        border-radius: var(--ee-r-frame) var(--ee-r-frame) 0 0;
        background: var(--ee-popmenu-bg);
        box-shadow: var(--ee-elev-overlay);
    }
    .ee-more-menu__sheet:where(.ee-look-new, .ee-look-new *)::before {
        content: '';
        position: absolute;
        top: var(--ee-space-2);
        left: 50%;
        width: var(--ee-space-10);
        height: var(--ee-space-1);
        transform: translateX(-50%);
        border-radius: var(--ee-r-pill);
        background: var(--ee-n-300);
    }
    .ee-more-menu__sheet > .ee-more-menu__head:where(.ee-look-new, .ee-look-new *) {
        display: flex;
        flex: none;
        align-items: center;
        gap: var(--ee-space-3);
        min-height: var(--ee-h-touch);
        padding: 0 var(--ee-space-4) var(--ee-space-2);
        border-bottom: var(--ee-space-px) solid var(--ee-line-hair);
    }
    .ee-more-menu__head-title:where(.ee-look-new, .ee-look-new *) {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: var(--ee-fs-16);
        font-weight: var(--ee-type-button-weight);
        color: var(--ee-ink);
    }
    /* the phone sheet's own head already names what the menu acts on: the caption keeps only its one line there */
    .ee-more-menu__sheet [data-ee-menu-caption] > [data-ee-menu-caption-title]:where(.ee-look-new, .ee-look-new *) { display: none; }
    .ee-more-menu__sheet > .ee-popmenu:where(.ee-look-new, .ee-look-new *) {
        flex: 1 1 auto;
        min-height: 0;
        max-width: none;
        max-height: none;
        margin: 0;
        padding: var(--ee-space-1) var(--ee-space-2);
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .ee-popmenu :is(.ee-popmenu-item, [role="menuitem"]):where(.ee-look-new, .ee-look-new *) {
        min-height: var(--ee-popmenu-item-h-phone);
    }
    /* every button is the 44 touch size on a phone, a row's and a card head's sm tools included (contract X-22; the
       layouts at 390 draw the row's Take payment, Open ledger and ⋯ at the full touch size); a link inside a sentence
       stays its line */
    .ee-btn:not([data-ee-role="link"], .ee-btn-link, .ee-btn--link):where(.ee-look-new, .ee-look-new *) {
        --_ee-btn-h: var(--ee-action-h-lg);
        min-height: var(--_ee-btn-h);
    }
    .ee-btn:is([data-ee-size="sm"], .ee-btn-sm, .ee-btn--sm, .ee-btn-xs, .ee-btn-icon-sm):not([data-ee-role="link"], .ee-btn-link, .ee-btn--link):where(.ee-look-new, .ee-look-new *) {
        /* the sm bridge (.ee-btn:not([data-ee-size]):is(.ee-btn--sm ...)) out-weighs the rule above, so the touch height is
           said again here (r8 admin-settings at 390: the tiles' Run buttons were 30 px, under the 44 px target, X-22) */
        --_ee-btn-h: var(--ee-action-h-lg);
        --_ee-btn-pad: var(--ee-action-pad-x-md);
        min-height: var(--_ee-btn-h);
        font-size: var(--ee-type-button-size);
    }
    /* THE PHONE HEADER WHEREVER A TEMPLATE DRAWS IT (the row page's, the record's, the board's, a report's and a
       hand-built page's own header groups, until each places ee-action-bar): ONE row, the page's main first, growing,
       and the Actions trigger at the row's end. Every other header button is in the Actions sheet: a band secondary the
       shell hands up (data-ee-band-secondary) and every button eeButton folds (data-ee-phone-folded: a secondary, a way
       back that repeats the crumb) are not drawn here. A control that keeps its place (a scope select, a toggle, a
       disabled action) still takes a row of its own under a full-width main. */
    [data-ee-page-banner] .ee-page-header-actions .ee-btn:is([data-ee-phone-folded], [data-ee-band-secondary]):where(.ee-look-new, .ee-look-new *) {
        display: none;
    }
    [data-ee-page-banner] .ee-btn[data-ee-role="main"]:where(.ee-look-new, .ee-look-new *) {
        order: -1;
    }
    [data-ee-page-banner] :has(> .ee-btn[data-ee-role="secondary"]:not([data-ee-phone-folded], [data-ee-band-secondary])) > .ee-btn[data-ee-role="main"]:where(.ee-look-new, .ee-look-new *) {
        flex-basis: 100%;
    }
    /* the Actions trigger ends its row, alone or beside the main (its hidden neighbors never push it to the start) */
    [data-ee-page-banner] .ee-page-header-actions > .ee-more-menu:where(.ee-look-new, .ee-look-new *) {
        margin-inline-start: auto;
    }
    /* beside the main it is the 44 px square (the glyph; its name and tip stay "Actions"), so the main keeps its whole
       words on the one row ("Proceed to Payment" and a worded trigger do not fit 358 px) */
    :is([data-ee-page-banner] .ee-page-header-actions, .ee-action-bar[data-ee-place="header"] > .ee-action-bar__end):has(.ee-btn[data-ee-role="main"]:not([data-ee-phone-folded])) > .ee-more-menu > .ee-more-toggle--worded:where(.ee-look-new, .ee-look-new *) {
        width: var(--_ee-btn-h);
        padding: 0;
        gap: 0;
    }
    :is([data-ee-page-banner] .ee-page-header-actions, .ee-action-bar[data-ee-place="header"] > .ee-action-bar__end):has(.ee-btn[data-ee-role="main"]:not([data-ee-phone-folded])) > .ee-more-menu > .ee-more-toggle--worded > :is(.ee-more-toggle__word, .ee-more-toggle__caret):where(.ee-look-new, .ee-look-new *) {
        display: none;
    }
    /* a button that carries short words (a wizard's "Continue to Applicant" / "Continue") shows them on a phone; the
       long words stay in the button for screen readers, so the main action is never cut mid-word */
    :is(.ee-btn, button, a):has(> .ee-btn__words-short) > .ee-btn__words:where(.ee-look-new, .ee-look-new *) {
        position: absolute;
        width: var(--ee-space-px);
        height: var(--ee-space-px);
        margin: 0;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
    }
    :is(.ee-btn, button, a) > .ee-btn__words-short:where(.ee-look-new, .ee-look-new *) {
        display: inline;
    }
    .ee-action-bar[data-ee-place="footer"] .ee-action-bar__start > .ee-btn:where(.ee-look-new, .ee-look-new *),
    .ee-action-bar[data-ee-place="footer"] .ee-action-bar__end > .ee-btn:where(.ee-look-new, .ee-look-new *) {
        flex: 1 1 0;
    }
}

/* ---- 5. ROW ACTIONS AND THE BULK BAR ---------------------------------------------------------------------------- */
/* the row's menu trigger: the sm ghost square (it shows its edge on hover), the one glyph */
.ee-datatable-action-menu-trigger:where(.ee-look-new, .ee-look-new *) {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* the sm square; on a phone row the menu cell sets --_ee-row-menu-h to the touch size (ee-datatable.table sheet) */
    width: var(--_ee-row-menu-h, var(--ee-action-h-sm));
    height: var(--_ee-row-menu-h, var(--ee-action-h-sm));
    margin: 0;
    padding: 0;
    border: var(--ee-space-px) solid transparent;
    border-radius: var(--ee-action-radius);
    background: transparent;
    /* the chrome's text ink (layouts: the row's ⋯ in the text ink, not an action's blue) */
    color: var(--ee-action-cancel-ink);
    cursor: pointer;
    transition: background-color var(--ee-motion-fast) var(--ee-ease-standard),
                border-color var(--ee-motion-fast) var(--ee-ease-standard);
}
.ee-datatable-action-menu-trigger > :is(mat-icon, .mat-icon, .material-icons):where(.ee-look-new, .ee-look-new *) {
    width: var(--ee-action-icon-sm);
    height: var(--ee-action-icon-sm);
    font-size: var(--ee-fs-16);
    line-height: 1;
}
.ee-datatable-action-menu-trigger:is(:hover, [aria-expanded="true"]):where(.ee-look-new, .ee-look-new *) {
    border-color: var(--ee-action-secondary-edge);
    background: var(--ee-action-secondary-hover-bg);
}
.ee-datatable-action-menu-trigger:focus-visible:where(.ee-look-new, .ee-look-new *) {
    outline: var(--ee-focus-w) solid var(--ee-focus-color);
    outline-offset: var(--ee-focus-offset);
}
/* on a phone the row's menu is the 44 touch square, as every button there (the layouts at 390: "⋯" beside Take payment) */
@media (max-width: 47.99rem) {
    .ee-datatable-action-menu-trigger:where(.ee-look-new, .ee-look-new *) {
        width: var(--ee-action-h-lg);
        height: var(--ee-action-h-lg);
        border-color: var(--ee-action-secondary-edge);
        background: var(--ee-action-secondary-bg);
    }
}
/* THE ROW'S QUICK ACTION is always drawn, as its row menu is (owner 2026-11-30 "not hover shows"; replaces the 979ea8b0
   pick 3-B hover reveal); a phone still draws it as the row menu's first item (arrangeActions). */
.ee-row-actions:where(.ee-look-new, .ee-look-new *) {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--ee-space-1);
}
/* THE BULK BAR: in place of the toolbar at the same height; the count and Clear at the start, actions at the end */
.ee-selbar:where(.ee-look-new, .ee-look-new *) {
    display: flex;
    align-items: center;
    gap: var(--ee-action-gap);
    min-height: var(--ee-action-h-md);
}
.ee-selbar__lead:where(.ee-look-new, .ee-look-new *) {
    display: flex;
    align-items: center;
    gap: var(--ee-action-gap);
    flex: 1 1 auto;
    min-width: 0;
    font-weight: var(--ee-type-button-weight);
    color: var(--ee-ink);
}
.ee-selbar__actions:where(.ee-look-new, .ee-look-new *) {
    display: flex;
    align-items: center;
    gap: var(--ee-action-gap);
    margin-inline-start: auto;
}

/* ---- 6. THE FAVORITE TOGGLE --------------------------------------------------------------------------------------- */
.ee-fav:where(.ee-look-new, .ee-look-new *) {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: var(--ee-fav-size);
    height: var(--ee-fav-size);
    margin: 0 0 0 var(--ee-header-star-gap);
    padding: 0;
    border: var(--ee-space-px) solid var(--ee-fav-edge);
    border-radius: var(--ee-action-radius);
    background: var(--ee-fav-bg);
    color: var(--ee-fav-ink);
    vertical-align: middle;
    cursor: pointer;
    transition: background-color var(--ee-motion-fast) var(--ee-ease-standard),
                border-color var(--ee-motion-fast) var(--ee-ease-standard);
}
.ee-fav__star:where(.ee-look-new, .ee-look-new *) {
    width: calc(var(--ee-action-icon-md) - var(--ee-space-half));
    height: calc(var(--ee-action-icon-md) - var(--ee-space-half));
}
.ee-fav__star path:where(.ee-look-new, .ee-look-new *) {
    transition: fill var(--ee-motion-fast) var(--ee-ease-standard), stroke var(--ee-motion-fast) var(--ee-ease-standard);
}
.ee-fav:hover:not([aria-disabled="true"]):where(.ee-look-new, .ee-look-new *) {
    background: var(--ee-fav-hover-bg);
    border-color: var(--ee-interactive);
}
.ee-fav:focus-visible:where(.ee-look-new, .ee-look-new *) {
    outline: var(--ee-focus-w) solid var(--ee-focus-color);
    outline-offset: var(--ee-focus-offset);
}
/* ON: the gold star; its amber outline carries the 3:1 the gold alone cannot */
.ee-fav[aria-pressed="true"]:where(.ee-look-new, .ee-look-new *) {
    background: var(--ee-domain-amber-1);
    border-color: var(--ee-domain-amber-4);
}
.ee-fav[aria-pressed="true"] .ee-fav__star path:where(.ee-look-new, .ee-look-new *) {
    fill: var(--ee-fav-on-fill);
    stroke: var(--ee-fav-on-stroke);
}
.ee-fav[aria-busy="true"]:where(.ee-look-new, .ee-look-new *) {
    cursor: progress;
}

/* ---- 7. THE SEGMENTED CONTROL (ee-segmented, the kit's .ee-seg track) ------------------------------------------------ */
/* ONE SEGMENTED STYLE (contract 4.4 "Segmented: one style: ... white, control edge, radius 8, pipes between segments
   hidden beside the chosen one, chosen = wash strong + emerald ink"; DESIGN-BAR 5; round 3 review, the AP workbench at
   1440: "The Quick dates segmented control is a gray pipe track, unlike the outlined controls beside it"): the track is
   the secondary's white with the control edge, so it reads as one of the outlined controls around it; the chosen part
   is the emerald wash with the emerald words and an emerald hairline (C3; r8 system-setup "The selected 'All 54' is blue
   instead of the emerald wash"). The track's shape rules still sit in the tail (the .ee-seg prefix has no owner in the
   map yet: ask in the actions hand-off); every one of them (the default kind, the compact kind, a form's exclusive chip
   group) reads the --ee-seg-* tokens, which the part sets here on its own element (no value: each points at a role
   token), so every segmented control changes here and nowhere else. A part's count is the tail's tab count badge. */
:is(ee-segmented, .ee-seg, .ee-field .ee-shell-row:has(> .ee-chip[role="radio"])):where(.ee-look-new, .ee-look-new *) {
    --ee-seg-track: var(--ee-action-secondary-bg);
    --ee-seg-edge: var(--ee-action-secondary-edge);
    --ee-seg-chosen-fill: var(--ee-wash-action-strong);
    --ee-seg-chosen-ink: var(--ee-action-main);
    --ee-seg-chosen-shadow: inset 0 0 0 var(--ee-space-px) var(--ee-wash-action-edge);
}

/* ---- 8. THE OPEN FILTERS BRIDGE (holds no value; retire with the tail rule, ask L-r3-3) ----------------------------- */
/* A list toolbar's Filters control (data-ee-page-filters-button: the list head's and a report table's) is THE ONE
   BUTTON's white secondary with its count badge; open, it is the emerald wash (section 1, SELECTED / OPEN; contract C3;
   round 3 review, the AP workbench at 1440 and 390: "Toolbar 'Filters' is a filled blue button next to the filled green
   'Create Invoice' ... The active filter should be the emerald wash"). An unlayered tail rule of the layout family
   (ee_core_tail.css "lane oc-list-table" (2), id chain + !important) still paints the open control with the solid
   --ee-indigo fill and --ee-n-0 words, and its count with the reverse. Those tokens resolve on the button itself, so
   the open button answers them with the wash and the emerald ink: the fill and edge read the wash, the words and glyph
   the emerald, the count the emerald pill with the wash's words. */
.ee-btn[data-ee-page-filters-button][aria-expanded="true"]:where(.ee-look-new, .ee-look-new *) {
    --ee-indigo: var(--ee-wash-action-strong);
    --ee-n-0: var(--ee-action-main);
}

}

/* THE LEGACY GUARD (holds no value; SSOT actions 2026-11-29, the table family's pattern). Staff pages load Bootstrap, MDB,
   main.css, navigation.css and the Angular icon font sheet UNLAYERED, and an unlayered rule outranks every cascade layer
   whatever its weight, so with the old tail's id chains gone their element and class rules would draw the parts above:
   `button { border-radius: 0; font-size: inherit; line-height: inherit }`, `a { color; background-color; text-decoration;
   transition }` (Bootstrap, MDB, main.css), `.material-icons { font-size: 24px }` and MatIcon's `.mat-icon { width: 24px;
   height: 24px }`, `.dropdown-item { display: block; padding: .25rem 1.5rem; font-weight: 400; color }` with its hover,
   focus and active fills (Bootstrap, main.css's and navigation.css's white menu words), `p { margin; color; font-size }`.
   These rules sit OUTSIDE the layer, one class above those selectors, and give every such property back to this
   section (`revert-layer`): no value, no !important, no id. Measured (fold harness: Bootstrap / MDB / main.css /
   navigation.css / the icon sheets / MatIcon's runtime rule, then the kit, at 1440 and 390, rest / hover / focus): with
   the guard every action part computes exactly what this section alone draws. Only properties the old sheets set to a
   DIFFERENT value than this section are reverted, so a part's own unlayered layout (a component's margin or width) is
   never touched. Retire it when layout puts the old sheets in `@layer legacy` (contract 6.1). */
button:is(.ee-btn, .ee-fav, .ee-datatable-action-menu-trigger):where(.ee-look-new, .ee-look-new *),
a.ee-btn:where(.ee-look-new, .ee-look-new *) {
    border-radius: revert-layer;
    font: revert-layer;
}
/* the favorite's gap after the title is its own margin (Bootstrap's `button { margin: 0 }` took it) */
button.ee-fav:where(.ee-look-new, .ee-look-new *) {
    margin: revert-layer;
}
a.ee-btn:where(.ee-look-new, .ee-look-new *) {
    color: revert-layer;
    background-color: revert-layer;
    text-decoration: revert-layer;
    transition: revert-layer;
}
:is(.ee-btn, .ee-datatable-action-menu-trigger) > :is(.mat-icon, .material-icons):where(.ee-look-new, .ee-look-new *),
.ee-popmenu .ee-popmenu-icon:where(.ee-look-new, .ee-look-new *) {
    width: revert-layer;
    height: revert-layer;
    font: revert-layer;
}
/* the Actions trigger's caret is a .mat-icon: MatIcon's runtime `.mat-icon { display: inline-block }` kept it drawn where
   this section draws the trigger as the square (layout-family walk at 390: the record header's square showed "⋯ ▾") */
.ee-more-toggle > .ee-more-toggle__caret:where(.ee-look-new, .ee-look-new *) {
    display: revert-layer;
}
.ee-popmenu :is(.dropdown-item, [role="menuitem"]):where(.ee-look-new, .ee-look-new *) {
    border-radius: revert-layer;
    border-block-end: revert-layer;
    display: revert-layer;
    padding: revert-layer;
    font-weight: revert-layer;
    color: revert-layer;
    text-align: revert-layer;
    background-color: revert-layer;
    text-decoration: revert-layer;
    transition: revert-layer;
}
.ee-popmenu .ee-popmenu-heading:where(.ee-look-new, .ee-look-new *) {
    margin: revert-layer;
    color: revert-layer;
    font: revert-layer;
}
/* /PARTS-ACTIONS */
