/* ============================================================================
   JOB NOTES (17 Oct 2026): what was said before the work, on the client (js/job-notes.js).
   A note is a .todo--card that is not a link: what was said, its lines, who and when, what it became, and its
   actions. The drawer is the global .filter-panel--drawer (spacing from the --drawer-* tokens).
   ============================================================================ */
.jn-card { cursor: default; align-items: flex-start; }
.jn-card:hover { background: var(--color-surface); }
.jn-card .todo__icon { margin-top: var(--space-4); }
/* .jn-card__client starts the who-and-when line at body size (no text under 16px, Peter 12 Nov 2026) */
.jn-card__lines { margin: var(--space-1) 0 var(--space-2); padding-left: 18px; font-size: var(--text-base); color: var(--color-text); display: grid; gap: 2px; }
.jn-card__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jn-empty { font-size: var(--text-base); color: var(--color-text-muted); margin: 0; }
.jn-list { display: grid; gap: var(--drawer-row-gap, 14px); }
/* the who, when and what-it-became line at body size in grey (no text under 16px, Peter 6 and 12 Nov 2026) */
.jn-card .todo__subtext { font-size: var(--text-base); line-height: var(--leading-body); letter-spacing: 0; }
.jn-drawer__said { font-size: var(--text-base); color: var(--color-text); margin: 0; }
.jn-drawer__clients { display: grid; gap: 2px; max-height: 50vh; overflow-y: auto; }
.jn-drawer__clients .menu__item { width: 100%; text-align: left; }
.jn-drawer__go { margin-top: 8px; }
.jn-drawer .search-field { width: 100%; max-width: none; }
.jn-drawer .search-field .input { width: 100%; }
/* the note under a Client field (invoice-create): one quiet line and one button */
.jn-hint { margin-top: 10px; padding: 12px 14px; border: var(--border-width) solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.jn-hint p { margin: 0 0 10px; font-size: var(--text-sm); color: var(--color-text-muted); }
