/* utilities.css - the Lani Prime Design System, shipped verbatim.
 *
 * SOURCE: docs/design/lani-prime-design-system/lani-prime-design-system-8be1580b-0eca-463e-bd74-8aa265b1a30c/tokens/utilities.css
 * MANIFEST: lani-prime-design-system-8be1580b-0eca-463e-bd74-8aa265b1a30c
 *
 * Copied 2026-09-22 (U-E8.0). The body below is byte-for-byte the source file;
 * only this header is added. EDIT THE SOURCE, NOT THIS COPY - a change made here
 * and not there forks the thing the mocks are drawn against, and the mocks are the
 * design authority (U-E8 section 0).
 *
 * The three refresh2 mocks reference these tokens in 588 inline styles, and before
 * this file existed not one of them was defined in shipped Shell CSS - so every one
 * dropped and the served surfaces drew without them. The compatibility aliases the
 * source carries are kept for the same reason in reverse: nothing already shipped
 * may change colour because this landed.
 */

/* Lani Prime primitives. */
.lp-mono { font-family: var(--lp-font-mono); font-variant-numeric: tabular-nums; }
.lp-kicker { font-size: 11px; line-height: 15px; letter-spacing: var(--lp-kicker-tracking); text-transform: uppercase; color: var(--lp-text-3); font-weight: 600; }
.lp-focusable:focus-visible { outline: none; box-shadow: var(--lp-focus-ring); }

/* State rail grammar (Forge): 3-4px inline-start rail; never fill a panel with semantic color. */
.lp-state-rail { border-inline-start: 4px solid var(--lp-status-idle); }
.lp-state-rail[data-state="running"] { border-inline-start-color: var(--lp-status-running); }
.lp-state-rail[data-state="waiting"] { border-inline-start-color: var(--lp-status-waiting); }
.lp-state-rail[data-state="effective"] { border-inline-start-color: var(--lp-status-effective); }
.lp-state-rail[data-state="failed"] { border-inline-start-color: var(--lp-status-failed); }

/* Operations Spine skeleton (Goal → Work → Runs → Evidence) */
.lp-spine { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--lp-shell-border); border: 1px solid var(--lp-shell-border); border-radius: var(--lp-radius-panel); overflow: hidden; }
.lp-spine-segment { min-width: 0; padding: var(--lp-space-4); background: var(--lp-shell-panel); border-block-start: 3px solid var(--lp-status-idle); }
.lp-spine-segment[data-state="active"] { border-block-start-color: var(--lp-status-running); }
.lp-spine-segment[data-state="attention"] { border-block-start-color: var(--lp-status-waiting); }
.lp-spine-segment[data-state="verified"] { border-block-start-color: var(--lp-status-effective); }
.lp-spine-segment[data-state="failed"] { border-block-start-color: var(--lp-status-failed); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
