/* Live chat bubble + panel (assets/live-chat.js). Obliq green, the site's font. */
.oc-root { --oc-lift: 0px; --oc-green: #3eac61; --oc-deep: #10241a; position: fixed; right: 20px; bottom: calc(20px + var(--oc-lift)); z-index: 60; font-family: var(--font, system-ui, sans-serif); transition: bottom .3s ease; }
.oc-bubble { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; background: linear-gradient(140deg, #4cc272, #2e9450); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(46, 148, 80, .6), 0 3px 8px rgba(15, 22, 35, .15); transition: transform .2s cubic-bezier(.2, .8, .2, 1.3), box-shadow .2s; }
.oc-bubble:hover { transform: translateY(-2px) scale(1.04); }
.oc-bubble:focus-visible { outline: 3px solid rgba(62, 172, 97, .45); outline-offset: 3px; }
.oc-bubble svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; position: absolute; transition: transform .25s, opacity .2s; }
.oc-bubble .oc-i-chat { fill: currentColor; stroke: none; }
.oc-bubble .oc-i-close { opacity: 0; transform: rotate(-45deg) scale(.6); }
.is-open .oc-bubble .oc-i-chat { opacity: 0; transform: rotate(45deg) scale(.6); }
.is-open .oc-bubble .oc-i-close { opacity: 1; transform: none; }
.oc-bubble::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(62, 172, 97, .55); animation: oc-ring 2.8s ease-out 1.5s 3; pointer-events: none; }
@keyframes oc-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
.oc-unread { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.oc-hint { position: absolute; right: 70px; bottom: 12px; margin: 0; white-space: nowrap; background: #fff; color: var(--ink, #0f1623); font-size: 13.5px; padding: 9px 14px; border-radius: 14px 14px 4px 14px; box-shadow: 0 10px 28px -8px rgba(15, 22, 35, .3); cursor: pointer; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .4s, transform .4s; }
.oc-hint b { color: var(--brand-ink, #2e9450); }
.hint-in .oc-hint:not([hidden]) { opacity: 1; transform: none; pointer-events: auto; }
.is-open .oc-hint { display: none; }

.oc-panel { position: absolute; right: 0; bottom: 74px; width: 376px; height: min(600px, calc(100vh - 120px - var(--oc-lift))); background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(15, 22, 35, .45), 0 0 0 1px rgba(15, 22, 35, .06); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: oc-in .28s cubic-bezier(.2, .8, .2, 1.1); }
.oc-panel[hidden] { display: none; }
@keyframes oc-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.oc-head { display: flex; align-items: center; gap: 12px; padding: 18px 16px 18px 18px; background: radial-gradient(120% 140% at 0% 0%, #1f5a37 0%, var(--oc-deep) 70%); color: #fff; }
.oc-mark { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; font-weight: 800; }
.oc-mark img { width: 22px; height: 22px; }
.oc-head-text { flex: 1; min-width: 0; }
.oc-title { margin: 0; font-weight: 700; font-size: 16px; }
.oc-status { margin: 2px 0 0; font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .75); display: flex; align-items: flex-start; gap: 6px; }
.oc-status .oc-dot { margin-top: 4px; }
.oc-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .4); flex: none; }
.oc-dot.on { background: #6ee495; box-shadow: 0 0 0 3px rgba(110, 228, 149, .25); }
.oc-close { width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.oc-close:hover { background: rgba(255, 255, 255, .18); }
.oc-close svg, .oc-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.oc-list { flex: 1; overflow-y: auto; padding: 18px 14px 8px; background: #f6f8fa; overscroll-behavior: contain; }
.oc-row { display: flex; margin: 0 0 8px; }
.oc-row.mine { justify-content: flex-end; }
.oc-msg { max-width: 82%; padding: 10px 13px 7px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.oc-msg p { margin: 0; white-space: pre-wrap; word-wrap: break-word; }
.theirs .oc-msg { background: #fff; color: var(--ink, #0f1623); border: 1px solid #e7eaee; border-bottom-left-radius: 5px; }
.mine .oc-msg { background: var(--oc-green); color: #fff; border-bottom-right-radius: 5px; }
.oc-msg.sending { opacity: .65; }
.oc-msg.failed { background: #fff1f1; color: #9b1c1c; border: 1px solid #f5c2c2; }
.oc-name { display: block; font-size: 12px; font-weight: 700; color: var(--brand-ink, #2e9450); margin-bottom: 3px; }
.oc-ai { font-weight: 600; color: #7c5cff; margin-left: 4px; }
.oc-time { display: block; font-size: 11px; margin-top: 4px; opacity: .65; text-align: right; }
.oc-retry { border: 0; background: none; padding: 0; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.oc-day { text-align: center; margin: 10px 0; }
.oc-day span { font-size: 11.5px; color: #8a94a6; background: #eceff3; padding: 3px 10px; border-radius: 99px; }
.oc-note { font-size: 13px; color: #4a5568; text-align: center; margin: 10px 8px 12px; }
.oc-profile { background: #fff; border: 1px solid #e7eaee; border-radius: 16px; padding: 14px; margin: 6px 0 12px; display: grid; gap: 10px; }
.oc-profile-title { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--ink, #0f1623); }
.oc-profile-title span { font-weight: 400; color: #8a94a6; }
.oc-profile label { display: grid; gap: 4px; font-size: 12px; color: #4a5568; }
.oc-profile input { font: inherit; font-size: 14px; padding: 9px 11px; border: 1px solid #dfe3e8; border-radius: 10px; }
.oc-profile input:focus { outline: 2px solid rgba(62, 172, 97, .35); border-color: var(--oc-green); }
.oc-profile-actions { display: flex; gap: 8px; }
.oc-save { border: 0; background: var(--oc-green); color: #fff; font: inherit; font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: 99px; cursor: pointer; }
.oc-skip { border: 0; background: none; color: #4a5568; font: inherit; font-size: 13.5px; cursor: pointer; }

.oc-composer { padding: 10px 12px 12px; border-top: 1px solid #eceff3; background: #fff; }
.oc-error { margin: 0 0 8px; font-size: 12.5px; color: #b42318; }
.oc-input { display: flex; align-items: flex-end; gap: 8px; background: #f4f6f9; border: 1px solid #e4e7ec; border-radius: 18px; padding: 6px 6px 6px 14px; transition: border-color .15s, box-shadow .15s; }
.oc-input:focus-within { border-color: var(--oc-green); box-shadow: 0 0 0 3px rgba(62, 172, 97, .15); background: #fff; }
.oc-input textarea { flex: 1; border: 0; background: none; resize: none; font: inherit; font-size: 15px; line-height: 1.4; padding: 7px 0; max-height: 120px; outline: none; color: var(--ink, #0f1623); }
.oc-send { width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: var(--oc-green); color: #fff; display: grid; place-items: center; cursor: pointer; transition: opacity .15s, transform .15s; }
.oc-send:disabled { opacity: .35; cursor: default; }
.oc-send:not(:disabled):hover { transform: scale(1.06); }
.oc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 640px) {
  .oc-root { right: 14px; bottom: calc(14px + var(--oc-lift)); }
  .oc-bubble { width: 54px; height: 54px; }
  .oc-hint { right: 62px; bottom: 9px; }
  .is-open.oc-root { inset: 0; right: 0; bottom: 0; }
  .is-open .oc-panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; animation: none; }
  .is-open .oc-bubble { display: none; }
  .oc-lock, .oc-lock body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .oc-bubble::after { animation: none; } .oc-panel { animation: none; } }
