/*
 * The lead signed (lane t22-signflow, 8 Oct 2026; js/v21_leadsign.js): a BRIGHT YELLOW border and banner on the lead's
 * board card and at the top of its open job, with Confirm, Accept, the Zoho Sign link and Done, I've signed. Yellow is
 * the signal, so it is a fixed colour on purpose (dark ink on it in every theme); the rest uses the desk's own tokens.
 * Nothing moves. No inline styles.
 */
:root { --lsg-yellow: #ffd60a; --lsg-yellow-soft: #fff6bf; --lsg-ink: #1d1a05; }

/* ---------- the board card ---------- */
.is-leadsign {
  outline: 4px solid var(--lsg-yellow); outline-offset: -2px;
  box-shadow: 0 0 0 2px var(--lsg-yellow), 0 6px 18px color-mix(in srgb, var(--lsg-yellow) 35%, transparent);
}
.is-leadsign-both { outline-style: dashed; }
.lsg-card {
  display: flex; align-items: flex-start; gap: 8px; margin: 0 0 6px; padding: 6px 8px; border-radius: 8px;
  background: var(--lsg-yellow); color: var(--lsg-ink); font-size: .8125rem; line-height: 1.2rem;
}
.lsg-card-l { display: grid; gap: 1px; min-width: 0; overflow-wrap: anywhere; }
.lsg-card-who { font-weight: 800; font-size: .875rem; }
.lsg-card-sub { font-weight: 600; }
.lsg-tag {
  flex: none; padding: 1px 8px; border-radius: 5px; background: var(--lsg-ink); color: var(--lsg-yellow);
  font-size: .75rem; font-weight: 800; letter-spacing: .06em;
}
.lsg-tag-card { font-size: .6875rem; padding: 0 6px; margin-top: 2px; }

/* ---------- the open job ---------- */
.lsg-top {
  max-width: 1160px; margin: 0 auto 12px; display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px;
  background: var(--lsg-yellow-soft); color: var(--lsg-ink); border: 4px solid var(--lsg-yellow);
}
.lsg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.lsg-head h2 { margin: 0; font-size: 1.25rem; color: var(--lsg-ink); }
.lsg-when { font-weight: 700; }
.lsg-line, .lsg-said { margin: 0; font-size: .9375rem; line-height: 1.4rem; color: var(--lsg-ink); }
.lsg-said { opacity: .85; }
.lsg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.lsg-err { margin: 0; color: #8a1000; font-weight: 700; font-size: .875rem; }
.lsg-late { border-color: #e09a00; }
.lsg-top a.lsg-open { text-decoration: none; }
.lsg-top .btn:focus-visible, .lsg-top a.lsg-open:focus-visible { outline: 3px solid var(--lsg-ink); outline-offset: 2px; }
