/* ===== Talk to Whoever — browser call dock (brand-skinned) ===== */
.call-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: min(420px, calc(100vw - 32px));
  background: var(--cream); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  transform: translateY(140%); opacity: 0; pointer-events: none;
  transition: transform .35s cubic-bezier(.22,.8,.24,1), opacity .25s ease;
  font-family: var(--sans);
}
.call-dock.up { transform: translateY(0); opacity: 1; pointer-events: auto; }
.dock-tab { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1.5px solid var(--hair); }
.dock-eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 500 .82rem/1 var(--sans); letter-spacing: .02em; }
.dock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bone, #b5aea1); }
.call-dock[data-state="live"] .dock-dot { background: var(--kelly); animation: talk-pulse 1.1s ease-in-out infinite; }
@keyframes talk-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.dock-close { background: none; border: 0; cursor: pointer; width: 30px; height: 30px; color: var(--ink); }
.dock-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.dock-body { padding: 22px 22px 24px; }
.dock-panel { display: none; }
.call-dock[data-state="connecting"] [data-panel="connecting"],
.call-dock[data-state="live"] [data-panel="live"],
.call-dock[data-state="ended"] [data-panel="ended"],
.call-dock[data-state="error"] [data-panel="error"] { display: block; }
.dock-title { font: 400 1.7rem/1.1 var(--serif); margin-bottom: 8px; }
.dock-lede { color: var(--ink-soft); font-size: .96rem; }
.dock-disclose { margin-top: 16px; font-size: .74rem; color: var(--ink-soft); line-height: 1.5; }
.dock-disclose a { color: var(--ink); }
.dock-stamp { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--marigold); border: 1.5px solid var(--ink); font: 500 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.dock-dots3 { display: flex; gap: 8px; margin: 18px 0; }
.dock-dots3 span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); animation: talk-bounce 1s infinite; }
.dock-dots3 span:nth-child(2){animation-delay:.15s} .dock-dots3 span:nth-child(3){animation-delay:.3s}
@keyframes talk-bounce { 0%,100%{transform:translateY(0);opacity:.4} 50%{transform:translateY(-6px);opacity:1} }
.dock-timer { font: 400 2.4rem/1 var(--serif); margin: 14px 0 18px; }
.dock-livectl, .dock-actions { display: flex; gap: 10px; margin-top: 16px; }
.dock-ghost { padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--cream); font: 500 .9rem/1 var(--sans); cursor: pointer; white-space: nowrap; flex: 0 0 auto; }
.dock-ghost:hover { background: #fff; }
.dock-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--cream); text-decoration: none; font: 500 .92rem/1 var(--sans); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--marigold); white-space: nowrap; }
.dock-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.dock-cta[hidden] { display: none; }
.dock-cta[type="button"] { cursor: pointer; font-family: inherit; }
.dock-draft { margin-top: 16px; padding: 15px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff9ed; box-shadow: 3px 3px 0 var(--marigold); }
.dock-draft-for { margin: 0 0 3px; color: var(--ink-soft); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.dock-draft h3 { margin: 0; font: italic 1.8rem/1.05 var(--serif); }
.dock-draft-role { margin: 5px 0 10px; font-weight: 600; }
.dock-draft ul { margin: 0; padding: 0; list-style: none; }
.dock-draft li { position: relative; padding: 2px 0 2px 17px; font-size: .84rem; line-height: 1.35; }
.dock-draft li::before { content: "→"; position: absolute; left: 0; font-weight: 700; }
.dock-draft-missing { margin: 10px 0 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.4; }
.dock-draft-error { margin: 14px 0 0; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 9px; background: #f8c7d9; font-size: .82rem; line-height: 1.4; }
@media (max-width: 480px) {
  .call-dock { right: 16px; bottom: 16px; }
  .dock-actions { flex-direction: column; align-items: stretch; }
  .dock-actions .dock-cta, .dock-actions .dock-ghost { width: 100%; justify-content: center; text-align: center; }
}
