/* fixture-theme.css — adia-theme-audit selftest fixtures (C6, lld-0012).
   One known positive and one known negative per class/sub-kind. Values are
   verified against the monorepo's own packages/web-components (via
   --framework-root) at build time, not guessed — see expected.json for
   the per-case rationale where a value had to be adjusted from the LLD's
   illustrative text to one that provably resolves as intended (f1b, f2b,
   f4a: chip-ui does not exist in this catalog; tag-ui is the real stem). */

:root {
  /* f2a: alias-of-alias — --brand-fg resolves 1:1 to --a-fg. */
  --brand-fg: var(--a-fg);

  /* f2b: literal-equals-token — 0.375rem is --a-radius-min's own literal
     default (foundation/radius.css), a plain (non-calc) token so the
     literal comparison is meaningful in both schemes. */
  --panel-radius: 0.375rem;
}

.brand-label {
  color: var(--brand-fg);
}

card-ui {
  /* f1b: --card-inset override that does NOT match card.css's own
     default. card.css: --card-inset: var(--a-inset), which chains
     --a-inset -> --a-inset-md -> --a-space-4. --a-space-2 is a
     differently-scaled parametric token (0.5rem base vs 1rem), so this
     provably does not resolve equal — no finding expected. */
  --card-inset: var(--a-space-2);
}

card-ui > header[hidden] {
  /* f1a: restated default, high. card.css (gh#2295, "header auto-collapses
     when hidden or genuinely empty") now declares exactly this rule
     (`& > header[hidden], & > header:not(:has(> *)) { display: none; ... }`)
     — this fixture originally planted a NEGATIVE case here (no framework
     twin existed at authoring time); the framework grew one underneath it
     mid-flight, which the selftest's own re-run against --framework-root
     caught. Left in place as the positive C2 test instead of picking a
     new negative selector, since a real drift-detection catch like this
     is exactly what C6's "verified against the monorepo, not guessed"
     discipline is for. */
  display: none;
}

.callout {
  /* f2c: fallback-literal, raw color fallback -> high. --a-fg-subtle is
     a real framework token (colors/semantics/core.css). */
  color: var(--a-fg-subtle, #888); /* adia-lint-disable RAW-COLOR: seeded fixture for adia-theme-audit's own f2c case, the literal fallback is the violation under test, a permanent fixture choice rather than a pending gap, so it cites no tracking ticket */
}

.widget {
  /* f2d: bad-pair (Q4 ruling) — strong|text is an anti-canonical
     combination per scripts/dev/audit-token-pair.mjs's table. */
  --widget-bg: var(--a-warning-strong);
  --widget-fg: var(--a-warning-text);
}

.x {
  /* f3a: last-wins, full property overlap -> high (earlier rule fully
     shadowed by the identical-context duplicate below). */
  color: red;
}
.x {
  color: blue;
}

.y {
  /* f3b: no last-wins — the duplicate below sits in a different at-rule
     context (@media), a distinct key. */
  color: green;
}
@media (max-width: 600px) {
  .y {
    color: green;
  }
}

.never-rendered {
  /* f3c: class-3 census candidate. B1 ships no browser — this always
     reports UNMEASURED, never a false "dead" (the census is B2 scope). */
  color: purple;
}

.app-tag-pill {
  /* f4a: hand-built-component — S1 (stem "tag", tag-ui exists in the
     catalog) + S2 (4 of tag.css's own anatomy properties: display,
     border-radius, padding, gap) agree -> high. */
  display: inline-flex;
  border-radius: 999px;
  padding: 2px 6px;
  gap: 4px;
}

html, body {
  /* f4b: no finding — pure layout on native tags, no appearance
     properties, no catalog stem. */
  height: 100%;
}
