.pcm-form{max-width:480px;margin:0 auto;display:flex;flex-direction:column;gap:12px}.pcm-field{display:flex;flex-direction:column;gap:4px;margin:0}.pcm-field label{font-weight:600;font-size:.9em}.pcm-field input,.pcm-form textarea{padding:10px 12px;border:1px solid #d0d5dd;border-radius:8px;font-size:1em}.pcm-btn{padding:10px 18px;border:none;border-radius:8px;cursor:pointer;font-size:.95em}.pcm-btn-primary{background:#25D366;color:#fff}.pcm-btn-danger{background:#dc2626;color:#fff}.pcm-btn-small{padding:6px 10px;font-size:.85em;background:#eef2f7}.pcm-btn-icon{background:#fff0;font-size:1.3em;padding:4px 8px}.pcm-form-message{font-size:.9em;min-height:1.2em}.pcm-form-message.is-success{color:#16a34a}.pcm-form-message.is-error{color:#dc2626}.pcm-chat-widget{display:flex;flex-direction:column;height:70vh;max-height:640px;width:100%;max-width:480px;margin:0 auto;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#f8fafc}.pcm-chat-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#075E54;color:#fff;font-weight:600}.pcm-chat-header .pcm-btn-small{background:rgb(255 255 255 / .2);color:#fff}.pcm-chat-messages{flex:1;min-height:0;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px}.pcm-chat-empty{text-align:center;color:#94a3b8;margin-top:40px}.pcm-bubble{max-width:78%;padding:8px 12px;border-radius:14px;position:relative;word-break:break-word}.pcm-bubble-mine{align-self:flex-end;background:#DCF8C6;color:#111b21;border-bottom-right-radius:4px}.pcm-bubble-theirs{align-self:flex-start;background:#fff;border:1px solid #e2e8f0;border-bottom-left-radius:4px}.pcm-bubble-text{margin:0 0 4px;white-space:pre-wrap}.pcm-bubble-image,.pcm-bubble-video{max-width:100%;border-radius:8px;display:block;margin-bottom:4px}.pcm-bubble-file{display:inline-block;color:inherit;text-decoration:underline}.pcm-bubble-meta{display:block;font-size:.7em;opacity:.7;text-align:right;margin-top:2px}.pcm-chat-typing{padding:4px 16px;font-size:.8em;color:#64748b;font-style:italic;min-height:1.4em}.pcm-upload-progress{display:flex;align-items:center;gap:8px;padding:4px 16px}.pcm-upload-progress-track{flex:1;height:6px;background:#e2e8f0;border-radius:999px;overflow:hidden}.pcm-upload-progress-bar{height:100%;width:0%;background:#25D366;transition:width 0.15s ease}.pcm-upload-progress-label{font-size:.75em;color:#64748b;min-width:32px;text-align:right}.pcm-btn[disabled]{opacity:.6;cursor:not-allowed}.pcm-attachment-preview{display:flex;align-items:center;gap:10px;padding:8px 16px;background:#fff;border-top:1px solid #e2e8f0}.pcm-attachment-preview-content{flex:1;display:flex;align-items:center;gap:8px;min-width:0}.pcm-attachment-preview-content img{max-height:60px;max-width:90px;border-radius:6px;object-fit:cover}.pcm-attachment-preview-content video{max-height:60px;max-width:120px;border-radius:6px}.pcm-attachment-preview-content audio{max-width:220px;height:32px}.pcm-attachment-preview-filename{font-size:.85em;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pcm-avatar-field{flex-direction:row!important;align-items:center;gap:12px}.pcm-avatar-picker{display:flex;align-items:center;gap:10px}.pcm-avatar-preview{width:56px;height:56px;border-radius:50%;object-fit:cover;background:#e2e8f0;border:1px solid #d0d5dd}.pcm-profile-header{display:flex;align-items:center;justify-content:space-between;max-width:480px;margin:0 auto 16px;font-size:.9em;color:#334155}.pcm-chat-title-group{display:flex;align-items:center;gap:8px}.pcm-chat-header-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover}.pcm-chat-header-actions{display:flex;align-items:center;gap:8px}.pcm-chat-header-actions .pcm-btn{width:34px;height:34px;padding:0;font-size:1.15em;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;line-height:1;background:rgb(255 255 255 / .16)}.pcm-chat-header-actions .pcm-btn:hover,.pcm-chat-header-actions .pcm-btn:active{background:rgb(255 255 255 / .32)}.pcm-chat-header-actions a.pcm-btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.pcm-bubble-row{display:flex;align-items:flex-end;gap:6px;max-width:100%}.pcm-bubble-row-mine{justify-content:flex-end}.pcm-bubble-row-theirs{justify-content:flex-start}.pcm-bubble-avatar{width:26px;height:26px;border-radius:50%;object-fit:cover;flex-shrink:0}.pcm-account-button{display:inline-flex;align-items:center;gap:8px;text-decoration:none}.pcm-account-button-connected{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:4px 10px 4px 4px}.pcm-account-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover}.pcm-credits-page{max-width:560px;margin:0 auto}.pcm-credits-balance-card{background:#075E54;color:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:4px;margin-bottom:20px}.pcm-credits-balance-label{font-size:.85em;opacity:.85}.pcm-credits-balance-value{font-size:2.2em;font-weight:700}.pcm-credits-section{margin-bottom:24px}.pcm-credits-section h3{margin-bottom:8px}.pcm-credits-pricing-list{list-style:none;margin:0;padding:0}.pcm-credits-pricing-list li{padding:8px 0;border-bottom:1px solid #eee;display:flex;justify-content:space-between;gap:8px}.pcm-recharge-amount-preview{display:block;font-size:.85em;color:#64748b;margin-top:4px}.pcm-recharge-instructions{background:#E7F9EF;border:1px solid #25D366;border-radius:8px;padding:12px;margin-bottom:12px;white-space:pre-wrap;font-size:.9em}.pcm-recharge-note{font-size:.85em;color:#64748b;margin-top:8px}.pcm-recharge-history{list-style:none;margin:0;padding:0}.pcm-recharge-history li{padding:8px 0;border-bottom:1px solid #eee;font-size:.9em}.pcm-recharge-history-date{color:#64748b;margin-right:8px}.pcm-recharge-status-pending{color:#d97706;font-weight:600}.pcm-recharge-status-approved{color:#25D366;font-weight:600}.pcm-recharge-status-rejected{color:#dc2626;font-weight:600}.pcm-chat-credits-badge{font-size:.75em;background:rgb(255 255 255 / .2);border-radius:999px;padding:2px 10px;margin-left:4px}.pcm-call-overlay{position:absolute;inset:0;z-index:50;background:#075E54;display:flex;flex-direction:column;align-items:center;justify-content:space-between;color:#fff;padding:24px 16px;border-radius:inherit}.pcm-chat-widget,.pcm-admin-chat-panel{position:relative}.pcm-call-videos{position:absolute;inset:0;display:none}.pcm-call-overlay.pcm-call-has-video .pcm-call-videos{display:block}.pcm-call-remote-video{width:100%;height:100%;object-fit:cover;background:#000}.pcm-call-local-video{position:absolute;bottom:90px;right:16px;width:96px;height:128px;object-fit:cover;border-radius:10px;border:2px solid rgb(255 255 255 / .6);background:#000}.pcm-call-info{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:40px}.pcm-call-overlay.pcm-call-has-video.pcm-call-connected .pcm-call-info{display:none}.pcm-call-peer-avatar{width:96px;height:96px;border-radius:50%;object-fit:cover;border:3px solid rgb(255 255 255 / .4)}.pcm-call-peer-name{font-size:1.2em;font-weight:600}.pcm-call-status{font-size:.9em;opacity:.85}.pcm-call-controls{position:relative;z-index:1;display:flex;gap:18px;margin-bottom:12px}.pcm-call-control-btn{width:56px;height:56px;border-radius:50%;border:none;font-size:1.4em;cursor:pointer;display:flex;align-items:center;justify-content:center;background:rgb(255 255 255 / .2);color:#fff}.pcm-call-hangup{background:#dc2626}.pcm-call-accept{background:#25D366;display:none}.pcm-call-overlay.pcm-call-ringing-incoming .pcm-call-accept{display:flex}.pcm-call-mute.is-muted,.pcm-call-camera.is-off{background:#dc2626}.pcm-call-overlay.pcm-call-ringing-incoming .pcm-call-mute,.pcm-call-overlay.pcm-call-ringing-incoming .pcm-call-camera,.pcm-call-overlay.pcm-call-ringing-outgoing .pcm-call-mute,.pcm-call-overlay.pcm-call-ringing-outgoing .pcm-call-camera{display:none}.pcm-call-overlay:not(.pcm-call-has-video) .pcm-call-camera{display:none}.pcm-record-timer{font-size:.8em;color:#dc2626;font-variant-numeric:tabular-nums}#pcm-chat-record-btn.is-recording,#pcm-admin-chat-record-btn.is-recording{background:#fee2e2;color:#dc2626;animation:pcm-pulse 1s infinite}@keyframes pcm-pulse{0%,100%{opacity:1}50%{opacity:.5}}.pcm-chat-form{display:flex;align-items:flex-end;gap:6px;padding:10px;background:#fff;border-top:1px solid #e2e8f0;flex-shrink:0;position:sticky;bottom:0}.pcm-chat-form textarea{flex:1;resize:none;max-height:100px;padding:10px 12px;border:1px solid #d0d5dd;border-radius:20px;font-size:.95em}.pcm-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}.pcm-status-online{background:#25D366}.pcm-status-offline{background:#94a3b8}@media (min-width:768px){.pcm-chat-widget{height:560px}}