/* @ekm-tags: style, billing, clinical */
/*
 * Billing Communication rebuild, Slice B: Team Notes read status and the post box (js/ekm-bc2-notes.js). Tokens only, from
 * css/ekm-bc2.css (scoped under .bc2, both themes). Every new control is at least 44px tall; no pills, no white surfaces.
 */
.bc2 .bc2n-status { font-size:13px; color:var(--text-2); }
.bc2 .bc2-notes li.is-unread .bc2n-unread { color:var(--info); font-weight:600; }
.bc2 .bc2n-post { display:flex; flex-direction:column; gap:8px; margin-top:6px; padding-top:14px; border-top:1px solid var(--line); }
.bc2 textarea.bc2n-text { display:block; width:100%; box-sizing:border-box; min-height:88px; padding:10px 12px; resize:vertical;
  font:14px/1.45 var(--font-ui); }
.bc2 .bc2n-post__row { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.bc2 .bc-btn[data-bc2n] { min-height:44px; }
.bc2 .bc2n-post .bc-btn--primary { padding:0 20px; }

/* Contact log (M5, js/ekm-bc2-contactlog.js): the section at the end of the Next Action tab. Tokens only; the form reuses .bc2a-form. */
.bc2 .bc2cl { display:flex; flex-direction:column; gap:10px; margin-top:16px; padding-top:14px; border-top:1px solid var(--line); }
.bc2 .bc2cl-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.bc2 .bc2cl-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.bc2 .bc2cl-entry { background:var(--surface-2); border-left:2px solid var(--info); border-radius:var(--r-control); padding:10px 12px;
  display:flex; flex-direction:column; gap:6px; }
.bc2 .bc2cl-entry--payment_note { border-left-color:var(--line-strong); }
.bc2 .bc2cl-entry__head { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; }
.bc2 .bc2cl-entry__type { font-weight:600; color:var(--text); }
.bc2 .bc2cl-lines { margin:0; display:flex; flex-direction:column; gap:4px; }
.bc2 .bc2cl-lines > div { display:grid; grid-template-columns:110px minmax(0, 1fr); gap:8px; }
.bc2 .bc2cl-lines dt { font-size:13px; font-weight:600; color:var(--text-2); }
.bc2 .bc2cl-lines dd { margin:0; overflow-wrap:anywhere; }
.bc2 .bc2cl-form .is-invalid { border-color:var(--danger); }
.bc2 .bc2a-doconly { margin:0; padding:8px 10px; background:var(--surface-2); border-left:2px solid var(--warning); border-radius:var(--r-control); font-size:13px; }
@media (max-width:560px) { .bc2 .bc2cl-lines > div { grid-template-columns:1fr; gap:0; } }
