/* أيقونة الدعم للزوّار (موقع عام ثابت). بلا أي إطار خارجي. */
.cs-root { position: fixed; inset-inline-end: 18px; inset-block-end: 18px; z-index: 900; font-family: inherit; }
.cs-launcher { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 0; border-radius: 999px; background: #15b981; color: #fff; font-size: 0.95rem; font-weight: 700; cursor: pointer; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.cs-launcher:hover { filter: brightness(1.06); }
.cs-launcher-icon { font-size: 1.05rem; }
.cs-panel { position: absolute; inset-inline-end: 0; inset-block-end: 62px; width: min(22rem, 92vw); max-height: 70vh; display: flex; flex-direction: column; background: #0f1524; color: #e9eef7; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.cs-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: rgba(255,255,255,.05); }
.cs-title { font-weight: 700; }
.cs-close { background: transparent; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cs-log { flex: 1 1 auto; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.cs-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 0.86rem; line-height: 1.7; white-space: pre-wrap; }
.cs-msg-agent { align-self: flex-start; background: rgba(255,255,255,.08); }
.cs-msg-user { align-self: flex-end; background: #15b981; color: #05221a; }
.cs-msg-pending { opacity: .65; }
.cs-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.1); }
.cs-input { flex: 1 1 auto; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: inherit; font: inherit; }
.cs-send { padding: 10px 14px; border: 0; border-radius: 12px; background: #15b981; color: #05221a; font-weight: 700; cursor: pointer; }
.cs-send[disabled] { opacity: .6; cursor: progress; }
.cs-note { margin: 0; padding: 0 14px 12px; font-size: 0.74rem; opacity: .6; }
.cs-ticket-bar { padding: 0 12px 8px; }
.cs-ticket-open { width: 100%; padding: 9px 12px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.28); background: transparent; color: inherit; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.cs-ticket-open:hover { border-color: #15b981; color: #15b981; }
.cs-ticket { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.1); }
.cs-ticket input, .cs-ticket textarea { padding: 9px 11px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: inherit; font: inherit; }
.cs-ticket-actions { display: flex; gap: 8px; }
.cs-ticket-send { flex: 1 1 auto; padding: 9px 12px; border: 0; border-radius: 12px; background: #15b981; color: #05221a; font-weight: 700; cursor: pointer; }
.cs-ticket-cancel { padding: 9px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
.cs-ticket-ok { color: #15b981; font-weight: 700; }
@media (max-width: 480px) { .cs-launcher-label { display: none; } }