@mj-biz-apps/orders-ng 5.52.0 → 5.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/lib/pages/payments/account-credit.page.d.ts +21 -0
  2. package/dist/lib/pages/payments/account-credit.page.d.ts.map +1 -1
  3. package/dist/lib/pages/payments/account-credit.page.js +145 -82
  4. package/dist/lib/pages/payments/account-credit.page.js.map +1 -1
  5. package/dist/lib/pages/receivables/billing-issue.d.ts +14 -0
  6. package/dist/lib/pages/receivables/billing-issue.d.ts.map +1 -0
  7. package/dist/lib/pages/receivables/billing-issue.js +17 -0
  8. package/dist/lib/pages/receivables/billing-issue.js.map +1 -0
  9. package/dist/lib/pages/receivables/billing.page.d.ts +135 -19
  10. package/dist/lib/pages/receivables/billing.page.d.ts.map +1 -1
  11. package/dist/lib/pages/receivables/billing.page.js +748 -163
  12. package/dist/lib/pages/receivables/billing.page.js.map +1 -1
  13. package/dist/lib/pages/receivables/customer-ar.page.d.ts +12 -0
  14. package/dist/lib/pages/receivables/customer-ar.page.d.ts.map +1 -1
  15. package/dist/lib/pages/receivables/customer-ar.page.js +40 -14
  16. package/dist/lib/pages/receivables/customer-ar.page.js.map +1 -1
  17. package/dist/lib/pages/receivables/external-invoicing-queue.page.d.ts +157 -26
  18. package/dist/lib/pages/receivables/external-invoicing-queue.page.d.ts.map +1 -1
  19. package/dist/lib/pages/receivables/external-invoicing-queue.page.js +1278 -316
  20. package/dist/lib/pages/receivables/external-invoicing-queue.page.js.map +1 -1
  21. package/dist/lib/pages/receivables/overdue-page.model.d.ts +55 -0
  22. package/dist/lib/pages/receivables/overdue-page.model.d.ts.map +1 -0
  23. package/dist/lib/pages/receivables/overdue-page.model.js +112 -0
  24. package/dist/lib/pages/receivables/overdue-page.model.js.map +1 -0
  25. package/dist/lib/pages/receivables/overdue.page.d.ts +104 -16
  26. package/dist/lib/pages/receivables/overdue.page.d.ts.map +1 -1
  27. package/dist/lib/pages/receivables/overdue.page.js +476 -125
  28. package/dist/lib/pages/receivables/overdue.page.js.map +1 -1
  29. package/dist/lib/pages/receivables/progress.page.d.ts +69 -8
  30. package/dist/lib/pages/receivables/progress.page.d.ts.map +1 -1
  31. package/dist/lib/pages/receivables/progress.page.js +574 -248
  32. package/dist/lib/pages/receivables/progress.page.js.map +1 -1
  33. package/dist/lib/pages/receivables/worklist-view.model.d.ts +229 -0
  34. package/dist/lib/pages/receivables/worklist-view.model.d.ts.map +1 -0
  35. package/dist/lib/pages/receivables/worklist-view.model.js +402 -0
  36. package/dist/lib/pages/receivables/worklist-view.model.js.map +1 -0
  37. package/dist/lib/panels/aging-bar.component.d.ts +7 -1
  38. package/dist/lib/panels/aging-bar.component.d.ts.map +1 -1
  39. package/dist/lib/panels/aging-bar.component.js +89 -33
  40. package/dist/lib/panels/aging-bar.component.js.map +1 -1
  41. package/dist/lib/panels/side-panel.component.d.ts +41 -0
  42. package/dist/lib/panels/side-panel.component.d.ts.map +1 -0
  43. package/dist/lib/panels/side-panel.component.js +126 -0
  44. package/dist/lib/panels/side-panel.component.js.map +1 -0
  45. package/dist/lib/panels/worklist-bar.component.d.ts +81 -0
  46. package/dist/lib/panels/worklist-bar.component.d.ts.map +1 -0
  47. package/dist/lib/panels/worklist-bar.component.js +291 -0
  48. package/dist/lib/panels/worklist-bar.component.js.map +1 -0
  49. package/dist/lib/panels/worklist-table.component.d.ts +47 -5
  50. package/dist/lib/panels/worklist-table.component.d.ts.map +1 -1
  51. package/dist/lib/panels/worklist-table.component.js +283 -79
  52. package/dist/lib/panels/worklist-table.component.js.map +1 -1
  53. package/dist/lib/sections/orders-sections.component.d.ts.map +1 -1
  54. package/dist/lib/sections/orders-sections.component.js +13 -5
  55. package/dist/lib/sections/orders-sections.component.js.map +1 -1
  56. package/dist/lib/sections/section-nav.model.js +1 -1
  57. package/dist/lib/sections/section-nav.model.js.map +1 -1
  58. package/dist/lib/sections/section-shell.component.js +2 -2
  59. package/dist/lib/styles/orders-kit.css +10 -0
  60. package/dist/public-api.d.ts +2 -0
  61. package/dist/public-api.d.ts.map +1 -1
  62. package/dist/public-api.js +2 -0
  63. package/dist/public-api.js.map +1 -1
  64. package/package.json +2 -2
@@ -107,7 +107,7 @@ export class MJOSectionShellComponent {
107
107
  MJPageBodyComponent,
108
108
  MJLeftNavComponent,
109
109
  MJLeftNavContentComponent,
110
- MJPageBodyInteriorComponent], styles: ["/* ============================================================================\n BizApps Orders \u2014 component kit\n ============================================================================\n THE CANONICAL SOURCE for this app's own component CSS. Both consumers read\n THIS FILE, so the mockups and the shipped UI cannot drift:\n\n \u00B7 packages/Angular/src/lib/styles/orders-kit.css \u2190 you are here\n \u00B7 mockups/assets/app.css @imports it\n\n Only classes MJ does NOT ship live here. Page chrome, buttons, inputs, filter\n chips, empty states, loading, collapsible panels, overlays and tab navigation all come from\n @memberjunction/ng-ui-components and @memberjunction/ng-base-forms at runtime;\n the mockups shim those separately because they have no Angular to provide them.\n\n Every value resolves through MJ's semantic tokens. No literal colours, with one\n documented exception: the deepest aging step, whose ramp was chosen by running\n the palette validator (see mockups/PROVENANCE.md).\n\n NAMING. New classes take the app's `mjo-` prefix. `mj-` is MJ's, and because\n this sheet is global a kit class sharing an MJ name restyles MJ's own markup;\n `.mj-filter-chip`, `.mj-timeline` and an unscoped `.mj-select` all collided. The\n `mj-` names still here move to `mjo-` as each family moves into the component\n that renders it.\n ============================================================================ */\n\n/* ============================================================================\n 16. LAYOUT & TEXT HELPERS\n ============================================================================\n These were authored in `mockups/assets/app.css` \u00A716 and never migrated here,\n so the two consumers DID drift despite the promise at the top of this file:\n the mockups styled them, the shipped app did not. 267 applications of `small`,\n `muted`, `row`, `wrap`, `strong`, `mono`, `tiny`, `spacer` and `sec-label`\n across the pages resolved to nothing \u2014 every caption rendered at full body\n size in full-strength ink and every `.row` collapsed from a flex row to a\n block stack. That single omission is most of the gap between the approved\n mockups and what shipped.\n\n Unprefixed on purpose \u2014 renaming ~267 call sites to `mj-` would buy nothing\n and would break parity with the mockup markup they mirror.\n\n TYPE SCALE \u2014 12px is the floor, and we do NOT want a sub-12px token.\n These arrived as raw px below MJ's smallest step: `small` 11.5px and `tiny`\n 10.5px. Both now resolve to `--mj-text-xs` (12px), MJ's own token, so the app\n shares one scale instead of carrying two private sizes.\n\n The obvious alternative \u2014 asking for a `--mj-text-xxs` \u2014 is the wrong ask, and\n we should not raise it. 12px is the practical legibility floor for secondary\n text (Material and Apple HIG both bottom out at 11\u201312px and reserve it for\n non-essential labels), and `small` here is not decoration: it carries amounts,\n counts and statuses on 120 elements. Shrinking DATA below the floor is exactly\n the case the floor exists for, and a token would institutionalise it across\n every app that adopts it.\n\n Hierarchy that used to come from size now comes from COLOUR (`muted`) and\n WEIGHT (`strong`) \u2014 both of which preserve the distinction at a legible size.\n Size is the bluntest hierarchy tool available and the only one that costs\n legibility, so it is the right one to give up.\n ============================================================================ */\n\n.row { display: flex; align-items: center; gap: var(--mj-space-2); }\n.col { display: flex; flex-direction: column; gap: var(--mj-space-2); }\n.wrap { flex-wrap: wrap; }\n.spacer { margin-left: auto; }\n.muted { color: var(--mj-text-muted); }\n/* 12px floor, on MJ's own token \u2014 see the TYPE SCALE note above. `small` and\n `tiny` were 11.5px and 10.5px; both now resolve to --mj-text-xs and the\n small/tiny distinction is carried by COLOUR and WEIGHT instead of size. */\n.small { font-size: var(--mj-text-xs); }\n.tiny { font-size: var(--mj-text-xs); }\n.strong { font-weight: var(--mj-font-semibold); }\n.mono { font-family: var(--mj-font-family-mono); font-size: .92em; }\n.center { text-align: center; }\n.nowrap { white-space: nowrap; }\n.hidden { display: none !important; }\n\n/* Numeric input modifier \u2014 pairs with `mj-input` on the five money fields\n (payment, refund, credit, return qty, allocation). Undefined until now, so\n amounts typed into them left-aligned against right-aligned totals directly\n beside them. Same treatment as `.mj-num`, which is what those totals use. */\n.is-num {\n text-align: right;\n font-variant-numeric: tabular-nums; font-feature-settings: \"tnum\";\n}\n.sec-label {\n font-size: var(--mj-text-xs); font-weight: var(--mj-font-bold); letter-spacing: .06em;\n text-transform: uppercase; color: var(--mj-text-muted); margin-bottom: var(--mj-space-2);\n}\n\n/* Explanatory notes under a chart, table or panel. 51 of these across 14\n `mjo-<page>__note` hooks were authored with NO rule anywhere, so every one sat\n flush against the element above it \u2014 the note read as a wrapped continuation\n of the legend rather than a separate caption. Prefix-scoped so the unrelated\n `fe-books__note` (which sets its own padding) is untouched. */\n[class*=\"mjo-\"][class*=\"__note\"] { margin-top: var(--mj-space-2); }\n\n/* ============================================================================\n PAGE HEADER \u2014 three stacked rows compressed into two\n ============================================================================\n MJ stacks the identity column title -> subtitle -> meta, so our \"as of 2:31 PM\"\n capsule landed on a third line of its own and the header stood 138px tall on\n every section. The capsule is a timestamp for the subtitle, not a peer of it,\n so it belongs BESIDE the subtitle rather than under it.\n\n Done without restructuring MJ's template, so a future MJ header fix still\n lands for us. Scoped to our shell \u2014 this is our editorial choice about our own\n capsule, not an opinion about how every MJ header should read.\n\n GRID, not flex-wrap. The first attempt used a wrapping flex row with order to\n reseat the capsule; every child claimed its own line and the whole block\n centred, because a full-width flex item forces a line break and the remaining\n items had nothing to sit beside. Grid with EXPLICIT row and column placement\n is deterministic \u2014 and it makes MJ's DOM order (title, subtitle, meta)\n irrelevant, so the capsule renders to the LEFT of a subtitle that precedes it\n in the markup, without touching the template. */\nmjo-section-shell .mj-page-header .mj-page-header-text {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr);\n align-items: center;\n justify-items: start;\n column-gap: var(--mj-space-2);\n row-gap: 2px;\n}\nmjo-section-shell .mj-page-header .mj-page-header-title { grid-row: 1; grid-column: 1 / -1; }\nmjo-section-shell .mj-page-header .mj-page-header-meta { grid-row: 2; grid-column: 1; margin-top: 0; }\nmjo-section-shell .mj-page-header .mj-page-header-subtitle { grid-row: 2; grid-column: 2; margin-top: 0; }\n\n/* Reclaim the rest vertically. space-3 still clears the 40px icon tile with\n room to spare; going tighter starts to crowd it. */\nmjo-section-shell .mj-page-header .mj-page-header-row--primary {\n padding-top: var(--mj-space-3);\n padding-bottom: var(--mj-space-3);\n}\n\n/* ============================================================================\n CARD HOVER \u2014 undo MJ's ungated lift on cards that do nothing\n ============================================================================\n MJ lifts EVERY `.mj-card` on hover \u2014 `transform: translateY(-4px)` plus a\n large shadow \u2014 from `explorer-app/src/lib/styles/_common.scss`. The selector\n there is bare `.mj-card:hover`, with no gate on whether the card is\n interactive, so a read-only dashboard panel rises under the cursor and\n promises a click it will not accept.\n\n This is not MJ's intent. `_shared-patterns.scss`, in the same package, heads\n its own card-hover block \"for clickable cards\" and gates it properly on\n `a.mj-card` / `.mj-card.clickable` \u2014 then weakens it with an ungated\n `.mj-card:hover` of its own. Two competing rules, both ungated in practice.\n Filed upstream; DELETE this block once MJ gates its own.\n\n Scoped to the orders shell so it cannot alter any other app, and written the\n way MJ says it means it: keep the lift where the card is genuinely a link or\n is marked clickable, drop it everywhere else.\n\n The values re-assert MJ's own RESTING state for `.mj-card` so that hovering a\n non-interactive card is a true NO-OP rather than a different effect \u2014 an\n earlier pass set a smaller shadow here, which only traded a card that rises\n for one that flattens. `--mj-shadow-sm` is used rather than `_common.scss`'s\n `var(--shadow)`: that variable is private to explorer-app and does not resolve\n from here, so the declaration was silently dropped. */\nmjo-section-shell .mj-card:not(.clickable):not(a):hover {\n transform: none;\n box-shadow: var(--mj-shadow-sm);\n border-color: transparent;\n}\n\n/* ============================================================================\n 7. MONEY (U7)\n ============================================================================ */\n\n.mj-num {\n font-variant-numeric: tabular-nums; font-feature-settings: \"tnum\";\n text-align: right; white-space: nowrap;\n}\n.mj-money--neg { color: var(--mj-status-error-text); }\n.mj-money--credit { color: var(--mj-status-success-text); }\n.mj-money--muted { color: var(--mj-text-muted); }\n\n/* The money strip \u2014 TotalGross / AmountPaid / Balance / status */\n/* Columns follow the CELLS THAT EXIST rather than a fixed three-plus-note.\n Paid is conditional (drafts have none) and the note is optional, so the fixed\n template left one or two empty panels sitting in the strip \u2014 which reads as a\n figure that failed to load rather than a figure that does not apply. */\n.mj-money-strip {\n display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;\n border: 1px solid var(--mj-border-default); border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface); overflow: hidden;\n}\n.mj-money-strip > div {\n padding: var(--mj-space-3) var(--mj-space-4);\n border-right: 1px solid var(--mj-border-default);\n}\n/* The chip row is the STATUS cell specifically \u2014 not whatever happens to be last.\n Keyed on :last-child, this flex rule landed on BALANCE as soon as the status cell\n stopped rendering (a draft has no PaymentStatus), which laid its label and value\n side by side while TOTAL beside it stayed stacked. */\n.mj-money-strip > div:last-child { border-right: none; }\n.mj-money-strip > .mj-money-strip__status {\n display: flex; align-items: center; gap: var(--mj-space-2);\n}\n.mj-money-strip .l {\n font-size: 10px; font-weight: var(--mj-font-bold); letter-spacing: .07em;\n text-transform: uppercase; color: var(--mj-text-muted); display: block; margin-bottom: 2px;\n}\n.mj-money-strip .v { font-size: 17px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums; }\n\n/* Decomposition ladder \u2014 net \u2192 promos \u2192 charges \u2192 tax \u2192 gross */\n.mj-ladder { font-size: 13px; }\n.mj-ladder-row {\n display: flex; align-items: baseline; gap: var(--mj-space-2);\n padding: 6px 0; border-bottom: 1px dashed var(--mj-border-subtle);\n}\n.mj-ladder-row > .label { color: var(--mj-text-secondary); display: flex; align-items: center; gap: 6px; }\n.mj-ladder-row > .amt { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: var(--mj-font-medium); }\n.mj-ladder-row.is-sub { padding-left: var(--mj-space-4); font-size: 12px; color: var(--mj-text-muted); }\n.mj-ladder-row.is-sub > .amt { font-weight: var(--mj-font-normal); }\n.mj-ladder-row.is-discount > .amt { color: var(--mj-status-success-text); }\n.mj-ladder-row.is-total {\n border-bottom: none; border-top: 2px solid var(--mj-border-strong);\n margin-top: var(--mj-space-2); padding-top: var(--mj-space-3);\n}\n.mj-ladder-row.is-total > .label { font-weight: var(--mj-font-semibold); color: var(--mj-text-primary); }\n.mj-ladder-row.is-total > .amt { font-size: 18px; font-weight: var(--mj-font-bold); }\n.mj-ladder-note {\n font-size: 11.5px; color: var(--mj-text-muted); padding: var(--mj-space-2) 0 0;\n display: flex; gap: 6px; align-items: flex-start;\n}\n.mj-ladder-note i { margin-top: 2px; color: var(--mj-status-info); }\n\n/* The \"why\" disclosure \u2014 U2. A bare number is never acceptable. */\n.mj-why {\n border: none; background: none; cursor: pointer; padding: 0 2px;\n color: var(--mj-text-disabled); font-size: 10.5px;\n}\n.mj-why:hover { color: var(--mj-brand-primary); }\n.mj-why-body {\n font-size: 11.5px; color: var(--mj-text-secondary);\n background: var(--mj-bg-surface-sunken); border-left: 2px solid var(--mj-brand-primary);\n border-radius: 0 var(--mj-radius-sm) var(--mj-radius-sm) 0;\n padding: var(--mj-space-2) var(--mj-space-3); margin: var(--mj-space-2) 0;\n}\n.mj-why-body ol, .mj-why-body ul { margin: 4px 0 0; padding-left: var(--mj-space-4); }\n.mj-why-body li { margin: 2px 0; }\n.mj-why-body code {\n font-family: var(--mj-font-family-mono); font-size: 10.5px;\n background: var(--mj-bg-surface); padding: 1px 4px; border-radius: 3px;\n}\n\n/* ============================================================================\n 9. STATUS STEPPER (D9 \u2014 order fixed, forward skip legal)\n ============================================================================ */\n\n.mj-stepper { display: flex; align-items: center; gap: var(--mj-space-1); flex-wrap: wrap; }\n.mj-stepper .step {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 4px 11px; border-radius: var(--mj-radius-full);\n border: 1px solid var(--mj-border-default); background: var(--mj-bg-surface);\n font-size: 11.5px; font-weight: var(--mj-font-semibold); color: var(--mj-text-muted);\n cursor: pointer;\n}\n.mj-stepper .step i { font-size: 9px; }\n.mj-stepper .step.is-done {\n background: var(--mj-status-success-bg); border-color: color-mix(in srgb, var(--mj-status-success) 40%, transparent);\n color: var(--mj-status-success-text);\n}\n.mj-stepper .step.is-current {\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, transparent);\n border-color: var(--mj-brand-primary); color: var(--mj-brand-primary);\n}\n.mj-stepper .step.is-blocked { opacity: .45; cursor: not-allowed; }\n.mj-stepper .sep { color: var(--mj-text-disabled); font-size: 9px; }\n\n/* ============================================================================\n 13. STAT TILES (cheap counts only \u2014 U11)\n ============================================================================ */\n\n.mj-stat-grid {\n display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));\n gap: var(--mj-space-4);\n}\n.mj-stat {\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); padding: var(--mj-space-4);\n display: flex; flex-direction: column; gap: 2px; min-width: 0;\n}\n.mj-stat .l {\n font-size: 11px; font-weight: var(--mj-font-semibold); letter-spacing: .04em;\n text-transform: uppercase; color: var(--mj-text-muted);\n display: flex; align-items: center; gap: 6px;\n}\n.mj-stat .v {\n font-size: 25px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums;\n letter-spacing: -0.02em; line-height: 1.15;\n}\n.mj-stat .d { font-size: 11.5px; color: var(--mj-text-muted); }\n.mj-stat.is-alert .v { color: var(--mj-status-error-text); }\n\n/* ============================================================================\n 14. AGING BAR\n ============================================================================ */\n\n.mj-aging { display: flex; flex-direction: column; gap: 6px; }\n.mj-aging-bar {\n display: flex; height: 26px; border-radius: var(--mj-radius-sm);\n overflow: hidden; background: var(--mj-bg-surface-sunken);\n}\n.mj-aging-bar > span {\n display: flex; align-items: center; justify-content: center;\n font-size: 10.5px; font-weight: var(--mj-font-semibold); color: #fff;\n min-width: 0; overflow: hidden; white-space: nowrap;\n}\n/* Aging severity ramp \u2014 VALIDATED, do not eyeball-substitute.\n #64748b, #f59e0b, #ef4444, #991b1b passes CVD separation (worst adjacent\n \u0394E 13.9 deutan) and the normal-vision floor (\u0394E 19.8) on BOTH the light and\n dark surfaces. The earlier set used warning-700 next to error-600, which sat\n at \u0394E 2.8 deutan \u2014 the 60-day and 90-day buckets were indistinguishable.\n The neutral first step is deliberate: \"not late\" is not a severity.\n Every segment carries a visible amount and a legend, which is what discharges\n the low-contrast warning on the amber step. See PROVENANCE.md. */\n.mj-aging-bar .b-cur { background: var(--mj-color-neutral-500); }\n.mj-aging-bar .b-30 { background: var(--mj-color-warning-500); }\n.mj-aging-bar .b-60 { background: var(--mj-color-error-500); }\n/* Was the literal #991b1b, because MJ's error ramp stops at -700. Now fully\n tokenised, and the reasoning is worth keeping because the first instinct was\n the wrong one.\n\n Re-measured independently (CIE76 + a Brettel deuteranope simulation) rather\n than trusting the numbers above, whose validator script is NOT in this repo\n and cannot be re-run. Worst adjacent pair, 31-60 vs 61+:\n\n #991b1b (literal) normal dE 26.6 deuteranope dE 23.8\n --mj-color-error-700 normal dE 16.3 deuteranope dE 15.5\n the REJECTED first attempt normal dE 31.9 deuteranope dE 3.1\n\n So the token step is a modest perceptual step DOWN, not a failure: dE 15 is\n far above the ~2.3 just-noticeable difference, and nothing like the 3.1 that\n made the original attempt genuinely unreadable. And the bar is never the sole\n carrier \u2014 every segment shows its amount and the legend lists all four \u2014 so\n WCAG 1.4.1 holds either way.\n\n The token wins on a functional point the literal cannot match: a hardcoded\n hex does not follow dark mode or a white-label rebrand, while every other\n step of this ramp does. Trading ~10 dE of headroom for a ramp that themes\n correctly is the right trade. */\n.mj-aging-bar .b-90 { background: var(--mj-color-error-700); }\n[data-theme=\"dark\"] .mj-aging-bar .b-cur { background: var(--mj-color-neutral-500); }\n.mj-aging-bar > span.is-empty { display: none; }\n/* row-gap is explicit: the legend wraps to two rows in a narrow column, and a\n single `gap` shorthand left the wrapped rows tighter than the note beneath\n them, so the four buckets read as two unrelated pairs. */\n.mj-aging-legend { display: flex; gap: var(--mj-space-2) var(--mj-space-4); font-size: 11.5px; flex-wrap: wrap; }\n.mj-aging-legend > span { display: flex; align-items: center; gap: 6px; color: var(--mj-text-secondary); }\n.mj-aging-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }\n\n/* ============================================================================\n 17. KEYBOARD HINT STRIP (U20 \u2014 shortcuts are visible, not hidden)\n ============================================================================ */\n\nkbd {\n font-family: var(--mj-font-family); font-size: 10.5px; font-weight: var(--mj-font-semibold);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-strong);\n border-bottom-width: 2px; border-radius: var(--mj-radius-sm);\n padding: 1px 5px; color: var(--mj-text-secondary); line-height: 1.5;\n}\n\n/* ============================================================================\n 19. TYPE-AHEAD (fast entry)\n ============================================================================ */\n\n/*\n * The wrapper needs a STACKING CONTEXT, not just a positioning one.\n *\n * `position: relative` alone anchors the list under the input but leaves it in the\n * parent's stacking order, so later siblings paint on top of it: the customer\n * results rendered in the right place and were covered by the next section.\n * `elementFromPoint` at the centre of the first option returned the section, not\n * the option \u2014 the list was visible to the DOM and invisible to a person.\n */\n.mj-typeahead { position: relative; z-index: 20; }\n.mj-typeahead-list {\n position: absolute; top: calc(100% + 4px); left: 0; right: 0;\n z-index: var(--mj-z-popover); max-height: 320px; overflow: auto;\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); box-shadow: var(--mj-shadow-lg);\n display: none;\n}\n.mj-typeahead-list.is-open { display: block; }\n.mj-typeahead-item {\n display: flex; align-items: center; gap: var(--mj-space-3);\n padding: var(--mj-space-2) var(--mj-space-3); cursor: pointer;\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n.mj-typeahead-item:last-child { border-bottom: none; }\n.mj-typeahead-item:hover, .mj-typeahead-item.is-cursor { background: var(--mj-bg-surface-hover); }\n.mj-typeahead-item .name { font-size: 13px; font-weight: var(--mj-font-medium); }\n.mj-typeahead-item .sub { font-size: 11.5px; color: var(--mj-text-muted); }\n.mj-typeahead-item .end { margin-left: auto; text-align: right; }\n\n/* ============================================================================\n 21. DOCUMENT (the bill) \u2014 U6\n ============================================================================ */\n\n.mj-doc {\n background: var(--mj-bg-surface); color: var(--mj-text-primary);\n max-width: 860px; margin: 0 auto; padding: 56px 60px;\n border: 1px solid var(--mj-border-default); border-radius: var(--mj-radius-md);\n}\n.mj-doc-head { display: flex; align-items: flex-start; gap: var(--mj-space-6); margin-bottom: var(--mj-space-10); }\n.mj-doc-head .issuer { flex: 1; }\n.mj-doc-head .issuer .co { font-size: 17px; font-weight: var(--mj-font-bold); display: flex; align-items: center; gap: 8px; }\n.mj-doc-head .issuer .co i { color: var(--mj-brand-primary); }\n.mj-doc-head .issuer .addr { font-size: 12px; color: var(--mj-text-muted); margin-top: 6px; line-height: 1.6; }\n.mj-doc-head .docmeta { text-align: right; flex: none; }\n.mj-doc-head .docmeta .kind {\n font-size: 11px; font-weight: var(--mj-font-bold); letter-spacing: .12em;\n text-transform: uppercase; color: var(--mj-text-muted);\n}\n.mj-doc-head .docmeta .num { font-size: 22px; font-weight: var(--mj-font-bold); letter-spacing: -0.01em; }\n.mj-doc-meta-grid {\n display: grid; grid-template-columns: auto auto; gap: 3px var(--mj-space-4);\n font-size: 12px; margin-top: var(--mj-space-3); text-align: right;\n}\n.mj-doc-meta-grid dt { color: var(--mj-text-muted); }\n.mj-doc-meta-grid dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: var(--mj-font-medium); }\n.mj-doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: var(--mj-space-8); margin-bottom: var(--mj-space-8); }\n.mj-doc-parties .lbl {\n font-size: 10px; font-weight: var(--mj-font-bold); letter-spacing: .1em;\n text-transform: uppercase; color: var(--mj-text-muted); margin-bottom: 6px;\n}\n.mj-doc-parties .who { font-size: 13px; line-height: 1.7; }\n.mj-doc-parties .who .nm { font-weight: var(--mj-font-semibold); }\n.mj-doc table.mj-table thead th { background: transparent; border-bottom: 2px solid var(--mj-text-primary); }\n.mj-doc-totals { display: flex; justify-content: flex-end; margin-top: var(--mj-space-5); }\n.mj-doc-totals .box { width: min(340px, 100%); }\n.mj-doc-due {\n display: flex; align-items: baseline; justify-content: space-between;\n margin-top: var(--mj-space-3); padding-top: var(--mj-space-3);\n border-top: 2px solid var(--mj-text-primary);\n}\n.mj-doc-due .l { font-size: 13px; font-weight: var(--mj-font-bold); text-transform: uppercase; letter-spacing: .06em; }\n.mj-doc-due .v { font-size: 24px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums; }\n.mj-doc-foot {\n margin-top: var(--mj-space-10); padding-top: var(--mj-space-5);\n border-top: 1px solid var(--mj-border-default);\n font-size: 11.5px; color: var(--mj-text-muted); line-height: 1.7;\n}\n/*\n * The paid/void stamp.\n *\n * ANCHORED TO THE BOTTOM, not the top. Top-right is where the invoice number and\n * the date block already live, and the head's height varies with how many meta\n * rows a document has \u2014 so no fixed `top` clears it in every render. It sat on\n * top of the order number until a browser screenshot caught it. The footer band\n * is a single line of small print on the left, leaving the right reliably empty.\n */\n.mj-doc-stamp {\n position: absolute; bottom: 96px; right: 64px; transform: rotate(-14deg);\n border: 3px solid var(--mj-status-success); color: var(--mj-status-success-text);\n border-radius: var(--mj-radius-md); padding: 6px 18px;\n font-size: 22px; font-weight: var(--mj-font-bold); letter-spacing: .1em;\n text-transform: uppercase; opacity: .85; pointer-events: none;\n}\n\n/* Print. This sheet is global (the section shell loads it with ViewEncapsulation.None), so every\n selector stays under mjo-section-shell: unscoped, `.mj-page-header` would hide MJ's header when\n printing any Explorer page. No body rule for the same reason; browsers print without\n backgrounds unless asked. */\n@media print {\n mjo-section-shell .mj-page-header,\n mjo-section-shell .no-print { display: none !important; }\n mjo-section-shell .mj-page-layout,\n mjo-section-shell .mj-page-body { height: auto; overflow: visible; display: block; }\n mjo-section-shell .mj-page-body { padding: 0; }\n mjo-section-shell .mj-doc { border: none; max-width: none; padding: 0; }\n}\n\n\n/* ============================================================================\n CHROME THIS APP MUST SHIP ITSELF\n ============================================================================\n These were shimmed in mockups/assets/app.css on the assumption that MJ supplies\n them at runtime, the way it supplies .mj-card, .mj-btn and .mj-input. It does\n not. Loading the real app proved it: chips, banners, tabs, panels, the table\n frame and the slide-in were all completely unstyled in MJ Explorer while\n looking perfect in the mockups, because the mockups were reading the shim.\n\n Anything a component of ours renders has to live HERE, in the stylesheet the\n package ships, or it exists only in the mockups. The rule to apply when adding\n a class: if our markup writes it, it belongs in this file. Only classes MJ\n genuinely owns (.mj-page-layout, .mj-btn, .mj-input, .mj-card) stay as\n mockup-side shims.\n ============================================================================ */\n\n.mj-avatar {\n width: 30px; height: 30px; border-radius: var(--mj-radius-full);\n background: var(--mj-brand-primary); color: var(--mj-brand-on-primary);\n display: flex; align-items: center; justify-content: center;\n font-size: 11.5px; font-weight: var(--mj-font-semibold); flex: none;\n}\n/* `.mj-input` is deliberately NOT defined here \u2014 MJ owns it.\n MJ ships it globally in ui-components/input/input.scss (`.mj-input, .mj-textarea`),\n and this file is now global too (the section shell loads it with\n ViewEncapsulation.None), so redefining it meant two global rules of equal\n specificity fighting, with the winner decided by stylesheet LOAD ORDER \u2014 MJ's\n happens to win today, which is luck, not design. It also differed from MJ's\n (13px/6-10px/radius-md vs 14px/8-12px/radius-sm/min-height 38px), so whichever\n won changed how every input in the app looked.\n\n `.mj-select` stays: MJ styles `.mj-input, .mj-textarea` but ships no select rule.\n MJ's own templates do write `class=\"mj-select\"` (list management, conversations),\n so the rule is scoped to the Orders sections rather than restyling theirs.\n Values match MJ's input so the two sit level. */\nmjo-section-shell .mj-select {\n font-family: inherit; font-size: var(--mj-text-sm); color: var(--mj-text-primary);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm); padding: 8px 12px; width: 100%;\n min-height: 38px;\n}\nmjo-section-shell .mj-select:focus {\n outline: none; border-color: var(--mj-border-focus);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 16%, transparent);\n}\n.mj-field { display: block; margin-bottom: var(--mj-space-3); }\n.mj-field > label {\n display: block; font-size: 11px; font-weight: var(--mj-font-semibold);\n letter-spacing: .04em; text-transform: uppercase;\n color: var(--mj-text-muted); margin-bottom: 5px;\n}\n.mj-field .hint { font-size: 11.5px; color: var(--mj-text-muted); margin-top: 4px; }\n.mj-stated {\n display: flex; align-items: baseline; gap: var(--mj-space-2);\n padding: 6px 0;\n}\n.mj-stated .value { font-size: 13px; font-weight: var(--mj-font-medium); }\n.mj-stated .from {\n font-size: 11px; color: var(--mj-text-muted);\n background: var(--mj-bg-surface-sunken); border-radius: var(--mj-radius-sm);\n padding: 1px 6px;\n}\n.mjo-chip {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 2px 9px; border-radius: var(--mj-radius-full);\n font-size: 11.5px; font-weight: var(--mj-font-semibold);\n background: var(--mj-bg-surface-sunken); color: var(--mj-text-secondary);\n white-space: nowrap;\n}\n.mjo-chip i { font-size: 10px; }\n.mj-consequence {\n display: inline-flex; align-items: center; gap: 6px;\n font-size: 11.5px; color: var(--mj-text-secondary);\n background: var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-sm); padding: 3px 8px;\n}\n.mj-consequence i { font-size: 10px; color: var(--mj-text-muted); }\n.mj-consequence.is-sub i { color: var(--mj-color-violet-500); }\n.mj-consequence.is-event i { color: var(--mj-status-info); }\n.mj-consequence.is-defer i { color: var(--mj-status-warning); }\n.mj-card-pad { padding: var(--mj-space-4); }\n.mj-card-head {\n display: flex; align-items: center; gap: var(--mj-space-2);\n padding: var(--mj-space-3) var(--mj-space-4);\n border-bottom: 1px solid var(--mj-border-default);\n}\n.mj-card-head h3 { font-size: 13px; letter-spacing: .01em; }\n.mj-card-head i { color: var(--mj-text-muted); font-size: 12px; }\n.mj-card-head .right { margin-left: auto; display: flex; gap: var(--mj-space-2); align-items: center; }\n/* MJ ALREADY OWNS `.mj-table`. It is defined in ng-explorer-app's shared patterns, which\n Explorer loads before this kit \u2014 so `width`, `border-collapse` and the base type were being\n restated here purely to override MJ with the same thing, except in hardcoded pixels. Those\n declarations are gone; what stays below is only what MJ's table does NOT do.\n\n The one base property worth keeping is the SIZE: MJ's `--mj-text-sm` is 14px, and a dense\n worklist reads better a step down. That is a deliberate deviation, so it is written as a token\n rather than as 13px.\n\n SCOPED TO THE ORDERS SECTIONS (#904). The shell loads this sheet with ViewEncapsulation.None, so\n it stays in the document once any Orders section renders; unscoped, these rules restyled every\n `.mj-table` in Explorer, MJ's and other apps' included. Every Orders `.mj-table` renders inside\n `<mjo-section-shell>`. `:where()` adds the scope without adding specificity, so the\n `.mj-table--compact` padding and the `.mj-doc table.mj-table` header still win as before. */\n:where(mjo-section-shell) .mj-table { font-size: var(--mj-text-xs); }\n\n/* Additive, not a restatement: MJ's header has no sticky behaviour, and a worklist that scrolls\n inside a card needs one \u2014 losing the column names on row 20 is what makes a long queue\n unreadable. */\n:where(mjo-section-shell) .mj-table thead th {\n text-align: left; font-size: var(--mj-text-xs); font-weight: var(--mj-font-bold);\n letter-spacing: .06em; text-transform: uppercase; color: var(--mj-text-muted);\n padding: var(--mj-space-2) var(--mj-space-3);\n border-bottom: 1px solid var(--mj-border-strong);\n background: var(--mj-bg-surface); position: sticky; top: 0; z-index: 1;\n white-space: nowrap;\n}\n:where(mjo-section-shell) .mj-table thead th.num, :where(mjo-section-shell) .mj-table td.num { text-align: right; font-variant-numeric: tabular-nums; }\n:where(mjo-section-shell) .mj-table thead th .sortable { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }\n:where(mjo-section-shell) .mj-table thead th .sortable i { font-size: var(--mj-text-xs); opacity: .5; }\n:where(mjo-section-shell) .mj-table tbody td {\n padding: var(--mj-space-3); border-bottom: 1px solid var(--mj-border-subtle);\n vertical-align: middle;\n}\n/* Scoped to `.is-clickable`, which the worklist applies only when something is\n actually listening (`[class.is-clickable]=\"RowClicked.observed\"`). Unscoped,\n EVERY table highlighted on hover \u2014 including read-only ones \u2014 which is a\n promise of interactivity the row cannot keep. A highlight is the same\n affordance as a lift: offer it only where a click does something. */\n:where(mjo-section-shell) .mj-table tbody tr.is-clickable:hover { background: var(--mj-bg-surface-hover); }\n:where(mjo-section-shell) .mj-table tbody tr.is-selected { background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent); }\n:where(mjo-section-shell) .mj-table tbody tr.is-clickable { cursor: pointer; }\n:where(mjo-section-shell) .mj-table tbody tr.is-total { background: var(--mj-bg-surface-card); font-weight: var(--mj-font-semibold); }\n:where(mjo-section-shell) .mj-table tbody tr.is-total td { border-bottom: none; border-top: 2px solid var(--mj-border-strong); }\n:where(mjo-section-shell) .mj-table .primary { font-weight: var(--mj-font-semibold); }\n:where(mjo-section-shell) .mj-table .secondary { font-size: var(--mj-text-xs); color: var(--mj-text-muted); }\n:where(mjo-section-shell) .mj-table-wrap {\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); overflow: auto;\n}\n/* The hand-rolled .mj-tabs / .mj-tab block lived here and is gone. The order\n editor's five tabs now use MJ's own <mj-tab-nav>, which is the shipped,\n tokenized component for exactly this job \u2014 a pane switcher over one record.\n\n Not accounting's mj-workspace-card, despite the surface similarity: that models\n OPEN DOCUMENTS, so its strip closes, reorders and adds tabs and carries a New\n button \u2014 affordances that would be lies over five fixed panes of one order. It\n also lives in accounting's transfer-pending/ folder, code explicitly parked for\n another home, so depending on it would have bought a migration later.\n\n The old red dot became an error-variant badge in the same slot the count uses.\n A bare dot was a signifier with no meaning attached; only its aria-label said\n what it meant, so a sighted user saw a dot and guessed. */\n\n\n/* Status variants for the chrome above. */\n.mjo-chip--success { background: var(--mj-status-success-bg); color: var(--mj-status-success-text); }\n.mjo-chip--warning { background: var(--mj-status-warning-bg); color: var(--mj-status-warning-text); }\n.mjo-chip--error { background: var(--mj-status-error-bg); color: var(--mj-status-error-text); }\n.mjo-chip--info { background: var(--mj-status-info-bg); color: var(--mj-status-info-text); }\n.mjo-chip--brand { background: color-mix(in srgb, var(--mj-brand-primary) 13%, transparent); color: var(--mj-brand-primary); }\n.mjo-chip--outline { background: transparent; border: 1px solid var(--mj-border-default); color: var(--mj-text-secondary); font-weight: var(--mj-font-medium); }\n.mj-table--compact tbody td { padding: 7px var(--mj-space-3); }\n\n/*\n * The table filter box.\n *\n * NAMED mjo-, NOT mj-. MJ defines its own `.mj-search` for Explorer's global\n * search bar in the top chrome \u2014 a different control with different metrics \u2014 and\n * ours inherited it, which is why the filter box rendered as a bare underline\n * instead of a bordered field. Sharing the framework's prefix is right for\n * classes MJ does not define; it is actively wrong for one it does.\n */\n.mjo-search {\n display: flex; align-items: center; gap: var(--mj-space-2);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-strong);\n border-radius: var(--mj-radius-md); padding: 6px 10px; min-width: 260px;\n}\n.mjo-search i { color: var(--mj-text-muted); font-size: 12px; }\n.mjo-search input {\n border: none; outline: none; background: none; font-family: inherit;\n font-size: 13px; color: inherit; width: 100%;\n}\n\n/* \u2500\u2500 A standing explanation, not an alert \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n `mj-alert` is for something that HAPPENED or needs attention. Screens that permanently\n explain how they work were using it, which put a full-width coloured card above the work\n on every visit \u2014 read once, then scrolled past forever. This is the quiet form: same\n information, one line's worth of weight, no dismissal to manage. */\n.mjo-note {\n display: flex;\n align-items: baseline;\n gap: var(--mj-space-2);\n margin: 0 0 var(--mj-space-3);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n line-height: var(--mj-leading-relaxed, 1.6);\n}\n\n.mjo-note > i {\n color: var(--mj-text-muted);\n flex: 0 0 auto;\n}\n"], encapsulation: 2 });
110
+ MJPageBodyInteriorComponent], styles: ["/* ============================================================================\n BizApps Orders \u2014 component kit\n ============================================================================\n THE CANONICAL SOURCE for this app's own component CSS. Both consumers read\n THIS FILE, so the mockups and the shipped UI cannot drift:\n\n \u00B7 packages/Angular/src/lib/styles/orders-kit.css \u2190 you are here\n \u00B7 mockups/assets/app.css @imports it\n\n Only classes MJ does NOT ship live here. Page chrome, buttons, inputs, filter\n chips, empty states, loading, collapsible panels, overlays and tab navigation all come from\n @memberjunction/ng-ui-components and @memberjunction/ng-base-forms at runtime;\n the mockups shim those separately because they have no Angular to provide them.\n\n Every value resolves through MJ's semantic tokens. No literal colours, with one\n documented exception: the deepest aging step, whose ramp was chosen by running\n the palette validator (see mockups/PROVENANCE.md).\n\n NAMING. New classes take the app's `mjo-` prefix. `mj-` is MJ's, and because\n this sheet is global a kit class sharing an MJ name restyles MJ's own markup;\n `.mj-filter-chip`, `.mj-timeline` and an unscoped `.mj-select` all collided. The\n `mj-` names still here move to `mjo-` as each family moves into the component\n that renders it.\n ============================================================================ */\n\n/* ============================================================================\n 16. LAYOUT & TEXT HELPERS\n ============================================================================\n These were authored in `mockups/assets/app.css` \u00A716 and never migrated here,\n so the two consumers DID drift despite the promise at the top of this file:\n the mockups styled them, the shipped app did not. 267 applications of `small`,\n `muted`, `row`, `wrap`, `strong`, `mono`, `tiny`, `spacer` and `sec-label`\n across the pages resolved to nothing \u2014 every caption rendered at full body\n size in full-strength ink and every `.row` collapsed from a flex row to a\n block stack. That single omission is most of the gap between the approved\n mockups and what shipped.\n\n Unprefixed on purpose \u2014 renaming ~267 call sites to `mj-` would buy nothing\n and would break parity with the mockup markup they mirror.\n\n TYPE SCALE \u2014 12px is the floor, and we do NOT want a sub-12px token.\n These arrived as raw px below MJ's smallest step: `small` 11.5px and `tiny`\n 10.5px. Both now resolve to `--mj-text-xs` (12px), MJ's own token, so the app\n shares one scale instead of carrying two private sizes.\n\n The obvious alternative \u2014 asking for a `--mj-text-xxs` \u2014 is the wrong ask, and\n we should not raise it. 12px is the practical legibility floor for secondary\n text (Material and Apple HIG both bottom out at 11\u201312px and reserve it for\n non-essential labels), and `small` here is not decoration: it carries amounts,\n counts and statuses on 120 elements. Shrinking DATA below the floor is exactly\n the case the floor exists for, and a token would institutionalise it across\n every app that adopts it.\n\n Hierarchy that used to come from size now comes from COLOUR (`muted`) and\n WEIGHT (`strong`) \u2014 both of which preserve the distinction at a legible size.\n Size is the bluntest hierarchy tool available and the only one that costs\n legibility, so it is the right one to give up.\n ============================================================================ */\n\n.row { display: flex; align-items: center; gap: var(--mj-space-2); }\n.col { display: flex; flex-direction: column; gap: var(--mj-space-2); }\n.wrap { flex-wrap: wrap; }\n.spacer { margin-left: auto; }\n.muted { color: var(--mj-text-muted); }\n/* 12px floor, on MJ's own token \u2014 see the TYPE SCALE note above. `small` and\n `tiny` were 11.5px and 10.5px; both now resolve to --mj-text-xs and the\n small/tiny distinction is carried by COLOUR and WEIGHT instead of size. */\n.small { font-size: var(--mj-text-xs); }\n.tiny { font-size: var(--mj-text-xs); }\n.strong { font-weight: var(--mj-font-semibold); }\n.mono { font-family: var(--mj-font-family-mono); font-size: .92em; }\n.center { text-align: center; }\n.nowrap { white-space: nowrap; }\n.hidden { display: none !important; }\n\n/* Numeric input modifier \u2014 pairs with `mj-input` on the five money fields\n (payment, refund, credit, return qty, allocation). Undefined until now, so\n amounts typed into them left-aligned against right-aligned totals directly\n beside them. Same treatment as `.mj-num`, which is what those totals use. */\n.is-num {\n text-align: right;\n font-variant-numeric: tabular-nums; font-feature-settings: \"tnum\";\n}\n.sec-label {\n font-size: var(--mj-text-xs); font-weight: var(--mj-font-bold); letter-spacing: .06em;\n text-transform: uppercase; color: var(--mj-text-muted); margin-bottom: var(--mj-space-2);\n}\n\n/* Explanatory notes under a chart, table or panel. 51 of these across 14\n `mjo-<page>__note` hooks were authored with NO rule anywhere, so every one sat\n flush against the element above it \u2014 the note read as a wrapped continuation\n of the legend rather than a separate caption. Prefix-scoped so the unrelated\n `fe-books__note` (which sets its own padding) is untouched. */\n[class*=\"mjo-\"][class*=\"__note\"] { margin-top: var(--mj-space-2); }\n\n/* ============================================================================\n PAGE HEADER \u2014 three stacked rows compressed into two\n ============================================================================\n MJ stacks the identity column title -> subtitle -> meta, so our \"as of 2:31 PM\"\n capsule landed on a third line of its own and the header stood 138px tall on\n every section. The capsule is a timestamp for the subtitle, not a peer of it,\n so it belongs BESIDE the subtitle rather than under it.\n\n Done without restructuring MJ's template, so a future MJ header fix still\n lands for us. Scoped to our shell \u2014 this is our editorial choice about our own\n capsule, not an opinion about how every MJ header should read.\n\n GRID, not flex-wrap. The first attempt used a wrapping flex row with order to\n reseat the capsule; every child claimed its own line and the whole block\n centred, because a full-width flex item forces a line break and the remaining\n items had nothing to sit beside. Grid with EXPLICIT row and column placement\n is deterministic \u2014 and it makes MJ's DOM order (title, subtitle, meta)\n irrelevant, so the capsule renders to the LEFT of a subtitle that precedes it\n in the markup, without touching the template. */\nmjo-section-shell .mj-page-header .mj-page-header-text {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr);\n align-items: center;\n justify-items: start;\n column-gap: var(--mj-space-2);\n row-gap: 2px;\n}\nmjo-section-shell .mj-page-header .mj-page-header-title { grid-row: 1; grid-column: 1 / -1; }\nmjo-section-shell .mj-page-header .mj-page-header-meta { grid-row: 2; grid-column: 1; margin-top: 0; }\nmjo-section-shell .mj-page-header .mj-page-header-subtitle { grid-row: 2; grid-column: 2; margin-top: 0; }\n\n/* Reclaim the rest vertically. space-3 still clears the 40px icon tile with\n room to spare; going tighter starts to crowd it. */\nmjo-section-shell .mj-page-header .mj-page-header-row--primary {\n padding-top: var(--mj-space-3);\n padding-bottom: var(--mj-space-3);\n}\n\n/* ============================================================================\n CARD HOVER \u2014 undo MJ's ungated lift on cards that do nothing\n ============================================================================\n MJ lifts EVERY `.mj-card` on hover \u2014 `transform: translateY(-4px)` plus a\n large shadow \u2014 from `explorer-app/src/lib/styles/_common.scss`. The selector\n there is bare `.mj-card:hover`, with no gate on whether the card is\n interactive, so a read-only dashboard panel rises under the cursor and\n promises a click it will not accept.\n\n This is not MJ's intent. `_shared-patterns.scss`, in the same package, heads\n its own card-hover block \"for clickable cards\" and gates it properly on\n `a.mj-card` / `.mj-card.clickable` \u2014 then weakens it with an ungated\n `.mj-card:hover` of its own. Two competing rules, both ungated in practice.\n Filed upstream; DELETE this block once MJ gates its own.\n\n Scoped to the orders shell so it cannot alter any other app, and written the\n way MJ says it means it: keep the lift where the card is genuinely a link or\n is marked clickable, drop it everywhere else.\n\n The values re-assert MJ's own RESTING state for `.mj-card` so that hovering a\n non-interactive card is a true NO-OP rather than a different effect \u2014 an\n earlier pass set a smaller shadow here, which only traded a card that rises\n for one that flattens. `--mj-shadow-sm` is used rather than `_common.scss`'s\n `var(--shadow)`: that variable is private to explorer-app and does not resolve\n from here, so the declaration was silently dropped. */\nmjo-section-shell .mj-card:not(.clickable):not(a):hover {\n transform: none;\n box-shadow: var(--mj-shadow-sm);\n border-color: transparent;\n}\n\n/* ============================================================================\n 7. MONEY (U7)\n ============================================================================ */\n\n.mj-num {\n font-variant-numeric: tabular-nums; font-feature-settings: \"tnum\";\n text-align: right; white-space: nowrap;\n}\n.mj-money--neg { color: var(--mj-status-error-text); }\n.mj-money--credit { color: var(--mj-status-success-text); }\n.mj-money--muted { color: var(--mj-text-muted); }\n\n/* The money strip \u2014 TotalGross / AmountPaid / Balance / status */\n/* Columns follow the CELLS THAT EXIST rather than a fixed three-plus-note.\n Paid is conditional (drafts have none) and the note is optional, so the fixed\n template left one or two empty panels sitting in the strip \u2014 which reads as a\n figure that failed to load rather than a figure that does not apply. */\n.mj-money-strip {\n display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;\n border: 1px solid var(--mj-border-default); border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface); overflow: hidden;\n}\n.mj-money-strip > div {\n padding: var(--mj-space-3) var(--mj-space-4);\n border-right: 1px solid var(--mj-border-default);\n}\n/* The chip row is the STATUS cell specifically \u2014 not whatever happens to be last.\n Keyed on :last-child, this flex rule landed on BALANCE as soon as the status cell\n stopped rendering (a draft has no PaymentStatus), which laid its label and value\n side by side while TOTAL beside it stayed stacked. */\n.mj-money-strip > div:last-child { border-right: none; }\n.mj-money-strip > .mj-money-strip__status {\n display: flex; align-items: center; gap: var(--mj-space-2);\n}\n.mj-money-strip .l {\n font-size: 10px; font-weight: var(--mj-font-bold); letter-spacing: .07em;\n text-transform: uppercase; color: var(--mj-text-muted); display: block; margin-bottom: 2px;\n}\n.mj-money-strip .v { font-size: 17px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums; }\n\n/* Decomposition ladder \u2014 net \u2192 promos \u2192 charges \u2192 tax \u2192 gross */\n.mj-ladder { font-size: 13px; }\n.mj-ladder-row {\n display: flex; align-items: baseline; gap: var(--mj-space-2);\n padding: 6px 0; border-bottom: 1px dashed var(--mj-border-subtle);\n}\n.mj-ladder-row > .label { color: var(--mj-text-secondary); display: flex; align-items: center; gap: 6px; }\n.mj-ladder-row > .amt { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: var(--mj-font-medium); }\n.mj-ladder-row.is-sub { padding-left: var(--mj-space-4); font-size: 12px; color: var(--mj-text-muted); }\n.mj-ladder-row.is-sub > .amt { font-weight: var(--mj-font-normal); }\n.mj-ladder-row.is-discount > .amt { color: var(--mj-status-success-text); }\n.mj-ladder-row.is-total {\n border-bottom: none; border-top: 2px solid var(--mj-border-strong);\n margin-top: var(--mj-space-2); padding-top: var(--mj-space-3);\n}\n.mj-ladder-row.is-total > .label { font-weight: var(--mj-font-semibold); color: var(--mj-text-primary); }\n.mj-ladder-row.is-total > .amt { font-size: 18px; font-weight: var(--mj-font-bold); }\n.mj-ladder-note {\n font-size: 11.5px; color: var(--mj-text-muted); padding: var(--mj-space-2) 0 0;\n display: flex; gap: 6px; align-items: flex-start;\n}\n.mj-ladder-note i { margin-top: 2px; color: var(--mj-status-info); }\n\n/* The \"why\" disclosure \u2014 U2. A bare number is never acceptable. */\n.mj-why {\n border: none; background: none; cursor: pointer; padding: 0 2px;\n color: var(--mj-text-disabled); font-size: 10.5px;\n}\n.mj-why:hover { color: var(--mj-brand-primary); }\n.mj-why-body {\n font-size: 11.5px; color: var(--mj-text-secondary);\n background: var(--mj-bg-surface-sunken); border-left: 2px solid var(--mj-brand-primary);\n border-radius: 0 var(--mj-radius-sm) var(--mj-radius-sm) 0;\n padding: var(--mj-space-2) var(--mj-space-3); margin: var(--mj-space-2) 0;\n}\n.mj-why-body ol, .mj-why-body ul { margin: 4px 0 0; padding-left: var(--mj-space-4); }\n.mj-why-body li { margin: 2px 0; }\n.mj-why-body code {\n font-family: var(--mj-font-family-mono); font-size: 10.5px;\n background: var(--mj-bg-surface); padding: 1px 4px; border-radius: 3px;\n}\n\n/* ============================================================================\n 9. STATUS STEPPER (D9 \u2014 order fixed, forward skip legal)\n ============================================================================ */\n\n.mj-stepper { display: flex; align-items: center; gap: var(--mj-space-1); flex-wrap: wrap; }\n.mj-stepper .step {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 4px 11px; border-radius: var(--mj-radius-full);\n border: 1px solid var(--mj-border-default); background: var(--mj-bg-surface);\n font-size: 11.5px; font-weight: var(--mj-font-semibold); color: var(--mj-text-muted);\n cursor: pointer;\n}\n.mj-stepper .step i { font-size: 9px; }\n.mj-stepper .step.is-done {\n background: var(--mj-status-success-bg); border-color: color-mix(in srgb, var(--mj-status-success) 40%, transparent);\n color: var(--mj-status-success-text);\n}\n.mj-stepper .step.is-current {\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, transparent);\n border-color: var(--mj-brand-primary); color: var(--mj-brand-primary);\n}\n.mj-stepper .step.is-blocked { opacity: .45; cursor: not-allowed; }\n.mj-stepper .sep { color: var(--mj-text-disabled); font-size: 9px; }\n\n/* ============================================================================\n 13. STAT TILES (cheap counts only \u2014 U11)\n ============================================================================ */\n\n.mj-stat-grid {\n display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));\n gap: var(--mj-space-4);\n}\n.mj-stat {\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); padding: var(--mj-space-4);\n display: flex; flex-direction: column; gap: 2px; min-width: 0;\n}\n.mj-stat .l {\n font-size: 11px; font-weight: var(--mj-font-semibold); letter-spacing: .04em;\n text-transform: uppercase; color: var(--mj-text-muted);\n display: flex; align-items: center; gap: 6px;\n}\n.mj-stat .v {\n font-size: 25px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums;\n letter-spacing: -0.02em; line-height: 1.15;\n}\n.mj-stat .d { font-size: 11.5px; color: var(--mj-text-muted); }\n.mj-stat.is-alert .v { color: var(--mj-status-error-text); }\n\n/* ============================================================================\n 14. AGING BAR\n ============================================================================ */\n\n.mj-aging { display: flex; flex-direction: column; gap: 6px; }\n.mj-aging-bar {\n display: flex; height: 26px; border-radius: var(--mj-radius-sm);\n overflow: hidden; background: var(--mj-bg-surface-sunken);\n}\n.mj-aging-bar > span {\n display: flex; align-items: center; justify-content: center;\n font-size: 10.5px; font-weight: var(--mj-font-semibold); color: #fff;\n min-width: 0; overflow: hidden; white-space: nowrap;\n}\n/* Aging severity ramp \u2014 VALIDATED, do not eyeball-substitute.\n #64748b, #f59e0b, #ef4444, #991b1b passes CVD separation (worst adjacent\n \u0394E 13.9 deutan) and the normal-vision floor (\u0394E 19.8) on BOTH the light and\n dark surfaces. The earlier set used warning-700 next to error-600, which sat\n at \u0394E 2.8 deutan \u2014 the 60-day and 90-day buckets were indistinguishable.\n The neutral first step is deliberate: \"not late\" is not a severity.\n Every segment carries a visible amount and a legend, which is what discharges\n the low-contrast warning on the amber step. See PROVENANCE.md. */\n.mj-aging-bar .b-cur { background: var(--mj-color-neutral-500); }\n.mj-aging-bar .b-30 { background: var(--mj-color-warning-500); }\n.mj-aging-bar .b-60 { background: var(--mj-color-error-500); }\n/* Was the literal #991b1b, because MJ's error ramp stops at -700. Now fully\n tokenised, and the reasoning is worth keeping because the first instinct was\n the wrong one.\n\n Re-measured independently (CIE76 + a Brettel deuteranope simulation) rather\n than trusting the numbers above, whose validator script is NOT in this repo\n and cannot be re-run. Worst adjacent pair, 31-60 vs 61+:\n\n #991b1b (literal) normal dE 26.6 deuteranope dE 23.8\n --mj-color-error-700 normal dE 16.3 deuteranope dE 15.5\n the REJECTED first attempt normal dE 31.9 deuteranope dE 3.1\n\n So the token step is a modest perceptual step DOWN, not a failure: dE 15 is\n far above the ~2.3 just-noticeable difference, and nothing like the 3.1 that\n made the original attempt genuinely unreadable. And the bar is never the sole\n carrier \u2014 every segment shows its amount and the legend lists all four \u2014 so\n WCAG 1.4.1 holds either way.\n\n The token wins on a functional point the literal cannot match: a hardcoded\n hex does not follow dark mode or a white-label rebrand, while every other\n step of this ramp does. Trading ~10 dE of headroom for a ramp that themes\n correctly is the right trade. */\n.mj-aging-bar .b-90 { background: var(--mj-color-error-700); }\n[data-theme=\"dark\"] .mj-aging-bar .b-cur { background: var(--mj-color-neutral-500); }\n.mj-aging-bar > span.is-empty { display: none; }\n/* row-gap is explicit: the legend wraps to two rows in a narrow column, and a\n single `gap` shorthand left the wrapped rows tighter than the note beneath\n them, so the four buckets read as two unrelated pairs. */\n.mj-aging-legend { display: flex; gap: var(--mj-space-2) var(--mj-space-4); font-size: 11.5px; flex-wrap: wrap; }\n.mj-aging-legend > span { display: flex; align-items: center; gap: 6px; color: var(--mj-text-secondary); }\n.mj-aging-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }\n\n/* ============================================================================\n 17. KEYBOARD HINT STRIP (U20 \u2014 shortcuts are visible, not hidden)\n ============================================================================ */\n\nkbd {\n font-family: var(--mj-font-family); font-size: 10.5px; font-weight: var(--mj-font-semibold);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-strong);\n border-bottom-width: 2px; border-radius: var(--mj-radius-sm);\n padding: 1px 5px; color: var(--mj-text-secondary); line-height: 1.5;\n}\n\n/* ============================================================================\n 19. TYPE-AHEAD (fast entry)\n ============================================================================ */\n\n/*\n * The wrapper needs a STACKING CONTEXT, not just a positioning one.\n *\n * `position: relative` alone anchors the list under the input but leaves it in the\n * parent's stacking order, so later siblings paint on top of it: the customer\n * results rendered in the right place and were covered by the next section.\n * `elementFromPoint` at the centre of the first option returned the section, not\n * the option \u2014 the list was visible to the DOM and invisible to a person.\n */\n.mj-typeahead { position: relative; z-index: 20; }\n.mj-typeahead-list {\n position: absolute; top: calc(100% + 4px); left: 0; right: 0;\n z-index: var(--mj-z-popover); max-height: 320px; overflow: auto;\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); box-shadow: var(--mj-shadow-lg);\n display: none;\n}\n.mj-typeahead-list.is-open { display: block; }\n.mj-typeahead-item {\n display: flex; align-items: center; gap: var(--mj-space-3);\n padding: var(--mj-space-2) var(--mj-space-3); cursor: pointer;\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n.mj-typeahead-item:last-child { border-bottom: none; }\n.mj-typeahead-item:hover, .mj-typeahead-item.is-cursor { background: var(--mj-bg-surface-hover); }\n.mj-typeahead-item .name { font-size: 13px; font-weight: var(--mj-font-medium); }\n.mj-typeahead-item .sub { font-size: 11.5px; color: var(--mj-text-muted); }\n.mj-typeahead-item .end { margin-left: auto; text-align: right; }\n\n/* ============================================================================\n 21. DOCUMENT (the bill) \u2014 U6\n ============================================================================ */\n\n.mj-doc {\n background: var(--mj-bg-surface); color: var(--mj-text-primary);\n max-width: 860px; margin: 0 auto; padding: 56px 60px;\n border: 1px solid var(--mj-border-default); border-radius: var(--mj-radius-md);\n}\n.mj-doc-head { display: flex; align-items: flex-start; gap: var(--mj-space-6); margin-bottom: var(--mj-space-10); }\n.mj-doc-head .issuer { flex: 1; }\n.mj-doc-head .issuer .co { font-size: 17px; font-weight: var(--mj-font-bold); display: flex; align-items: center; gap: 8px; }\n.mj-doc-head .issuer .co i { color: var(--mj-brand-primary); }\n.mj-doc-head .issuer .addr { font-size: 12px; color: var(--mj-text-muted); margin-top: 6px; line-height: 1.6; }\n.mj-doc-head .docmeta { text-align: right; flex: none; }\n.mj-doc-head .docmeta .kind {\n font-size: 11px; font-weight: var(--mj-font-bold); letter-spacing: .12em;\n text-transform: uppercase; color: var(--mj-text-muted);\n}\n.mj-doc-head .docmeta .num { font-size: 22px; font-weight: var(--mj-font-bold); letter-spacing: -0.01em; }\n.mj-doc-meta-grid {\n display: grid; grid-template-columns: auto auto; gap: 3px var(--mj-space-4);\n font-size: 12px; margin-top: var(--mj-space-3); text-align: right;\n}\n.mj-doc-meta-grid dt { color: var(--mj-text-muted); }\n.mj-doc-meta-grid dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: var(--mj-font-medium); }\n.mj-doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: var(--mj-space-8); margin-bottom: var(--mj-space-8); }\n.mj-doc-parties .lbl {\n font-size: 10px; font-weight: var(--mj-font-bold); letter-spacing: .1em;\n text-transform: uppercase; color: var(--mj-text-muted); margin-bottom: 6px;\n}\n.mj-doc-parties .who { font-size: 13px; line-height: 1.7; }\n.mj-doc-parties .who .nm { font-weight: var(--mj-font-semibold); }\n.mj-doc table.mj-table thead th { background: transparent; border-bottom: 2px solid var(--mj-text-primary); }\n.mj-doc-totals { display: flex; justify-content: flex-end; margin-top: var(--mj-space-5); }\n.mj-doc-totals .box { width: min(340px, 100%); }\n.mj-doc-due {\n display: flex; align-items: baseline; justify-content: space-between;\n margin-top: var(--mj-space-3); padding-top: var(--mj-space-3);\n border-top: 2px solid var(--mj-text-primary);\n}\n.mj-doc-due .l { font-size: 13px; font-weight: var(--mj-font-bold); text-transform: uppercase; letter-spacing: .06em; }\n.mj-doc-due .v { font-size: 24px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums; }\n.mj-doc-foot {\n margin-top: var(--mj-space-10); padding-top: var(--mj-space-5);\n border-top: 1px solid var(--mj-border-default);\n font-size: 11.5px; color: var(--mj-text-muted); line-height: 1.7;\n}\n/*\n * The paid/void stamp.\n *\n * ANCHORED TO THE BOTTOM, not the top. Top-right is where the invoice number and\n * the date block already live, and the head's height varies with how many meta\n * rows a document has \u2014 so no fixed `top` clears it in every render. It sat on\n * top of the order number until a browser screenshot caught it. The footer band\n * is a single line of small print on the left, leaving the right reliably empty.\n */\n.mj-doc-stamp {\n position: absolute; bottom: 96px; right: 64px; transform: rotate(-14deg);\n border: 3px solid var(--mj-status-success); color: var(--mj-status-success-text);\n border-radius: var(--mj-radius-md); padding: 6px 18px;\n font-size: 22px; font-weight: var(--mj-font-bold); letter-spacing: .1em;\n text-transform: uppercase; opacity: .85; pointer-events: none;\n}\n\n/* Print. This sheet is global (the section shell loads it with ViewEncapsulation.None), so every\n selector stays under mjo-section-shell: unscoped, `.mj-page-header` would hide MJ's header when\n printing any Explorer page. No body rule for the same reason; browsers print without\n backgrounds unless asked. */\n@media print {\n mjo-section-shell .mj-page-header,\n mjo-section-shell .no-print { display: none !important; }\n mjo-section-shell .mj-page-layout,\n mjo-section-shell .mj-page-body { height: auto; overflow: visible; display: block; }\n mjo-section-shell .mj-page-body { padding: 0; }\n mjo-section-shell .mj-doc { border: none; max-width: none; padding: 0; }\n}\n\n\n/* ============================================================================\n CHROME THIS APP MUST SHIP ITSELF\n ============================================================================\n These were shimmed in mockups/assets/app.css on the assumption that MJ supplies\n them at runtime, the way it supplies .mj-card, .mj-btn and .mj-input. It does\n not. Loading the real app proved it: chips, banners, tabs, panels, the table\n frame and the slide-in were all completely unstyled in MJ Explorer while\n looking perfect in the mockups, because the mockups were reading the shim.\n\n Anything a component of ours renders has to live HERE, in the stylesheet the\n package ships, or it exists only in the mockups. The rule to apply when adding\n a class: if our markup writes it, it belongs in this file. Only classes MJ\n genuinely owns (.mj-page-layout, .mj-btn, .mj-input, .mj-card) stay as\n mockup-side shims.\n ============================================================================ */\n\n.mj-avatar {\n width: 30px; height: 30px; border-radius: var(--mj-radius-full);\n background: var(--mj-brand-primary); color: var(--mj-brand-on-primary);\n display: flex; align-items: center; justify-content: center;\n font-size: 11.5px; font-weight: var(--mj-font-semibold); flex: none;\n}\n/* `.mj-input` is deliberately NOT defined here \u2014 MJ owns it.\n MJ ships it globally in ui-components/input/input.scss (`.mj-input, .mj-textarea`),\n and this file is now global too (the section shell loads it with\n ViewEncapsulation.None), so redefining it meant two global rules of equal\n specificity fighting, with the winner decided by stylesheet LOAD ORDER \u2014 MJ's\n happens to win today, which is luck, not design. It also differed from MJ's\n (13px/6-10px/radius-md vs 14px/8-12px/radius-sm/min-height 38px), so whichever\n won changed how every input in the app looked.\n\n `.mj-select` stays: MJ styles `.mj-input, .mj-textarea` but ships no select rule.\n MJ's own templates do write `class=\"mj-select\"` (list management, conversations),\n so the rule is scoped to the Orders sections rather than restyling theirs.\n Values match MJ's input so the two sit level. */\nmjo-section-shell .mj-select {\n font-family: inherit; font-size: var(--mj-text-sm); color: var(--mj-text-primary);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm); padding: 8px 12px; width: 100%;\n min-height: 38px;\n}\nmjo-section-shell .mj-select:focus {\n outline: none; border-color: var(--mj-border-focus);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 16%, transparent);\n}\n.mj-field { display: block; margin-bottom: var(--mj-space-3); }\n.mj-field > label {\n display: block; font-size: 11px; font-weight: var(--mj-font-semibold);\n letter-spacing: .04em; text-transform: uppercase;\n color: var(--mj-text-muted); margin-bottom: 5px;\n}\n.mj-field .hint { font-size: 11.5px; color: var(--mj-text-muted); margin-top: 4px; }\n.mj-stated {\n display: flex; align-items: baseline; gap: var(--mj-space-2);\n padding: 6px 0;\n}\n.mj-stated .value { font-size: 13px; font-weight: var(--mj-font-medium); }\n.mj-stated .from {\n font-size: 11px; color: var(--mj-text-muted);\n background: var(--mj-bg-surface-sunken); border-radius: var(--mj-radius-sm);\n padding: 1px 6px;\n}\n.mjo-chip {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 2px 9px; border-radius: var(--mj-radius-full);\n font-size: 11.5px; font-weight: var(--mj-font-semibold);\n background: var(--mj-bg-surface-sunken); color: var(--mj-text-secondary);\n white-space: nowrap;\n}\n.mjo-chip i { font-size: 10px; }\n.mj-consequence {\n display: inline-flex; align-items: center; gap: 6px;\n font-size: 11.5px; color: var(--mj-text-secondary);\n background: var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-sm); padding: 3px 8px;\n}\n.mj-consequence i { font-size: 10px; color: var(--mj-text-muted); }\n.mj-consequence.is-sub i { color: var(--mj-color-violet-500); }\n.mj-consequence.is-event i { color: var(--mj-status-info); }\n.mj-consequence.is-defer i { color: var(--mj-status-warning); }\n.mj-card-pad { padding: var(--mj-space-4); }\n.mj-card-head {\n display: flex; align-items: center; gap: var(--mj-space-2);\n padding: var(--mj-space-3) var(--mj-space-4);\n border-bottom: 1px solid var(--mj-border-default);\n}\n.mj-card-head h3 { font-size: 13px; letter-spacing: .01em; }\n.mj-card-head i { color: var(--mj-text-muted); font-size: 12px; }\n.mj-card-head .right { margin-left: auto; display: flex; gap: var(--mj-space-2); align-items: center; }\n/* MJ ALREADY OWNS `.mj-table`. It is defined in ng-explorer-app's shared patterns, which\n Explorer loads before this kit \u2014 so `width`, `border-collapse` and the base type were being\n restated here purely to override MJ with the same thing, except in hardcoded pixels. Those\n declarations are gone; what stays below is only what MJ's table does NOT do.\n\n The one base property worth keeping is the SIZE: MJ's `--mj-text-sm` is 14px, and a dense\n worklist reads better a step down. That is a deliberate deviation, so it is written as a token\n rather than as 13px.\n\n SCOPED TO THE ORDERS SECTIONS (#904). The shell loads this sheet with ViewEncapsulation.None, so\n it stays in the document once any Orders section renders; unscoped, these rules restyled every\n `.mj-table` in Explorer, MJ's and other apps' included. Every Orders `.mj-table` renders inside\n `<mjo-section-shell>`. `:where()` adds the scope without adding specificity, so the\n `.mj-table--compact` padding and the `.mj-doc table.mj-table` header still win as before. */\n:where(mjo-section-shell) .mj-table { font-size: var(--mj-text-xs); }\n\n/* Additive, not a restatement: MJ's header has no sticky behaviour, and a worklist that scrolls\n inside a card needs one \u2014 losing the column names on row 20 is what makes a long queue\n unreadable. */\n:where(mjo-section-shell) .mj-table thead th {\n text-align: left; font-size: var(--mj-text-xs); font-weight: var(--mj-font-bold);\n letter-spacing: .06em; text-transform: uppercase; color: var(--mj-text-muted);\n padding: var(--mj-space-2) var(--mj-space-3);\n border-bottom: 1px solid var(--mj-border-strong);\n background: var(--mj-bg-surface); position: sticky; top: 0; z-index: 1;\n white-space: nowrap;\n}\n:where(mjo-section-shell) .mj-table thead th.num, :where(mjo-section-shell) .mj-table td.num { text-align: right; font-variant-numeric: tabular-nums; }\n:where(mjo-section-shell) .mj-table thead th .sortable { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }\n:where(mjo-section-shell) .mj-table thead th .sortable i { font-size: var(--mj-text-xs); opacity: .5; }\n:where(mjo-section-shell) .mj-table tbody td {\n padding: var(--mj-space-3); border-bottom: 1px solid var(--mj-border-subtle);\n vertical-align: middle;\n}\n/* Scoped to `.is-clickable`, which the worklist applies only when something is\n actually listening (`[class.is-clickable]=\"RowClicked.observed\"`). Unscoped,\n EVERY table highlighted on hover \u2014 including read-only ones \u2014 which is a\n promise of interactivity the row cannot keep. A highlight is the same\n affordance as a lift: offer it only where a click does something. */\n:where(mjo-section-shell) .mj-table tbody tr.is-clickable:hover { background: var(--mj-bg-surface-hover); }\n:where(mjo-section-shell) .mj-table tbody tr.is-selected { background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent); }\n:where(mjo-section-shell) .mj-table tbody tr.is-clickable { cursor: pointer; }\n:where(mjo-section-shell) .mj-table tbody tr.is-total { background: var(--mj-bg-surface-card); font-weight: var(--mj-font-semibold); }\n:where(mjo-section-shell) .mj-table tbody tr.is-total td { border-bottom: none; border-top: 2px solid var(--mj-border-strong); }\n:where(mjo-section-shell) .mj-table .primary { font-weight: var(--mj-font-semibold); }\n:where(mjo-section-shell) .mj-table .secondary { font-size: var(--mj-text-xs); color: var(--mj-text-muted); }\n/* A worklist and the side panel for its open row (`mjo-side-panel`), side by side. Here and not in\n the panel's own styles because the layout wraps the list whether or not a panel is open. The\n panel drops below the list on a narrow screen. */\n:where(mjo-section-shell) .mjo-split { display: flex; gap: var(--mj-space-4); align-items: flex-start; }\n:where(mjo-section-shell) .mjo-split__main { flex: 1; min-width: 0; }\n:where(mjo-section-shell) .mjo-split__side { flex: 0 0 360px; min-width: 0; }\n@media (max-width: 1100px) {\n :where(mjo-section-shell) .mjo-split { flex-direction: column; }\n :where(mjo-section-shell) .mjo-split__main, :where(mjo-section-shell) .mjo-split__side { flex: 1 1 auto; width: 100%; }\n}\n:where(mjo-section-shell) .mj-table-wrap {\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); overflow: auto;\n}\n/* The hand-rolled .mj-tabs / .mj-tab block lived here and is gone. The order\n editor's five tabs now use MJ's own <mj-tab-nav>, which is the shipped,\n tokenized component for exactly this job \u2014 a pane switcher over one record.\n\n Not accounting's mj-workspace-card, despite the surface similarity: that models\n OPEN DOCUMENTS, so its strip closes, reorders and adds tabs and carries a New\n button \u2014 affordances that would be lies over five fixed panes of one order. It\n also lives in accounting's transfer-pending/ folder, code explicitly parked for\n another home, so depending on it would have bought a migration later.\n\n The old red dot became an error-variant badge in the same slot the count uses.\n A bare dot was a signifier with no meaning attached; only its aria-label said\n what it meant, so a sighted user saw a dot and guessed. */\n\n\n/* Status variants for the chrome above. */\n.mjo-chip--success { background: var(--mj-status-success-bg); color: var(--mj-status-success-text); }\n.mjo-chip--warning { background: var(--mj-status-warning-bg); color: var(--mj-status-warning-text); }\n.mjo-chip--error { background: var(--mj-status-error-bg); color: var(--mj-status-error-text); }\n.mjo-chip--info { background: var(--mj-status-info-bg); color: var(--mj-status-info-text); }\n.mjo-chip--brand { background: color-mix(in srgb, var(--mj-brand-primary) 13%, transparent); color: var(--mj-brand-primary); }\n.mjo-chip--outline { background: transparent; border: 1px solid var(--mj-border-default); color: var(--mj-text-secondary); font-weight: var(--mj-font-medium); }\n.mj-table--compact tbody td { padding: 7px var(--mj-space-3); }\n\n/*\n * The table filter box.\n *\n * NAMED mjo-, NOT mj-. MJ defines its own `.mj-search` for Explorer's global\n * search bar in the top chrome \u2014 a different control with different metrics \u2014 and\n * ours inherited it, which is why the filter box rendered as a bare underline\n * instead of a bordered field. Sharing the framework's prefix is right for\n * classes MJ does not define; it is actively wrong for one it does.\n */\n.mjo-search {\n display: flex; align-items: center; gap: var(--mj-space-2);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-strong);\n border-radius: var(--mj-radius-md); padding: 6px 10px; min-width: 260px;\n}\n.mjo-search i { color: var(--mj-text-muted); font-size: 12px; }\n.mjo-search input {\n border: none; outline: none; background: none; font-family: inherit;\n font-size: 13px; color: inherit; width: 100%;\n}\n\n/* \u2500\u2500 A standing explanation, not an alert \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n `mj-alert` is for something that HAPPENED or needs attention. Screens that permanently\n explain how they work were using it, which put a full-width coloured card above the work\n on every visit \u2014 read once, then scrolled past forever. This is the quiet form: same\n information, one line's worth of weight, no dismissal to manage. */\n.mjo-note {\n display: flex;\n align-items: baseline;\n gap: var(--mj-space-2);\n margin: 0 0 var(--mj-space-3);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n line-height: var(--mj-leading-relaxed, 1.6);\n}\n\n.mjo-note > i {\n color: var(--mj-text-muted);\n flex: 0 0 auto;\n}\n"], encapsulation: 2 });
111
111
  }
112
112
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOSectionShellComponent, [{
113
113
  type: Component,
@@ -169,7 +169,7 @@ export class MJOSectionShellComponent {
169
169
  </mj-left-nav-content>
170
170
  </mj-page-body>
171
171
  </mj-page-layout>
172
- `, styles: ["/* ============================================================================\n BizApps Orders \u2014 component kit\n ============================================================================\n THE CANONICAL SOURCE for this app's own component CSS. Both consumers read\n THIS FILE, so the mockups and the shipped UI cannot drift:\n\n \u00B7 packages/Angular/src/lib/styles/orders-kit.css \u2190 you are here\n \u00B7 mockups/assets/app.css @imports it\n\n Only classes MJ does NOT ship live here. Page chrome, buttons, inputs, filter\n chips, empty states, loading, collapsible panels, overlays and tab navigation all come from\n @memberjunction/ng-ui-components and @memberjunction/ng-base-forms at runtime;\n the mockups shim those separately because they have no Angular to provide them.\n\n Every value resolves through MJ's semantic tokens. No literal colours, with one\n documented exception: the deepest aging step, whose ramp was chosen by running\n the palette validator (see mockups/PROVENANCE.md).\n\n NAMING. New classes take the app's `mjo-` prefix. `mj-` is MJ's, and because\n this sheet is global a kit class sharing an MJ name restyles MJ's own markup;\n `.mj-filter-chip`, `.mj-timeline` and an unscoped `.mj-select` all collided. The\n `mj-` names still here move to `mjo-` as each family moves into the component\n that renders it.\n ============================================================================ */\n\n/* ============================================================================\n 16. LAYOUT & TEXT HELPERS\n ============================================================================\n These were authored in `mockups/assets/app.css` \u00A716 and never migrated here,\n so the two consumers DID drift despite the promise at the top of this file:\n the mockups styled them, the shipped app did not. 267 applications of `small`,\n `muted`, `row`, `wrap`, `strong`, `mono`, `tiny`, `spacer` and `sec-label`\n across the pages resolved to nothing \u2014 every caption rendered at full body\n size in full-strength ink and every `.row` collapsed from a flex row to a\n block stack. That single omission is most of the gap between the approved\n mockups and what shipped.\n\n Unprefixed on purpose \u2014 renaming ~267 call sites to `mj-` would buy nothing\n and would break parity with the mockup markup they mirror.\n\n TYPE SCALE \u2014 12px is the floor, and we do NOT want a sub-12px token.\n These arrived as raw px below MJ's smallest step: `small` 11.5px and `tiny`\n 10.5px. Both now resolve to `--mj-text-xs` (12px), MJ's own token, so the app\n shares one scale instead of carrying two private sizes.\n\n The obvious alternative \u2014 asking for a `--mj-text-xxs` \u2014 is the wrong ask, and\n we should not raise it. 12px is the practical legibility floor for secondary\n text (Material and Apple HIG both bottom out at 11\u201312px and reserve it for\n non-essential labels), and `small` here is not decoration: it carries amounts,\n counts and statuses on 120 elements. Shrinking DATA below the floor is exactly\n the case the floor exists for, and a token would institutionalise it across\n every app that adopts it.\n\n Hierarchy that used to come from size now comes from COLOUR (`muted`) and\n WEIGHT (`strong`) \u2014 both of which preserve the distinction at a legible size.\n Size is the bluntest hierarchy tool available and the only one that costs\n legibility, so it is the right one to give up.\n ============================================================================ */\n\n.row { display: flex; align-items: center; gap: var(--mj-space-2); }\n.col { display: flex; flex-direction: column; gap: var(--mj-space-2); }\n.wrap { flex-wrap: wrap; }\n.spacer { margin-left: auto; }\n.muted { color: var(--mj-text-muted); }\n/* 12px floor, on MJ's own token \u2014 see the TYPE SCALE note above. `small` and\n `tiny` were 11.5px and 10.5px; both now resolve to --mj-text-xs and the\n small/tiny distinction is carried by COLOUR and WEIGHT instead of size. */\n.small { font-size: var(--mj-text-xs); }\n.tiny { font-size: var(--mj-text-xs); }\n.strong { font-weight: var(--mj-font-semibold); }\n.mono { font-family: var(--mj-font-family-mono); font-size: .92em; }\n.center { text-align: center; }\n.nowrap { white-space: nowrap; }\n.hidden { display: none !important; }\n\n/* Numeric input modifier \u2014 pairs with `mj-input` on the five money fields\n (payment, refund, credit, return qty, allocation). Undefined until now, so\n amounts typed into them left-aligned against right-aligned totals directly\n beside them. Same treatment as `.mj-num`, which is what those totals use. */\n.is-num {\n text-align: right;\n font-variant-numeric: tabular-nums; font-feature-settings: \"tnum\";\n}\n.sec-label {\n font-size: var(--mj-text-xs); font-weight: var(--mj-font-bold); letter-spacing: .06em;\n text-transform: uppercase; color: var(--mj-text-muted); margin-bottom: var(--mj-space-2);\n}\n\n/* Explanatory notes under a chart, table or panel. 51 of these across 14\n `mjo-<page>__note` hooks were authored with NO rule anywhere, so every one sat\n flush against the element above it \u2014 the note read as a wrapped continuation\n of the legend rather than a separate caption. Prefix-scoped so the unrelated\n `fe-books__note` (which sets its own padding) is untouched. */\n[class*=\"mjo-\"][class*=\"__note\"] { margin-top: var(--mj-space-2); }\n\n/* ============================================================================\n PAGE HEADER \u2014 three stacked rows compressed into two\n ============================================================================\n MJ stacks the identity column title -> subtitle -> meta, so our \"as of 2:31 PM\"\n capsule landed on a third line of its own and the header stood 138px tall on\n every section. The capsule is a timestamp for the subtitle, not a peer of it,\n so it belongs BESIDE the subtitle rather than under it.\n\n Done without restructuring MJ's template, so a future MJ header fix still\n lands for us. Scoped to our shell \u2014 this is our editorial choice about our own\n capsule, not an opinion about how every MJ header should read.\n\n GRID, not flex-wrap. The first attempt used a wrapping flex row with order to\n reseat the capsule; every child claimed its own line and the whole block\n centred, because a full-width flex item forces a line break and the remaining\n items had nothing to sit beside. Grid with EXPLICIT row and column placement\n is deterministic \u2014 and it makes MJ's DOM order (title, subtitle, meta)\n irrelevant, so the capsule renders to the LEFT of a subtitle that precedes it\n in the markup, without touching the template. */\nmjo-section-shell .mj-page-header .mj-page-header-text {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr);\n align-items: center;\n justify-items: start;\n column-gap: var(--mj-space-2);\n row-gap: 2px;\n}\nmjo-section-shell .mj-page-header .mj-page-header-title { grid-row: 1; grid-column: 1 / -1; }\nmjo-section-shell .mj-page-header .mj-page-header-meta { grid-row: 2; grid-column: 1; margin-top: 0; }\nmjo-section-shell .mj-page-header .mj-page-header-subtitle { grid-row: 2; grid-column: 2; margin-top: 0; }\n\n/* Reclaim the rest vertically. space-3 still clears the 40px icon tile with\n room to spare; going tighter starts to crowd it. */\nmjo-section-shell .mj-page-header .mj-page-header-row--primary {\n padding-top: var(--mj-space-3);\n padding-bottom: var(--mj-space-3);\n}\n\n/* ============================================================================\n CARD HOVER \u2014 undo MJ's ungated lift on cards that do nothing\n ============================================================================\n MJ lifts EVERY `.mj-card` on hover \u2014 `transform: translateY(-4px)` plus a\n large shadow \u2014 from `explorer-app/src/lib/styles/_common.scss`. The selector\n there is bare `.mj-card:hover`, with no gate on whether the card is\n interactive, so a read-only dashboard panel rises under the cursor and\n promises a click it will not accept.\n\n This is not MJ's intent. `_shared-patterns.scss`, in the same package, heads\n its own card-hover block \"for clickable cards\" and gates it properly on\n `a.mj-card` / `.mj-card.clickable` \u2014 then weakens it with an ungated\n `.mj-card:hover` of its own. Two competing rules, both ungated in practice.\n Filed upstream; DELETE this block once MJ gates its own.\n\n Scoped to the orders shell so it cannot alter any other app, and written the\n way MJ says it means it: keep the lift where the card is genuinely a link or\n is marked clickable, drop it everywhere else.\n\n The values re-assert MJ's own RESTING state for `.mj-card` so that hovering a\n non-interactive card is a true NO-OP rather than a different effect \u2014 an\n earlier pass set a smaller shadow here, which only traded a card that rises\n for one that flattens. `--mj-shadow-sm` is used rather than `_common.scss`'s\n `var(--shadow)`: that variable is private to explorer-app and does not resolve\n from here, so the declaration was silently dropped. */\nmjo-section-shell .mj-card:not(.clickable):not(a):hover {\n transform: none;\n box-shadow: var(--mj-shadow-sm);\n border-color: transparent;\n}\n\n/* ============================================================================\n 7. MONEY (U7)\n ============================================================================ */\n\n.mj-num {\n font-variant-numeric: tabular-nums; font-feature-settings: \"tnum\";\n text-align: right; white-space: nowrap;\n}\n.mj-money--neg { color: var(--mj-status-error-text); }\n.mj-money--credit { color: var(--mj-status-success-text); }\n.mj-money--muted { color: var(--mj-text-muted); }\n\n/* The money strip \u2014 TotalGross / AmountPaid / Balance / status */\n/* Columns follow the CELLS THAT EXIST rather than a fixed three-plus-note.\n Paid is conditional (drafts have none) and the note is optional, so the fixed\n template left one or two empty panels sitting in the strip \u2014 which reads as a\n figure that failed to load rather than a figure that does not apply. */\n.mj-money-strip {\n display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;\n border: 1px solid var(--mj-border-default); border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface); overflow: hidden;\n}\n.mj-money-strip > div {\n padding: var(--mj-space-3) var(--mj-space-4);\n border-right: 1px solid var(--mj-border-default);\n}\n/* The chip row is the STATUS cell specifically \u2014 not whatever happens to be last.\n Keyed on :last-child, this flex rule landed on BALANCE as soon as the status cell\n stopped rendering (a draft has no PaymentStatus), which laid its label and value\n side by side while TOTAL beside it stayed stacked. */\n.mj-money-strip > div:last-child { border-right: none; }\n.mj-money-strip > .mj-money-strip__status {\n display: flex; align-items: center; gap: var(--mj-space-2);\n}\n.mj-money-strip .l {\n font-size: 10px; font-weight: var(--mj-font-bold); letter-spacing: .07em;\n text-transform: uppercase; color: var(--mj-text-muted); display: block; margin-bottom: 2px;\n}\n.mj-money-strip .v { font-size: 17px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums; }\n\n/* Decomposition ladder \u2014 net \u2192 promos \u2192 charges \u2192 tax \u2192 gross */\n.mj-ladder { font-size: 13px; }\n.mj-ladder-row {\n display: flex; align-items: baseline; gap: var(--mj-space-2);\n padding: 6px 0; border-bottom: 1px dashed var(--mj-border-subtle);\n}\n.mj-ladder-row > .label { color: var(--mj-text-secondary); display: flex; align-items: center; gap: 6px; }\n.mj-ladder-row > .amt { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: var(--mj-font-medium); }\n.mj-ladder-row.is-sub { padding-left: var(--mj-space-4); font-size: 12px; color: var(--mj-text-muted); }\n.mj-ladder-row.is-sub > .amt { font-weight: var(--mj-font-normal); }\n.mj-ladder-row.is-discount > .amt { color: var(--mj-status-success-text); }\n.mj-ladder-row.is-total {\n border-bottom: none; border-top: 2px solid var(--mj-border-strong);\n margin-top: var(--mj-space-2); padding-top: var(--mj-space-3);\n}\n.mj-ladder-row.is-total > .label { font-weight: var(--mj-font-semibold); color: var(--mj-text-primary); }\n.mj-ladder-row.is-total > .amt { font-size: 18px; font-weight: var(--mj-font-bold); }\n.mj-ladder-note {\n font-size: 11.5px; color: var(--mj-text-muted); padding: var(--mj-space-2) 0 0;\n display: flex; gap: 6px; align-items: flex-start;\n}\n.mj-ladder-note i { margin-top: 2px; color: var(--mj-status-info); }\n\n/* The \"why\" disclosure \u2014 U2. A bare number is never acceptable. */\n.mj-why {\n border: none; background: none; cursor: pointer; padding: 0 2px;\n color: var(--mj-text-disabled); font-size: 10.5px;\n}\n.mj-why:hover { color: var(--mj-brand-primary); }\n.mj-why-body {\n font-size: 11.5px; color: var(--mj-text-secondary);\n background: var(--mj-bg-surface-sunken); border-left: 2px solid var(--mj-brand-primary);\n border-radius: 0 var(--mj-radius-sm) var(--mj-radius-sm) 0;\n padding: var(--mj-space-2) var(--mj-space-3); margin: var(--mj-space-2) 0;\n}\n.mj-why-body ol, .mj-why-body ul { margin: 4px 0 0; padding-left: var(--mj-space-4); }\n.mj-why-body li { margin: 2px 0; }\n.mj-why-body code {\n font-family: var(--mj-font-family-mono); font-size: 10.5px;\n background: var(--mj-bg-surface); padding: 1px 4px; border-radius: 3px;\n}\n\n/* ============================================================================\n 9. STATUS STEPPER (D9 \u2014 order fixed, forward skip legal)\n ============================================================================ */\n\n.mj-stepper { display: flex; align-items: center; gap: var(--mj-space-1); flex-wrap: wrap; }\n.mj-stepper .step {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 4px 11px; border-radius: var(--mj-radius-full);\n border: 1px solid var(--mj-border-default); background: var(--mj-bg-surface);\n font-size: 11.5px; font-weight: var(--mj-font-semibold); color: var(--mj-text-muted);\n cursor: pointer;\n}\n.mj-stepper .step i { font-size: 9px; }\n.mj-stepper .step.is-done {\n background: var(--mj-status-success-bg); border-color: color-mix(in srgb, var(--mj-status-success) 40%, transparent);\n color: var(--mj-status-success-text);\n}\n.mj-stepper .step.is-current {\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, transparent);\n border-color: var(--mj-brand-primary); color: var(--mj-brand-primary);\n}\n.mj-stepper .step.is-blocked { opacity: .45; cursor: not-allowed; }\n.mj-stepper .sep { color: var(--mj-text-disabled); font-size: 9px; }\n\n/* ============================================================================\n 13. STAT TILES (cheap counts only \u2014 U11)\n ============================================================================ */\n\n.mj-stat-grid {\n display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));\n gap: var(--mj-space-4);\n}\n.mj-stat {\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); padding: var(--mj-space-4);\n display: flex; flex-direction: column; gap: 2px; min-width: 0;\n}\n.mj-stat .l {\n font-size: 11px; font-weight: var(--mj-font-semibold); letter-spacing: .04em;\n text-transform: uppercase; color: var(--mj-text-muted);\n display: flex; align-items: center; gap: 6px;\n}\n.mj-stat .v {\n font-size: 25px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums;\n letter-spacing: -0.02em; line-height: 1.15;\n}\n.mj-stat .d { font-size: 11.5px; color: var(--mj-text-muted); }\n.mj-stat.is-alert .v { color: var(--mj-status-error-text); }\n\n/* ============================================================================\n 14. AGING BAR\n ============================================================================ */\n\n.mj-aging { display: flex; flex-direction: column; gap: 6px; }\n.mj-aging-bar {\n display: flex; height: 26px; border-radius: var(--mj-radius-sm);\n overflow: hidden; background: var(--mj-bg-surface-sunken);\n}\n.mj-aging-bar > span {\n display: flex; align-items: center; justify-content: center;\n font-size: 10.5px; font-weight: var(--mj-font-semibold); color: #fff;\n min-width: 0; overflow: hidden; white-space: nowrap;\n}\n/* Aging severity ramp \u2014 VALIDATED, do not eyeball-substitute.\n #64748b, #f59e0b, #ef4444, #991b1b passes CVD separation (worst adjacent\n \u0394E 13.9 deutan) and the normal-vision floor (\u0394E 19.8) on BOTH the light and\n dark surfaces. The earlier set used warning-700 next to error-600, which sat\n at \u0394E 2.8 deutan \u2014 the 60-day and 90-day buckets were indistinguishable.\n The neutral first step is deliberate: \"not late\" is not a severity.\n Every segment carries a visible amount and a legend, which is what discharges\n the low-contrast warning on the amber step. See PROVENANCE.md. */\n.mj-aging-bar .b-cur { background: var(--mj-color-neutral-500); }\n.mj-aging-bar .b-30 { background: var(--mj-color-warning-500); }\n.mj-aging-bar .b-60 { background: var(--mj-color-error-500); }\n/* Was the literal #991b1b, because MJ's error ramp stops at -700. Now fully\n tokenised, and the reasoning is worth keeping because the first instinct was\n the wrong one.\n\n Re-measured independently (CIE76 + a Brettel deuteranope simulation) rather\n than trusting the numbers above, whose validator script is NOT in this repo\n and cannot be re-run. Worst adjacent pair, 31-60 vs 61+:\n\n #991b1b (literal) normal dE 26.6 deuteranope dE 23.8\n --mj-color-error-700 normal dE 16.3 deuteranope dE 15.5\n the REJECTED first attempt normal dE 31.9 deuteranope dE 3.1\n\n So the token step is a modest perceptual step DOWN, not a failure: dE 15 is\n far above the ~2.3 just-noticeable difference, and nothing like the 3.1 that\n made the original attempt genuinely unreadable. And the bar is never the sole\n carrier \u2014 every segment shows its amount and the legend lists all four \u2014 so\n WCAG 1.4.1 holds either way.\n\n The token wins on a functional point the literal cannot match: a hardcoded\n hex does not follow dark mode or a white-label rebrand, while every other\n step of this ramp does. Trading ~10 dE of headroom for a ramp that themes\n correctly is the right trade. */\n.mj-aging-bar .b-90 { background: var(--mj-color-error-700); }\n[data-theme=\"dark\"] .mj-aging-bar .b-cur { background: var(--mj-color-neutral-500); }\n.mj-aging-bar > span.is-empty { display: none; }\n/* row-gap is explicit: the legend wraps to two rows in a narrow column, and a\n single `gap` shorthand left the wrapped rows tighter than the note beneath\n them, so the four buckets read as two unrelated pairs. */\n.mj-aging-legend { display: flex; gap: var(--mj-space-2) var(--mj-space-4); font-size: 11.5px; flex-wrap: wrap; }\n.mj-aging-legend > span { display: flex; align-items: center; gap: 6px; color: var(--mj-text-secondary); }\n.mj-aging-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }\n\n/* ============================================================================\n 17. KEYBOARD HINT STRIP (U20 \u2014 shortcuts are visible, not hidden)\n ============================================================================ */\n\nkbd {\n font-family: var(--mj-font-family); font-size: 10.5px; font-weight: var(--mj-font-semibold);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-strong);\n border-bottom-width: 2px; border-radius: var(--mj-radius-sm);\n padding: 1px 5px; color: var(--mj-text-secondary); line-height: 1.5;\n}\n\n/* ============================================================================\n 19. TYPE-AHEAD (fast entry)\n ============================================================================ */\n\n/*\n * The wrapper needs a STACKING CONTEXT, not just a positioning one.\n *\n * `position: relative` alone anchors the list under the input but leaves it in the\n * parent's stacking order, so later siblings paint on top of it: the customer\n * results rendered in the right place and were covered by the next section.\n * `elementFromPoint` at the centre of the first option returned the section, not\n * the option \u2014 the list was visible to the DOM and invisible to a person.\n */\n.mj-typeahead { position: relative; z-index: 20; }\n.mj-typeahead-list {\n position: absolute; top: calc(100% + 4px); left: 0; right: 0;\n z-index: var(--mj-z-popover); max-height: 320px; overflow: auto;\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); box-shadow: var(--mj-shadow-lg);\n display: none;\n}\n.mj-typeahead-list.is-open { display: block; }\n.mj-typeahead-item {\n display: flex; align-items: center; gap: var(--mj-space-3);\n padding: var(--mj-space-2) var(--mj-space-3); cursor: pointer;\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n.mj-typeahead-item:last-child { border-bottom: none; }\n.mj-typeahead-item:hover, .mj-typeahead-item.is-cursor { background: var(--mj-bg-surface-hover); }\n.mj-typeahead-item .name { font-size: 13px; font-weight: var(--mj-font-medium); }\n.mj-typeahead-item .sub { font-size: 11.5px; color: var(--mj-text-muted); }\n.mj-typeahead-item .end { margin-left: auto; text-align: right; }\n\n/* ============================================================================\n 21. DOCUMENT (the bill) \u2014 U6\n ============================================================================ */\n\n.mj-doc {\n background: var(--mj-bg-surface); color: var(--mj-text-primary);\n max-width: 860px; margin: 0 auto; padding: 56px 60px;\n border: 1px solid var(--mj-border-default); border-radius: var(--mj-radius-md);\n}\n.mj-doc-head { display: flex; align-items: flex-start; gap: var(--mj-space-6); margin-bottom: var(--mj-space-10); }\n.mj-doc-head .issuer { flex: 1; }\n.mj-doc-head .issuer .co { font-size: 17px; font-weight: var(--mj-font-bold); display: flex; align-items: center; gap: 8px; }\n.mj-doc-head .issuer .co i { color: var(--mj-brand-primary); }\n.mj-doc-head .issuer .addr { font-size: 12px; color: var(--mj-text-muted); margin-top: 6px; line-height: 1.6; }\n.mj-doc-head .docmeta { text-align: right; flex: none; }\n.mj-doc-head .docmeta .kind {\n font-size: 11px; font-weight: var(--mj-font-bold); letter-spacing: .12em;\n text-transform: uppercase; color: var(--mj-text-muted);\n}\n.mj-doc-head .docmeta .num { font-size: 22px; font-weight: var(--mj-font-bold); letter-spacing: -0.01em; }\n.mj-doc-meta-grid {\n display: grid; grid-template-columns: auto auto; gap: 3px var(--mj-space-4);\n font-size: 12px; margin-top: var(--mj-space-3); text-align: right;\n}\n.mj-doc-meta-grid dt { color: var(--mj-text-muted); }\n.mj-doc-meta-grid dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: var(--mj-font-medium); }\n.mj-doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: var(--mj-space-8); margin-bottom: var(--mj-space-8); }\n.mj-doc-parties .lbl {\n font-size: 10px; font-weight: var(--mj-font-bold); letter-spacing: .1em;\n text-transform: uppercase; color: var(--mj-text-muted); margin-bottom: 6px;\n}\n.mj-doc-parties .who { font-size: 13px; line-height: 1.7; }\n.mj-doc-parties .who .nm { font-weight: var(--mj-font-semibold); }\n.mj-doc table.mj-table thead th { background: transparent; border-bottom: 2px solid var(--mj-text-primary); }\n.mj-doc-totals { display: flex; justify-content: flex-end; margin-top: var(--mj-space-5); }\n.mj-doc-totals .box { width: min(340px, 100%); }\n.mj-doc-due {\n display: flex; align-items: baseline; justify-content: space-between;\n margin-top: var(--mj-space-3); padding-top: var(--mj-space-3);\n border-top: 2px solid var(--mj-text-primary);\n}\n.mj-doc-due .l { font-size: 13px; font-weight: var(--mj-font-bold); text-transform: uppercase; letter-spacing: .06em; }\n.mj-doc-due .v { font-size: 24px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums; }\n.mj-doc-foot {\n margin-top: var(--mj-space-10); padding-top: var(--mj-space-5);\n border-top: 1px solid var(--mj-border-default);\n font-size: 11.5px; color: var(--mj-text-muted); line-height: 1.7;\n}\n/*\n * The paid/void stamp.\n *\n * ANCHORED TO THE BOTTOM, not the top. Top-right is where the invoice number and\n * the date block already live, and the head's height varies with how many meta\n * rows a document has \u2014 so no fixed `top` clears it in every render. It sat on\n * top of the order number until a browser screenshot caught it. The footer band\n * is a single line of small print on the left, leaving the right reliably empty.\n */\n.mj-doc-stamp {\n position: absolute; bottom: 96px; right: 64px; transform: rotate(-14deg);\n border: 3px solid var(--mj-status-success); color: var(--mj-status-success-text);\n border-radius: var(--mj-radius-md); padding: 6px 18px;\n font-size: 22px; font-weight: var(--mj-font-bold); letter-spacing: .1em;\n text-transform: uppercase; opacity: .85; pointer-events: none;\n}\n\n/* Print. This sheet is global (the section shell loads it with ViewEncapsulation.None), so every\n selector stays under mjo-section-shell: unscoped, `.mj-page-header` would hide MJ's header when\n printing any Explorer page. No body rule for the same reason; browsers print without\n backgrounds unless asked. */\n@media print {\n mjo-section-shell .mj-page-header,\n mjo-section-shell .no-print { display: none !important; }\n mjo-section-shell .mj-page-layout,\n mjo-section-shell .mj-page-body { height: auto; overflow: visible; display: block; }\n mjo-section-shell .mj-page-body { padding: 0; }\n mjo-section-shell .mj-doc { border: none; max-width: none; padding: 0; }\n}\n\n\n/* ============================================================================\n CHROME THIS APP MUST SHIP ITSELF\n ============================================================================\n These were shimmed in mockups/assets/app.css on the assumption that MJ supplies\n them at runtime, the way it supplies .mj-card, .mj-btn and .mj-input. It does\n not. Loading the real app proved it: chips, banners, tabs, panels, the table\n frame and the slide-in were all completely unstyled in MJ Explorer while\n looking perfect in the mockups, because the mockups were reading the shim.\n\n Anything a component of ours renders has to live HERE, in the stylesheet the\n package ships, or it exists only in the mockups. The rule to apply when adding\n a class: if our markup writes it, it belongs in this file. Only classes MJ\n genuinely owns (.mj-page-layout, .mj-btn, .mj-input, .mj-card) stay as\n mockup-side shims.\n ============================================================================ */\n\n.mj-avatar {\n width: 30px; height: 30px; border-radius: var(--mj-radius-full);\n background: var(--mj-brand-primary); color: var(--mj-brand-on-primary);\n display: flex; align-items: center; justify-content: center;\n font-size: 11.5px; font-weight: var(--mj-font-semibold); flex: none;\n}\n/* `.mj-input` is deliberately NOT defined here \u2014 MJ owns it.\n MJ ships it globally in ui-components/input/input.scss (`.mj-input, .mj-textarea`),\n and this file is now global too (the section shell loads it with\n ViewEncapsulation.None), so redefining it meant two global rules of equal\n specificity fighting, with the winner decided by stylesheet LOAD ORDER \u2014 MJ's\n happens to win today, which is luck, not design. It also differed from MJ's\n (13px/6-10px/radius-md vs 14px/8-12px/radius-sm/min-height 38px), so whichever\n won changed how every input in the app looked.\n\n `.mj-select` stays: MJ styles `.mj-input, .mj-textarea` but ships no select rule.\n MJ's own templates do write `class=\"mj-select\"` (list management, conversations),\n so the rule is scoped to the Orders sections rather than restyling theirs.\n Values match MJ's input so the two sit level. */\nmjo-section-shell .mj-select {\n font-family: inherit; font-size: var(--mj-text-sm); color: var(--mj-text-primary);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm); padding: 8px 12px; width: 100%;\n min-height: 38px;\n}\nmjo-section-shell .mj-select:focus {\n outline: none; border-color: var(--mj-border-focus);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 16%, transparent);\n}\n.mj-field { display: block; margin-bottom: var(--mj-space-3); }\n.mj-field > label {\n display: block; font-size: 11px; font-weight: var(--mj-font-semibold);\n letter-spacing: .04em; text-transform: uppercase;\n color: var(--mj-text-muted); margin-bottom: 5px;\n}\n.mj-field .hint { font-size: 11.5px; color: var(--mj-text-muted); margin-top: 4px; }\n.mj-stated {\n display: flex; align-items: baseline; gap: var(--mj-space-2);\n padding: 6px 0;\n}\n.mj-stated .value { font-size: 13px; font-weight: var(--mj-font-medium); }\n.mj-stated .from {\n font-size: 11px; color: var(--mj-text-muted);\n background: var(--mj-bg-surface-sunken); border-radius: var(--mj-radius-sm);\n padding: 1px 6px;\n}\n.mjo-chip {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 2px 9px; border-radius: var(--mj-radius-full);\n font-size: 11.5px; font-weight: var(--mj-font-semibold);\n background: var(--mj-bg-surface-sunken); color: var(--mj-text-secondary);\n white-space: nowrap;\n}\n.mjo-chip i { font-size: 10px; }\n.mj-consequence {\n display: inline-flex; align-items: center; gap: 6px;\n font-size: 11.5px; color: var(--mj-text-secondary);\n background: var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-sm); padding: 3px 8px;\n}\n.mj-consequence i { font-size: 10px; color: var(--mj-text-muted); }\n.mj-consequence.is-sub i { color: var(--mj-color-violet-500); }\n.mj-consequence.is-event i { color: var(--mj-status-info); }\n.mj-consequence.is-defer i { color: var(--mj-status-warning); }\n.mj-card-pad { padding: var(--mj-space-4); }\n.mj-card-head {\n display: flex; align-items: center; gap: var(--mj-space-2);\n padding: var(--mj-space-3) var(--mj-space-4);\n border-bottom: 1px solid var(--mj-border-default);\n}\n.mj-card-head h3 { font-size: 13px; letter-spacing: .01em; }\n.mj-card-head i { color: var(--mj-text-muted); font-size: 12px; }\n.mj-card-head .right { margin-left: auto; display: flex; gap: var(--mj-space-2); align-items: center; }\n/* MJ ALREADY OWNS `.mj-table`. It is defined in ng-explorer-app's shared patterns, which\n Explorer loads before this kit \u2014 so `width`, `border-collapse` and the base type were being\n restated here purely to override MJ with the same thing, except in hardcoded pixels. Those\n declarations are gone; what stays below is only what MJ's table does NOT do.\n\n The one base property worth keeping is the SIZE: MJ's `--mj-text-sm` is 14px, and a dense\n worklist reads better a step down. That is a deliberate deviation, so it is written as a token\n rather than as 13px.\n\n SCOPED TO THE ORDERS SECTIONS (#904). The shell loads this sheet with ViewEncapsulation.None, so\n it stays in the document once any Orders section renders; unscoped, these rules restyled every\n `.mj-table` in Explorer, MJ's and other apps' included. Every Orders `.mj-table` renders inside\n `<mjo-section-shell>`. `:where()` adds the scope without adding specificity, so the\n `.mj-table--compact` padding and the `.mj-doc table.mj-table` header still win as before. */\n:where(mjo-section-shell) .mj-table { font-size: var(--mj-text-xs); }\n\n/* Additive, not a restatement: MJ's header has no sticky behaviour, and a worklist that scrolls\n inside a card needs one \u2014 losing the column names on row 20 is what makes a long queue\n unreadable. */\n:where(mjo-section-shell) .mj-table thead th {\n text-align: left; font-size: var(--mj-text-xs); font-weight: var(--mj-font-bold);\n letter-spacing: .06em; text-transform: uppercase; color: var(--mj-text-muted);\n padding: var(--mj-space-2) var(--mj-space-3);\n border-bottom: 1px solid var(--mj-border-strong);\n background: var(--mj-bg-surface); position: sticky; top: 0; z-index: 1;\n white-space: nowrap;\n}\n:where(mjo-section-shell) .mj-table thead th.num, :where(mjo-section-shell) .mj-table td.num { text-align: right; font-variant-numeric: tabular-nums; }\n:where(mjo-section-shell) .mj-table thead th .sortable { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }\n:where(mjo-section-shell) .mj-table thead th .sortable i { font-size: var(--mj-text-xs); opacity: .5; }\n:where(mjo-section-shell) .mj-table tbody td {\n padding: var(--mj-space-3); border-bottom: 1px solid var(--mj-border-subtle);\n vertical-align: middle;\n}\n/* Scoped to `.is-clickable`, which the worklist applies only when something is\n actually listening (`[class.is-clickable]=\"RowClicked.observed\"`). Unscoped,\n EVERY table highlighted on hover \u2014 including read-only ones \u2014 which is a\n promise of interactivity the row cannot keep. A highlight is the same\n affordance as a lift: offer it only where a click does something. */\n:where(mjo-section-shell) .mj-table tbody tr.is-clickable:hover { background: var(--mj-bg-surface-hover); }\n:where(mjo-section-shell) .mj-table tbody tr.is-selected { background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent); }\n:where(mjo-section-shell) .mj-table tbody tr.is-clickable { cursor: pointer; }\n:where(mjo-section-shell) .mj-table tbody tr.is-total { background: var(--mj-bg-surface-card); font-weight: var(--mj-font-semibold); }\n:where(mjo-section-shell) .mj-table tbody tr.is-total td { border-bottom: none; border-top: 2px solid var(--mj-border-strong); }\n:where(mjo-section-shell) .mj-table .primary { font-weight: var(--mj-font-semibold); }\n:where(mjo-section-shell) .mj-table .secondary { font-size: var(--mj-text-xs); color: var(--mj-text-muted); }\n:where(mjo-section-shell) .mj-table-wrap {\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); overflow: auto;\n}\n/* The hand-rolled .mj-tabs / .mj-tab block lived here and is gone. The order\n editor's five tabs now use MJ's own <mj-tab-nav>, which is the shipped,\n tokenized component for exactly this job \u2014 a pane switcher over one record.\n\n Not accounting's mj-workspace-card, despite the surface similarity: that models\n OPEN DOCUMENTS, so its strip closes, reorders and adds tabs and carries a New\n button \u2014 affordances that would be lies over five fixed panes of one order. It\n also lives in accounting's transfer-pending/ folder, code explicitly parked for\n another home, so depending on it would have bought a migration later.\n\n The old red dot became an error-variant badge in the same slot the count uses.\n A bare dot was a signifier with no meaning attached; only its aria-label said\n what it meant, so a sighted user saw a dot and guessed. */\n\n\n/* Status variants for the chrome above. */\n.mjo-chip--success { background: var(--mj-status-success-bg); color: var(--mj-status-success-text); }\n.mjo-chip--warning { background: var(--mj-status-warning-bg); color: var(--mj-status-warning-text); }\n.mjo-chip--error { background: var(--mj-status-error-bg); color: var(--mj-status-error-text); }\n.mjo-chip--info { background: var(--mj-status-info-bg); color: var(--mj-status-info-text); }\n.mjo-chip--brand { background: color-mix(in srgb, var(--mj-brand-primary) 13%, transparent); color: var(--mj-brand-primary); }\n.mjo-chip--outline { background: transparent; border: 1px solid var(--mj-border-default); color: var(--mj-text-secondary); font-weight: var(--mj-font-medium); }\n.mj-table--compact tbody td { padding: 7px var(--mj-space-3); }\n\n/*\n * The table filter box.\n *\n * NAMED mjo-, NOT mj-. MJ defines its own `.mj-search` for Explorer's global\n * search bar in the top chrome \u2014 a different control with different metrics \u2014 and\n * ours inherited it, which is why the filter box rendered as a bare underline\n * instead of a bordered field. Sharing the framework's prefix is right for\n * classes MJ does not define; it is actively wrong for one it does.\n */\n.mjo-search {\n display: flex; align-items: center; gap: var(--mj-space-2);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-strong);\n border-radius: var(--mj-radius-md); padding: 6px 10px; min-width: 260px;\n}\n.mjo-search i { color: var(--mj-text-muted); font-size: 12px; }\n.mjo-search input {\n border: none; outline: none; background: none; font-family: inherit;\n font-size: 13px; color: inherit; width: 100%;\n}\n\n/* \u2500\u2500 A standing explanation, not an alert \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n `mj-alert` is for something that HAPPENED or needs attention. Screens that permanently\n explain how they work were using it, which put a full-width coloured card above the work\n on every visit \u2014 read once, then scrolled past forever. This is the quiet form: same\n information, one line's worth of weight, no dismissal to manage. */\n.mjo-note {\n display: flex;\n align-items: baseline;\n gap: var(--mj-space-2);\n margin: 0 0 var(--mj-space-3);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n line-height: var(--mj-leading-relaxed, 1.6);\n}\n\n.mjo-note > i {\n color: var(--mj-text-muted);\n flex: 0 0 auto;\n}\n"] }]
172
+ `, styles: ["/* ============================================================================\n BizApps Orders \u2014 component kit\n ============================================================================\n THE CANONICAL SOURCE for this app's own component CSS. Both consumers read\n THIS FILE, so the mockups and the shipped UI cannot drift:\n\n \u00B7 packages/Angular/src/lib/styles/orders-kit.css \u2190 you are here\n \u00B7 mockups/assets/app.css @imports it\n\n Only classes MJ does NOT ship live here. Page chrome, buttons, inputs, filter\n chips, empty states, loading, collapsible panels, overlays and tab navigation all come from\n @memberjunction/ng-ui-components and @memberjunction/ng-base-forms at runtime;\n the mockups shim those separately because they have no Angular to provide them.\n\n Every value resolves through MJ's semantic tokens. No literal colours, with one\n documented exception: the deepest aging step, whose ramp was chosen by running\n the palette validator (see mockups/PROVENANCE.md).\n\n NAMING. New classes take the app's `mjo-` prefix. `mj-` is MJ's, and because\n this sheet is global a kit class sharing an MJ name restyles MJ's own markup;\n `.mj-filter-chip`, `.mj-timeline` and an unscoped `.mj-select` all collided. The\n `mj-` names still here move to `mjo-` as each family moves into the component\n that renders it.\n ============================================================================ */\n\n/* ============================================================================\n 16. LAYOUT & TEXT HELPERS\n ============================================================================\n These were authored in `mockups/assets/app.css` \u00A716 and never migrated here,\n so the two consumers DID drift despite the promise at the top of this file:\n the mockups styled them, the shipped app did not. 267 applications of `small`,\n `muted`, `row`, `wrap`, `strong`, `mono`, `tiny`, `spacer` and `sec-label`\n across the pages resolved to nothing \u2014 every caption rendered at full body\n size in full-strength ink and every `.row` collapsed from a flex row to a\n block stack. That single omission is most of the gap between the approved\n mockups and what shipped.\n\n Unprefixed on purpose \u2014 renaming ~267 call sites to `mj-` would buy nothing\n and would break parity with the mockup markup they mirror.\n\n TYPE SCALE \u2014 12px is the floor, and we do NOT want a sub-12px token.\n These arrived as raw px below MJ's smallest step: `small` 11.5px and `tiny`\n 10.5px. Both now resolve to `--mj-text-xs` (12px), MJ's own token, so the app\n shares one scale instead of carrying two private sizes.\n\n The obvious alternative \u2014 asking for a `--mj-text-xxs` \u2014 is the wrong ask, and\n we should not raise it. 12px is the practical legibility floor for secondary\n text (Material and Apple HIG both bottom out at 11\u201312px and reserve it for\n non-essential labels), and `small` here is not decoration: it carries amounts,\n counts and statuses on 120 elements. Shrinking DATA below the floor is exactly\n the case the floor exists for, and a token would institutionalise it across\n every app that adopts it.\n\n Hierarchy that used to come from size now comes from COLOUR (`muted`) and\n WEIGHT (`strong`) \u2014 both of which preserve the distinction at a legible size.\n Size is the bluntest hierarchy tool available and the only one that costs\n legibility, so it is the right one to give up.\n ============================================================================ */\n\n.row { display: flex; align-items: center; gap: var(--mj-space-2); }\n.col { display: flex; flex-direction: column; gap: var(--mj-space-2); }\n.wrap { flex-wrap: wrap; }\n.spacer { margin-left: auto; }\n.muted { color: var(--mj-text-muted); }\n/* 12px floor, on MJ's own token \u2014 see the TYPE SCALE note above. `small` and\n `tiny` were 11.5px and 10.5px; both now resolve to --mj-text-xs and the\n small/tiny distinction is carried by COLOUR and WEIGHT instead of size. */\n.small { font-size: var(--mj-text-xs); }\n.tiny { font-size: var(--mj-text-xs); }\n.strong { font-weight: var(--mj-font-semibold); }\n.mono { font-family: var(--mj-font-family-mono); font-size: .92em; }\n.center { text-align: center; }\n.nowrap { white-space: nowrap; }\n.hidden { display: none !important; }\n\n/* Numeric input modifier \u2014 pairs with `mj-input` on the five money fields\n (payment, refund, credit, return qty, allocation). Undefined until now, so\n amounts typed into them left-aligned against right-aligned totals directly\n beside them. Same treatment as `.mj-num`, which is what those totals use. */\n.is-num {\n text-align: right;\n font-variant-numeric: tabular-nums; font-feature-settings: \"tnum\";\n}\n.sec-label {\n font-size: var(--mj-text-xs); font-weight: var(--mj-font-bold); letter-spacing: .06em;\n text-transform: uppercase; color: var(--mj-text-muted); margin-bottom: var(--mj-space-2);\n}\n\n/* Explanatory notes under a chart, table or panel. 51 of these across 14\n `mjo-<page>__note` hooks were authored with NO rule anywhere, so every one sat\n flush against the element above it \u2014 the note read as a wrapped continuation\n of the legend rather than a separate caption. Prefix-scoped so the unrelated\n `fe-books__note` (which sets its own padding) is untouched. */\n[class*=\"mjo-\"][class*=\"__note\"] { margin-top: var(--mj-space-2); }\n\n/* ============================================================================\n PAGE HEADER \u2014 three stacked rows compressed into two\n ============================================================================\n MJ stacks the identity column title -> subtitle -> meta, so our \"as of 2:31 PM\"\n capsule landed on a third line of its own and the header stood 138px tall on\n every section. The capsule is a timestamp for the subtitle, not a peer of it,\n so it belongs BESIDE the subtitle rather than under it.\n\n Done without restructuring MJ's template, so a future MJ header fix still\n lands for us. Scoped to our shell \u2014 this is our editorial choice about our own\n capsule, not an opinion about how every MJ header should read.\n\n GRID, not flex-wrap. The first attempt used a wrapping flex row with order to\n reseat the capsule; every child claimed its own line and the whole block\n centred, because a full-width flex item forces a line break and the remaining\n items had nothing to sit beside. Grid with EXPLICIT row and column placement\n is deterministic \u2014 and it makes MJ's DOM order (title, subtitle, meta)\n irrelevant, so the capsule renders to the LEFT of a subtitle that precedes it\n in the markup, without touching the template. */\nmjo-section-shell .mj-page-header .mj-page-header-text {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr);\n align-items: center;\n justify-items: start;\n column-gap: var(--mj-space-2);\n row-gap: 2px;\n}\nmjo-section-shell .mj-page-header .mj-page-header-title { grid-row: 1; grid-column: 1 / -1; }\nmjo-section-shell .mj-page-header .mj-page-header-meta { grid-row: 2; grid-column: 1; margin-top: 0; }\nmjo-section-shell .mj-page-header .mj-page-header-subtitle { grid-row: 2; grid-column: 2; margin-top: 0; }\n\n/* Reclaim the rest vertically. space-3 still clears the 40px icon tile with\n room to spare; going tighter starts to crowd it. */\nmjo-section-shell .mj-page-header .mj-page-header-row--primary {\n padding-top: var(--mj-space-3);\n padding-bottom: var(--mj-space-3);\n}\n\n/* ============================================================================\n CARD HOVER \u2014 undo MJ's ungated lift on cards that do nothing\n ============================================================================\n MJ lifts EVERY `.mj-card` on hover \u2014 `transform: translateY(-4px)` plus a\n large shadow \u2014 from `explorer-app/src/lib/styles/_common.scss`. The selector\n there is bare `.mj-card:hover`, with no gate on whether the card is\n interactive, so a read-only dashboard panel rises under the cursor and\n promises a click it will not accept.\n\n This is not MJ's intent. `_shared-patterns.scss`, in the same package, heads\n its own card-hover block \"for clickable cards\" and gates it properly on\n `a.mj-card` / `.mj-card.clickable` \u2014 then weakens it with an ungated\n `.mj-card:hover` of its own. Two competing rules, both ungated in practice.\n Filed upstream; DELETE this block once MJ gates its own.\n\n Scoped to the orders shell so it cannot alter any other app, and written the\n way MJ says it means it: keep the lift where the card is genuinely a link or\n is marked clickable, drop it everywhere else.\n\n The values re-assert MJ's own RESTING state for `.mj-card` so that hovering a\n non-interactive card is a true NO-OP rather than a different effect \u2014 an\n earlier pass set a smaller shadow here, which only traded a card that rises\n for one that flattens. `--mj-shadow-sm` is used rather than `_common.scss`'s\n `var(--shadow)`: that variable is private to explorer-app and does not resolve\n from here, so the declaration was silently dropped. */\nmjo-section-shell .mj-card:not(.clickable):not(a):hover {\n transform: none;\n box-shadow: var(--mj-shadow-sm);\n border-color: transparent;\n}\n\n/* ============================================================================\n 7. MONEY (U7)\n ============================================================================ */\n\n.mj-num {\n font-variant-numeric: tabular-nums; font-feature-settings: \"tnum\";\n text-align: right; white-space: nowrap;\n}\n.mj-money--neg { color: var(--mj-status-error-text); }\n.mj-money--credit { color: var(--mj-status-success-text); }\n.mj-money--muted { color: var(--mj-text-muted); }\n\n/* The money strip \u2014 TotalGross / AmountPaid / Balance / status */\n/* Columns follow the CELLS THAT EXIST rather than a fixed three-plus-note.\n Paid is conditional (drafts have none) and the note is optional, so the fixed\n template left one or two empty panels sitting in the strip \u2014 which reads as a\n figure that failed to load rather than a figure that does not apply. */\n.mj-money-strip {\n display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;\n border: 1px solid var(--mj-border-default); border-radius: var(--mj-radius-md);\n background: var(--mj-bg-surface); overflow: hidden;\n}\n.mj-money-strip > div {\n padding: var(--mj-space-3) var(--mj-space-4);\n border-right: 1px solid var(--mj-border-default);\n}\n/* The chip row is the STATUS cell specifically \u2014 not whatever happens to be last.\n Keyed on :last-child, this flex rule landed on BALANCE as soon as the status cell\n stopped rendering (a draft has no PaymentStatus), which laid its label and value\n side by side while TOTAL beside it stayed stacked. */\n.mj-money-strip > div:last-child { border-right: none; }\n.mj-money-strip > .mj-money-strip__status {\n display: flex; align-items: center; gap: var(--mj-space-2);\n}\n.mj-money-strip .l {\n font-size: 10px; font-weight: var(--mj-font-bold); letter-spacing: .07em;\n text-transform: uppercase; color: var(--mj-text-muted); display: block; margin-bottom: 2px;\n}\n.mj-money-strip .v { font-size: 17px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums; }\n\n/* Decomposition ladder \u2014 net \u2192 promos \u2192 charges \u2192 tax \u2192 gross */\n.mj-ladder { font-size: 13px; }\n.mj-ladder-row {\n display: flex; align-items: baseline; gap: var(--mj-space-2);\n padding: 6px 0; border-bottom: 1px dashed var(--mj-border-subtle);\n}\n.mj-ladder-row > .label { color: var(--mj-text-secondary); display: flex; align-items: center; gap: 6px; }\n.mj-ladder-row > .amt { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: var(--mj-font-medium); }\n.mj-ladder-row.is-sub { padding-left: var(--mj-space-4); font-size: 12px; color: var(--mj-text-muted); }\n.mj-ladder-row.is-sub > .amt { font-weight: var(--mj-font-normal); }\n.mj-ladder-row.is-discount > .amt { color: var(--mj-status-success-text); }\n.mj-ladder-row.is-total {\n border-bottom: none; border-top: 2px solid var(--mj-border-strong);\n margin-top: var(--mj-space-2); padding-top: var(--mj-space-3);\n}\n.mj-ladder-row.is-total > .label { font-weight: var(--mj-font-semibold); color: var(--mj-text-primary); }\n.mj-ladder-row.is-total > .amt { font-size: 18px; font-weight: var(--mj-font-bold); }\n.mj-ladder-note {\n font-size: 11.5px; color: var(--mj-text-muted); padding: var(--mj-space-2) 0 0;\n display: flex; gap: 6px; align-items: flex-start;\n}\n.mj-ladder-note i { margin-top: 2px; color: var(--mj-status-info); }\n\n/* The \"why\" disclosure \u2014 U2. A bare number is never acceptable. */\n.mj-why {\n border: none; background: none; cursor: pointer; padding: 0 2px;\n color: var(--mj-text-disabled); font-size: 10.5px;\n}\n.mj-why:hover { color: var(--mj-brand-primary); }\n.mj-why-body {\n font-size: 11.5px; color: var(--mj-text-secondary);\n background: var(--mj-bg-surface-sunken); border-left: 2px solid var(--mj-brand-primary);\n border-radius: 0 var(--mj-radius-sm) var(--mj-radius-sm) 0;\n padding: var(--mj-space-2) var(--mj-space-3); margin: var(--mj-space-2) 0;\n}\n.mj-why-body ol, .mj-why-body ul { margin: 4px 0 0; padding-left: var(--mj-space-4); }\n.mj-why-body li { margin: 2px 0; }\n.mj-why-body code {\n font-family: var(--mj-font-family-mono); font-size: 10.5px;\n background: var(--mj-bg-surface); padding: 1px 4px; border-radius: 3px;\n}\n\n/* ============================================================================\n 9. STATUS STEPPER (D9 \u2014 order fixed, forward skip legal)\n ============================================================================ */\n\n.mj-stepper { display: flex; align-items: center; gap: var(--mj-space-1); flex-wrap: wrap; }\n.mj-stepper .step {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 4px 11px; border-radius: var(--mj-radius-full);\n border: 1px solid var(--mj-border-default); background: var(--mj-bg-surface);\n font-size: 11.5px; font-weight: var(--mj-font-semibold); color: var(--mj-text-muted);\n cursor: pointer;\n}\n.mj-stepper .step i { font-size: 9px; }\n.mj-stepper .step.is-done {\n background: var(--mj-status-success-bg); border-color: color-mix(in srgb, var(--mj-status-success) 40%, transparent);\n color: var(--mj-status-success-text);\n}\n.mj-stepper .step.is-current {\n background: color-mix(in srgb, var(--mj-brand-primary) 12%, transparent);\n border-color: var(--mj-brand-primary); color: var(--mj-brand-primary);\n}\n.mj-stepper .step.is-blocked { opacity: .45; cursor: not-allowed; }\n.mj-stepper .sep { color: var(--mj-text-disabled); font-size: 9px; }\n\n/* ============================================================================\n 13. STAT TILES (cheap counts only \u2014 U11)\n ============================================================================ */\n\n.mj-stat-grid {\n display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));\n gap: var(--mj-space-4);\n}\n.mj-stat {\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); padding: var(--mj-space-4);\n display: flex; flex-direction: column; gap: 2px; min-width: 0;\n}\n.mj-stat .l {\n font-size: 11px; font-weight: var(--mj-font-semibold); letter-spacing: .04em;\n text-transform: uppercase; color: var(--mj-text-muted);\n display: flex; align-items: center; gap: 6px;\n}\n.mj-stat .v {\n font-size: 25px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums;\n letter-spacing: -0.02em; line-height: 1.15;\n}\n.mj-stat .d { font-size: 11.5px; color: var(--mj-text-muted); }\n.mj-stat.is-alert .v { color: var(--mj-status-error-text); }\n\n/* ============================================================================\n 14. AGING BAR\n ============================================================================ */\n\n.mj-aging { display: flex; flex-direction: column; gap: 6px; }\n.mj-aging-bar {\n display: flex; height: 26px; border-radius: var(--mj-radius-sm);\n overflow: hidden; background: var(--mj-bg-surface-sunken);\n}\n.mj-aging-bar > span {\n display: flex; align-items: center; justify-content: center;\n font-size: 10.5px; font-weight: var(--mj-font-semibold); color: #fff;\n min-width: 0; overflow: hidden; white-space: nowrap;\n}\n/* Aging severity ramp \u2014 VALIDATED, do not eyeball-substitute.\n #64748b, #f59e0b, #ef4444, #991b1b passes CVD separation (worst adjacent\n \u0394E 13.9 deutan) and the normal-vision floor (\u0394E 19.8) on BOTH the light and\n dark surfaces. The earlier set used warning-700 next to error-600, which sat\n at \u0394E 2.8 deutan \u2014 the 60-day and 90-day buckets were indistinguishable.\n The neutral first step is deliberate: \"not late\" is not a severity.\n Every segment carries a visible amount and a legend, which is what discharges\n the low-contrast warning on the amber step. See PROVENANCE.md. */\n.mj-aging-bar .b-cur { background: var(--mj-color-neutral-500); }\n.mj-aging-bar .b-30 { background: var(--mj-color-warning-500); }\n.mj-aging-bar .b-60 { background: var(--mj-color-error-500); }\n/* Was the literal #991b1b, because MJ's error ramp stops at -700. Now fully\n tokenised, and the reasoning is worth keeping because the first instinct was\n the wrong one.\n\n Re-measured independently (CIE76 + a Brettel deuteranope simulation) rather\n than trusting the numbers above, whose validator script is NOT in this repo\n and cannot be re-run. Worst adjacent pair, 31-60 vs 61+:\n\n #991b1b (literal) normal dE 26.6 deuteranope dE 23.8\n --mj-color-error-700 normal dE 16.3 deuteranope dE 15.5\n the REJECTED first attempt normal dE 31.9 deuteranope dE 3.1\n\n So the token step is a modest perceptual step DOWN, not a failure: dE 15 is\n far above the ~2.3 just-noticeable difference, and nothing like the 3.1 that\n made the original attempt genuinely unreadable. And the bar is never the sole\n carrier \u2014 every segment shows its amount and the legend lists all four \u2014 so\n WCAG 1.4.1 holds either way.\n\n The token wins on a functional point the literal cannot match: a hardcoded\n hex does not follow dark mode or a white-label rebrand, while every other\n step of this ramp does. Trading ~10 dE of headroom for a ramp that themes\n correctly is the right trade. */\n.mj-aging-bar .b-90 { background: var(--mj-color-error-700); }\n[data-theme=\"dark\"] .mj-aging-bar .b-cur { background: var(--mj-color-neutral-500); }\n.mj-aging-bar > span.is-empty { display: none; }\n/* row-gap is explicit: the legend wraps to two rows in a narrow column, and a\n single `gap` shorthand left the wrapped rows tighter than the note beneath\n them, so the four buckets read as two unrelated pairs. */\n.mj-aging-legend { display: flex; gap: var(--mj-space-2) var(--mj-space-4); font-size: 11.5px; flex-wrap: wrap; }\n.mj-aging-legend > span { display: flex; align-items: center; gap: 6px; color: var(--mj-text-secondary); }\n.mj-aging-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }\n\n/* ============================================================================\n 17. KEYBOARD HINT STRIP (U20 \u2014 shortcuts are visible, not hidden)\n ============================================================================ */\n\nkbd {\n font-family: var(--mj-font-family); font-size: 10.5px; font-weight: var(--mj-font-semibold);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-strong);\n border-bottom-width: 2px; border-radius: var(--mj-radius-sm);\n padding: 1px 5px; color: var(--mj-text-secondary); line-height: 1.5;\n}\n\n/* ============================================================================\n 19. TYPE-AHEAD (fast entry)\n ============================================================================ */\n\n/*\n * The wrapper needs a STACKING CONTEXT, not just a positioning one.\n *\n * `position: relative` alone anchors the list under the input but leaves it in the\n * parent's stacking order, so later siblings paint on top of it: the customer\n * results rendered in the right place and were covered by the next section.\n * `elementFromPoint` at the centre of the first option returned the section, not\n * the option \u2014 the list was visible to the DOM and invisible to a person.\n */\n.mj-typeahead { position: relative; z-index: 20; }\n.mj-typeahead-list {\n position: absolute; top: calc(100% + 4px); left: 0; right: 0;\n z-index: var(--mj-z-popover); max-height: 320px; overflow: auto;\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); box-shadow: var(--mj-shadow-lg);\n display: none;\n}\n.mj-typeahead-list.is-open { display: block; }\n.mj-typeahead-item {\n display: flex; align-items: center; gap: var(--mj-space-3);\n padding: var(--mj-space-2) var(--mj-space-3); cursor: pointer;\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n.mj-typeahead-item:last-child { border-bottom: none; }\n.mj-typeahead-item:hover, .mj-typeahead-item.is-cursor { background: var(--mj-bg-surface-hover); }\n.mj-typeahead-item .name { font-size: 13px; font-weight: var(--mj-font-medium); }\n.mj-typeahead-item .sub { font-size: 11.5px; color: var(--mj-text-muted); }\n.mj-typeahead-item .end { margin-left: auto; text-align: right; }\n\n/* ============================================================================\n 21. DOCUMENT (the bill) \u2014 U6\n ============================================================================ */\n\n.mj-doc {\n background: var(--mj-bg-surface); color: var(--mj-text-primary);\n max-width: 860px; margin: 0 auto; padding: 56px 60px;\n border: 1px solid var(--mj-border-default); border-radius: var(--mj-radius-md);\n}\n.mj-doc-head { display: flex; align-items: flex-start; gap: var(--mj-space-6); margin-bottom: var(--mj-space-10); }\n.mj-doc-head .issuer { flex: 1; }\n.mj-doc-head .issuer .co { font-size: 17px; font-weight: var(--mj-font-bold); display: flex; align-items: center; gap: 8px; }\n.mj-doc-head .issuer .co i { color: var(--mj-brand-primary); }\n.mj-doc-head .issuer .addr { font-size: 12px; color: var(--mj-text-muted); margin-top: 6px; line-height: 1.6; }\n.mj-doc-head .docmeta { text-align: right; flex: none; }\n.mj-doc-head .docmeta .kind {\n font-size: 11px; font-weight: var(--mj-font-bold); letter-spacing: .12em;\n text-transform: uppercase; color: var(--mj-text-muted);\n}\n.mj-doc-head .docmeta .num { font-size: 22px; font-weight: var(--mj-font-bold); letter-spacing: -0.01em; }\n.mj-doc-meta-grid {\n display: grid; grid-template-columns: auto auto; gap: 3px var(--mj-space-4);\n font-size: 12px; margin-top: var(--mj-space-3); text-align: right;\n}\n.mj-doc-meta-grid dt { color: var(--mj-text-muted); }\n.mj-doc-meta-grid dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: var(--mj-font-medium); }\n.mj-doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: var(--mj-space-8); margin-bottom: var(--mj-space-8); }\n.mj-doc-parties .lbl {\n font-size: 10px; font-weight: var(--mj-font-bold); letter-spacing: .1em;\n text-transform: uppercase; color: var(--mj-text-muted); margin-bottom: 6px;\n}\n.mj-doc-parties .who { font-size: 13px; line-height: 1.7; }\n.mj-doc-parties .who .nm { font-weight: var(--mj-font-semibold); }\n.mj-doc table.mj-table thead th { background: transparent; border-bottom: 2px solid var(--mj-text-primary); }\n.mj-doc-totals { display: flex; justify-content: flex-end; margin-top: var(--mj-space-5); }\n.mj-doc-totals .box { width: min(340px, 100%); }\n.mj-doc-due {\n display: flex; align-items: baseline; justify-content: space-between;\n margin-top: var(--mj-space-3); padding-top: var(--mj-space-3);\n border-top: 2px solid var(--mj-text-primary);\n}\n.mj-doc-due .l { font-size: 13px; font-weight: var(--mj-font-bold); text-transform: uppercase; letter-spacing: .06em; }\n.mj-doc-due .v { font-size: 24px; font-weight: var(--mj-font-bold); font-variant-numeric: tabular-nums; }\n.mj-doc-foot {\n margin-top: var(--mj-space-10); padding-top: var(--mj-space-5);\n border-top: 1px solid var(--mj-border-default);\n font-size: 11.5px; color: var(--mj-text-muted); line-height: 1.7;\n}\n/*\n * The paid/void stamp.\n *\n * ANCHORED TO THE BOTTOM, not the top. Top-right is where the invoice number and\n * the date block already live, and the head's height varies with how many meta\n * rows a document has \u2014 so no fixed `top` clears it in every render. It sat on\n * top of the order number until a browser screenshot caught it. The footer band\n * is a single line of small print on the left, leaving the right reliably empty.\n */\n.mj-doc-stamp {\n position: absolute; bottom: 96px; right: 64px; transform: rotate(-14deg);\n border: 3px solid var(--mj-status-success); color: var(--mj-status-success-text);\n border-radius: var(--mj-radius-md); padding: 6px 18px;\n font-size: 22px; font-weight: var(--mj-font-bold); letter-spacing: .1em;\n text-transform: uppercase; opacity: .85; pointer-events: none;\n}\n\n/* Print. This sheet is global (the section shell loads it with ViewEncapsulation.None), so every\n selector stays under mjo-section-shell: unscoped, `.mj-page-header` would hide MJ's header when\n printing any Explorer page. No body rule for the same reason; browsers print without\n backgrounds unless asked. */\n@media print {\n mjo-section-shell .mj-page-header,\n mjo-section-shell .no-print { display: none !important; }\n mjo-section-shell .mj-page-layout,\n mjo-section-shell .mj-page-body { height: auto; overflow: visible; display: block; }\n mjo-section-shell .mj-page-body { padding: 0; }\n mjo-section-shell .mj-doc { border: none; max-width: none; padding: 0; }\n}\n\n\n/* ============================================================================\n CHROME THIS APP MUST SHIP ITSELF\n ============================================================================\n These were shimmed in mockups/assets/app.css on the assumption that MJ supplies\n them at runtime, the way it supplies .mj-card, .mj-btn and .mj-input. It does\n not. Loading the real app proved it: chips, banners, tabs, panels, the table\n frame and the slide-in were all completely unstyled in MJ Explorer while\n looking perfect in the mockups, because the mockups were reading the shim.\n\n Anything a component of ours renders has to live HERE, in the stylesheet the\n package ships, or it exists only in the mockups. The rule to apply when adding\n a class: if our markup writes it, it belongs in this file. Only classes MJ\n genuinely owns (.mj-page-layout, .mj-btn, .mj-input, .mj-card) stay as\n mockup-side shims.\n ============================================================================ */\n\n.mj-avatar {\n width: 30px; height: 30px; border-radius: var(--mj-radius-full);\n background: var(--mj-brand-primary); color: var(--mj-brand-on-primary);\n display: flex; align-items: center; justify-content: center;\n font-size: 11.5px; font-weight: var(--mj-font-semibold); flex: none;\n}\n/* `.mj-input` is deliberately NOT defined here \u2014 MJ owns it.\n MJ ships it globally in ui-components/input/input.scss (`.mj-input, .mj-textarea`),\n and this file is now global too (the section shell loads it with\n ViewEncapsulation.None), so redefining it meant two global rules of equal\n specificity fighting, with the winner decided by stylesheet LOAD ORDER \u2014 MJ's\n happens to win today, which is luck, not design. It also differed from MJ's\n (13px/6-10px/radius-md vs 14px/8-12px/radius-sm/min-height 38px), so whichever\n won changed how every input in the app looked.\n\n `.mj-select` stays: MJ styles `.mj-input, .mj-textarea` but ships no select rule.\n MJ's own templates do write `class=\"mj-select\"` (list management, conversations),\n so the rule is scoped to the Orders sections rather than restyling theirs.\n Values match MJ's input so the two sit level. */\nmjo-section-shell .mj-select {\n font-family: inherit; font-size: var(--mj-text-sm); color: var(--mj-text-primary);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-sm); padding: 8px 12px; width: 100%;\n min-height: 38px;\n}\nmjo-section-shell .mj-select:focus {\n outline: none; border-color: var(--mj-border-focus);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 16%, transparent);\n}\n.mj-field { display: block; margin-bottom: var(--mj-space-3); }\n.mj-field > label {\n display: block; font-size: 11px; font-weight: var(--mj-font-semibold);\n letter-spacing: .04em; text-transform: uppercase;\n color: var(--mj-text-muted); margin-bottom: 5px;\n}\n.mj-field .hint { font-size: 11.5px; color: var(--mj-text-muted); margin-top: 4px; }\n.mj-stated {\n display: flex; align-items: baseline; gap: var(--mj-space-2);\n padding: 6px 0;\n}\n.mj-stated .value { font-size: 13px; font-weight: var(--mj-font-medium); }\n.mj-stated .from {\n font-size: 11px; color: var(--mj-text-muted);\n background: var(--mj-bg-surface-sunken); border-radius: var(--mj-radius-sm);\n padding: 1px 6px;\n}\n.mjo-chip {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 2px 9px; border-radius: var(--mj-radius-full);\n font-size: 11.5px; font-weight: var(--mj-font-semibold);\n background: var(--mj-bg-surface-sunken); color: var(--mj-text-secondary);\n white-space: nowrap;\n}\n.mjo-chip i { font-size: 10px; }\n.mj-consequence {\n display: inline-flex; align-items: center; gap: 6px;\n font-size: 11.5px; color: var(--mj-text-secondary);\n background: var(--mj-bg-surface-sunken);\n border-radius: var(--mj-radius-sm); padding: 3px 8px;\n}\n.mj-consequence i { font-size: 10px; color: var(--mj-text-muted); }\n.mj-consequence.is-sub i { color: var(--mj-color-violet-500); }\n.mj-consequence.is-event i { color: var(--mj-status-info); }\n.mj-consequence.is-defer i { color: var(--mj-status-warning); }\n.mj-card-pad { padding: var(--mj-space-4); }\n.mj-card-head {\n display: flex; align-items: center; gap: var(--mj-space-2);\n padding: var(--mj-space-3) var(--mj-space-4);\n border-bottom: 1px solid var(--mj-border-default);\n}\n.mj-card-head h3 { font-size: 13px; letter-spacing: .01em; }\n.mj-card-head i { color: var(--mj-text-muted); font-size: 12px; }\n.mj-card-head .right { margin-left: auto; display: flex; gap: var(--mj-space-2); align-items: center; }\n/* MJ ALREADY OWNS `.mj-table`. It is defined in ng-explorer-app's shared patterns, which\n Explorer loads before this kit \u2014 so `width`, `border-collapse` and the base type were being\n restated here purely to override MJ with the same thing, except in hardcoded pixels. Those\n declarations are gone; what stays below is only what MJ's table does NOT do.\n\n The one base property worth keeping is the SIZE: MJ's `--mj-text-sm` is 14px, and a dense\n worklist reads better a step down. That is a deliberate deviation, so it is written as a token\n rather than as 13px.\n\n SCOPED TO THE ORDERS SECTIONS (#904). The shell loads this sheet with ViewEncapsulation.None, so\n it stays in the document once any Orders section renders; unscoped, these rules restyled every\n `.mj-table` in Explorer, MJ's and other apps' included. Every Orders `.mj-table` renders inside\n `<mjo-section-shell>`. `:where()` adds the scope without adding specificity, so the\n `.mj-table--compact` padding and the `.mj-doc table.mj-table` header still win as before. */\n:where(mjo-section-shell) .mj-table { font-size: var(--mj-text-xs); }\n\n/* Additive, not a restatement: MJ's header has no sticky behaviour, and a worklist that scrolls\n inside a card needs one \u2014 losing the column names on row 20 is what makes a long queue\n unreadable. */\n:where(mjo-section-shell) .mj-table thead th {\n text-align: left; font-size: var(--mj-text-xs); font-weight: var(--mj-font-bold);\n letter-spacing: .06em; text-transform: uppercase; color: var(--mj-text-muted);\n padding: var(--mj-space-2) var(--mj-space-3);\n border-bottom: 1px solid var(--mj-border-strong);\n background: var(--mj-bg-surface); position: sticky; top: 0; z-index: 1;\n white-space: nowrap;\n}\n:where(mjo-section-shell) .mj-table thead th.num, :where(mjo-section-shell) .mj-table td.num { text-align: right; font-variant-numeric: tabular-nums; }\n:where(mjo-section-shell) .mj-table thead th .sortable { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }\n:where(mjo-section-shell) .mj-table thead th .sortable i { font-size: var(--mj-text-xs); opacity: .5; }\n:where(mjo-section-shell) .mj-table tbody td {\n padding: var(--mj-space-3); border-bottom: 1px solid var(--mj-border-subtle);\n vertical-align: middle;\n}\n/* Scoped to `.is-clickable`, which the worklist applies only when something is\n actually listening (`[class.is-clickable]=\"RowClicked.observed\"`). Unscoped,\n EVERY table highlighted on hover \u2014 including read-only ones \u2014 which is a\n promise of interactivity the row cannot keep. A highlight is the same\n affordance as a lift: offer it only where a click does something. */\n:where(mjo-section-shell) .mj-table tbody tr.is-clickable:hover { background: var(--mj-bg-surface-hover); }\n:where(mjo-section-shell) .mj-table tbody tr.is-selected { background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent); }\n:where(mjo-section-shell) .mj-table tbody tr.is-clickable { cursor: pointer; }\n:where(mjo-section-shell) .mj-table tbody tr.is-total { background: var(--mj-bg-surface-card); font-weight: var(--mj-font-semibold); }\n:where(mjo-section-shell) .mj-table tbody tr.is-total td { border-bottom: none; border-top: 2px solid var(--mj-border-strong); }\n:where(mjo-section-shell) .mj-table .primary { font-weight: var(--mj-font-semibold); }\n:where(mjo-section-shell) .mj-table .secondary { font-size: var(--mj-text-xs); color: var(--mj-text-muted); }\n/* A worklist and the side panel for its open row (`mjo-side-panel`), side by side. Here and not in\n the panel's own styles because the layout wraps the list whether or not a panel is open. The\n panel drops below the list on a narrow screen. */\n:where(mjo-section-shell) .mjo-split { display: flex; gap: var(--mj-space-4); align-items: flex-start; }\n:where(mjo-section-shell) .mjo-split__main { flex: 1; min-width: 0; }\n:where(mjo-section-shell) .mjo-split__side { flex: 0 0 360px; min-width: 0; }\n@media (max-width: 1100px) {\n :where(mjo-section-shell) .mjo-split { flex-direction: column; }\n :where(mjo-section-shell) .mjo-split__main, :where(mjo-section-shell) .mjo-split__side { flex: 1 1 auto; width: 100%; }\n}\n:where(mjo-section-shell) .mj-table-wrap {\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md); overflow: auto;\n}\n/* The hand-rolled .mj-tabs / .mj-tab block lived here and is gone. The order\n editor's five tabs now use MJ's own <mj-tab-nav>, which is the shipped,\n tokenized component for exactly this job \u2014 a pane switcher over one record.\n\n Not accounting's mj-workspace-card, despite the surface similarity: that models\n OPEN DOCUMENTS, so its strip closes, reorders and adds tabs and carries a New\n button \u2014 affordances that would be lies over five fixed panes of one order. It\n also lives in accounting's transfer-pending/ folder, code explicitly parked for\n another home, so depending on it would have bought a migration later.\n\n The old red dot became an error-variant badge in the same slot the count uses.\n A bare dot was a signifier with no meaning attached; only its aria-label said\n what it meant, so a sighted user saw a dot and guessed. */\n\n\n/* Status variants for the chrome above. */\n.mjo-chip--success { background: var(--mj-status-success-bg); color: var(--mj-status-success-text); }\n.mjo-chip--warning { background: var(--mj-status-warning-bg); color: var(--mj-status-warning-text); }\n.mjo-chip--error { background: var(--mj-status-error-bg); color: var(--mj-status-error-text); }\n.mjo-chip--info { background: var(--mj-status-info-bg); color: var(--mj-status-info-text); }\n.mjo-chip--brand { background: color-mix(in srgb, var(--mj-brand-primary) 13%, transparent); color: var(--mj-brand-primary); }\n.mjo-chip--outline { background: transparent; border: 1px solid var(--mj-border-default); color: var(--mj-text-secondary); font-weight: var(--mj-font-medium); }\n.mj-table--compact tbody td { padding: 7px var(--mj-space-3); }\n\n/*\n * The table filter box.\n *\n * NAMED mjo-, NOT mj-. MJ defines its own `.mj-search` for Explorer's global\n * search bar in the top chrome \u2014 a different control with different metrics \u2014 and\n * ours inherited it, which is why the filter box rendered as a bare underline\n * instead of a bordered field. Sharing the framework's prefix is right for\n * classes MJ does not define; it is actively wrong for one it does.\n */\n.mjo-search {\n display: flex; align-items: center; gap: var(--mj-space-2);\n background: var(--mj-bg-surface); border: 1px solid var(--mj-border-strong);\n border-radius: var(--mj-radius-md); padding: 6px 10px; min-width: 260px;\n}\n.mjo-search i { color: var(--mj-text-muted); font-size: 12px; }\n.mjo-search input {\n border: none; outline: none; background: none; font-family: inherit;\n font-size: 13px; color: inherit; width: 100%;\n}\n\n/* \u2500\u2500 A standing explanation, not an alert \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n `mj-alert` is for something that HAPPENED or needs attention. Screens that permanently\n explain how they work were using it, which put a full-width coloured card above the work\n on every visit \u2014 read once, then scrolled past forever. This is the quiet form: same\n information, one line's worth of weight, no dismissal to manage. */\n.mjo-note {\n display: flex;\n align-items: baseline;\n gap: var(--mj-space-2);\n margin: 0 0 var(--mj-space-3);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-xs);\n line-height: var(--mj-leading-relaxed, 1.6);\n}\n\n.mjo-note > i {\n color: var(--mj-text-muted);\n flex: 0 0 auto;\n}\n"] }]
173
173
  }], null, { Title: [{
174
174
  type: Input
175
175
  }], Icon: [{
@@ -608,6 +608,16 @@ mjo-section-shell .mj-select:focus {
608
608
  :where(mjo-section-shell) .mj-table tbody tr.is-total td { border-bottom: none; border-top: 2px solid var(--mj-border-strong); }
609
609
  :where(mjo-section-shell) .mj-table .primary { font-weight: var(--mj-font-semibold); }
610
610
  :where(mjo-section-shell) .mj-table .secondary { font-size: var(--mj-text-xs); color: var(--mj-text-muted); }
611
+ /* A worklist and the side panel for its open row (`mjo-side-panel`), side by side. Here and not in
612
+ the panel's own styles because the layout wraps the list whether or not a panel is open. The
613
+ panel drops below the list on a narrow screen. */
614
+ :where(mjo-section-shell) .mjo-split { display: flex; gap: var(--mj-space-4); align-items: flex-start; }
615
+ :where(mjo-section-shell) .mjo-split__main { flex: 1; min-width: 0; }
616
+ :where(mjo-section-shell) .mjo-split__side { flex: 0 0 360px; min-width: 0; }
617
+ @media (max-width: 1100px) {
618
+ :where(mjo-section-shell) .mjo-split { flex-direction: column; }
619
+ :where(mjo-section-shell) .mjo-split__main, :where(mjo-section-shell) .mjo-split__side { flex: 1 1 auto; width: 100%; }
620
+ }
611
621
  :where(mjo-section-shell) .mj-table-wrap {
612
622
  background: var(--mj-bg-surface); border: 1px solid var(--mj-border-default);
613
623
  border-radius: var(--mj-radius-md); overflow: auto;
@@ -47,6 +47,8 @@ export { MJOSectionShellComponent } from './lib/sections/section-shell.component
47
47
  export * from './lib/panels/index.js';
48
48
  export * from './lib/panels/worklist-table.component.js';
49
49
  export * from './lib/panels/multi-select.component.js';
50
+ export * from './lib/panels/worklist-bar.component.js';
51
+ export * from './lib/panels/side-panel.component.js';
50
52
  export * from './lib/panels/stat-tile.component.js';
51
53
  export * from './lib/panels/summary-strip.component.js';
52
54
  export * from './lib/panels/day-bars.component.js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kC,CAAC;AAEvF;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,IAAI,IAAI,CAI9C"}
@@ -63,6 +63,8 @@ export { MJOSectionShellComponent } from './lib/sections/section-shell.component
63
63
  export * from './lib/panels/index.js';
64
64
  export * from './lib/panels/worklist-table.component.js';
65
65
  export * from './lib/panels/multi-select.component.js';
66
+ export * from './lib/panels/worklist-bar.component.js';
67
+ export * from './lib/panels/side-panel.component.js';
66
68
  export * from './lib/panels/stat-tile.component.js';
67
69
  export * from './lib/panels/summary-strip.component.js';
68
70
  export * from './lib/panels/day-bars.component.js';
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,mFAAmF;AACnF,OAAO,8BAA8B,CAAC;AAEtC,iFAAiF;AACjF,OAAO,wCAAwC,CAAC;AAEhD,iGAAiG;AACjG,OAAO,kCAAkC,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,wCAAwC,CAAC;AAChD,0FAA0F;AAC1F,OAAO,yDAAyD,CAAC;AACjE,OAAO,yCAAyC,CAAC;AAEjD,gDAAgD;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnF;;;;;;GAMG;AACH,OAAO,EACH,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,4BAA4B,GAC/B,MAAM,0CAA0C,CAAC;AAElD,0BAA0B;AAC1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EACH,oCAAoC,EACpC,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,GACjC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,oCAAoC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cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kCAAkC,CAAC;AACjD,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uDAAuD,CAAC;AACtE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAE/C,mFAAmF;AACnF,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,GACpB,MAAM,kCAAkC,CAAC;AAG1C;;;;;;;GAOG;AACH,MAAM,UAAU,uBAAuB;IACnC,KAAK,CAAC,qBAAqB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,sBAAsB,CAAC,CAAC;IACxI,KAAK,mBAAmB,CAAC;IACzB,eAAe,EAAE,CAAC;AACtB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mj-biz-apps/orders-ng",
3
3
  "type": "module",
4
- "version": "5.52.0",
4
+ "version": "5.53.0",
5
5
  "description": "BizApps Orders Angular bootstrap - generated form components and module for the unified order-management Open App",
6
6
  "main": "dist/public-api.js",
7
7
  "types": "dist/public-api.d.ts",
@@ -15,7 +15,7 @@
15
15
  "author": "MemberJunction.com",
16
16
  "license": "BUSL-1.1",
17
17
  "dependencies": {
18
- "@mj-biz-apps/orders-entities": "^5.52.0",
18
+ "@mj-biz-apps/orders-entities": "^5.53.0",
19
19
  "ag-grid-angular": "^35.0.1",
20
20
  "ag-grid-community": "^35.0.1"
21
21
  },