/* Support chat + "Call a human" panel (Compass 2026-10-10). Used by /support.html via js/support-chat.js. */
.sup-top { display: flex; justify-content: center; margin: 0 0 28px; }
.sup-top .btn { min-width: 220px; justify-content: center; }
@media (max-width: 720px) { .sup-top { margin-bottom: 20px; } }

.vsc-back { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 10000; display: flex; align-items: flex-end; justify-content: flex-end; padding: 24px; }
.vsc-back[hidden], .vsc [hidden] { display: none !important; }
.vsc { background: #fff; color: #1d1d1f; width: 400px; max-width: 100%; height: min(640px, calc(100vh - 48px)); border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; font-family: var(--font, -apple-system, sans-serif); }
.vsc-head { display: flex; align-items: center; gap: 8px; padding: 14px 14px 14px 18px; border-bottom: 1px solid rgba(0,0,0,.08); }
.vsc-title { flex: 1; font-size: 16px; font-weight: 500; }
.vsc-title small { display: block; font-size: 12px; font-weight: 400; color: rgba(29,29,31,.55); }
.vsc-ib { background: none; border: 1px solid transparent; border-radius: 10px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #1d1d1f; font-size: 18px; line-height: 1; }
.vsc-ib:hover, .vsc-ib:focus-visible { border-color: rgba(0,0,0,.15); }
.vsc-ib[aria-pressed="true"] { background: #1d1d1f; color: #fff; }
.vsc-ib svg { width: 18px; height: 18px; }
.vsc-log { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.vsc-m { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.vsc-m.bot { background: #f2f2f5; align-self: flex-start; border-bottom-left-radius: 6px; }
.vsc-m.me { background: #1d1d1f; color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.vsc-m.err { background: #fff1f0; color: #9a2a1f; }
.vsc-m .vsc-human { display: inline-block; margin-top: 8px; }
.vsc-dots::after { content: "…"; animation: vscDots 1s steps(3) infinite; }
@keyframes vscDots { 0% { opacity: .3; } 50% { opacity: 1; } 100% { opacity: .3; } }
.vsc-bar { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 6px; border-top: 1px solid rgba(0,0,0,.08); }
.vsc-bar textarea { flex: 1; resize: none; font: inherit; font-size: 16px; line-height: 1.4; border: 1px solid rgba(0,0,0,.18); border-radius: 12px; padding: 9px 12px; max-height: 120px; min-height: 42px; }
.vsc-bar textarea:focus { outline: 2px solid rgba(0,113,227,.35); border-color: transparent; }
.vsc-send { background: #1d1d1f; color: #fff; border: 0; border-radius: 12px; height: 42px; padding: 0 16px; font: inherit; font-size: 15px; cursor: pointer; }
.vsc-send:disabled { opacity: .45; cursor: default; }
.vsc-mic.rec { background: #d93025; color: #fff; }
.vsc-voice-note { margin: 0; padding: 2px 16px 0; font-size: 11.5px; line-height: 1.35; color: rgba(29,29,31,.55); }
.vsc-voice-note[hidden] { display: none; }
.vsc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 16px 12px; font-size: 12px; color: rgba(29,29,31,.55); }
.vsc-link { background: none; border: 0; padding: 0; font: inherit; color: #5846A0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.vsc-link.strong { font-size: 14px; font-weight: 500; white-space: nowrap; }
.vsc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #1d1d1f; color: #fff !important; border: 0; border-radius: 100px; padding: 10px 18px; font: inherit; font-size: 15px; text-decoration: none !important; cursor: pointer; }
.vsc-btn.alt { background: #fff; color: #1d1d1f !important; border: 1px solid rgba(0,0,0,.2); }

/* Human panel */
.vsc-human-panel { flex: 1; overflow-y: auto; padding: 18px; }
.vsc-human-panel h3 { font-size: 20px; font-weight: 500; margin: 0 0 4px; letter-spacing: -.01em; }
.vsc-human-panel p { font-size: 14px; color: rgba(29,29,31,.65); line-height: 1.5; margin: 0 0 12px; }
.vsc-num { font-size: 24px; font-weight: 500; letter-spacing: .01em; margin: 6px 0 14px; color: #1d1d1f; }
.vsc-num a { color: inherit; text-decoration: none; }
.vsc-qr-row { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.vsc-qr { width: 132px; height: 132px; flex: none; border: 1px solid rgba(0,0,0,.1); border-radius: 10px; padding: 6px; background: #fff; }
.vsc-qr svg { width: 100%; height: 100%; display: block; }
.vsc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.vsc-cb { border-top: 1px solid rgba(0,0,0,.08); padding-top: 16px; }
.vsc-cb h4 { font-size: 16px; font-weight: 500; margin: 0 0 10px; }
.vsc-cb label { display: block; font-size: 13px; color: rgba(29,29,31,.7); margin: 0 0 10px; }
.vsc-cb input[type=text], .vsc-cb input[type=tel], .vsc-cb input[type=email] { display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 16px; border: 1px solid rgba(0,0,0,.18); border-radius: 10px; padding: 8px 11px; box-sizing: border-box; }
.vsc-cb .vsc-check { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.45; }
.vsc-cb .vsc-check a { color: #5846A0; }
.vsc-cb .vsc-fe { color: #b3261e; font-size: 12px; display: block; margin-top: 3px; }
.vsc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.vsc-ok { background: #effaf2; color: #1e6b3a; border-radius: 12px; padding: 12px 14px; font-size: 14px; }

@media (max-width: 600px) {
  .vsc-back { padding: 0; align-items: stretch; }
  .vsc { width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .vsc-qr-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .vsc-dots::after { animation: none; } }
/* Phones: the sitewide dark-context rule (styles.css "Mobile button rules") turns .btn-light
   near-black on black here; keep the support chat button light, matching desktop. */
@media (max-width: 720px) {
  .btn.btn-light[data-support-open] {
    background: #f0f0f2 !important;
    color: #1d1d1f !important;
    border-color: transparent !important;
  }
}
