.hc-chat{position:fixed;z-index:50;inset-inline-end:16px;bottom:calc(88px + env(safe-area-inset-bottom));color:var(--text);font-family:var(--font)}.hc-chat--staff{bottom:calc(20px + env(safe-area-inset-bottom))}.hc-chat button,.hc-chat select,.hc-chat textarea{font:inherit}.hc-chat button{cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:7px 11px;background:var(--surface);color:var(--text);min-height:44px}.hc-chat button:disabled{cursor:default;background:var(--surface-2);color:var(--muted)}.hc-chat button:focus-visible,.hc-chat textarea:focus-visible,.hc-chat select:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}.hc-chat .hc-chat-launch{display:flex;align-items:center;gap:8px;border-color:var(--brand-line);background:var(--brand);color:var(--on-brand);box-shadow:var(--shadow-sm);font-weight:800;padding:12px 16px;border-radius:24px}.hc-chat-window{position:absolute;inset-inline-end:0;bottom:60px;width:min(440px,calc(100vw - 24px));height:min(660px,calc(var(--hc-chat-vh, 100dvh) - 185px));min-height:0;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--brand-line);border-radius:18px;box-shadow:0 12px 50px #0003;overflow-y:auto;overscroll-behavior:contain}.hc-chat-head{display:flex;gap:12px;align-items:start;padding:14px;background:var(--brand-soft);flex-shrink:0}.hc-chat-head>div{flex:1}.hc-chat-head h2{font-size:17px;margin:0}.hc-chat-head p{font-size:12px;margin:5px 0 0;line-height:1.8}.hc-chat-head>button{font-size:23px;line-height:1}.hc-chat-presence{padding:8px 14px;border-bottom:1px solid var(--line);font-size:13px}.hc-chat-presence label{display:flex;align-items:center;gap:8px}.hc-chat-presence input{width:18px;height:18px}.hc-chat-presence p,.hc-chat-error{color:var(--danger, #bd2323);font-size:13px}.hc-chat-error{padding:8px 14px;max-height:100px;overflow:auto;flex-shrink:0}.hc-chat-inbox,.hc-chat-messages{min-height:0;flex:1 0 140px;overflow-y:auto;overscroll-behavior:contain;padding:12px}.hc-chat-filter{display:flex;gap:10px;align-items:center;margin-bottom:12px;font-size:13px}.hc-chat select{min-width:0;max-width:100%;border:1px solid var(--line);border-radius:8px;padding:5px;color:var(--text);background:var(--surface)}.hc-chat .hc-chat-item{width:100%;text-align:start;margin-bottom:8px;padding:12px;display:flex;flex-wrap:wrap;gap:6px}.hc-chat-item>span{flex:1;min-width:0}.hc-chat-item small{display:block;font-size:11px;color:var(--muted)}.hc-chat-item p{width:100%;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.hc-chat time{color:var(--muted);font-size:10px}.hc-chat-badge{border-radius:20px;padding:2px 7px;background:var(--text);color:var(--surface);font-size:12px}.hc-chat-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}.hc-chat-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px 12px;border-bottom:1px solid var(--line);font-size:12px;max-height:150px;overflow-y:auto;flex-shrink:0}.hc-chat-tools>small{flex-basis:100%}.hc-chat-tools label{display:flex;gap:4px;align-items:center}.hc-chat-message{max-width:90%;width:fit-content;margin:0 auto 10px 0;padding:10px 12px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px}.hc-chat-message--own{margin:0 0 10px auto;background:var(--brand-soft);border-color:var(--brand-line)}.hc-chat-message>small{color:var(--muted);font-size:11px}.hc-chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;margin:3px 0}.hc-chat-message--system{max-width:100%;margin-inline:auto;background:transparent;border:0;text-align:center}.hc-chat-message--system p{font-size:12px;color:var(--muted)}.hc-chat-message--system>small{display:none}.hc-chat-note{padding:12px;font-size:13px;line-height:1.9;color:var(--muted)}.hc-chat-compose{flex-shrink:0;padding:10px 12px;border-top:1px solid var(--line)}.hc-chat-compose textarea{display:block;width:100%;min-height:58px;max-height:120px;resize:vertical;border:1px solid var(--control-line);border-radius:10px;padding:8px;color:var(--text);background:var(--surface);font-size:16px}.hc-chat-input-label{display:block;font-size:12px;margin-bottom:4px}.hc-chat-compose>div{display:flex;justify-content:space-between;align-items:center;margin-top:6px}.hc-chat-compose small{font-size:11px;color:var(--muted)}.hc-chat-compose button[type=submit]{background:var(--brand);color:var(--on-brand);border-color:var(--brand-line);font-weight:800}.hc-chat-order{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;margin-bottom:7px}.hc-chat-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:560px){.hc-chat{inset-inline-end:12px}.hc-chat-window{position:fixed;inset:auto 8px;top:calc(var(--hc-chat-top, 0px) + 8px);width:auto;height:calc(var(--hc-chat-vh, 100dvh) - 16px);min-height:0}.hc-chat .hc-chat-launch{font-size:12px;padding:10px 12px}.hc-chat-compose textarea{max-height:80px}}.hc-chat-icon{display:none;position:relative;place-items:center;flex:0 0 auto;width:38px;height:38px;padding:0;border-radius:50%;cursor:pointer;background:var(--brand-soft);color:var(--accent-text);border:1px solid var(--brand-line)}.hc-chat-icon svg{width:19px;height:19px}.hc-chat-icon:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}.hc-chat-icon .hc-chat-badge{position:absolute;top:-5px;inset-inline-end:-5px;min-width:18px;padding:1px 5px;font-size:11px;font-weight:800;line-height:1.4;text-align:center}@media(max-width:560px){.hc-chat-icon{display:inline-grid}.hc-chat--slotted .hc-chat-launch{display:none}}.hc-chat-icon--always{display:inline-grid}.hc-chat--slot-only .hc-chat-launch{display:none}@media(min-width:561px){.hc-chat--slot-only{top:64px;bottom:auto}.hc-chat--slot-only .hc-chat-window{top:0;bottom:auto}}body:has(.total-bar) .hc-chat{bottom:calc(120px + env(safe-area-inset-bottom))}body:has(.sheet-back) .hc-chat-launch{visibility:hidden}.hc-chat .picker{border-color:var(--control-line);min-width:0}.hc-chat-filter .picker,.hc-chat-order .picker{flex:1}.hc-chat-transfer{min-width:0;flex:1 1 140px}.hc-chat-head>div{min-width:0;overflow-wrap:anywhere}.hc-chat-tools>span,.hc-chat-tools>small,.hc-chat-item b{overflow-wrap:anywhere}@media(max-height:560px){.hc-chat-window{position:fixed;inset:auto 8px;top:calc(var(--hc-chat-top, 0px) + 8px);width:auto;height:calc(var(--hc-chat-vh, 100dvh) - 16px)}.hc-chat-head p{font-size:11px}.hc-chat-messages,.hc-chat-inbox{flex-basis:110px}}.hc-order-link{display:inline;padding:0;margin:0;border:0;background:none;font:inherit;font-weight:700;color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer;unicode-bidi:isolate}.hc-order-link:hover{text-decoration-thickness:2px}.hc-order-link:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:3px}:root{--acting-h: 0px}html.acting{--acting-h: 44px}html.acting body{padding-top:var(--acting-h)}html.acting .app-top,html.acting .kar-top,html.acting .kar-side,html.acting .top{top:var(--acting-h)}html.acting .kar-side{height:calc(100dvh - var(--acting-h))}.acting-bar{position:fixed;z-index:2500;inset:0 0 auto;min-height:var(--acting-h, 44px);display:flex;align-items:center;gap:10px;padding:calc(4px + env(safe-area-inset-top)) 14px 4px;background:#f07c00;color:#1d1200;box-shadow:0 2px 10px #0000002e;font-size:13px;line-height:1.5;direction:rtl}.acting-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acting-text small{font-size:12px;opacity:.85}.acting-error{font-size:12px;font-weight:800}.acting-bar button{flex:0 0 auto;min-height:34px;padding:0 12px;border:0;border-radius:9px;cursor:pointer;background:#1d1200;color:#fff;font:inherit;font-size:12.5px;font-weight:800}.acting-bar button:disabled{opacity:.7;cursor:default}.acting-bar button:focus-visible{outline:2px solid #fff;outline-offset:2px}@media(max-width:420px){.acting-text small{display:none}}.act-as{margin-top:10px}.act-as .btn{width:100%}
