/* Callers (lead qualifiers) and the sales manager's Hot leads + Team pages */
.call-list { list-style: none; margin: var(--s3, 12px) 0 0; padding: 0; display: grid; gap: 12px; }
.call-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3, 16px); padding: 12px; position: relative; overflow: hidden; }
.call-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--c-sales); }
.call-card.due::before { background: var(--c-client); } .call-card.hot::before { background: #E5484D; }
.call-top { display: flex; align-items: center; gap: 12px; width: 100%; padding: 4px 4px 10px 8px; background: none; border: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.call-top .grow { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.call-top strong { font-size: 18px; } .call-top .go { color: var(--muted); }
.call-top .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call-acts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding-left: 4px; }
.call-acts .crm-act { min-height: 76px; }
@media (max-width: 640px) { .call-acts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .call-acts .crm-act { min-height: 72px; font-size: 13.5px; padding: 8px 2px; } }
.hot-from { color: #F07A7E; font-weight: 600; }
.hot-note { margin: 0 0 10px 8px; padding: 10px 12px; border-radius: 12px; background: var(--raised); font-size: 15px; line-height: 1.5; }
.hot-box { border-left: 5px solid #E5484D; } .hot-box p { margin: 6px 0 0; }
.pre { white-space: pre-line; }
.big-q { font-size: 20px; font-weight: 700; text-align: center; margin: 8px 0 0; }
.stack.center { align-items: center; text-align: center; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.tool-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 130px; padding: 16px; border-radius: var(--r3, 16px); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: inherit; text-align: left; cursor: pointer; }
.tool-tile:hover { border-color: var(--line-2); text-decoration: none; transform: translateY(-1px); }
.tool-tile strong { font-size: 17px; line-height: 1.25; }
@media (max-width: 640px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.script-text { white-space: pre-line; font-size: 18px; line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; margin-bottom: var(--s5, 24px); }
.team-card { display: flex; flex-direction: column; gap: 12px; margin: 0; } .team-card.off { opacity: .6; }
.tstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tstat { padding: 10px 8px; border-radius: 12px; background: var(--raised); border-top: 4px solid var(--tone, var(--line-2)); text-align: center; }
.tstat b { display: block; font-size: 24px; line-height: 1.1; } .tstat span { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-top: 2px; }
.tstat.zero { opacity: .55; }
.person-chips { margin-top: 8px; } .person-chips .avatar { width: 24px; height: 24px; font-size: 11px; }
.give-list { max-height: 50vh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; }
.give-list li { padding: 6px 0; border-bottom: 1px solid var(--line); } .give-list li:last-child { border-bottom: 0; }
/* owner's switcher with 5 interfaces (Office, Sales, Callers, Studio, Client): icons only on a phone */
@media (max-width: 640px) {
  .topbar .switcher { overflow-x: auto; scrollbar-width: none; }
  .switcher:has(a:nth-child(5)) a { padding: 8px; } .switcher:has(a:nth-child(5)) a.on .sw-l { display: none; }
}
@media (max-width: 480px) { .topbar:has(.switcher a:nth-child(5)) .brand { display: none; } }
/* lead hub: Emailed / Texted / Called checks, partner form status, Release button */
.call-card.ready::before { background: var(--c-ok); }
.lead-checks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px 8px; }
.lead-check { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.lead-check.on { background: color-mix(in srgb, var(--c-ok) 18%, transparent); border-color: var(--c-ok); color: var(--ink); }
span.lead-check { cursor: default; }
.lead-check.form.sent { border-color: var(--c-proj); color: var(--ink); }
.lead-check.form.done { background: var(--c-ok); border-color: var(--c-ok); color: #fff; }
.btn.wide { display: flex; width: calc(100% - 4px); margin: 10px 0 0 4px; justify-content: center; }
.btn.release { background: var(--c-ok); border-color: var(--c-ok); color: #fff; }
.who-pick { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; }
.who-pick select { min-height: 44px; flex: 0 1 260px; min-width: 0; }
.lead-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.lead-filter button { flex: none; }
.lead-filter button.hot:not(.on) { border-color: var(--c-ok); color: var(--c-ok); }
.form-answers { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.form-answers b { font-weight: 600; }
.center { text-align: center; }
.send-btns { display: grid; gap: 10px; } .send-btns .btn { justify-content: center; }
/* search box under the greeting on Callers */
.find-lead { display: block; width: 100%; margin: 0 0 var(--s3, 12px); }
.hide-on-find[hidden] { display: none !important; }
/* Joe's Hot leads: contact facts, deal steps, Onboard */
.deal-info { margin: 0 0 10px 8px; }
.deal-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15.5px; }
.deal-facts li { display: flex; align-items: center; gap: 8px; min-width: 0; } .deal-facts li > :last-child { overflow-wrap: anywhere; }
.deal-facts svg { flex: none; color: var(--muted); }
.deal-form { margin-top: 8px; } .deal-form summary { cursor: pointer; font-weight: 600; min-height: 36px; display: flex; align-items: center; }
.deal-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px 4px; }
.deal-step { min-height: 44px; padding: 6px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--raised); color: var(--ink-2); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.deal-step.on { background: color-mix(in srgb, var(--c-ok) 20%, transparent); border-color: var(--c-ok); color: var(--ink); }
.call-card.deal-negotiating::before { background: var(--c-proj); } .call-card.deal-verbal::before { background: var(--c-ok); }
.call-num { font-size: 28px; letter-spacing: .5px; }
