*{box-sizing:border-box}[hidden]{display:none!important}.chat-main{max-width:1180px;margin:auto;padding:32px 24px}.chat-intro h1{font-size:clamp(32px,6vw,54px);margin:8px 0}.chat-intro p{color:#666}.auth-card{max-width:480px;background:white;border:1px solid #e5e1e1;border-radius:24px;padding:28px;margin:26px auto;box-shadow:0 18px 55px #30101808}.auth-card h2{margin:0 0 8px}.auth-card p{line-height:1.6;color:#625e63}.auth-card label{display:block;margin:18px 0;font-weight:600}input,textarea{font:inherit;width:100%;border:1px solid #ddd6d8;padding:13px 15px;border-radius:12px;background:#fff;outline-color:#df122a}label input{display:block;margin-top:7px}button{font:inherit;cursor:pointer;border:0;background:#df122a;color:white;padding:12px 20px;border-radius:12px;font-weight:700}button:disabled{opacity:.5;cursor:default}.secondary{background:#f1edee;color:#392d32}.privacy{font-size:12px}.auth-card button{margin:4px 6px 4px 0}.session-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0;font-size:14px;overflow-wrap:anywhere}.chat-layout{border:1px solid #e3dddd;border-radius:22px;background:white;overflow:hidden;min-height:500px}.chat-layout.admin{display:grid;grid-template-columns:280px 1fr}aside{padding:18px;border-right:1px solid #ece5e6;max-height:650px;overflow:auto}aside h2{font-size:18px}.inbox-item{display:block;background:white;color:#34242b;width:100%;text-align:left;margin:6px 0;padding:14px;border:1px solid #eee;border-radius:12px}.inbox-item.active{background:#fff0f2;border-color:#df122a}.inbox-item strong,.inbox-item small{display:block}.inbox-item small{margin-top:5px;color:#777;font-weight:400}.conversation{min-width:0;display:flex;flex-direction:column}.conversation-head{display:flex;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid #eee}.conversation-head h2{font-size:18px;margin:0 0 4px}.conversation-head small{color:#777}.avatar{background:#df122a;color:white;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:800}.bubbles{height:400px;overflow:auto;padding:24px;background:#faf7f5;display:flex;flex-direction:column;gap:12px}.bubble{max-width:82%;align-self:flex-start;background:white;padding:12px 16px;border:1px solid #eee1e2;border-radius:16px 16px 16px 4px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.5}.bubble.mine{align-self:flex-end;background:#df122a;color:white;border:0;border-radius:16px 16px 4px 16px}.bubble small{display:block;margin-top:6px;font-size:10px;opacity:.75;text-align:right}.empty{color:#81777b;margin:auto;text-align:center;line-height:1.6}.composer{display:flex;gap:10px;padding:16px 20px 6px;align-items:flex-end}.composer textarea{resize:vertical;max-height:180px}.composer button{min-height:50px;white-space:nowrap}#sendStatus{padding:0 20px;font-size:12px;color:#62525a;min-height:18px}.push-controls{margin:18px 0;font-size:13px;line-height:1.5;color:#76676e}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:650px){.chat-main{padding:22px 12px}.chat-layout.admin{grid-template-columns:1fr}.chat-layout.admin aside{max-height:220px;border-right:0;border-bottom:1px solid #ddd}.chat-intro h1{font-size:34px}.bubbles{height:48vh;padding:16px}.bubble{max-width:90%}.composer{padding:12px 10px 6px;gap:6px}.composer button{padding:12px}.auth-card{padding:22px}.session-bar{font-size:12px}}

.session-bar{flex-wrap:wrap}.session-bar>span{flex:1;min-width:180px}.session-bar button{font-size:12px;padding:10px 14px}

.admin-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.admin-tabs a{padding:14px 20px;background:#f0eaed;border-radius:12px;color:#57414b;text-decoration:none;font-weight:700}.admin-tabs a.selected{background:#df122a;color:white}.embedded header,.embedded .chat-intro{display:none}.embedded .chat-main{padding:12px}.embedded .auth-card{margin:12px 0;padding:20px;box-shadow:none}.embedded #serviceStatus{font-size:12px}.embedded .session-bar{margin:8px 0}.embedded .bubbles{height:300px}.embedded .push-controls{font-size:11px}.embedded .composer{padding:10px}.embedded .privacy{font-size:11px}
