/* v0.130.0 Destek balonu (Arno onaylı tasarım: lacivert #0b2545 başlık, turuncu #ee7b1f balon ve gönder). Portal, site ve tedarikçi portalında aynı;
   Tailwind'den bağımsız (pxs- sınıfları), sayfanın yazı tipini kullanır. */
.pxs [x-cloak], .pxs[x-cloak] { display: none !important; }
.pxs { --pxs-navy: #0b2545; --pxs-navy2: #1d3b66; --pxs-orange: #ee7b1f; --pxs-line: #d8dee8; --pxs-soft: #eef1f5; --pxs-ink: #0f172a; --pxs-muted: #64748b;
  position: fixed; right: 20px; bottom: 20px; z-index: 60; font-size: 14px; line-height: 1.45; color: var(--pxs-ink); }
.pxs *, .pxs *::before, .pxs *::after { box-sizing: border-box; }
.pxs-bubble { position: relative; width: 58px; height: 58px; border-radius: 999px; border: 0; background: var(--pxs-orange); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(238, 123, 31, .4); margin-left: auto; }
.pxs-bubble:hover { filter: brightness(.92); }
.pxs-bubble:focus-visible, .pxs-btn:focus-visible, .pxs-send:focus-visible, .pxs-icon:focus-visible { outline: 3px solid #93b4fd; outline-offset: 2px; }
.pxs-dot { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #dc2626; color: #fff;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.pxs-panel { position: absolute; right: 0; bottom: 72px; width: 380px; height: min(580px, calc(100vh - 110px)); background: #fff; border-radius: 16px;
  box-shadow: 0 18px 50px rgba(11, 37, 69, .22), 0 2px 6px rgba(11, 37, 69, .08); display: flex; flex-direction: column; overflow: hidden; }
.pxs-head { background: var(--pxs-navy); color: #fff; padding: 14px 14px 14px 18px; display: flex; align-items: center; gap: 8px; }
.pxs-head-t { flex: 1; min-width: 0; }
.pxs-title { font-weight: 600; font-size: 15px; }
.pxs-sub { font-size: 12px; color: #b9c8e2; }
.pxs-icon { width: 36px; height: 36px; border: 0; background: none; color: inherit; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.pxs-head .pxs-icon:hover { background: var(--pxs-navy2); }
.pxs-icon-line { width: 44px; height: 44px; border: 1px solid var(--pxs-line); color: var(--pxs-muted); background: #fff; border-radius: 10px; position: relative; }
.pxs-wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 18px 0; min-height: 44px; border-radius: 10px; background: #e7f8ee; color: #0d6b38;
  font-weight: 600; text-decoration: none; }
.pxs-wa:hover { background: #d3f2e0; }
.pxs-body { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.pxs-h { font-size: 12px; font-weight: 600; color: var(--pxs-muted); text-transform: uppercase; letter-spacing: .04em; }
.pxs-conv { text-align: left; border: 1px solid var(--pxs-line); background: #fff; border-radius: 10px; padding: 10px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; font: inherit; color: inherit; }
.pxs-conv:hover { border-color: var(--pxs-navy); }
.pxs-conv-t { display: flex; justify-content: space-between; gap: 8px; font-weight: 500; }
.pxs-conv-t > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pxs-conv-m { font-size: 12px; color: var(--pxs-muted); }
.pxs-badge { background: var(--pxs-orange); color: #fff; border-radius: 999px; font-size: 11px; padding: 0 7px; font-weight: 600; flex-shrink: 0; }
.pxs-hello { display: flex; flex-direction: column; gap: 2px; }
.pxs-hello b { font-size: 15px; }
.pxs-hello span { font-size: 13px; color: var(--pxs-muted); }
.pxs-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; }
.pxs-field em { font-style: normal; font-weight: 400; color: var(--pxs-muted); }
.pxs-input { width: 100%; border: 1px solid var(--pxs-line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; font-weight: 400; color: var(--pxs-ink); background: #fff; resize: none; }
.pxs-input:focus { outline: none; border-color: var(--pxs-navy); box-shadow: 0 0 0 3px rgba(11, 37, 69, .12); }
.pxs-check { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; color: #475569; line-height: 1.45; cursor: pointer; }
.pxs-check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--pxs-navy); flex-shrink: 0; }
.pxs-check a, .pxs-link { color: var(--pxs-navy); }
.pxs-filerow { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pxs-link { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; position: relative; font-weight: 500; }
.pxs-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.pxs-fname { font-size: 12px; color: var(--pxs-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pxs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pxs-sr { position: absolute; left: -9999px; }
.pxs-err { margin: 0; color: #b91c1c; font-size: 13px; }
.pxs-btn { border: 0; border-radius: 10px; background: var(--pxs-orange); color: #fff; font: inherit; font-weight: 600; font-size: 15px; min-height: 46px; padding: 0 16px; cursor: pointer; }
.pxs-btn:hover { filter: brightness(.92); }
.pxs-btn:disabled, .pxs-send:disabled { opacity: .6; cursor: default; }
.pxs-btn-line { background: #fff; color: var(--pxs-navy); box-shadow: inset 0 0 0 1.5px var(--pxs-navy); font-size: 14px; }
.pxs-btn-line:hover { background: var(--pxs-soft); }
.pxs-chat { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.pxs-msgs { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.pxs-msg { display: flex; flex-direction: column; max-width: 82%; }
.pxs-me { align-self: flex-end; align-items: flex-end; }
.pxs-them { align-self: flex-start; }
.pxs-bub { padding: 10px 12px; border-radius: 12px; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 6px; }
.pxs-me .pxs-bub { background: var(--pxs-navy); color: #fff; border-bottom-right-radius: 4px; }
.pxs-them .pxs-bub { background: var(--pxs-soft); border-bottom-left-radius: 4px; }
.pxs-bub > span { white-space: pre-line; }
.pxs-att { color: inherit; text-decoration: underline; font-size: 13px; }
.pxs-meta { font-size: 11px; color: #94a3b8; margin-top: 3px; }
.pxs-empty, .pxs-note { margin: 0; font-size: 12px; color: var(--pxs-muted); text-align: center; }
.pxs-compose { border-top: 1px solid var(--pxs-soft); padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.pxs-row { display: flex; gap: 8px; align-items: flex-end; }
.pxs-row .pxs-input { flex: 1; min-height: 44px; max-height: 120px; }
.pxs-send { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--pxs-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
/* E-postadaki linkle açılan tek konuşma sayfası */
.pxs-page { position: static; max-width: 560px; margin: 0 auto; }
.pxs-page .pxs-panel { position: static; width: 100%; height: min(720px, calc(100vh - 48px)); }
@media (max-width: 480px) {
  .pxs { right: 12px; bottom: 12px; }
  .pxs-panel { position: fixed; left: 8px; right: 8px; bottom: 80px; width: auto; height: calc(100vh - 100px); }
  .pxs-page .pxs-panel { position: static; height: calc(100vh - 32px); }
}
/* v0.132.0 Kanal balonu (başka sitede iframe): iframe kapalıyken 100×100, açıkken en çok 440×700 (support-embed.js); balon iframe'in sağ altında */
.pxs-embed { right: 16px; bottom: 16px; }
.pxs-embed .pxs-bubble { box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.pxs-embed .pxs-panel { bottom: 70px; width: calc(100vw - 32px); max-width: 388px; height: calc(100vh - 100px); }
.pxs-embed .pxs-panel { box-shadow: 0 6px 20px rgba(0, 0, 0, .16), 0 1px 4px rgba(0, 0, 0, .08); } /* iframe kenarında kesilmesin */
@media (max-width: 480px) { .pxs-embed .pxs-panel { position: absolute; left: auto; right: 0; bottom: 70px; width: calc(100vw - 32px); height: calc(100vh - 96px); } }
/* Tedarikçi portalında telefon alt menüsünün üstünde */
@media (max-width: 639px) { .pxs-raise { bottom: 84px; } .pxs-raise .pxs-panel { bottom: 150px; height: calc(100vh - 170px); } }
