/* 2.61 Stage 2 — message translation and supervisor messages (customer pages). Tokens only; logical properties for RTL. */

/* a quiet action under a message of the team: "Translate", "Show original" */
.xm-lnk{min-height:24px;padding:0;border:0;background:none;font:inherit;font-weight:700;color:var(--tifd);text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.xm-lnk:focus-visible{outline:2px solid var(--tifd);outline-offset:2px;border-radius:var(--s1)}
.xm-act{display:flex;flex-wrap:wrap;align-items:center;gap:calc(var(--s1) / 2) var(--s2);margin:calc(var(--s1) / 2) 0 0;font-size:.86em}
.xm-say{margin:0;color:var(--mu);font-weight:600}

/* the translation, under the text it belongs to */
/* --a / --a-tint: the account pages' accent (the court's colour); the site's own where a page has none */
.xm-tr{margin:var(--s1) 0 0;padding:var(--s1) calc(var(--s1) * 1.5);border-inline-start:3px solid var(--a, var(--tif));border-radius:var(--r-ctl);background:var(--a-tint, var(--tif-tint))}
.xm-tr-text{margin:0;color:var(--ink);font-size:inherit;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
.xm-tr-foot{margin:calc(var(--s1) / 2) 0 0;color:var(--mu);font-size:.82em}
.xm-tr[hidden],.xm-lnk[hidden],.xm-say[hidden]{display:none!important}

/* the supervisor's message: its label, and the high-priority accent */
.cm-msg.xm-sup .cm-bub{border-color:var(--amber);border-inline-start-width:4px;background:var(--amberbg)}
.xm-sup-l{padding:1px var(--s1);border-radius:var(--r-pill);background:var(--amber);color:var(--panel);font-size:.9em;font-weight:800}
