/* "Ask ZO" chat: dock button and panel */
.zo-dock .ask { height: 46px; padding: 0 1.05rem; border: 0; border-radius: 999px; background: #141414; color: #fff; font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .04em; white-space: nowrap; cursor: pointer; box-shadow: 0 14px 34px -14px #000a; }
.zo-dock .ask:hover { background: #333; }
body.chat-open .zo-dock { visibility: hidden; }

.zc { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 390px; height: min(620px, calc(100vh - 2.4rem)); height: min(620px, calc(100dvh - 2.4rem)); display: flex; flex-direction: column; background: #f7f6f3; color: #141414; font-family: var(--body); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px -20px #000a, 0 0 0 1px #14141414; }
.zc[hidden] { display: none; }
.zc header { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; background: #141414; color: #fff; flex: none; }
.zc header img { height: 30px; width: auto; }
.zc header b { margin-left: auto; font-size: .82rem; font-weight: 600; color: #cfcac0; }
.zc-x { width: 32px; height: 32px; border: 0; background: none; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.zc-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1rem .9rem .4rem; display: flex; flex-direction: column; gap: .6rem; }
.zc-msg { max-width: 88%; padding: .6rem .8rem; border-radius: 10px; font-size: .92rem; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; }
.zc-msg.bot { align-self: flex-start; background: #e6e5e1; }
.zc-msg.me { align-self: flex-end; background: #141414; color: #fff; }
.zc-msg.wait { color: #6c6a65; }
.zc-links { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; white-space: normal; }
.zc-links a { padding: .36rem .7rem; border-radius: 999px; background: #d42c1a; color: #fff; font-size: .78rem; font-weight: 600; text-decoration: none; }
.zc-links a:hover { background: #b12312; }
.zc-starters { flex: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: .3rem .9rem .5rem; }
.zc-starters[hidden] { display: none; }
.zc-starters button { padding: .4rem .7rem; border: 1px solid #14141433; border-radius: 999px; background: none; color: #141414; font: 500 .8rem var(--body); cursor: pointer; }
.zc-starters button:hover { background: #141414; color: #fff; }
.zc form { flex: none; display: flex; gap: .4rem; padding: .55rem .9rem; border-top: 1px solid #1414141f; }
.zc input { flex: 1; min-width: 0; height: 42px; padding: 0 .75rem; border: 1px solid #14141433; border-radius: 8px; background: #fff; color: #141414; font: 400 16px var(--body); }
.zc input:focus { outline: 2px solid #141414; outline-offset: -1px; }
.zc form button { padding: 0 .95rem; border: 0; border-radius: 8px; background: #141414; color: #fff; font: 700 .8rem var(--body); cursor: pointer; }
.zc-note { flex: none; padding: 0 .9rem .6rem; font-size: .66rem; line-height: 1.35; color: #6c6a65; }
.zc-note a { color: inherit; text-decoration: underline; }

@media (max-width: 767px) {
  .zo-dock .ask { height: 44px; padding: 0 .85rem; font-size: .7rem; }
  .zc { right: 0; left: 0; bottom: 0; top: 0; width: auto; height: 100%; height: 100dvh; border-radius: 0; }
  .zc-msg { font-size: .95rem; }
}
@media (max-width: 380px) {
  .zo-dock .bk { font-size: .62rem !important; padding: 0 .75rem !important; gap: .35rem !important; }
  .zo-dock .ask { padding: 0 .7rem; }
}
