:root {
  --bg: #f4f5f9;
  --panel: #ffffff;
  --ink: #1b1f2a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #4f46e5;
  --primary-d: #4338ca;
  --wa: #25d366;
  --sms: #0a84ff;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.1);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased;
}
h1 { font-size: 24px; margin: 0; }
h2 { font-size: 18px; }
h3 { font-size: 16px; margin: 0 0 6px; }
a { color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.grow { flex: 1; }
.row { display: flex; align-items: center; }
.row.gap { gap: 8px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.center { justify-content: center; }

/* layout */
.topbar {
  display: flex; align-items: center; gap: 18px;
  background: var(--panel); border-bottom: 1px solid var(--line);
  padding: 10px 20px; position: sticky; top: 0; z-index: 20;
}
.brand { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand .logo { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--primary), #7c3aed); display: inline-block; }
nav.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.syncbadge { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; padding-left: 10px; }
.nav-btn {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600;
  padding: 7px 12px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.nav-btn:hover { background: var(--bg); color: var(--ink); }
.nav-btn.active { background: #eef2ff; color: var(--primary-d); }
.nav-btn .badge { background: var(--line); color: var(--muted); border-radius: 999px; font-size: 11px; padding: 1px 7px; font-weight: 700; }
.nav-btn.active .badge { background: var(--primary); color: #fff; }

main { max-width: 980px; margin: 0 auto; padding: 22px 20px 80px; }
.view-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.section-title { margin: 22px 0 10px; }

/* buttons */
.btn {
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-weight: 600;
  padding: 8px 14px; border-radius: 9px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.btn:hover { background: #fafafe; border-color: #d6d8e0; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-d); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--bg); }
.btn.small { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn.danger { color: var(--danger); border-color: #f3c7c7; }
.btn.danger:hover { background: #fef2f2; }
.btn.danger.ghost { border-color: transparent; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #053a1b; }
.btn.wa:hover { filter: brightness(.96); }
.btn.sms { background: var(--sms); border-color: var(--sms); color: #fff; }
.btn.sms:hover { filter: brightness(.96); }
.icon-btn { border: 0; background: transparent; cursor: pointer; font-size: 15px; padding: 6px; border-radius: 7px; color: var(--muted); line-height: 1; }
.icon-btn:hover { background: var(--bg); color: var(--ink); }

/* inputs */
.input { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 9px 11px; font: inherit; color: var(--ink); width: 100%; }
.input:focus { outline: 2px solid #c7d2fe; border-color: var(--primary); }
.input.small { width: auto; padding: 7px 9px; }
select.input { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }
.toolbar { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }

/* cards / stats */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.danger-card { border-color: #f3c7c7; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.stat-num { font-size: 28px; font-weight: 800; }
.stat-label { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* lists */
.list { display: flex; flex-direction: column; gap: 8px; }
.list-row { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; box-shadow: var(--shadow); width: 100%; text-align: left; font: inherit; color: inherit; cursor: default; }
button.list-row { cursor: pointer; }
button.list-row:hover { border-color: #c7cbd6; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.progress { width: 120px; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.progress.wide { width: 160px; }
.progress-bar { height: 100%; background: var(--primary); border-radius: 999px; }
.pct { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 46px; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.chip { --c: var(--primary); font-size: 11.5px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); border: 1px solid color-mix(in srgb, var(--c) 30%, white); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

/* table */
.table { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tr { display: grid; grid-template-columns: 38px 1fr 150px 1.2fr 70px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); gap: 8px; }
.tr.th { background: #fafbfd; border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 700; }
.tr:hover:not(.th) { background: #fafbff; }
.tr.bl { opacity: .62; }
.tr.bl .name strong { text-decoration: line-through; }
.cell { min-width: 0; }
.cell.name strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell.phone { font-variant-numeric: tabular-nums; color: #374151; }
.cell.cb { display: flex; align-items: center; }
.cell.actions { display: flex; gap: 2px; justify-content: flex-end; }
.tag { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 5px; margin-left: 6px; vertical-align: middle; }
.tag.bl { background: #fee2e2; color: #b91c1c; }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }

/* send table */
.send-table .tr.send { grid-template-columns: 38px 1.2fr auto 130px; }
.tr.send.done { background: #f3fbf5; }
.cell.sendbtns { display: flex; gap: 6px; justify-content: flex-end; }
.cell.sentat { text-align: right; }
.campaign-summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; box-shadow: var(--shadow); margin-bottom: 12px; }
.msg-preview { background: #fffdf5; border: 1px solid #f0e6c8; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.msg-preview pre { margin: 6px 0 0; white-space: pre-wrap; font: inherit; }
.back { margin-bottom: 4px; padding-left: 4px; }

/* segmented */
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 3px; gap: 2px; margin-bottom: 12px; }
.seg-btn { border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.seg-btn.on { background: var(--primary); color: #fff; }

/* bulk bar */
.bulkbar { position: sticky; top: 58px; z-index: 10; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; }

/* empty states */
.empty { background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--muted); }
.empty.cta { border-style: solid; }
.empty h3 { color: var(--ink); }

/* import */
.import-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.import-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dropzone { border: 2px dashed #cdd2e0; border-radius: 12px; padding: 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; justify-content: center; }
.dropzone.over { border-color: var(--primary); background: #eef2ff; }
.dz-icon { font-size: 26px; }
.paste-box { display: flex; flex-direction: column; gap: 8px; }

/* modal */
.modal-wrap { position: fixed; inset: 0; background: rgba(17,24,39,.45); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; z-index: 100; overflow: auto; }
.modal { background: var(--panel); border-radius: 14px; width: 100%; max-width: 520px; padding: 22px 22px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal h2 { margin: 0 0 14px; }
.fld { display: block; margin-bottom: 12px; }
.fld > span { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.phone-row { display: flex; gap: 6px; margin-bottom: 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 28px; height: 28px; border-radius: 8px; cursor: pointer; position: relative; border: 2px solid transparent; }
.swatch input { position: absolute; opacity: 0; }
.swatch:has(input:checked) { border-color: #111; box-shadow: 0 0 0 2px #fff inset; }
.modal-actions { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
code { background: var(--bg); padding: 1px 5px; border-radius: 5px; font-size: 12px; }

@media (max-width: 720px) {
  .import-grid { grid-template-columns: 1fr; }
  .tr { grid-template-columns: 32px 1fr 64px; }
  .cell.phone, .cell.groups { display: none; }
  .send-table .tr.send { grid-template-columns: 32px 1fr auto; }
  .cell.sentat { display: none; }
  main { padding: 16px 12px 80px; }
  .brand span.t { display: none; }
}

/* call tracker */
.callstats { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.callstats .cs { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow); min-width: 120px; flex: 1; }
.callstats .cs-num { font-size: 24px; font-weight: 800; }
.callstats .cs-lbl { color: var(--muted); font-size: 12.5px; }
.call-table .tr.callrow { grid-template-columns: 38px 1.3fr 130px 1.5fr auto; align-items: center; }
.tr.callrow.cb { background: #fffaf0; box-shadow: inset 3px 0 0 #f59e0b; }
.cell.lastcall { min-width: 0; }
.lc-out { font-weight: 600; }
.cell.lastcall .note { font-style: italic; }
.outcomes { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.outcome:hover { border-color: var(--primary); background: #eef2ff; }
.feed { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.feed-row { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.feed-row:first-child { border-top: 0; }
.feed-when { color: var(--muted); font-size: 12px; min-width: 96px; flex: none; }
.feed-out { white-space: nowrap; }
.feed-row .del-call { margin-left: auto; flex: none; }
.hist { display: flex; flex-direction: column; gap: 4px; }
.hist-row { font-size: 13px; }

@media (max-width: 720px) {
  .call-table .tr.callrow { grid-template-columns: 34px 1fr auto; }
  .call-table .cell.phone, .call-table .cell.lastcall { display: none; }
  .feed-when { min-width: 64px; }
  .callstats .cs { padding: 10px 12px; }
}

/* mini-CRM: contact hub, dispositions, tasks/reminders */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--primary-d); font-weight: 700; cursor: pointer; text-align: left; }
.link-btn:hover { text-decoration: underline; }
.task-pill { font-size: 11px; font-weight: 700; color: #92400e; background: #fef3c7; border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.dispo { font-size: 12px; font-weight: 700; background: #eef2ff; color: var(--primary-d); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.dispo.none { background: var(--line); color: var(--muted); }
.reminder-banner { display: block; width: 100%; text-align: left; border: 1px solid #f3d99b; background: #fffaf0; color: #92400e; font-weight: 700; border-radius: 10px; padding: 11px 14px; margin-bottom: 12px; cursor: pointer; font-size: 14px; }
.reminder-banner:hover { background: #fef6e6; }
.hub-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.hub-head h2 { margin: 0; }
.hub-links { display: flex; gap: 8px; margin: 14px 0 4px; }
.hub-sec { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.hub-lbl { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.log-meta { display: flex; gap: 6px; margin-top: 8px; }
.log-meta input[type=date] { max-width: 160px; }
.task-add { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.task-add input[type=date] { max-width: 165px; }
.task-list { display: flex; flex-direction: column; gap: 2px; }
.task-list.card-list { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; margin-bottom: 6px; }
.task-line { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.task-line:hover { background: var(--bg); }
.task-line.done .task-title { text-decoration: line-through; color: var(--muted); }
.task-title { flex: 1; min-width: 0; }
.task-due { font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--muted); }
.task-due.b-overdue { color: #b91c1c; }
.task-due.b-today { color: #b45309; }
.del-task { margin-left: 2px; }
.section-title.danger { color: #b91c1c; }
@media (max-width: 720px) {
  .log-meta { flex-direction: column; }
  .log-meta input[type=date], .task-add input[type=date] { max-width: none; }
}

/* disposition chips + calls-per-day chart */
.dispo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dchip { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink); white-space: nowrap; }
.dchip:hover { border-color: #c7cbd6; }
.dchip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.daychart { padding: 14px 16px; margin-bottom: 14px; }
.dc-head { font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.dc-bars { display: flex; align-items: stretch; gap: 8px; height: 96px; }
.dc-col { flex: 1; display: flex; flex-direction: column; align-items: center; }
.dc-n { font-size: 11px; font-weight: 700; color: var(--muted); height: 15px; }
.dc-barwrap { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.dc-bar { width: 62%; max-width: 34px; min-height: 3px; background: linear-gradient(180deg, #6366f1, #4f46e5); border-radius: 5px 5px 0 0; }
.dc-lbl { font-size: 11px; color: var(--muted); margin-top: 5px; }
.dc-lbl.today { color: var(--primary-d); font-weight: 700; }
.dc-bars { position: relative; }
.dc-goal { position: absolute; left: 0; right: 0; border-top: 2px dashed #f59e0b; height: 0; z-index: 1; pointer-events: none; }
.dc-bar.hit { background: linear-gradient(180deg, #34d399, #10b981); }
.streak { float: right; font-size: 12px; color: #b45309; font-weight: 700; }
.funnel { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.fn { text-align: center; padding: 4px 8px; }
.fn b { display: block; font-size: 22px; font-weight: 800; }
.fn span { font-size: 11.5px; color: var(--muted); }
.fn.won b { color: #047857; }
.fnarrow { color: #c5c9d6; font-weight: 700; }
.hourbars { display: flex; align-items: flex-end; gap: 3px; height: 72px; margin-top: 8px; }
.hb { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.hbarwrap { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.hbar { width: 72%; min-height: 2px; background: #c7d2fe; border-radius: 3px 3px 0 0; }
.hbar.pk { background: var(--primary); }
.hl { font-size: 9px; color: var(--muted); margin-top: 3px; height: 11px; }
.kbd { display: inline-block; min-width: 15px; text-align: center; font-size: 11px; background: rgba(0,0,0,.12); border-radius: 4px; padding: 0 4px; font-weight: 700; }

/* passcode lock */
#lockscreen { position: fixed; inset: 0; background: var(--bg); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lockbox { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; text-align: center; max-width: 320px; width: 100%; box-shadow: var(--shadow); }
.lockico { font-size: 40px; margin-bottom: 6px; }
.lockbox h2 { margin-bottom: 14px; }
.lockbox input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 20px; text-align: center; letter-spacing: 6px; margin-bottom: 12px; }
.lockbox .btn { width: 100%; }
#lockErr { color: #dc2626; min-height: 18px; margin-bottom: 8px; font-size: 13px; }

/* power-dial mode */
.dial-wrap { max-width: 460px; margin: 0 auto; }
.dial-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dial-prog { font-size: 13px; font-weight: 700; color: var(--muted); }
.dial-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 24px; text-align: center; }
.dial-name { font-size: 26px; font-weight: 800; line-height: 1.2; }
.dial-num { font-size: 16px; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.chips.center { justify-content: center; margin-top: 8px; }
.dial-call { display: flex; justify-content: center; background: var(--wa); border-color: var(--wa); color: #053a1b; font-size: 18px; padding: 16px; border-radius: 12px; margin: 18px 0 14px; font-weight: 800; }
.dial-call:hover { filter: brightness(.96); }
.dial-note { margin-bottom: 14px; }
.dial-dispos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dial-dispos .outcome { justify-content: center; padding: 13px 8px; }
.dial-skip { margin-top: 14px; width: 100%; justify-content: center; }
.dial-hint { text-align: center; margin-top: 14px; }
.dial-done { text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 44px 24px; box-shadow: var(--shadow); }
.dial-done-emoji { font-size: 48px; margin-bottom: 8px; }

/* log-past-call modal */
.past-results { max-height: 280px; overflow: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; }
.past-result { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 12px; font: inherit; cursor: pointer; }
.past-result:last-child { border-bottom: 0; }
.past-result:hover { background: var(--bg); }
.past-selected { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.date-presets { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.date-presets input[type=date] { max-width: 175px; }

/* per-call timer + backup reminder */
.timer-bar { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; padding: 9px 12px; margin: 0 0 12px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.timer-bar #callTimerDisplay { font-variant-numeric: tabular-nums; font-size: 17px; }
.backup-nag { display: block; width: 100%; text-align: left; border: 1px solid #fcd34d; background: #fffbeb; color: #92400e; font-weight: 700; border-radius: 10px; padding: 11px 14px; margin-bottom: 12px; cursor: pointer; font-size: 14px; }
.backup-nag:hover { background: #fef3c7; }

/* undo bar */
#undobar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: #1b1f2a; color: #fff; border-radius: 10px; padding: 8px 10px 8px 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.3); z-index: 200; font-size: 14px; max-width: 92vw; }
#undobar .btn { background: #fff; color: #1b1f2a; border-color: #fff; }
#undobar .btn:hover { background: #e9e9f5; }
#undobar .undo-x { color: #cbd5e1; }
#undobar .undo-x:hover { color: #fff; }

/* hot star */
.star { border: 0; background: transparent; cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 3px; color: #cbd5e1; vertical-align: middle; }
.star:hover { color: #f59e0b; }
.star.on { color: #f59e0b; }

/* revenue (won) */
.won-amt { color: #047857; font-weight: 700; }
.revcard .rev-total { font-size: 26px; font-weight: 800; margin: 2px 0 8px; }
.rev-groups { display: flex; flex-direction: column; gap: 6px; }
.rev-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.rev-row strong { margin-left: auto; }

/* text templates */
.tpl-list { display: flex; flex-direction: column; gap: 6px; }
.tpl-row { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.tpl-pick { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tpl-pick .past-result { white-space: normal; }

/* candidates pipeline */
.cand-table .tr.candrow { grid-template-columns: 1.5fr 130px 150px auto; align-items: center; }
.cand-table .cell.stage select { width: 100%; }
@media (max-width: 720px) { .cand-table .tr.candrow { grid-template-columns: 1fr 130px auto; } .cand-table .cell.phone { display: none; } }
