/* CHAT NO FOOTER (SITE_CHAT_NO_FOOTER): every rule is under html.chat-nofooter or the More menu's own ids: harmless while the class is absent (the menu does not exist then). */
html.chat-nofooter #chat-sitelinks,html.chat-nofooter #chat-footnote{display:none!important}
/* the composer is one text line shorter when empty (the text area 58px -> 38px: one line of text plus its padding); app.js resizeTextarea reads this min-height, so it still grows as the person types */
html.chat-nofooter .chat-main .composer textarea{min-height:38px}
.chat-more{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border:1px solid #d3e0e6;border-radius:999px;background:transparent;color:#294b63;font:600 .875rem/1 inherit;font-family:inherit;cursor:pointer}
.chat-more:hover{background:#edf3f5}
.chat-more:focus-visible,.chat-more-menu a:focus-visible{outline:2px solid #2f6f96;outline-offset:2px}
.chat-more-menu{position:fixed;z-index:60;display:flex;flex-direction:column;min-width:210px;max-width:calc(100vw - 16px);padding:6px;border:1px solid #d3e0e6;border-radius:14px;background:#fff;box-shadow:0 12px 40px -12px #18334d66}
.chat-more-menu[hidden]{display:none}
.chat-more-menu a{display:block;min-height:44px;padding:12px 14px;border-radius:9px;color:#294b63;font-size:.9375rem;font-weight:600;text-decoration:none}
.chat-more-menu a:hover{background:#edf3f5}
html.chat-fs .chat-fs-side .chat-more{flex:0 0 auto;min-height:36px;padding:0 12px;color:var(--fs-text);border-color:var(--fs-side-line)}
html.chat-fs .chat-fs-side .chat-more:hover{background:var(--fs-hover)}
:root[data-theme="dark"] .chat-more{color:#dbeaf3;border-color:#34404a}
:root[data-theme="dark"] .chat-more:hover{background:#1d252c}
:root[data-theme="dark"] .chat-more-menu{background:#161b20;border-color:#34404a;box-shadow:0 12px 40px -12px #000a}
:root[data-theme="dark"] .chat-more-menu a{color:#dbeaf3}
:root[data-theme="dark"] .chat-more-menu a:hover{background:#1d252c}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .chat-more{color:#dbeaf3;border-color:#34404a}
  :root:not([data-theme="light"]) .chat-more:hover{background:#1d252c}
  :root:not([data-theme="light"]) .chat-more-menu{background:#161b20;border-color:#34404a;box-shadow:0 12px 40px -12px #000a}
  :root:not([data-theme="light"]) .chat-more-menu a{color:#dbeaf3}
  :root:not([data-theme="light"]) .chat-more-menu a:hover{background:#1d252c}
}
.chat-more-inline{display:none}
@media (max-width:700px){
  .chat-more{display:none}
  html.chat-nofooter .chat-more-inline{display:flex;flex-direction:column;margin:8px 0 0;padding:8px 0 0;border-top:1px solid #d3e0e6}
  .chat-more-inline a{display:flex;align-items:center;min-height:44px;padding:0 14px;color:#294b63;font-size:.9375rem;font-weight:600;text-decoration:none}
  :root[data-theme="dark"] .chat-more-inline{border-top-color:#34404a}
  :root[data-theme="dark"] .chat-more-inline a{color:#dbeaf3}
}
@media (max-width:700px) and (prefers-color-scheme: dark){:root:not([data-theme="light"]) .chat-more-inline{border-top-color:#34404a}:root:not([data-theme="light"]) .chat-more-inline a{color:#dbeaf3}}
html.chat-fs .chat-more-inline{display:none!important}
