body{
  margin:0;
  background:linear-gradient(180deg,#0b1b37 0%,#07162f 100%);
  color:#edf3ff;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.wrap{max-width:1240px;margin:0 auto;padding:24px}
.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.06);margin-bottom:24px}
.topbar h1{margin:0 0 8px;font-size:32px;letter-spacing:-.03em;font-weight:620}
.topbar p{margin:0;color:#a7b4cc;line-height:1.8}
.login-box,.panel{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);border-radius:18px;padding:20px}
.login-box{max-width:460px}
input,textarea{width:100%;box-sizing:border-box;margin:8px 0 14px;padding:14px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02);color:#edf3ff}
textarea{height:110px;resize:vertical}
button{padding:12px 16px;border:0;border-radius:12px;cursor:pointer;font-weight:600;font-size:14px}
#loginBtn,#replyBtn,#enableNotify,.solid{background:linear-gradient(180deg,#22c55e,#13964c);color:#062813}
.danger{background:#ef4444;color:#fff}
.hidden{display:none}
.app-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.06);margin-bottom:20px;flex-wrap:wrap}
.app-head strong{display:block;font-size:18px}
.app-head span{display:block;margin-top:4px;color:#a7b4cc;font-size:14px}
.tabs{display:flex;gap:10px;flex-wrap:wrap}
.tab{background:rgba(255,255,255,.03);color:#e8f0ff;border:1px solid rgba(255,255,255,.06)}
.tab.active{background:#edf3ff;color:#0b1831}
.tab-panel{display:none}
.tab-panel.active{display:block}
.grid{display:grid;grid-template-columns:.9fr .95fr 1.25fr;gap:18px}
.package-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
h3{margin:0 0 16px;font-size:20px;letter-spacing:-.02em;font-weight:610}
.chatItem,.presenceItem,.msgCard,.siteRow,.pkgRow{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.chatItem{cursor:pointer}
.chatItem.active{background:rgba(255,255,255,.03);margin:0 -10px;padding:12px 10px;border-radius:10px}
small,.muted{color:#a7b4cc}
.msgCard.visitor{border-left:3px solid #22c55e;padding-left:12px}
.msgCard.agent{border-left:3px solid #60a5fa;padding-left:12px}
.row{display:flex;gap:10px;flex-wrap:wrap}
.package-badge{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);font-size:13px}
.action-stack{display:flex;flex-direction:column;gap:10px}
.secondary{background:rgba(255,255,255,.04);color:#edf3ff;border:1px solid rgba(255,255,255,.08)}
.msg{margin-top:8px;color:#d8e8ff;font-size:14px;line-height:1.7}
@media (max-width:980px){
  .grid,.package-grid{grid-template-columns:1fr}
}


.agent-brand{display:flex;align-items:flex-start;gap:14px}
.agent-brand img{height:64px;width:auto;display:block;object-fit:contain}
.agent-brand-copy{display:block}



.input-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:center;
}
.input-row input{
  margin-bottom:0;
}
.toggle-btn{
  min-width:78px;
  background:rgba(255,255,255,.04);
  color:#edf3ff;
  border:1px solid rgba(255,255,255,.08);
}
.login-links{
  margin:10px 0 14px;
}
.ghost-link{
  color:#dbeafe;
  text-decoration:none;
  font-size:14px;
}
.ghost-link:hover{
  text-decoration:underline;
}

