/* ADR-0065 step 5: the legacy colour, spacing and radius aliases are retired; components use Fluent's tokens (--colorNeutral*, --colorBrand*, --spacing*, --borderRadius*)
   directly. Status colours and --color-primary live in tokens.css. What remains here has no Fluent equivalent. */
:root,
[data-theme="light"] {
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;   /* no web font ships: the old first choice was never loaded and amounts fell back to Courier; Fluent's mono stack would bring Courier back on a Mac */
}

/* Danger buttons: the Fluent control paints its own accent fill over the host, so colour the control part itself. */
fluent-button.nas-button--danger::part(control) {
  background: var(--color-danger);
  color: white;
  border-color: var(--color-danger);
}
fluent-button.nas-button--danger:hover::part(control) { filter: brightness(0.92); }

/* A wide FluentDataGrid scrolls inside its own container instead of widening the page (ADR-0065 page recipe; the grid has no overflow parameter). */
.nas-table-scroll { overflow-x: auto; max-width: 100%; }

/* A plain link that wraps a whole card or tile (a clickable metric tile): the link itself must not draw a box or an underline. */
.nas-link-block { display: flex; color: inherit; text-decoration: none; }

/* Controls (buttons, filters, tab strips) that must not appear on paper: put this class on their wrapper. A rule on `button` does not reach a `fluent-button`. */
@media print { .nas-no-print { display: none !important; } }
