.community-subtabs{display:flex;gap:8px;margin:18px 0;border-bottom:1px solid #705e3a}.community-subtabs button{min-height:44px;padding:9px 18px;border:0;border-radius:10px 10px 0 0;background:transparent;color:#f4e5c6;font:inherit;font-weight:700}.community-subtabs button[aria-selected=true]{background:#d8ad59;color:#091522}.community-subtabs span{margin-left:6px;padding:2px 7px;border-radius:12px;background:#7f3a2c;color:white}
.community-panel.is-chat-view > :is([data-community-state],.community-toolbar,[data-community-notifications],[data-community-student-editor],[data-community-feed],[data-community-more]){display:none!important}.community-panel.is-chat-view [data-community-refresh]{display:none}
.community-chat{display:grid;grid-template-columns:minmax(220px,310px) minmax(0,1fr);gap:15px;min-height:500px}.community-chat-list,.community-chat-thread{min-width:0;padding:16px;border:1px solid #74613c;border-radius:15px;background:#101e2c}.community-chat-list-head,.community-chat-thread-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.community-chat-list h4,.community-chat-thread h4{margin:0}.community-chat-list button,.community-chat-thread button{min-height:38px;border:1px solid #9c814c;border-radius:8px;padding:6px 10px;background:#14283a;color:#f4d798;font:inherit}.community-chat-list-head button,.community-chat-thread form button{background:#d8ad59;color:#091522;font-weight:700}.community-chat-setting{display:flex!important;align-items:center;gap:8px;margin:12px 0;font-size:.84rem}.community-chat-setting input{width:auto}.community-chat-item{display:grid;width:100%;text-align:left;gap:3px;margin:7px 0;overflow-wrap:anywhere}.community-chat-item small{color:#b8bdc3}.community-chat-item span{color:#e5e4dc;font-size:.85rem}.community-chat-item b{justify-self:end;border-radius:12px;background:#d8ad59;color:#091522;padding:1px 7px}.community-chat-thread{display:flex;flex-direction:column;gap:12px}.community-chat-thread[hidden],.community-chat[hidden]{display:none!important}.community-chat-thread-head h4{flex:1}.community-chat-thread [data-chat-messages]{flex:1;min-height:230px;max-height:520px;overflow:auto;display:flex;flex-direction:column;gap:9px}.community-chat-message{max-width:min(85%,600px);padding:10px 12px;border-radius:11px;background:#183044;overflow-wrap:anywhere}.community-chat-message strong{color:#f0cc7c}.community-chat-message time{display:block;font-size:.72rem;color:#c8c9c4}.community-chat-message p{white-space:pre-wrap;margin:6px 0}.community-chat-message .community-chat-report{border:0;padding:2px 0;min-height:26px;background:transparent;color:#dec49a;font-size:.72rem}.community-chat-thread form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.community-chat-thread form label{grid-column:1/-1}.community-chat-thread form textarea{width:100%;box-sizing:border-box;resize:vertical}.community-chat-report-item{padding:8px;border:1px solid #615638;border-radius:8px;margin:8px 0}.community-chat-report-item blockquote{margin:6px 0;padding:6px;border-left:2px solid #d8ad59;overflow-wrap:anywhere}.community-chat-report-item button{margin:3px}.community-chat [data-chat-contacts]{padding:10px;border:1px solid #74613c;border-radius:10px}.community-chat [data-chat-contact-list]{display:grid;gap:5px;max-height:250px;overflow:auto}.community-chat [data-chat-contact-list] button{text-align:left}
@media(max-width:700px){.community-chat{display:block;min-height:0}.community-chat-list,.community-chat-thread{padding:12px}.community-chat.has-thread .community-chat-list{display:none}.community-chat:not(.has-thread) .community-chat-thread{display:none}.community-chat-thread [data-chat-messages]{min-height:55vh;max-height:55vh}.community-chat-message{max-width:92%}}
