/* CRM5A – KOMPL1: is a customer card ready for an invoice (crm-quality.mjs). Calm, thin, the same in the list and on the card. */
.xa-q{flex:none;display:inline-flex;align-items:center;justify-content:center;margin-left:6px;font-size:11.5px;font-weight:400;line-height:1;border-radius:999px;vertical-align:middle}
.xa-q.ok{width:18px;height:18px;background:var(--ok-soft);color:var(--ok)}
.xa-q.bad{padding:3px 8px;background:var(--warn-soft);color:var(--warn);border:1px solid var(--warn-line)}
.xa-ccard-main strong{display:flex;align-items:center;min-width:0}
.xa-qbar{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:10px 14px;border-radius:14px;font-size:14px;font-weight:400;line-height:1.4}
.xa-qbar.ok{background:var(--ok-soft);color:var(--ok)}
.xa-qbar.bad{background:var(--warn-soft);color:var(--text);border:1px solid var(--warn-line)}
.xa-qbar .xa-qdot{flex:none;width:9px;height:9px;border-radius:50%;background:currentColor}
.xa-qbar.bad .xa-qdot{background:var(--warn)}
.xa-qbar .xa-qlbl{color:var(--warn);font-weight:500}
.xa-qbar > span:not(.xa-qdot){flex:1;min-width:0}
.xa-qbar .xa-btn{flex:none}
.xa-sort{flex:none;min-height:40px;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;font-size:14px}
.xa-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.xa-toolbar .xa-inline-search{flex:1 1 260px}

/* CRM5B – role chips of contact persons, the author's own note and relationship dot (crm-people.mjs) */
.xa-role{display:inline-flex;align-items:center;margin-left:6px;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:400;line-height:1.3;background:var(--surface-2,rgba(127,127,127,.12));color:var(--muted,inherit);vertical-align:middle;white-space:nowrap}
.xa-role.main{background:var(--ok-soft);color:var(--ok)}
.xa-rel{flex:none;display:inline-block;width:9px;height:9px;margin-left:6px;border-radius:50%;vertical-align:middle}
.xa-rel.good{background:#3aa66a}.xa-rel.neutral{background:#e0b12a}.xa-rel.bad{background:#d9534f}
.xa-pnote h2 small{font-size:12px;font-weight:400;opacity:.7}
.xa-pnote-rel{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 10px}
.xa-pnote-r{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;font-size:13px;font-weight:400;cursor:pointer}
.xa-pnote-r .xa-rel{margin:0}
.xa-pnote-r[aria-pressed="true"]{border-color:currentColor;box-shadow:0 0 0 1px currentColor inset}
.xa-pnote-r.good[aria-pressed="true"]{color:#2f8a57}.xa-pnote-r.neutral[aria-pressed="true"]{color:#a87f12}.xa-pnote-r.bad[aria-pressed="true"]{color:#c0413d}
.xa-pnote-text{width:100%;box-sizing:border-box;min-height:76px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;font-size:14px;font-weight:400;line-height:1.45;resize:vertical}
.xa-pnote-sens{margin:8px 0 0;padding:8px 12px;border-radius:12px;font-size:12.5px;font-weight:400;line-height:1.4;background:var(--warn-soft);border:1px solid var(--warn-line);color:var(--text)}
.xa-pnote-acts{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:10px}
.xa-pnote-st{font-size:12.5px;opacity:.75}
.xa-primary-field{align-self:end;min-height:40px}

/* CRM5C – the note's own field box (the dictation microphone stays inside it) */
.xa-pnote-field{position:relative;margin:0}
.xa-pnote-field .xa-pnote-text{padding-right:44px}
.xa-pnote-acts{margin-top:12px}

/* CRM6 – a ready card without a billing person: a calm tip under "Pripravená na faktúru" (crm-quality.mjs) */
.xa-qtip{display:block;margin-top:2px;font-size:12.5px;font-weight:400;line-height:1.4;color:var(--text);opacity:.8}
