/* A quiet writing surface and a readable conversation, scoped away from Community home. */
#community[data-community-screen="compose"],
#community[data-community-screen="post"]{background:#f4f1e9;color:#20282d}

#community[data-community-screen="compose"] .community-shell,
#community[data-community-screen="post"] .community-shell{padding-bottom:34px}

#community .community-conversation-head{max-width:660px;margin:4px auto 23px}
#community .community-conversation-head .community-screen-title,
#community .community-conversation-head h1{display:block;margin:0;color:#25343a;font-size:clamp(18px,5vw,23px);font-weight:900;line-height:1.16;letter-spacing:-.025em;overflow-wrap:anywhere}
#community .community-conversation-head small{margin-top:5px;color:#66747a;font-size:11px;letter-spacing:.12em}
#community .community-conversation-head .community-back,
#community .community-conversation-head .community-close{border-color:#bfc3bc;background:#faf7f0;color:#26343a;box-shadow:inset 1px 1px #fffdf8,0 4px 9px rgba(32,40,45,.08)}

#community[data-community-screen="compose"] .community-composer,
#community[data-community-screen="post"] .community-post-card,
#community[data-community-screen="post"] .community-replies{
  box-sizing:border-box;max-width:660px;margin-left:auto;margin-right:auto;
  border:1px solid #c8c5bb;border-top-color:#fffdf8;border-left-color:#fffdf8;
  border-radius:20px;background:#faf7f0;color:#25343a;
  box-shadow:inset 1px 1px #fffdf8,inset -1px -1px #d3cec4,0 4px 0 #d4cfc4,0 12px 22px rgba(30,37,39,.09);
}

#community[data-community-screen="compose"] .community-composer{
  --compose-accent:#278b9a;position:relative;padding:clamp(23px,5vw,34px);
}
#community[data-community-screen="compose"] .community-composer[data-post-type="win"]{--compose-accent:#20282d}
#community[data-community-screen="compose"] .community-composer[data-post-type="tough"]{--compose-accent:#b05260}
#community[data-community-screen="compose"] .community-composer[data-post-type="ask"]{--compose-accent:#715c9c}
#community[data-community-screen="compose"] .community-composer::after{
  content:"";position:absolute;top:0;left:clamp(23px,5vw,34px);width:94px;height:4px;
  border-radius:0 0 4px 4px;background:var(--compose-accent);pointer-events:none;
}
#community[data-community-screen="compose"] .community-compose-intro .community-kicker{margin:2px 0 11px;color:var(--compose-accent);font-size:11px}
#community[data-community-screen="compose"] .community-compose-intro h1{
  max-width:560px;margin:0;color:#243238;font-size:clamp(26px,6.7vw,36px);line-height:1.12;letter-spacing:-.045em;overflow-wrap:anywhere;
}
#community[data-community-screen="compose"] .community-compose-intro p:last-child{
  max-width:470px;margin:12px 0 0;color:#526168;font-size:16px;line-height:1.52;
}
#community[data-community-screen="compose"] .community-writing-card{
  display:grid;gap:10px;margin:27px 0 0;padding:18px;
  border:1px solid #d2d0c7;border-top-color:#fff;border-left-color:#fff;
  border-radius:16px;background:#f2eee6;box-shadow:inset 1px 1px #fffdf8,0 5px 12px rgba(30,37,39,.05);
}
#community[data-community-screen="compose"] .community-writing-card label,
#community[data-community-screen="compose"] .community-support-pref label,
#community[data-community-screen="post"] .community-replies .community-field label{
  color:#3b5057;font-size:12px;font-weight:900;letter-spacing:.095em;line-height:1.4;
}
#community[data-community-screen="compose"] .community-writing-card textarea{
  box-sizing:border-box;min-height:210px;max-width:100%;padding:17px;
  border:1px solid #afb9b5;border-radius:12px;background:#fffdf9;color:#243238;
  font-size:17px;line-height:1.55;box-shadow:inset 0 2px 4px rgba(27,34,36,.04);
}
#community[data-community-screen="compose"] .community-count,
#community[data-community-screen="post"] .community-count{gap:12px;flex-wrap:wrap;color:#5d696e;font-size:12px;line-height:1.4}
#community[data-community-screen="compose"] .community-count.is-near{color:#83414c}
#community[data-community-screen="compose"] .community-support-pref{margin-top:25px;gap:10px}
#community[data-community-screen="compose"] .community-support-pref select{
  box-sizing:border-box;width:100%;min-height:52px;padding:11px 14px;
  border:1px solid #afb9b5;border-radius:12px;background:#fffdf9;color:#26343a;font-size:16px;line-height:1.35;
}
#community[data-community-screen="compose"] .community-compose-actions{gap:8px;margin-top:28px}
#community[data-community-screen="compose"] .community-compose-actions .community-primary,
#community[data-community-screen="post"] #communityReplyPreview{min-height:54px;font-size:14px;letter-spacing:.035em}
#community[data-community-screen="compose"] .community-compose-actions .community-quiet{min-height:44px;color:#336977;font-size:12px;text-decoration:underline;text-underline-offset:3px}

#community[data-community-screen="post"] .community-post-card{
  --conversation-accent:#278b9a;padding:clamp(23px,5vw,34px);
  border-left:4px solid var(--conversation-accent);
}
#community[data-community-screen="post"] .community-post-card[data-post-type="win"]{--conversation-accent:#20282d}
#community[data-community-screen="post"] .community-post-card[data-post-type="tough"]{--conversation-accent:#b05260}
#community[data-community-screen="post"] .community-post-card[data-post-type="ask"]{--conversation-accent:#715c9c}
#community[data-community-screen="post"] .community-post-meta{min-width:0;flex-wrap:wrap;gap:11px}
#community[data-community-screen="post"] .community-avatar{
  width:44px;height:44px;border:1px solid #aabeba;background:#e5efeb;color:var(--conversation-accent);
}
#community[data-community-screen="post"] .community-avatar svg{width:24px;height:24px;stroke:currentColor}
#community[data-community-screen="post"] .community-post-identity{min-width:0;flex:1 1 120px;overflow-wrap:anywhere}
#community[data-community-screen="post"] .community-post-identity b{color:#233137;font-size:16px;line-height:1.25}
#community[data-community-screen="post"] .community-post-identity small{display:block;margin-top:3px;color:var(--conversation-accent);font-size:11px;font-weight:900}
#community[data-community-screen="post"] .community-post-meta .community-menu{
  min-height:44px;max-width:100%;padding:0 12px;border-color:#bbc2bd;background:#f6f2ea;color:#27363d;
  font-size:11px;line-height:1.25;white-space:normal;
}
#community[data-community-screen="post"] .community-post-copy{
  margin:23px 0 17px;padding:20px 0 0;border-top:1px solid #d3d2ca;
  color:#273238;font-size:clamp(17px,4.4vw,20px);font-weight:550;line-height:1.58;overflow-wrap:anywhere;white-space:pre-wrap;
}
#community[data-community-screen="post"] .community-pref{max-width:100%;padding:9px 12px;border-color:#c9d4cf;background:#edf2eb;color:#3d5557;font-size:11px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
#community[data-community-screen="post"] .community-reactions{
  gap:10px;margin-top:26px;padding-top:22px;border-top:1px solid #d3d2ca;
}
#community[data-community-screen="post"] .community-reaction{
  min-height:50px;padding:9px 12px;border:1px solid #c3c9c3;border-radius:11px;
  background:#f3f0e9;color:#293b40;font-size:12px;line-height:1.3;overflow-wrap:anywhere;
}
#community[data-community-screen="post"] .community-reaction[aria-pressed="true"]{border-color:var(--conversation-accent);background:#26383c;color:#fffdf8;box-shadow:inset 0 -3px var(--conversation-accent)}
#community[data-community-screen="post"] .community-replies{margin-top:27px;padding:clamp(23px,5vw,32px)}
#community[data-community-screen="post"] .community-replies h2{margin:0 0 18px;color:#25343a;font-size:24px;line-height:1.2;letter-spacing:-.035em}
#community[data-community-screen="post"] .community-reply-preview{
  margin:12px 0 0;padding:17px;border:1px solid #d0d2ca;border-radius:13px;background:#f2eee6;
}
#community[data-community-screen="post"] .community-reply-head{min-width:0;flex-wrap:wrap;gap:8px}
#community[data-community-screen="post"] .community-reply-head small{color:#344950;font-size:13px;overflow-wrap:anywhere}
#community[data-community-screen="post"] .community-reply-head .community-menu{min-height:44px;min-width:44px;max-width:100%;padding:0 11px;font-size:11px;white-space:normal}
#community[data-community-screen="post"] .community-reply-preview p{margin-top:12px;color:#37484d;font-size:16px;line-height:1.52;overflow-wrap:anywhere;white-space:pre-wrap}
#community[data-community-screen="post"] .community-replies .community-field{margin:27px 0 16px;padding-top:22px;border-top:1px solid #d3d2ca}
#community[data-community-screen="post"] .community-replies textarea{box-sizing:border-box;min-height:132px;width:100%;padding:15px;border-radius:12px;font-size:16px;line-height:1.5}
#community[data-community-screen="post"] #communityReplyPreview{width:100%}
#community[data-community-screen="compose"] .community-preview-note,
#community[data-community-screen="post"] .community-preview-note{box-sizing:border-box;max-width:660px;margin:25px auto 0;padding:0;border:0;background:transparent;color:#5d696e;font-size:13px;line-height:1.5}
#community[data-community-screen="compose"] .community-preview-note strong,
#community[data-community-screen="post"] .community-preview-note strong{color:#40525a;font-size:12px;letter-spacing:.07em}

@media(max-width:390px){
  #community[data-community-screen="compose"] .community-writing-card{padding:14px}
  #community[data-community-screen="post"] .community-reactions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(forced-colors:active){
  #community[data-community-screen="compose"] .community-composer,
  #community[data-community-screen="compose"] .community-writing-card,
  #community[data-community-screen="post"] .community-post-card,
  #community[data-community-screen="post"] .community-replies,
  #community[data-community-screen="post"] .community-reply-preview{border:2px solid CanvasText;box-shadow:none}
  #community[data-community-screen="compose"] .community-composer::after{background:Highlight}
  #community[data-community-screen="post"] .community-reaction[aria-pressed="true"]{border:2px solid Highlight;box-shadow:none}
}
@media(prefers-reduced-motion:reduce){
  #community[data-community-screen="compose"] *,#community[data-community-screen="post"] *{scroll-behavior:auto!important;transition:none!important}
}
