/* Tarsus Partners chat widget — shared by the site's own pages.
   Palette is the site's own: cream ground (#f7f1e3), surface (#fffcf4),
   ink (#101a21), brass (#6e5310) as the sole action color. */
#tarsus-chat-root{position:relative;z-index:9990}
.tp-chat-btn{position:fixed;right:18px;bottom:70px;z-index:9991;background:#6e5310;color:#fffcf4;
  font-family:"Newsreader",Georgia,'Times New Roman',serif;font-weight:700;font-size:15px;
  border:none;border-radius:999px;padding:13px 20px;cursor:pointer;
  box-shadow:0 6px 18px rgba(16,26,33,.28);display:flex;align-items:center;gap:8px}
.tp-chat-btn:hover{background:#5d450c}
.tp-chat-btn .tp-chat-dot{width:9px;height:9px;border-radius:50%;background:#e8cf8f;display:inline-block}
.tp-chat-panel{position:fixed;right:18px;bottom:126px;z-index:9992;width:360px;max-width:calc(100vw - 24px);
  height:min(500px,calc(100vh - 150px));background:#fffcf4;border:1px solid #ddd2ba;border-radius:14px;
  box-shadow:0 14px 40px rgba(16,26,33,.30);display:none;flex-direction:column;overflow:hidden;
  font-family:"Newsreader",Georgia,'Times New Roman',serif;color:#101a21}
.tp-chat-panel.open{display:flex}
.tp-chat-head{background:#101a21;color:#f7f1e3;padding:13px 16px;display:flex;justify-content:space-between;align-items:center}
.tp-chat-head b{font-size:15px}
.tp-chat-head span{display:block;font-size:11.5px;color:#cfc4a5;font-weight:400;margin-top:1px}
.tp-chat-close{background:none;border:none;color:#f7f1e3;font-size:19px;cursor:pointer;line-height:1;padding:2px 4px}
.tp-chat-msgs{flex:1;overflow-y:auto;padding:13px 13px 6px;background:#f7f1e3}
.tp-chat-msg{max-width:86%;padding:9px 12px;border-radius:12px;font-size:14.5px;line-height:1.5;margin-bottom:9px;white-space:pre-wrap}
.tp-chat-msg.bot{background:#fffcf4;border:1px solid #ddd2ba;border-bottom-left-radius:4px}
.tp-chat-msg.user{background:#6e5310;color:#fffcf4;margin-left:auto;border-bottom-right-radius:4px}
.tp-chat-starters{padding:4px 13px 10px;background:#f7f1e3;display:flex;flex-wrap:wrap;gap:7px}
.tp-chat-chip{background:#fffcf4;border:1.5px solid #6e5310;color:#4c3a0b;font-size:13px;font-weight:600;
  border-radius:999px;padding:7px 12px;cursor:pointer}
.tp-chat-chip:hover{background:#f1e7cd}
.tp-chat-input{display:flex;gap:8px;padding:11px;border-top:1px solid #e5dcc4;background:#fffcf4}
.tp-chat-input input{flex:1;border:1px solid #c9bc9c;border-radius:9px;padding:10px 11px;font-size:14.5px;outline:none;background:#fffcf4;color:#101a21}
.tp-chat-input input:focus{border-color:#6e5310}
.tp-chat-send{background:#6e5310;color:#fffcf4;border:none;border-radius:9px;padding:10px 16px;font-weight:700;font-size:14.5px;cursor:pointer}
.tp-chat-send:hover{background:#5d450c}
@media (max-width:480px){
  .tp-chat-btn{right:12px;bottom:60px;padding:12px 17px}
  .tp-chat-panel{right:12px;bottom:114px}
}
/* Pill placement: the "Questions? Ask us" pill rides higher so it clears
   the footer's right-hand text at page bottom instead of covering it. */
@media(max-width:640px){body{padding-bottom:96px}}
/* Live-AI front end — the button pulses so visitors can tell it is live;
   the panel height is capped so form fields stay reachable. */
.tp-chat-btn.tp-live{animation:tp-pulse 2.6s ease-in-out infinite}
@keyframes tp-pulse{0%,100%{box-shadow:0 6px 18px rgba(16,26,33,.28),0 0 0 0 rgba(110,83,16,.45)}50%{box-shadow:0 6px 18px rgba(16,26,33,.28),0 0 0 9px rgba(110,83,16,0)}}
@media (prefers-reduced-motion: reduce){.tp-chat-btn.tp-live{animation:none}}
