#community-chat{margin:24px 0;border:1px solid #84a79b;border-radius:18px;background:#eef6f1;padding:20px}#community-chat summary{font-size:1.4rem;font-weight:700;cursor:pointer;min-height:48px;display:list-item}#community-chat label{display:flex;flex-direction:column;gap:8px;margin:12px 0}#community-chat input,#community-chat textarea,#community-chat select{font:inherit;padding:14px;border:1px solid #84a79b;border-radius:10px;width:100%;box-sizing:border-box}#community-chat .chat-consent{flex-direction:row;align-items:center}#community-chat #chat-consent{width:28px;min-width:28px;height:28px;min-height:28px;flex-shrink:0}#community-chat .chat-consent span{min-width:0;overflow-wrap:anywhere}.chat-messages{max-height:420px;overflow:auto;overscroll-behavior:contain}.chat-messages article{background:white;border-radius:12px;padding:16px;margin:12px 0;overflow-wrap:anywhere}.chat-messages time{display:block;font-size:.85rem}.chat-messages p{white-space:pre-wrap}.chat-actions{display:flex;gap:12px;flex-wrap:wrap}#community-chat button{font:inherit;min-height:48px;padding:12px 20px;border-radius:12px;border:1px solid #84a79b;cursor:pointer;background:white;color:#143e35}#community-chat button[type=submit]{background:#1c705b;color:white}#community-chat :focus-visible{outline:3px solid #7642c5;outline-offset:3px}#community-chat button:disabled{opacity:.6;cursor:default}

#community-chat .chat-emoji-picker{margin:12px 0}#community-chat .chat-emoji-picker summary{font-size:1rem;min-height:48px;padding:10px;cursor:pointer}.chat-emoji-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(48px,1fr));gap:8px}#community-chat .chat-emoji-grid button{font-size:26px;min-width:48px;min-height:48px;padding:5px}

.chat-animated-emoji{display:inline-block;transform-origin:50% 80%;animation:chat-emoji-wave 1.2s ease-in-out 2}@keyframes chat-emoji-wave{0%,100%{transform:rotate(0) scale(1)}25%{transform:rotate(-12deg) scale(1.16)}65%{transform:rotate(12deg) scale(1.16)}}@media(prefers-reduced-motion:reduce){.chat-animated-emoji{animation:none}}

/* Chat workspace 20261120 */
#community-chat.chat-shell{padding:0;background:#fff;border:1px solid #b8cbc4;overflow:hidden;box-shadow:0 12px 32px #123e360c}.chat-shell-intro{padding:20px 24px;margin:0;border-bottom:1px solid #dce5df}.chat-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:560px}.chat-nav{padding:18px 12px;background:#edf4f0;border-right:1px solid #d3e0d9;display:flex;flex-direction:column;gap:10px}.chat-shell .chat-nav button{width:100%;text-align:left;border-color:transparent;background:transparent;font-weight:700}.chat-shell .chat-nav button[aria-selected=true]{background:#164d40;color:#fff}.chat-panes{min-width:0;padding:24px}.chat-shell [hidden]{display:none!important}.chat-panes h2{font-size:1.4rem;margin:12px 0}.chat-visibility{background:#fff2cf;color:#563d08;padding:12px 14px;border-radius:10px;font-weight:650;line-height:1.5}.chat-rules{color:#405b52;font-size:.95rem;line-height:1.6}.chat-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.chat-shell .chat-toolbar button,.chat-shell .chat-message-actions button{font-size:.9rem;padding:8px 12px}.chat-shell .public-messages{height:310px;max-height:45vh;background:#f4f7f4;border:1px solid #dce5df;border-radius:12px;padding:14px;scrollbar-gutter:stable}.chat-shell .chat-bubble{max-width:88%;margin:10px 0;background:#fff;border:1px solid #dce5df;padding:14px;border-radius:14px 14px 14px 3px}.chat-shell .chat-bubble.own{margin-left:auto;background:#e2f1e8;border-radius:14px 14px 3px 14px}.chat-message-meta{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.chat-message-meta time{color:#52645e}.chat-message-actions{display:flex;gap:8px;flex-wrap:wrap}.chat-bubble p{margin:10px 0;line-height:1.5}.chat-empty{color:#52645e;padding:50px 12px;text-align:center}.chat-char-count{display:block;text-align:right;font-size:.85rem;color:#52645e;margin:-6px 0 12px}.chat-shell form>button[type=submit]{width:100%;font-weight:700}.chat-panes #private-chat>p{line-height:1.6}.chat-panes #private-chat>p:last-child{font-size:.9rem;color:#52645e}.chat-panes #private-chat .chat-messages{border:1px solid #dce5df;border-radius:12px;padding:12px;background:#f4f7f4}.chat-shell input,.chat-shell textarea{background:white;color:#143e35}.chat-shell button:hover:not(:disabled){filter:brightness(.96)}
@media(max-width:700px){.chat-layout{display:block;min-height:0}.chat-nav{flex-direction:row;border-right:0;border-bottom:1px solid #d3e0d9;padding:10px;position:sticky;top:0;z-index:1}.chat-shell .chat-nav button{text-align:center;padding:12px 8px;font-size:1rem}.chat-panes{padding:16px}.chat-shell-intro{padding:16px}.chat-shell .chat-bubble{max-width:100%}.chat-shell .public-messages{height:280px}.chat-message-meta{gap:6px}}
