/* the lead page's own pieces: the AI's planned steps with Move and Cancel, the touchpoint's AI reading with Fix, the
   duplicate merge dialog */
.w-plan-a{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.w-plan-a .btn{min-height:32px}
.w-tpread{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-top:4px}
.w-tpread .w-aimark{flex:none}
.w-tpread .lnk{min-height:32px}
.w-tpcorr{color:var(--muted);font-size:12px}
.w-fixf{border:0;padding:0;margin:0 0 var(--s2)}
@media (max-width:560px){.w-plan-a .btn,.w-tpread .lnk{min-height:40px}}
/* round 6: where the lead came from, who judged it junk, the audiences it is in */
.w-lh-src span{color:var(--ink,inherit)}
.w-lh-junk{margin-top:2px}
.w-segs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:10px}
.w-srcchip{font-size:11px;padding:0 6px;margin-right:4px;vertical-align:1px}
.w-claimed{font-size:11px;padding:0 5px;border-radius:4px;background:var(--warn-bg);color:var(--warn);white-space:nowrap}
.w-visit h3 .w-vproj{text-transform:none;letter-spacing:0;font-weight:500}
.w-fthumb svg{width:16px;height:16px}
/* phone: the action bar's "More" list holds junk and erase inline under its own ⋯, not as a second pop-up that covered
   Move stage and Mark lost and ran off the right edge (lane own-lead-dups, 17 Nov, at 390 px) */
@media (max-width:760px){.w-ab-rest.open .w-abx{display:flex;flex-direction:column;align-items:stretch}.w-ab-rest.open .w-abx .w-menu-up{position:static;min-width:0;box-shadow:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:4px 0 0;margin-top:2px}.w-ab-rest.open .w-abx .w-menu-up button{padding:10px 12px}}
.w-tperr{margin:0 16px 10px}
/* a passed visit on the lead page: Attended and No-show side by side, full width on a phone */
.w-vmark{display:flex;gap:8px;flex-wrap:wrap}.w-vmark .btn{flex:1 1 120px;min-height:40px}
/* the unread line is one sentence: its sparkle stays beside it, not alone on a line above (seen at 1440) */
.w-tpunread{flex-wrap:nowrap}.w-tpunread>span:last-child{flex:1;min-width:0}
/* a unit the buyer named on a touchpoint: the words, then Link (wraps under them on a phone) */
.w-unamed{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}.w-unamed>span{flex:1 1 180px;min-width:0;overflow-wrap:anywhere}
/* loop 4: on the lead page every button of a task shows on a phone, so its "More actions" ⋯ (which folds them on Today)
   was a button that did nothing */
.w-task.w-task-plain .w-tmore{display:none}
/* four touchpoint kinds (Call, Site visit, Meeting, Note) on one line on a phone, none wrapping (lead loop 5) */
.w-tpk3 button{white-space:nowrap;min-width:0}
@media (max-width:440px){.w-tp .w-tpk3 button{gap:4px;padding:0 4px;font-size:13px}.w-tp .w-tpk3 button svg{width:14px;height:14px}}
/* the sheet slides up once per opening, not on every redraw of it (lead loop 5) */
.w-tpq2.w-tp.w-tpstill{animation:none}
/* livecrm round 5: the other kinds, a small row under the four */
.w-tpk2{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}
.w-tpk2 .chip{cursor:pointer;min-height:28px}
.w-tpk2 .chip.on{background:var(--act);color:#fff;border-color:var(--act)}
/* loop 9b: a refusal in Reassign and Add or Correct a fact (#raerr, #cferr) was grey, the same as the help text under it */
form[data-modalform="reassign"] .w-aterr,form[data-modalform="correctf"] .w-aterr{color:var(--bad)}
/* loop 9b: by keyboard, Add budget, the visit days and Book visit were focused under the sticky Staff actions bar (at
   1440, and most of the card at 200% zoom): the page keeps room for the bar when it scrolls a focused control in */
#view[data-route="lead"]{scroll-padding-bottom:96px}
/* lead loop 9b: a 120-character buyer name took five or six lines of the phone's sticky top bar: two at most, the
   rest cut with an ellipsis (the full name is on the lead page itself) */
@media (max-width:760px){.top h1#title:not(.w-has-sub){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere}}

/* the Website card (lead-source.js webCard) */
.w-web h3 .w-web-back{font:600 11px/1 var(--body);text-transform:none;letter-spacing:0;color:var(--good);background:var(--good-bg);border-radius:4px;padding:4px 6px}
.w-web-n{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s2)}
.w-web-n div{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r2);padding:6px 10px;min-width:0}
.w-web-n small{display:block;color:var(--muted);font-size:11px}.w-web-n b{font-weight:600;font-variant-numeric:tabular-nums}
.w-web-read{margin:4px 0 0;padding-left:18px}.w-web-read li{margin:2px 0}
/* a call's outcome (dayone): four taps, each a 44 px target; the chosen one filled */
.w-tpout{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}
.w-tpout .w-lab{width:100%;margin:0}
.w-tpout .chip{cursor:pointer;min-height:44px;padding:0 14px}
.w-tpout .chip.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
/* v2-source: the row's small source label (a picture + two or three words), the ad's picture, the owner's raw values */
.w-srct{display:inline-flex;align-items:center;gap:3px;font-size:11px;line-height:16px;color:var(--muted);white-space:nowrap;max-width:100%;min-width:0;vertical-align:middle}
.w-srct svg{flex:0 0 auto}
.w-srct span{overflow:hidden;text-overflow:ellipsis}
.w-srct-ad{color:var(--warn,#8a5a00)}
/* in an Inbox row the name keeps its room: the label gives way first, down to its picture */
.w-srct-row{flex:0 1000 auto;min-width:12px;max-width:9.5em;font-weight:400;overflow:hidden}
.w-row-top:has(.w-srct-row) .w-rstate{flex-shrink:50;min-width:2.5em}
.w-srct-ph{display:none}
@media (max-width:760px){.w-who .w-srct-ph{display:flex;max-width:52vw}}
.w-src-th{width:28px;height:28px;object-fit:cover;border-radius:4px;vertical-align:middle;margin-right:6px}
.w-src-raw{display:inline-block;margin-left:6px;vertical-align:top}
.w-src-raw summary{cursor:pointer;color:var(--muted);font-size:12px}
/* on a phone the opener is a full tap target (44 px) without growing the line */
@media (max-width:760px){.w-src-raw summary{position:relative}.w-src-raw summary::after{content:"";position:absolute;left:-8px;right:-8px;top:50%;height:44px;transform:translateY(-50%)}}
.w-src-raw dl{margin-top:4px;font-size:12px;word-break:break-all}
.w-lh-src .w-src-more span{color:inherit}
