/* OS2 Client journey: one column per stage that holds a client, a card per client. Columns stack on a phone.
   uiclients-1126: a strip of filter chips on top (figure first, word after), red cards with a red edge, rules folded. */
.os2-jr-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.os2-jr-stat { display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--rule, #e5e9f0);
  border-radius: var(--radius-sm, 8px); background: var(--paper, #fff); color: var(--ink, #0f172a); font: inherit; cursor: pointer;
  transition: background-color var(--dur-1, .12s) ease, border-color var(--dur-1, .12s) ease; }
.os2-jr-stat b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.os2-jr-stat span { font-size: 13px; color: var(--ink-2, #475569); }
.os2-jr-stat.is-alert b { color: var(--alert, #c2261d); }
.os2-jr-stat:hover:not(:disabled) { border-color: var(--rule-strong, #cbd3de); background: var(--wash, #eef2f6); }
.os2-jr-stat:focus-visible { outline: 2px solid var(--ink, #0f172a); outline-offset: 2px; }
.os2-jr-stat:disabled { cursor: default; background: transparent; border-style: dashed; }
.os2-jr-stat:disabled b, .os2-jr-stat:disabled span { color: var(--ink-3, #606c80); }
.os2-jr-stat[aria-pressed="true"] { background: var(--ink, #0f172a); border-color: var(--ink, #0f172a); }
.os2-jr-stat[aria-pressed="true"] b, .os2-jr-stat[aria-pressed="true"] span { color: var(--paper, #fff); }
.os2-jr-none { margin: 0 0 12px; font-size: 13px; color: var(--ink-3, #606c80); }

.os2-jr-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; align-items: start; }
.os2-jr-col { min-width: 0; background: var(--paper-2, #f6f8fb); border: 1px solid var(--rule, #e5e9f0); border-radius: 10px; padding: 10px; }
.os2-jr-col[hidden] { display: none; }
.os2-jr-col-h { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 2px; font-weight: 600; font-size: 14px; }
.os2-jr-col-n { font-variant-numeric: tabular-nums; color: var(--ink-3, #606c80); }
.os2-jr-col-note { font-size: 12px; color: var(--ink-3, #606c80); margin: 0 0 8px; }
.os2-jr-col details > summary { cursor: pointer; list-style: none; }
.os2-jr-col details > summary::-webkit-details-marker { display: none; }
.os2-jr-show { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; font-weight: 600; color: var(--ink, #0f172a);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-strong, #cbd3de); }
.os2-jr-col details[open] .os2-jr-show { display: none; }
.os2-jr-card { display: block; background: var(--paper, #fff); border: 1px solid var(--rule, #e5e9f0); border-radius: 8px; padding: 9px 11px; margin: 0 0 8px; color: inherit; text-decoration: none; min-width: 0; }
.os2-jr-card[hidden] { display: none; }
a.os2-jr-card:hover, a.os2-jr-card:focus-visible { border-color: var(--ink, #0f172a); outline: none; }
.os2-jr-card.is-red, .os2-jr-card.is-late { border-left: 4px solid var(--alert, #c2261d); padding-left: 8px; }
.os2-jr-name { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.os2-jr-dots { display: inline-flex; gap: 4px; flex: none; }
.os2-jr-meta { font-size: 12px; color: var(--ink-3, #606c80); margin-top: 1px; overflow-wrap: anywhere; }
.os2-jr-owners { color: var(--ink-2, #475569); }
.os2-jr-chips { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
.os2-jr-since, .os2-jr-check { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; line-height: 18px;
  background: var(--paper-2, #f8fafc); border: 1px solid var(--rule, #e5e9f0); color: var(--ink-2, #3a4659); }
.os2-jr-since.is-late { color: var(--alert, #c2261d); background: var(--alert-soft, #fee2e2); border-color: transparent; font-weight: 600; }
.os2-jr-items { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; line-height: 1.35; }
.os2-jr-items li { display: flex; gap: 6px; align-items: baseline; margin-top: 3px; overflow-wrap: anywhere; }
.os2-jr-items .os2-dot { flex: none; position: relative; top: 1px; }
.os2-jr-empty { font-size: 13px; color: var(--ink-3, #606c80); padding: 4px 2px; }
.os2-jr-foot { margin-top: 16px; font-size: 13px; color: var(--ink-3, #606c80); }
.os2-jr-foot > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--ink-2, #475569); }
.os2-jr-foot ul { margin: 6px 0 0 18px; padding: 0; }
@media (max-width: 640px) {
  .os2-jr-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .os2-jr-stat { flex-direction: column; align-items: flex-start; gap: 0; padding: 6px 10px; text-align: left; }
  .os2-jr-stat span { font-size: 12px; line-height: 1.25; }
  .os2-jr-stat.is-stage:disabled { display: none; }   /* the "Nobody in ..." line names the empty stages */
  .os2-jr-board { grid-template-columns: 1fr; }
}
