/* Original chat palette and art, shared compact menu surface. */
#cmd form {max-width:100vw;}
#cmd table .field {min-width:0; box-sizing:border-box;}
a[role="button"]:not([href]) {cursor:pointer;}
#popup.tz-chat-panel {position:fixed; z-index:10010; box-sizing:border-box; display:none;
  flex-direction:column; padding:0; margin:0; height:auto; overflow:hidden;
  background:#e0d9d1; border:1px solid #524d42; color:#181813;
  box-shadow:2px 3px 8px #0006; font:12px/1.35 Verdana,Arial,sans-serif;}
.tz-chat-heading {display:flex; align-items:center; flex-shrink:0; min-height:25px;
  padding:0 3px 0 8px; gap:8px; background:#504d43; color:#e6ded0;}
#tz-chat-title {flex:1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px;}
.tz-chat-close {display:flex; align-items:center; justify-content:center; width:24px; height:23px;
  border:0; background:transparent; color:#e6ded0; padding:0; cursor:pointer;}
.tz-chat-close:hover {background:#746b54;}
.tz-chat-content {overflow:auto; overscroll-behavior:contain; padding:4px; min-height:0; font-size:12px;}
.tz-chat-content td {font-size:12px;}
.tz-chat-content img[onclick], .tz-chat-content td[onclick] {cursor:pointer;}
.tz-chat-content img {vertical-align:middle;}
.tz-chat-panel :focus {outline:none;}
.tz-chat-words label {display:block; margin-bottom:6px; white-space:normal;}
.tz-chat-words input {width:100%; box-sizing:border-box; margin-bottom:8px;}
.tz-chat-words button {font-size:12px;}
