/* PARTS-REPORT 2026-11-29: kit/parts/report.css, the ONE section of the report family (report frame, catalog, export, schedule, period, print).
   Design grammar contract (SSOT, session-trackers/EE-STYLE-20261129/design/SSOT-CONTRACT.md) section 6.1: this file is
   written ONLY by the report family: `.ee-report-region`, `.ee-report-table`, `.ee-tpl-custom-report`, `.ee-report`,
   `.ee-export-step`, `.ee-report-schedule`, `.ee-drill-report`, `.ee-catalog`, `.ee-pack`, `.ee-period`, and the report print
   rules. 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. */
@layer parts {
  /* ---- THE OVERLAY ROLE: the same report frame inside a drill level (ee-drill-report, the drill sheet's body).
     ONE surface, no box inside a box: the band (the pressed figure, its counts and the board section it belongs to),
     the tab line, the controls and the panel, one under the other on the level's own padding. Moved from the tail
     (lane r1c-drill). THE QUIET TINT AND THE BOLD HEAD (rulings R4 and R8: his report draws its table head row on the
     selection tint, its words bold): THE table reads its own head tokens, and inside the report those tokens point at
     the selection tint and the heading weight, so THE table draws the report's head by its own rule (no second table
     look, no stronger selector, no color value). */
  /* the head tokens sit in rules that also draw (never a token-only rule: kit_scope copies those to every New island
     root); --ee-type-table-head-weight is THE table part's head weight, --ee-fw-medium the tail's until it folds */
  .ee-drill-report:where(.ee-look-new, .ee-look-new *) {
    display: flex; flex-direction: column; gap: var(--ee-space-4); min-inline-size: 0;
    --ee-table-head-bg: var(--ee-tint-select);
  }
  .ee-drill-report table.ee-datatable-table > thead:where(.ee-look-new, .ee-look-new *) {
    font-weight: var(--ee-fw-heading);
    --ee-fw-medium: var(--ee-fw-heading); --ee-type-table-head-weight: var(--ee-fw-heading);
  }
  .ee-drill-report__band:where(.ee-look-new, .ee-look-new *) {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ee-space-3);
    padding: var(--ee-space-5); border-radius: var(--ee-r-control);
    background: var(--dom-tint);   /* ROLE: the pressed figure's family tone 1 (the domain scope's own token) */
  }
  .ee-drill-report__figure:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; gap: var(--ee-space-1); margin: 0; min-inline-size: 0; }
  .ee-drill-report__value:where(.ee-look-new, .ee-look-new *) {
    font-size: var(--ee-type-figure-size); font-weight: var(--ee-fw-heading); line-height: var(--ee-lh-tight);
    font-variant-numeric: tabular-nums lining-nums;
    color: var(--dom-ink);         /* ROLE: the family's tone 5, its readable ink on its own tone 1 */
  }
  .ee-drill-report__counts:where(.ee-look-new, .ee-look-new *) { min-inline-size: 0; overflow-wrap: anywhere; }
  /* the band's end: the board section the figure belongs to, then the period choice; under the figure when narrow */
  .ee-drill-report__end:where(.ee-look-new, .ee-look-new *) {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--ee-space-3);
    margin-inline-start: auto; min-inline-size: 0;
  }
  .ee-drill-report__section:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-type-sub-size); font-weight: var(--ee-fw-heading); color: var(--dom-ink); }
  /* the report's own scope and period: one row of the shared selects under the tab line, at its start */
  .ee-drill-report__controls:where(.ee-look-new, .ee-look-new *) { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ee-space-2); min-inline-size: 0; }
  .ee-drill-report__read:where(.ee-look-new, .ee-look-new *) { padding-block-start: var(--ee-space-2); }   /* padding: the row sub line's own margin stays the kit's */
  .ee-drill-report__tabs:where(.ee-look-new, .ee-look-new *) { flex: none; min-inline-size: 0; }
  .ee-drill-report__panel:where(.ee-look-new, .ee-look-new *) { min-inline-size: 0; }
  /* the full list drawn in the report: its page parts stand on the report's padding (no second gutter), never wider */
  .ee-drill-report ee-drill-embed:where(.ee-look-new, .ee-look-new *) { display: block; min-inline-size: 0; }
  .ee-drill-report ee-drill-embed :is(ee-config-page, [data-ee-page-shell]):where(.ee-look-new, .ee-look-new *) {
    display: block; min-inline-size: 0; max-inline-size: 100%; padding-inline: 0;
  }

  /* ---- THE PERIOD (R-09): ONE control in the scope bar. The trigger is a secondary button at the control height with
     its name inside ("Period · Oct 2026"); the panel is the kit's menu surface (ee-popmenu) holding the presets as radio
     items, then the custom range. */
  .ee-period:where(.ee-look-new, .ee-look-new *) { display: inline-flex; min-inline-size: 0; }
  .ee-period__trigger:where(.ee-look-new, .ee-look-new *) {
    display: inline-flex; align-items: center; gap: var(--ee-space-2);
    min-block-size: var(--ee-h-control); white-space: nowrap;
  }
  .ee-period__label:where(.ee-look-new, .ee-look-new *) { color: var(--ee-ink-sub); font-weight: var(--ee-fw-medium); }
  .ee-period__sep:where(.ee-look-new, .ee-look-new *) { color: var(--ee-ink-sub); }
  .ee-period__value:where(.ee-look-new, .ee-look-new *) { color: var(--ee-ink); font-weight: var(--ee-fw-heading); font-variant-numeric: tabular-nums lining-nums; }
  .ee-period__panel:where(.ee-look-new, .ee-look-new *) {
    display: flex; flex-direction: column; gap: var(--ee-space-2);
    min-inline-size: var(--ee-popmenu-min-w); max-inline-size: calc(100vw - 2 * var(--ee-space-4)); padding-block: var(--ee-space-2);
  }
  .ee-period__preset[aria-checked="true"]:where(.ee-look-new, .ee-look-new *) { font-weight: var(--ee-fw-heading); }
  .ee-period__custom:where(.ee-look-new, .ee-look-new *) {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--ee-space-3);
    padding: var(--ee-space-3) var(--ee-space-4) var(--ee-space-2);
    border-block-start: thin solid var(--ee-line-hair);
  }
  .ee-period__custom-title:where(.ee-look-new, .ee-look-new *), .ee-period__error:where(.ee-look-new, .ee-look-new *), .ee-period__apply:where(.ee-look-new, .ee-look-new *) { grid-column: 1 / -1; }
  .ee-period__custom-title:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-fs-12); font-weight: var(--ee-fw-heading); color: var(--ee-ink-sub); }
  .ee-period__error:where(.ee-look-new, .ee-look-new *) { margin: 0; font-size: var(--ee-fs-13); color: var(--ee-bad-ink); }
  .ee-period__apply:where(.ee-look-new, .ee-look-new *) { justify-self: end; }

  /* a phone (< 768): the custom range's two dates one under the other, each its whole width (never a cut date); the
     period is ONE full-width 44 px button in the scope bar (verification r8 on the general ledger report: four ragged
     selects), and its panel is a sheet across the screen under it (CDK keeps it inside the screen). THE BUTTON FITS ITS
     ROW (verification r8 at 390 on the general ledger reports: "Period · Oct to Nov 2026 (to date)" ran past the header
     card's right edge, its border cut at x 361): the button may shrink to its row (min size 0) and its period words wrap
     under the name instead of pushing the button wider; the icon and the chevron keep their size */
  @media (max-width: 47.99rem) {
    .ee-period__custom:where(.ee-look-new, .ee-look-new *) { grid-template-columns: minmax(0, 1fr); }
    .ee-period:where(.ee-look-new, .ee-look-new *) { display: flex; inline-size: 100%; max-inline-size: 100%; }
    .ee-period__trigger:where(.ee-look-new, .ee-look-new *) {
      flex: 1 1 auto; min-inline-size: 0; max-inline-size: 100%; min-block-size: var(--ee-h-touch);
      justify-content: flex-start; white-space: normal; text-align: start;
    }
    .ee-period__trigger > mat-icon:where(.ee-look-new, .ee-look-new *) { flex: none; }
    .ee-period__label:where(.ee-look-new, .ee-look-new *), .ee-period__sep:where(.ee-look-new, .ee-look-new *) { flex: none; white-space: nowrap; }
    .ee-period__value:where(.ee-look-new, .ee-look-new *) { margin-inline-end: auto; min-inline-size: 0; white-space: normal; overflow-wrap: anywhere; }
    .ee-period__panel:where(.ee-look-new, .ee-look-new *) { inline-size: calc(100vw - 2 * var(--ee-space-4)); }
    .ee-period__preset:where(.ee-look-new, .ee-look-new *) { min-block-size: var(--ee-h-touch); }
  }

  /* ---- THE REPORT FRAME (contract 4.6, anatomy 20-A; owner's reference "This is great match it universally";
     verification r8 on ap-aging, unit-availability, nr-ap-aging, nr-ar-aging: header, strip and table were three separate
     cards). ONE white panel, drawn as every workspace panel is (the 2 px 50/50 top, the perimeter, the frame radius, the
     card elevation), holding the run's notices, the summary strip, the chart card and every table panel. Each region sits
     on the panel's ONE inside edge with a hairline seam between regions; a table panel inside it draws no box of its own
     (its card is the frame), its head and rows run on the frame's own edges. Under a joined page (layout's JOINED: the
     frame marks data-ee-joins) the header keeps the surface's top and the frame draws its top flat. No overflow clip:
     a table's sticky head and its fixed dialogs keep their own containing blocks (lane fc-r2, RPT-01). */
  /* the frame IS the card shell (.ee-card, the dashboard family's ONE panel: ground, 2 px top, perimeter, radius,
     elevation), so a table in it reads as a table in a card (flat, its first and last cells on the card's text edge);
     this rule only lays its regions out */
  .ee-report-frame:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; min-inline-size: 0; }
  .ee-report-frame:empty:where(.ee-look-new, .ee-look-new *), .ee-report-regions:empty:where(.ee-look-new, .ee-look-new *) { display: none; }
  .ee-report-regions:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; gap: var(--ee-layout-section-gap); min-inline-size: 0; }
  .ee-page[data-ee-joined] .ee-page-region--main .ee-report-frame[data-ee-joins]:where(.ee-look-new, .ee-look-new *) {
    background-image: none; border-block-start: 0; border-start-start-radius: 0; border-start-end-radius: 0;
  }
  /* the regions: one inside edge, one hairline between two regions (never a box inside the box) */
  .ee-report-frame > .ee-report-frame__region:where(.ee-look-new, .ee-look-new *) {
    display: block; min-inline-size: 0; padding: var(--ee-card-pad-y) var(--ee-card-pad-x);
  }
  .ee-report-frame > :is(.ee-report-frame__region, .ee-report-frame__table) + :is(.ee-report-frame__region, .ee-report-frame__table):where(.ee-look-new, .ee-look-new *) {
    border-block-start: var(--ee-space-px) solid var(--ee-line-hair);
  }
  .ee-report-frame > .ee-report-frame__table:where(.ee-look-new, .ee-look-new *) { display: block; min-inline-size: 0; }
  /* a table panel inside the frame: its card is the frame. The card part draws as its inset (never a second .ee-card),
     and the inset's own hairline box gives way to the frame's inside edge, the edge the table bleeds from */
  .ee-report-frame > .ee-report-frame__table > :is(ee-card, ee-module-card) > .ee-module-card--inset:where(.ee-look-new, .ee-look-new *) {
    padding: var(--ee-card-pad-y) var(--ee-card-pad-x); background: none; border: 0; border-radius: 0; box-shadow: none;
  }
  @media (max-width: 47.99rem) {
    .ee-report-frame > .ee-report-frame__table > :is(ee-card, ee-module-card) > .ee-module-card--inset:where(.ee-look-new, .ee-look-new *) {
      padding-inline: var(--ee-card-pad-x-phone);
    }
  }
  /* the summary tiles inside the frame: the frame's inside edge is their row's edge */
  .ee-report-frame [data-ee-figure-cards]:where(.ee-look-new, .ee-look-new *) { margin: 0; }
  /* THE CHART CARD (role aging): its head (the title 16 / 600 and its note on one baseline), then the bars */
  .ee-report-frame__chart-head:where(.ee-look-new, .ee-look-new *) {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--ee-space-1) var(--ee-space-3); margin-block-end: var(--ee-space-3);
  }
  .ee-report-frame__chart-title:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-fs-16); font-weight: var(--ee-fw-heading); color: var(--ee-ink); }
  .ee-report-frame__chart-note:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-fs-13); color: var(--ee-ink-sub); }
  @media (max-width: 47.99rem) {
    .ee-report-frame > .ee-report-frame__region:where(.ee-look-new, .ee-look-new *) { padding-inline: var(--ee-card-pad-x-phone); }
  }

  /* ---- THE FRAME HEAD (verification r8 at 390 on marketing performance and unit availability: the table's title shared
     one row with the search and tools and was drawn one letter per line). The title and its count never give way below
     their own words' width; above the phone band the tools sit beside them (the caption line, data-ee-caption-end), on a
     phone (ee-report-table hands the tools in as data-ee-report-head-under) the head is two rows: the title with its
     count, then the tools at the row's whole width with the search taking the room. */
  .ee-report-table .ee-datatable-caption-group:where(.ee-look-new, .ee-look-new *) { min-inline-size: min(100%, max-content); }
  .ee-report-table .ee-datatable-caption:where(.ee-look-new, .ee-look-new *) { overflow-wrap: normal; word-break: normal; }
  .ee-report-table [data-ee-report-head-under]:where(.ee-look-new, .ee-look-new *) {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--ee-space-2);
    inline-size: 100%; margin-block-start: var(--ee-space-3);
  }
  .ee-report-table [data-ee-report-head-under] .ee-search-input:where(.ee-look-new, .ee-look-new *) { flex: 1 1 0; min-inline-size: 0; }

  /* ---- THE CATALOG (role catalog; owner e7fcc67d "There are not clickable areas or cards ... I dont see borders or
     lines or style and polish"): one card part for staff and owners. White card, perimeter edge, the 2 px 50/50 top
     line, a family chip on the name's center line, the name, the favorite mark and the most-used badge at the head's
     end, one purpose line, a meta line, an optional real headline figure and the family footer "Open report". The WHOLE
     card is the door (one link); hover answers with shadow only, never movement. Sections stand a section gap apart
     (verification r8: a heading sat 8 px under the card above it). */
  .ee-catalog:where(.ee-look-new, .ee-look-new *) {
    display: flex; flex-direction: column; gap: var(--ee-layout-section-gap); min-inline-size: 0; container-type: inline-size;
  }
  /* THE FRAME ROW: "Find a report" first (THE toolbar head's search at its own width), then the category tabs taking
     the rest of the ONE row (the tabs part never wraps; More holds what does not fit) */
  .ee-catalog__bar:where(.ee-look-new, .ee-look-new *) { display: flex; align-items: center; gap: var(--ee-space-4); min-inline-size: 0; }
  .ee-catalog__find:where(.ee-look-new, .ee-look-new *) { display: flex; flex: 0 0 auto; inline-size: min(var(--ee-report-catalog-find-w), 100%); min-inline-size: 0; }
  .ee-catalog__find > .ee-search-input:where(.ee-look-new, .ee-look-new *) { flex: 1 1 auto; min-inline-size: 0; }
  .ee-catalog__tabs:where(.ee-look-new, .ee-look-new *) { flex: 1 1 0; min-inline-size: 0; }
  .ee-catalog__section:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; gap: var(--ee-space-3); min-inline-size: 0; }
  .ee-catalog__heading:where(.ee-look-new, .ee-look-new *) {
    display: flex; align-items: baseline; gap: var(--ee-space-2); margin: 0;
    font-size: var(--ee-fs-18); font-weight: var(--ee-fw-heading); color: var(--ee-ink);
  }
  .ee-catalog__count:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-fs-13); font-weight: var(--ee-fw-medium); color: var(--ee-ink-sub); font-variant-numeric: tabular-nums; }
  .ee-catalog__grid:where(.ee-look-new, .ee-look-new *) {
    display: grid; gap: var(--ee-layout-card-gap);
    grid-template-columns: repeat(var(--ee-report-catalog-cols), minmax(0, 1fr));
  }
  @container (max-width: 63.99rem) { .ee-catalog__grid:where(.ee-look-new, .ee-look-new *) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  ee-report-card:where(.ee-look-new, .ee-look-new *) { display: contents; }   /* the card's link is the grid item */
  .ee-report-card:where(.ee-look-new, .ee-look-new *) {
    position: relative; display: flex; flex-direction: column; min-inline-size: 0; overflow: hidden;
    background: var(--ee-surface-card);
    border: thin solid var(--ee-line-perimeter);
    border-radius: var(--ee-r-frame);
    box-shadow: var(--ee-elev-card);
    color: var(--ee-ink); text-decoration: none;
    transition: box-shadow var(--ee-motion-fast) var(--ee-ease-standard);
  }
  /* the 2 px 50/50 top line (X-06), clipped to the radius by the card's overflow */
  .ee-report-card:where(.ee-look-new, .ee-look-new *)::before {
    content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: var(--ee-card-top-h);
    background: var(--ee-card-top);
  }
  .ee-report-card:hover:where(.ee-look-new, .ee-look-new *) { box-shadow: var(--ee-elev-card-hover); }
  .ee-report-card: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);
  }
  .ee-report-card__body:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; gap: var(--ee-space-2); padding: var(--ee-space-5); flex: 1 1 auto; min-inline-size: 0; }
  /* the head: the chip and the name on ONE center line, the marks at its end (they never add a line) */
  .ee-report-card__head:where(.ee-look-new, .ee-look-new *) { display: flex; align-items: center; gap: var(--ee-space-3); min-inline-size: 0; }
  .ee-report-card__chip:where(.ee-look-new, .ee-look-new *) {
    display: inline-grid; place-items: center; flex: none;
    inline-size: var(--ee-card-chip); block-size: var(--ee-card-chip);
    border-radius: var(--ee-r-chip); background: var(--dom-tint-strong, var(--dom-tint)); color: var(--dom-ink);
    font-size: var(--ee-icon-size-md);
  }
  .ee-report-card__chip > .ee-card-glyph:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-icon-size-md); }
  .ee-report-card__name:where(.ee-look-new, .ee-look-new *) { flex: 1 1 auto; margin: 0; font-size: var(--ee-fs-16); font-weight: var(--ee-fw-heading); line-height: var(--ee-lh-tight); min-inline-size: 0; }
  .ee-report-card__star:where(.ee-look-new, .ee-look-new *) { flex: none; font-size: var(--ee-icon-size-sm); color: var(--ee-fav-on-stroke); }
  .ee-report-card__badge:where(.ee-look-new, .ee-look-new *) { flex: none; }
  .ee-report-card__go:where(.ee-look-new, .ee-look-new *) { display: none; }
  .ee-report-card__purpose:where(.ee-look-new, .ee-look-new *) {
    margin: 0; font-size: var(--ee-fs-14); color: var(--ee-ink-sub);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;   /* ONE line; the whole words are the link's description */
  }
  .ee-report-card__meta:where(.ee-look-new, .ee-look-new *) { margin: 0; font-size: var(--ee-fs-13); color: var(--ee-ink-sub); }
  .ee-report-card__figure:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; gap: var(--ee-space-1); margin: var(--ee-space-2) 0 0; }
  .ee-report-card__figure-label:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-fs-13); color: var(--ee-ink-sub); }
  .ee-report-card__figure-value:where(.ee-look-new, .ee-look-new *) {
    font-size: var(--ee-fs-24); font-weight: var(--ee-fw-heading); font-variant-numeric: tabular-nums lining-nums;
    color: var(--dom-ink);
  }
  .ee-report-card__foot:where(.ee-look-new, .ee-look-new *) {
    display: flex; align-items: center; justify-content: space-between; gap: var(--ee-space-2);
    min-block-size: var(--ee-card-foot-h); padding-inline: var(--ee-space-5);
    background: var(--dom-tint); color: var(--dom-ink); font-size: var(--ee-fs-14); font-weight: var(--ee-fw-heading);
  }
  .ee-report-card__foot > .ee-card-glyph:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-icon-size-md); }

  /* THE CATALOG ON A PHONE (the catalog's own width under 48rem; verification r8 at 390: 83 cards of about 138 px, each
     with its own "Open report" footer, a 12,826 px page): each category is ONE card of door rows. The section's grid is
     the card (white, perimeter, radius, the 2 px top); each report is a 56 px row in it: chip, name, the marks, a
     chevron, the WHOLE row the door, hairline between rows and the zebra on every other row. The search takes the row,
     the tabs swipe under it. */
  @container (max-width: 47.99rem) {
    .ee-catalog__bar:where(.ee-look-new, .ee-look-new *) { flex-direction: column; align-items: stretch; gap: var(--ee-space-3); }
    .ee-catalog__find:where(.ee-look-new, .ee-look-new *) { inline-size: 100%; }
    .ee-catalog__grid:where(.ee-look-new, .ee-look-new *) {
      display: flex; flex-direction: column; gap: 0; overflow: hidden;
      background-color: var(--ee-surface-card);
      background-image: var(--ee-card-top); background-origin: border-box; background-position: top left;
      background-size: 100% var(--ee-card-top-h); background-repeat: no-repeat;
      border: thin solid var(--ee-line-perimeter); border-block-start-color: transparent;
      border-radius: var(--ee-r-frame); box-shadow: var(--ee-elev-card);
    }
    .ee-report-card:where(.ee-look-new, .ee-look-new *) {
      flex-direction: row; align-items: center; min-block-size: var(--ee-table-row-relaxed);
      border: 0; border-radius: 0; box-shadow: none; background: transparent;
    }
    ee-report-card:nth-child(even) > .ee-report-card:where(.ee-look-new, .ee-look-new *) { background: var(--ee-row-zebra); }
    ee-report-card + ee-report-card > .ee-report-card:where(.ee-look-new, .ee-look-new *) { border-block-start: thin solid var(--ee-line-hair); }
    .ee-report-card:where(.ee-look-new, .ee-look-new *)::before { content: none; }
    .ee-report-card:hover:where(.ee-look-new, .ee-look-new *) { box-shadow: none; background: var(--ee-tint-select); }
    .ee-report-card:focus-visible:where(.ee-look-new, .ee-look-new *) { outline-offset: calc(-1 * var(--ee-focus-w)); }
    .ee-report-card__body:where(.ee-look-new, .ee-look-new *) { flex-direction: row; align-items: center; padding: var(--ee-space-2) var(--ee-space-4); }
    .ee-report-card__chip:where(.ee-look-new, .ee-look-new *) { inline-size: var(--ee-card-chip-sm); block-size: var(--ee-card-chip-sm); }
    .ee-report-card__chip > .ee-card-glyph:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-icon-size-sm); }
    .ee-report-card__name:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-fs-15); }
    .ee-report-card__go:where(.ee-look-new, .ee-look-new *) { display: inline-grid; font-size: var(--ee-icon-size-md); color: var(--ee-ink-sub); }
    .ee-report-card__head:where(.ee-look-new, .ee-look-new *) { flex: 1 1 auto; }
    :is(.ee-report-card__purpose, .ee-report-card__meta, .ee-report-card__figure, .ee-report-card__foot):where(.ee-look-new, .ee-look-new *) { display: none; }
  }

  /* ---- THE SCHEDULE (ee-widget-report-schedule and its WHEN, ee-recurrence-field). Owner on the phone (report-scheduler,
     a820720d "Weirdly laid out", b2cf70df "Weird alignment and position"): the WHEN reads as a summary first (the
     door's sentence, then "Next runs: Thu, Dec 31 · Thu, Jan 28 · Thu, Feb 25" on ONE wrapping line, as the report
     layout draws it), then the choices that change it at their own widths on one wrapping row (one per row on a phone),
     the holiday rule label above its select, and the rules the dates follow behind one info press (the kit draws a
     link-role button with aria-expanded as the soft button: contract C42). Every block on the card's one content edge.
     The part's markup is divs and spans only and its layout sits on an inner div, never on the .ee-field fieldset: the
     legacy unlayered element rules (p, ul, summary) and the kit's unlayered .ee-field grid beat this layer. */
  .ee-report-schedule:where(.ee-look-new, .ee-look-new *) { min-inline-size: 0; }
  .ee-report-schedule__when:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; gap: var(--ee-space-3); min-inline-size: 0; }
  .ee-report-schedule__said:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; gap: var(--ee-space-1); min-inline-size: 0; }
  .ee-report-schedule__sentence-said:where(.ee-look-new, .ee-look-new *) { font-size: var(--ee-fs-14); font-weight: var(--ee-fw-heading); color: var(--ee-ink); }
  .ee-report-schedule__runs:where(.ee-look-new, .ee-look-new *) {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--ee-space-2); min-inline-size: 0;
    font-size: var(--ee-fs-13); color: var(--ee-ink-sub);
  }
  .ee-report-schedule__runs-label:where(.ee-look-new, .ee-look-new *) { font-weight: var(--ee-fw-medium); }
  .ee-report-schedule__runs-label:where(.ee-look-new, .ee-look-new *)::after { content: ":" / ""; }
  .ee-report-schedule__runs-list:where(.ee-look-new, .ee-look-new *) { display: flex; flex-wrap: wrap; gap: 0 var(--ee-space-2); min-inline-size: 0; }
  .ee-report-schedule__run:where(.ee-look-new, .ee-look-new *) { white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; color: var(--ee-ink); }
  .ee-report-schedule__run + .ee-report-schedule__run:where(.ee-look-new, .ee-look-new *)::before {
    content: "·" / ""; margin-inline-end: var(--ee-space-2); color: var(--ee-ink-sub);
  }
  /* each choice at its own width on one wrapping row: the main size comes from flex-basis, which the kit's unlayered
     .ee-select / .ee-input width (100%) does not decide in a flex row */
  .ee-report-schedule__sentence:where(.ee-look-new, .ee-look-new *) { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ee-space-2); min-inline-size: 0; }
  .ee-report-schedule__sentence > :is(select, input):where(.ee-look-new, .ee-look-new *) { flex: 0 1 max-content; min-inline-size: 0; }
  .ee-report-schedule__holiday:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; gap: var(--ee-space-1); min-inline-size: 0; }
  .ee-report-schedule__rules:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; align-items: flex-start; gap: var(--ee-space-2); min-inline-size: 0; }
  .ee-report-schedule__rules-lines:where(.ee-look-new, .ee-look-new *) { display: flex; flex-direction: column; gap: var(--ee-space-1); }
  .ee-report-schedule__rules-lines[hidden]:where(.ee-look-new, .ee-look-new *) { display: none; }
  /* THE CARD'S FOOT (verification r8 on demo-report-schedule, owner b2cf70df: "Save schedule" floated alone at the right
     in the middle of the card): the form is the card's last part, so its actions are the card's foot. Its rule runs
     across the card as the tables in it do (one edge system: rules and rows to the card's edges, words on its inside
     edge), and it closes the card. Cancel / Run now at the start, the main last; on a phone each action takes the
     row, the main last. */
  .ee-report-schedule__foot:where(.ee-look-new, .ee-look-new *) {
    margin-inline: calc(-1 * var(--ee-card-pad-x)); margin-block-end: calc(-1 * var(--ee-card-pad-y));
    padding-inline: var(--ee-card-pad-x);
  }
  /* a phone (< 768, contract C34): each choice on its own row (the phone layout), the row's width a full target */
  @media (max-width: 47.99rem) {
    .ee-report-schedule__sentence:where(.ee-look-new, .ee-look-new *) { flex-direction: column; align-items: stretch; }
    .ee-report-schedule__foot:where(.ee-look-new, .ee-look-new *) {
      margin-inline: calc(-1 * var(--ee-card-pad-x-phone)); padding-inline: var(--ee-card-pad-x-phone);
    }
    .ee-report-schedule__foot > :is(button, a):where(.ee-look-new, .ee-look-new *) { flex: 1 1 100%; justify-content: center; }
  }

  /* ---- THE PRINT SHEET HEAD (role print): the template draws it only while the sheet prints; on screen it is never
     drawn (and stays hidden here should a print dialog paint the screen); on paper the kit's .ee-print-only shows it. */
  @media screen { .ee-report-print-head:where(.ee-look-new, .ee-look-new *) { display: none; } }
}

@media print {
  @layer parts {
    /* the sheet head: logo-free text block (the org mark lives in the shell's paper block), title, facts, generated */
    .ee-report-print-head:where(.ee-look-new, .ee-look-new *) {
      margin-block-end: var(--ee-space-4); padding-block-end: var(--ee-space-3);
      border-block-end: thin solid var(--ee-report-print-rule);
      color: var(--ee-ink);
    }
    .ee-report-print-head__title:where(.ee-look-new, .ee-look-new *) { margin: 0 0 var(--ee-space-2); font-size: var(--ee-fs-20); font-weight: var(--ee-fw-heading); }
    .ee-report-print-head__facts:where(.ee-look-new, .ee-look-new *) { display: flex; flex-wrap: wrap; gap: var(--ee-space-1) var(--ee-space-6); margin: 0; }
    .ee-report-print-head__fact:where(.ee-look-new, .ee-look-new *) { display: flex; gap: var(--ee-space-1); }
    .ee-report-print-head__fact-label:where(.ee-look-new, .ee-look-new *) { font-weight: var(--ee-fw-heading); }
    .ee-report-print-head__fact-label:where(.ee-look-new, .ee-look-new *)::after { content: ":"; }
    .ee-report-print-head__when:where(.ee-look-new, .ee-look-new *) { margin: var(--ee-space-2) 0 0; font-size: var(--ee-fs-12); color: var(--ee-ink-sub); }
    /* totals print once, on the last sheet; rows never cut (the shell's paper block repeats every table head) */
    .ee-report-region tfoot:where(.ee-look-new, .ee-look-new *) { display: table-row-group; }
    .ee-tpl-grouped-report :is(tr, [data-ee-report-card]):where(.ee-look-new, .ee-look-new *) { break-inside: avoid; }
    /* the period trigger prints as words (its chevron and icon are not paper) */
    .ee-period mat-icon:where(.ee-look-new, .ee-look-new *) { display: none; }
  }
}
/* /PARTS-REPORT */
