#woochat-app{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,sans-serif;width:100%;max-width:500px;margin:0 auto;height:620px;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;box-shadow:0 4px 32px rgba(0,0,0,.18);position:relative}
#woochat-app *{box-sizing:border-box}
#wc-header{background:#075e54;color:#fff;padding:12px 16px;display:flex;align-items:center;gap:12px;flex-shrink:0}
#wc-header .wc-av{width:40px;height:40px;border-radius:50%;background:#25d366;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0}
#wc-header .wc-hname{font-weight:700;font-size:15px;line-height:1.2}
#wc-header .wc-hstatus{font-size:12px;opacity:.85}
#wc-chat{flex:1;flex-direction:column;overflow:hidden;min-height:0}
#wc-msgs{flex:1;overflow-y:auto;padding:12px 14px;background:#e5ddd5;display:flex;flex-direction:column;gap:6px}
#wc-msgs::-webkit-scrollbar{width:4px}
#wc-msgs::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);border-radius:4px}
.wc-row{display:flex}
.wc-row.wc-bot{justify-content:flex-start}
.wc-row.wc-usr{justify-content:flex-end}
.wc-bub{max-width:82%;padding:7px 12px 4px;border-radius:8px;font-size:14px;line-height:1.45;word-break:break-word;white-space:pre-wrap}
.wc-row.wc-bot .wc-bub{background:#fff;border-top-left-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.wc-row.wc-usr .wc-bub{background:#dcf8c6;border-top-right-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.wc-t{display:block;font-size:11px;color:#777;text-align:right;margin-top:3px}
.wc-typing-row{display:flex;justify-content:flex-start}
.wc-typing{background:#fff;border-radius:8px;border-top-left-radius:2px;padding:10px 14px;display:flex;gap:4px;align-items:center;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.wc-typing span{width:7px;height:7px;background:#aaa;border-radius:50%;animation:wcb .9s infinite ease-in-out}
.wc-typing span:nth-child(2){animation-delay:.2s}
.wc-typing span:nth-child(3){animation-delay:.4s}
@keyframes wcb{0%,80%,100%{transform:scale(.8);opacity:.6}40%{transform:scale(1.1);opacity:1}}
#wc-bar{background:#f0f0f0;padding:8px 10px;display:flex;align-items:flex-end;gap:8px;flex-shrink:0;border-top:1px solid #ddd}
#wc-input{flex:1;border:none;border-radius:20px;padding:9px 14px;font-size:14px;outline:none;resize:none;min-height:38px;max-height:96px;line-height:1.4;background:#fff;font-family:inherit}
#wc-send{background:#25d366;border:none;border-radius:50%;width:40px;height:40px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0}
#wc-send:hover{background:#128c7e}
#wc-send:disabled{opacity:.6;cursor:not-allowed}
#wc-send svg{fill:#fff;width:20px;height:20px;display:block}
#wc-reg{flex:1;flex-direction:column;align-items:center;justify-content:center;background:#e5ddd5;padding:28px 24px;gap:14px;text-align:center;overflow-y:auto}
#wc-reg h3{font-size:18px;font-weight:700;color:#333;margin:0}
#wc-reg p{font-size:13px;color:#555;margin:0;line-height:1.5}
.wc-fl{width:100%;max-width:310px;text-align:left}
.wc-fl label{display:block;font-size:12px;font-weight:600;color:#444;margin-bottom:4px}
.wc-fl input{width:100%;padding:10px 13px;border:1.5px solid #ddd;border-radius:8px;font-size:14px;outline:none;font-family:inherit;background:#fff}
.wc-fl input:focus{border-color:#25d366}
#wc-start{background:#25d366;color:#fff;border:none;border-radius:22px;padding:11px 0;font-size:15px;font-weight:700;cursor:pointer;width:100%;max-width:310px;font-family:inherit}
#wc-start:hover{background:#128c7e}
#wc-start:disabled{opacity:.65;cursor:not-allowed}
.wc-err{color:#b42318;font-size:13px;min-height:16px}
.wc-login-links a{color:#075e54;font-weight:700;text-decoration:none;margin:0 8px}
