/* Components added by the generator that are not in the v11 references. */

/* Shown on the /check/ pages in the languages whose commercial terms are kept in
   English — see docs/decisions.md, Step 4 scope. */
.lang-note{max-width:var(--max);margin:0 auto;padding:14px 24px}
.lang-note p{margin:0;padding:12px 16px;border-radius:var(--rs);background:var(--bg3);
  color:var(--ink2);font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:12.5px;
  line-height:1.5;letter-spacing:.01em}
.dark .lang-note p,.lang-note.on-dark p{background:rgba(255,255,255,.06);color:var(--on-dark2)}
[dir="rtl"] .lang-note p{text-align:right}
@media(max-width:760px){.lang-note{padding:12px 20px}}

/* --- Contrast corrections -------------------------------------------------
 * The reference's muted-text tokens fail WCAG AA at the sizes they are used at:
 * --ink3 measured 3.21-3.62:1 on the light backgrounds and --on-dark3 3.81-3.85:1
 * on the dark ones, against a 4.5:1 requirement for text this small. Since the
 * build order sets accessibility >= 95 as a hard check, the tokens are darkened
 * (light backgrounds) and lightened (dark backgrounds) by the minimum that clears
 * 4.5:1 everywhere they are used. This is a deliberate, visible departure from the
 * reference — recorded in docs/decisions.md.
 *
 *   --ink3     #86868b -> #646469   (worst case 4.64:1, on --cream2)
 *   --on-dark3 alpha .42 -> .55     (worst case 5.72:1, on --dark2)
 *   .tag.red   #c22f1e -> #b82c1c   (4.45:1 -> 4.85:1 on --cream2)
 */
:root{--ink3:#646469;--on-dark3:rgba(245,245,247,.55)}
.tag.red{color:#b82c1c}
