.okh-ch { position: fixed; right: 18px; bottom: 18px; z-index: 9990; font-family: inherit; }
.okh-ch-fab { display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 12px 18px; border-radius: 999px; background: linear-gradient(135deg, #059669, #10b981); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(5, 150, 105, .45); }
.okh-ch.open .okh-ch-fab { display: none; }
.okh-ch-panel { display: none; width: 360px; max-width: calc(100vw - 24px); height: 520px; max-height: calc(100vh - 36px); flex-direction: column; background: var(--surface, #101a17); color: var(--text, #e8f1ee); border: 1px solid var(--border-color, rgba(255,255,255,.12)); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.okh-ch.open .okh-ch-panel { display: flex; }
.okh-ch-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(135deg, #065f46, #059669); color: #fff; }
.okh-ch-title { display: flex; flex-direction: column; line-height: 1.3; }
.okh-ch-title small { opacity: .85; font-size: 12px; }
.okh-ch-x { border: 0; background: rgba(255,255,255,.18); color: #fff; width: 30px; height: 30px; border-radius: 9px; cursor: pointer; }
.okh-ch-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.okh-ch-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.okh-ch-msg.bot { align-self: flex-start; background: rgba(255,255,255,.07); border-bottom-left-radius: 4px; }
.okh-ch-msg.me { align-self: flex-end; background: #059669; color: #fff; border-bottom-right-radius: 4px; }
.okh-ch-msg.typing { opacity: .6; font-style: italic; }
.okh-ch-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border-color, rgba(255,255,255,.12)); }
.okh-ch-form input { flex: 1; min-width: 0; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--border-color, rgba(255,255,255,.15)); background: var(--bg, #0b1210); color: inherit; font-size: 14px; }
.okh-ch-send { border: 0; padding: 0 16px; border-radius: 10px; background: #059669; color: #fff; font-weight: 700; cursor: pointer; }
.okh-ch-send:disabled { opacity: .5; cursor: default; }
[data-theme="light"] .okh-ch-panel { background: #fff; color: #0f1f1b; }
[data-theme="light"] .okh-ch-msg.bot { background: #eef5f2; }
@media (max-width: 520px) { .okh-ch { right: 10px; bottom: 10px; } .okh-ch-fab-txt { display: none; } .okh-ch-fab { padding: 14px; } .okh-ch-panel { height: 75vh; } }

.okh-ch-tools { display: flex; gap: 6px; }
.okh-ch-topics { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.okh-ch-topic { text-align: left; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border-color, rgba(255,255,255,.18)); background: transparent; color: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.okh-ch-topic:hover { border-color: #10b981; background: rgba(16,185,129,.1); }
.okh-ch-form input:disabled { opacity: .55; }

/* Yetkiliye bağlanma */
.okh-ch-human { padding: 8px 10px 0; display: flex; justify-content: center; }
.okh-ch-human-btn { border: 1px dashed rgba(16,185,129,.6); background: transparent; color: #10b981; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.okh-ch-human-btn:hover { background: rgba(16,185,129,.12); }
.okh-ch-human-btn:disabled { opacity: .5; cursor: default; }
.okh-ch-msg.staff { background: rgba(5,150,105,.2); border: 1px solid rgba(16,185,129,.5); }
.okh-ch-who { display: block; font-size: 11px; font-weight: 700; color: #10b981; margin-bottom: 2px; }
.okh-ch-msg.note { align-self: center; background: transparent; font-size: 12px; opacity: .7; font-style: italic; text-align: center; max-width: 94%; }
.okh-ch-fab { position: relative; }
.okh-ch-ping { display: none; position: absolute; top: -2px; right: -2px; width: 13px; height: 13px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.okh-ch-fab.ping .okh-ch-ping { display: block; }
[data-theme="light"] .okh-ch-msg.staff { background: #e3f6ee; }
