/* /linkedin-outreach/ in the painted theme (template-parts/painted/pages/linkedin-outreach.php): the header's thread that
   writes itself, Jordan and Maya over ten days, beside the guide's seven steps lighting up as it goes, each with when it
   happens, and the card for the people who never accept; on a desktop the steps spread down the thread's height, so
   the card ends level with its foot. The guide below is the shared renderer's (lines.css .gd-*, guide.css). The play is
   assets/js/pages/linkedin-outreach.js; with reduced motion or no script the thread stands as it ends. */

.lot { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: start; text-align: left; }

/* ---------- the thread ---------- */
.lot-win { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(70, 50, 36, .06), 0 16px 32px -22px rgba(80, 52, 40, .5); }
.lot-hd { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.lot-hd img { width: 34px; height: 34px; border-radius: 50%; }
.lot-hd p { display: grid; gap: 1px; margin: 0; }
.lot-hd b { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.lot-hd span { font-size: 12.5px; color: var(--mute); }
.lot-now { margin-left: auto; padding: 6px 11px; border-radius: 999px; background: var(--out-t); font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--out-d); }
.lot-now b { font-size: 12.5px; }
.lot-th { display: grid; gap: 8px; margin: 0; padding: 14px 16px 8px; list-style: none; }
.lot-b { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; align-items: start; }
.lot-day { padding-top: 7px; font: 600 10px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.lot-ev { display: inline-flex; align-items: center; justify-self: start; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--sunk); font-size: 12.5px; color: #55545C; text-decoration: none; }
.lot-ev svg.i { width: 13px; height: 13px; }
.lot-won .lot-ev { background: var(--ai-t); font-weight: 600; color: var(--ai-d); }
.lot-msg { display: flex; align-items: flex-end; gap: 8px; min-width: 0; }
.lot-out .lot-msg { flex-direction: row-reverse; }
.lot-msg img { flex: none; width: 26px; height: 26px; border-radius: 50%; }
.lot-bub { display: grid; gap: 6px; max-width: 80%; padding: 9px 13px 10px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; color: var(--ink); text-decoration: none; }
.lot-out .lot-bub { border-bottom-right-radius: 5px; background: var(--out-t); }
.lot-in .lot-bub { border-bottom-left-radius: 5px; background: #F1EFEA; }
.lot-len { font: 500 10.5px/1 var(--mono); color: var(--out-d); }
.lot-len b { font-weight: 700; }
.lot-ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 10px 16px 12px; border-top: 1px solid var(--line-2); font-size: 12px; line-height: 1.4; color: var(--mute); }
.lot-re { flex: none; height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ink); font: 600 12.5px/1 var(--sans); color: #fff; cursor: pointer; }

/* ---------- the method beside it, and the people who never accept ---------- */
.lot-side { display: grid; align-content: start; gap: 10px; }
.lot-sh { margin: 2px 2px 0; font: 600 9.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--out-d); }
.lot-steps { display: grid; gap: 2px; margin: 0; padding: 8px; list-style: none; border-radius: 16px; background: rgba(255, 255, 255, .78); }
.lot-steps a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 13px; line-height: 1.3; color: #8E8C93; text-decoration: none; transition: color .3s, background .3s; }
.lot-steps i { display: grid; flex: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sunk); font: 600 11px/1 var(--mono); font-style: normal; color: var(--mute); transition: background .3s, color .3s; }
.lot-steps a > span { display: grid; gap: 2px; min-width: 0; }
.lot-steps small { font: 500 10px/1.2 var(--mono); letter-spacing: .04em; color: var(--mute-2); transition: color .3s; }
.lot-steps li.on small { color: var(--mute); }
.lot-steps li.on a { color: var(--ink); }
.lot-steps li.on i { background: var(--out); color: #fff; }
.lot-steps li.now a { background: var(--out-t); }
.lot-br { display: grid; gap: 4px; padding: 12px 14px; border: 1.5px dashed var(--out); border-radius: 14px; background: #fff; font-size: 13px; line-height: 1.45; color: #3A3943; text-decoration: none; transition: box-shadow .4s; }
.lot-br-h { font-weight: 600; color: var(--ink); }
.lot.br-on .lot-br { box-shadow: 0 0 0 4px var(--out-t); }

/* ---------- the play: each beat keeps its place and fades in, a sent one after its dots ---------- */
.lot.is-playing .lot-b { opacity: 0; transform: translateY(6px); }
.lot.is-playing .lot-b.shown { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
.lot-b.typing .lot-tx, .lot-b.typing .lot-len { display: none; }
.lot-b.typing .lot-bub::before { content: ""; width: 30px; height: 9px; background: radial-gradient(circle, currentColor 2.2px, transparent 2.8px) 0 50% / 10px 9px repeat-x; opacity: .45; animation: lot-dots 1s ease-in-out infinite; }
@keyframes lot-dots { 50% { opacity: .9; } }

/* a desktop: the method column as tall as the thread, its steps sharing the height, the card at its foot */
@media (min-width: 1101px) {
  .lot { align-items: stretch; }
  .lot-side { grid-template-rows: auto 1fr auto; }
  .lot-steps { grid-auto-rows: 1fr; }
  .lot-steps li { display: flex; }
  .lot-steps a { flex: 1; }
}
@media (max-width: 1100px) {
  .lot { grid-template-columns: minmax(0, 1fr); }
  .lot-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .lot-sh { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .lot-side { grid-template-columns: minmax(0, 1fr); }
  .lot-steps small { display: none; }
  .lot-b { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lot-day { padding-top: 0; }
  .lot-bub { max-width: 88%; }
  .lot-ft { flex-wrap: wrap; }
}
