:root {
  --community-blue: #2f6fed;
  --community-blue-dark: #1e53c7;
  --community-ink: #16181d;
  --community-muted: #6e7480;
  --community-line: #e3e5e9;
  --community-surface: #ffffff;
  --community-canvas: #f3f4f6;
}

.body--community {
  overflow-x: hidden;
  background: var(--community-canvas);
  color: var(--community-ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.body--community.community-modal-open {
  overflow: hidden;
}

.page.page--community {
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 80px;
}

.page--community > .flash {
  position: fixed;
  z-index: 100;
  top: 76px;
  left: 50%;
  width: auto;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 12px 18px;
  border: 1px solid #c9d8ff;
  border-radius: 12px;
  background: #eff4ff;
  box-shadow: 0 10px 30px rgba(23, 32, 52, 0.15);
  color: #204dba;
  font-weight: 700;
  transform: translateX(-50%);
}

.community button,
.community input,
.community textarea {
  font: inherit;
}

.community button,
.community a {
  -webkit-tap-highlight-color: transparent;
}

.community svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.community-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--community-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.community-topbar__inner {
  display: flex;
  align-items: center;
  max-width: 1180px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
}

.community-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 232px;
  gap: 10px;
  color: var(--community-ink);
  text-decoration: none;
}

.community-brand__mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  background: var(--community-ink);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.community-brand__mark--image {
  display: block;
  object-fit: cover;
  border: 1px solid #e1e4e9;
  background: #fff;
}

.community-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.community-brand__text b {
  font-size: 14px;
  letter-spacing: -0.03em;
}

.community-brand__text small {
  margin-top: 5px;
  color: #8b9099;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.community-global-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 30px;
}

.community-global-nav a {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
  color: #646a74;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.community-global-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 10px 10px 0 0;
  background: var(--community-blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: 160ms ease;
}

.community-global-nav a:hover,
.community-global-nav a.is-active {
  color: var(--community-ink);
}

.community-global-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.community-account {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 232px;
  gap: 7px;
}

.community-icon-button {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #565c67;
  cursor: pointer;
}

.community-icon-button:hover {
  background: #f1f3f6;
  color: var(--community-ink);
}

.community-icon-button svg {
  width: 20px;
  height: 20px;
}

.community-icon-button--notification span {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border: 2px solid white;
  border-radius: 50%;
  background: #ff4a4a;
}

.community-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: #191b22;
  box-shadow: 0 0 0 1px rgba(20, 25, 35, 0.07);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.community-avatar--0 { background: linear-gradient(135deg, #202431, #677187); }
.community-avatar--1 { background: linear-gradient(135deg, #1d54c9, #6aa9ff); }
.community-avatar--2 { background: linear-gradient(135deg, #8d3ec6, #e084c7); }
.community-avatar--3 { background: linear-gradient(135deg, #0c766b, #54c5ae); }
.community-avatar--4 { background: linear-gradient(135deg, #b44428, #f7a23b); }

.community-account .community-avatar {
  width: 36px;
  height: 36px;
  margin-left: 3px;
}

.community-logout-form {
  margin: 0;
}

.community-mobile-account {
  display: none;
}

.community-logout-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #d9dde5;
  border-radius: 9px;
  background: #fff;
  color: #626975;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.community-logout-button:hover {
  border-color: #b9c0cb;
  background: #f4f6f9;
  color: var(--community-ink);
}

.community-logout-button:focus-visible {
  outline: 3px solid rgba(47, 111, 237, 0.24);
  outline-offset: 2px;
}

.community-search {
  position: absolute;
  top: 10px;
  left: 50%;
  display: flex;
  z-index: 2;
  align-items: center;
  width: min(520px, calc(100vw - 240px));
  height: 44px;
  padding: 0 6px 0 14px;
  border: 1px solid #d9dce2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  transform: translateX(-50%);
}

.community-search[hidden] {
  display: none;
}

.community-search__form {
  display: contents;
}

.community-search svg {
  width: 19px;
  height: 19px;
  color: #858b96;
}

.community-search input {
  min-width: 0;
  flex: 1;
  padding: 0 10px;
  border: 0;
  outline: 0;
  color: var(--community-ink);
  font-size: 14px;
}

.community-search button {
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--community-ink);
  color: white;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.community-group-head {
  border-bottom: 1px solid var(--community-line);
  background: var(--community-surface);
}

.community-group-head__inner {
  display: flex;
  align-items: center;
  max-width: 1044px;
  min-height: 132px;
  margin: 0 auto;
  padding: 24px;
}

.community-group-icon {
  position: relative;
  display: grid;
  overflow: hidden;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.3) 0 7%, transparent 8%),
    linear-gradient(145deg, #11141b 0 52%, #2f6fed 52% 100%);
  box-shadow: 0 8px 20px rgba(27, 37, 57, 0.16);
  color: #fff;
}

.community-group-icon::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  content: "";
}

.community-group-icon span {
  z-index: 1;
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 700;
}

.community-group-copy {
  min-width: 0;
  margin-left: 18px;
}

.community-group-copy .community-eyebrow {
  margin: 0 0 6px;
  color: var(--community-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.community-group-copy h1 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.community-group-copy > p:last-child {
  margin: 7px 0 0;
  color: #737985;
  font-size: 14px;
}

.community-write-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: var(--community-blue);
  box-shadow: 0 6px 14px rgba(47, 111, 237, 0.19);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.community-write-button {
  margin-left: auto;
  padding: 12px 18px;
  border-radius: 11px;
  font-size: 13px;
}

.community-write-button:hover {
  background: var(--community-blue-dark);
}

.community-write-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.community-mobile-tabs {
  display: none;
}

.community-topic-bar {
  border-bottom: 1px solid var(--community-line);
  background: #fff;
}

.community-topic-bar__inner {
  display: flex;
  align-items: center;
  max-width: 1044px;
  height: 48px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 5px;
}

.community-topic-bar a {
  padding: 8px 12px;
  border-radius: 8px;
  color: #737985;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 140ms ease;
}

.community-topic-bar a:hover {
  background: #f2f4f7;
  color: #343a44;
}

.community-topic-bar a.is-active {
  background: #eaf0ff;
  color: var(--community-blue-dark);
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 280px;
  justify-content: center;
  align-items: start;
  max-width: 1044px;
  margin: 0 auto;
  padding: 24px;
  gap: 22px;
}

.community-rightbar {
  position: sticky;
  top: 88px;
}

.community-category--assignment { background: #e7f7ee !important; color: #17814e !important; }
.community-category--feedback { background: #fff0e3 !important; color: #bd5c16 !important; }
.community-category--chat { background: #efeaff !important; color: #7053c8 !important; }
.community-category--question { background: #e5f3fb !important; color: #16709e !important; }
.community-category--notice { background: #fee9ea !important; color: #c13c46 !important; }

.community-feed {
  min-width: 0;
}

.community-quick-compose {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--community-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(20, 28, 43, 0.04);
  color: #8a909a;
  cursor: text;
  text-align: left;
}

.community-quick-compose .community-avatar {
  width: 36px;
  height: 36px;
}

.community-quick-compose > span:nth-child(2) {
  margin-left: 11px;
  font-size: 14px;
}

.community-quick-compose em {
  margin-left: auto;
  padding: 7px 11px;
  border-radius: 8px;
  background: #f0f3f8;
  color: #606773;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.community-feed-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 56px;
  padding: 13px 2px 8px;
}

.community-feed-toolbar h2 {
  margin: 0;
  color: var(--community-ink);
  font-size: 17px;
  font-weight: 800;
}

.community-feed-toolbar p {
  margin: 3px 0 0;
  color: #8b919b;
  font-size: 12px;
}

.community-sort {
  display: flex;
  gap: 3px;
}

.community-sort a {
  padding: 5px 7px;
  border-radius: 6px;
  color: #989da5;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.community-sort a.is-active {
  background: #e7e9ed;
  color: #3c424d;
}

.community-post-list {
  display: grid;
  gap: 13px;
}

.community-post {
  scroll-margin-top: 84px;
  overflow: hidden;
  border: 1px solid var(--community-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(20, 28, 43, 0.035);
}

.community-post--pinned {
  border-color: #cbd8f6;
}

.community-post__pinned {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid #e6ecfb;
  background: #f4f7ff;
  color: #5270ac;
  gap: 5px;
  font-size: 12px;
  font-weight: 750;
}

.community-post__pinned svg {
  width: 13px;
  height: 13px;
}

.community-post__header {
  display: flex;
  align-items: center;
  padding: 16px 17px 4px;
}

.community-post__header .community-avatar {
  width: 39px;
  height: 39px;
}

.community-post__header > div {
  min-width: 0;
  margin-left: 10px;
  line-height: 1.25;
}

.community-post__header b {
  font-size: 14px;
}

.community-role {
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 5px;
  background: #eaf0ff;
  color: #4264b9;
  font-size: 11px;
  font-weight: 800;
  vertical-align: 1px;
}

.community-post__header p {
  display: flex;
  align-items: center;
  margin: 4px 0 0;
  color: #9a9fa8;
  gap: 5px;
  font-size: 11px;
}

.community-post__category {
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 750;
}

.community-more {
  align-self: flex-start;
  margin-left: auto;
  padding: 4px 0 8px 12px;
  border: 0;
  background: none;
  color: #a4a9b1;
  font-size: 15px;
  letter-spacing: 2px;
  cursor: pointer;
}

.community-post__content {
  padding: 11px 17px 14px 66px;
}

.community-post__content h3 {
  margin: 0 0 8px;
  color: #20232a;
  font-size: 18px;
  letter-spacing: -0.025em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.community-post__content > p {
  margin: 0 0 6px;
  color: #4e545e;
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.community-attachments {
  display: grid;
  overflow: hidden;
  margin-top: 14px;
  border-radius: 11px;
  gap: 7px;
}

.community-attachments > img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.community-audio {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr);
  align-items: center;
  padding: 12px;
  border: 1px solid #e2e6ed;
  border-radius: 11px;
  background: #f7f8fa;
  gap: 10px;
}

.community-audio__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--community-blue);
  color: white;
}

.community-audio__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.community-audio div b,
.community-audio div span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-audio div b { font-size: 13px; }
.community-audio div span { margin-top: 2px; color: #9096a1; font-size: 11px; }
.community-audio audio { grid-column: 1 / -1; width: 100%; height: 34px; }

.community-feedback-note {
  display: flex;
  align-items: center;
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid #f4ddca;
  border-radius: 10px;
  background: #fffaf6;
  gap: 9px;
}

.community-feedback-note > span {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: #ffead8;
  color: #bc601d;
}

.community-feedback-note svg { width: 16px; height: 16px; }
.community-feedback-note p { margin: 0; }
.community-feedback-note b,
.community-feedback-note small { display: block; }
.community-feedback-note b { color: #77441f; font-size: 12px; }
.community-feedback-note small { margin-top: 2px; color: #a67857; font-size: 11px; }

.community-post__actions {
  display: flex;
  align-items: center;
  margin-left: 66px;
  padding: 1px 17px 13px 0;
  gap: 4px;
}

.community-post__actions form {
  margin: 0;
}

.community-action {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #7f858f;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.community-action:hover {
  background: #f2f4f7;
  color: #4e5560;
}

.community-action.is-active {
  background: #fff0f1;
  color: #df4857;
}

.community-action.is-active svg {
  fill: currentColor;
}

.community-action svg {
  width: 16px;
  height: 16px;
}

.community-action span {
  color: inherit;
  font-weight: 800;
}

.community-action--save {
  margin-left: auto;
}

.community-comments {
  scroll-margin-top: 84px;
  padding: 13px 17px 15px 66px;
  border-top: 1px solid #edf0f3;
  background: #fafbfc;
}

.community-comments[hidden] {
  display: none;
}

.community-comment {
  display: flex;
  margin-bottom: 12px;
  gap: 8px;
}

.community-comment .community-avatar,
.community-comment-form .community-avatar {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

.community-comment > div {
  min-width: 0;
  flex: 1;
  padding: 8px 10px;
  border-radius: 0 10px 10px;
  background: #f0f2f5;
}

.community-comment > div > p:first-child {
  display: flex;
  margin: 0 0 4px;
  gap: 6px;
}

.community-comment b { color: #303640; font-size: 12px; }
.community-comment time { color: #9ca1aa; font-size: 11px; }
.community-comment > div > p:not(:first-child) { margin: 0; color: #4f5661; font-size: 13px; line-height: 1.6; }

.community-comment-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-comment-form input {
  min-width: 0;
  height: 36px;
  flex: 1;
  padding: 0 12px;
  border: 1px solid #e0e3e8;
  border-radius: 9px;
  outline: 0;
  background: white;
  color: #303640;
  font-size: 13px;
}

.community-comment-form input:focus {
  border-color: #9ab7f4;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.1);
}

.community-comment-form button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: var(--community-blue);
  color: white;
  cursor: pointer;
}

.community-comment-form button svg { width: 16px; height: 16px; }

.community-empty {
  padding: 70px 24px;
  border: 1px dashed #d7dbe2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  color: #7a818d;
  text-align: center;
}

.community-empty > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 16px;
  background: #e9edf5;
  color: #71809b;
}

.community-empty svg { width: 26px; height: 26px; }
.community-empty h3 { margin: 0; color: #303640; font-size: 16px; }
.community-empty p { margin: 7px 0 17px; font-size: 13px; }
.community-empty button { padding: 9px 14px; border: 0; border-radius: 8px; background: var(--community-blue); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }

.community-rightbar {
  display: grid;
  gap: 13px;
}

.community-widget {
  padding: 17px;
  border: 1px solid var(--community-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(20, 28, 43, 0.035);
}

.community-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.community-widget__head h2 {
  margin: 0;
  color: #252a32;
  font-size: 14px;
  font-weight: 800;
}

.community-widget__head > span,
.community-widget__head a {
  color: #9399a3;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.community-mission {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(47, 111, 237, 0.11), transparent 38%),
    #fff;
}

.community-mission__week {
  color: var(--community-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.community-mission h3 {
  margin: 6px 0 12px;
  color: #2c3139;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.community-mission__progress {
  overflow: hidden;
  height: 6px;
  border-radius: 10px;
  background: #e6eaf1;
}

.community-mission__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6fed, #78a3ff);
}

.community-mission > p {
  margin: 7px 0 12px;
  color: #8b919c;
  font-size: 11px;
}

.community-mission > button {
  width: 100%;
  padding: 9px;
  border: 1px solid #d3def6;
  border-radius: 8px;
  background: #f4f7ff;
  color: #3766c9;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.community-leaderboard ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.community-leaderboard li {
  display: grid;
  grid-template-columns: 14px 30px minmax(0, 1fr) auto;
  align-items: center;
  padding: 7px 0;
  gap: 7px;
}

.community-leaderboard li > em {
  color: #a2a7b0;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.community-leaderboard li:first-child > em { color: #e9a80d; }
.community-leaderboard .community-avatar { width: 32px; height: 32px; font-size: 11px; }
.community-leaderboard li > span:nth-child(3) { min-width: 0; }
.community-leaderboard li > span b,
.community-leaderboard li > span small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-leaderboard li > span b { color: #3b414b; font-size: 12px; }
.community-leaderboard li > span small { margin-top: 2px; color: #a1a6ae; font-size: 11px; }
.community-leaderboard li strong { color: #657086; font-size: 11px; }
.community-widget__empty { margin: 0; color: #969ca6; font-size: 11px; line-height: 1.6; }

.community-guideline {
  margin: 0 4px;
  color: #a1a6af;
  font-size: 11px;
}

.community-guideline a { color: inherit; }

.community-composer {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.community-composer::backdrop {
  background: rgba(15, 18, 24, 0.64);
  backdrop-filter: blur(4px);
}

.community-composer[open] {
  display: grid;
  place-items: center;
}

.community-composer__panel {
  overflow: hidden;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  border-radius: 18px;
  background: white;
  box-shadow: 0 28px 80px rgba(13, 18, 30, 0.28);
}

.community-composer__panel > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #eceef2;
}

.community-composer__panel > header span {
  color: var(--community-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.community-composer__panel > header h2 {
  margin: 5px 0 0;
  color: var(--community-ink);
  font-size: 21px;
  letter-spacing: -0.035em;
}

.community-composer__panel > header button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f2f5;
  color: #69707c;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.community-composer__form {
  overflow-y: auto;
  max-height: calc(100vh - 122px);
  padding: 20px 24px 0;
}

.community-composer__errors {
  margin-bottom: 15px;
  padding: 11px 13px;
  border: 1px solid #f1c7cb;
  border-radius: 10px;
  background: #fff3f4;
  color: #a82f3a;
  font-size: 12px;
}

.community-composer__errors ul { margin: 5px 0 0; padding-left: 17px; }

.community-composer__categories {
  display: flex;
  margin: 0 0 17px;
  padding: 0;
  border: 0;
  gap: 7px;
}

.community-composer__categories legend,
.community-composer__field > label {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  color: #555c67;
  font-size: 12px;
  font-weight: 750;
}

.community-composer__categories label {
  cursor: pointer;
}

.community-composer__categories input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.community-composer__categories label span {
  display: inline-block;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
}

.community-composer__categories input:checked + span {
  border-color: currentColor;
  box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.08);
}

.community-composer__field {
  position: relative;
  margin-bottom: 15px;
}

.community-composer__field input,
.community-composer__field textarea {
  display: block;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #dfe2e7;
  border-radius: 10px;
  outline: 0;
  background: #fff;
  color: #292e36;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
}

.community-composer__field input:focus,
.community-composer__field textarea:focus {
  border-color: #89aaf0;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.1);
}

.community-composer__count {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #a2a7b0;
  font-size: 11px;
}

.community-composer__count i { font-style: normal; }

.community-composer__attachment-row {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 0 16px;
  gap: 9px;
}

.community-composer__attachment {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid #dfe3e9;
  border-radius: 8px;
  color: #59616d;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.community-composer__attachment:hover { background: #f6f7f9; }
.community-composer__attachment svg { width: 15px; height: 15px; }
.community-composer__attachment input { display: none; }
.community-composer__attachment-row > span { overflow: hidden; color: #646c78; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.community-composer__attachment-row > small { margin-left: auto; flex: 0 0 auto; color: #a0a5ae; font-size: 11px; }

.community-composer__form > footer {
  display: flex;
  align-items: center;
  margin: 0 -24px;
  padding: 14px 24px;
  border-top: 1px solid #eceef2;
  background: #fafbfc;
  gap: 8px;
}

.community-composer__form > footer p {
  margin: 0 auto 0 0;
  color: #9ba0a9;
  font-size: 11px;
}

.community-composer__cancel,
.community-composer__submit {
  padding: 9px 15px;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.community-composer__cancel { background: #e9ebef; color: #555d69; }
.community-composer__submit { background: var(--community-blue); color: #fff; }

@media (max-width: 1020px) {
  .community-brand,
  .community-account { flex-basis: 190px; }
  .community-layout { grid-template-columns: minmax(0, 720px); max-width: 768px; }
  .community-rightbar { display: none; }
}

@media (max-width: 760px) {
  .page.page--community { padding-bottom: 40px; }
  .community-topbar__inner { height: 56px; padding: 0 14px; }
  .community-brand { min-height: 44px; flex-basis: auto; }
  .community-brand__mark { width: 36px; height: 36px; }
  .community-brand__text b { font-size: 15px; }
  .community-brand__text small { display: none; }
  .community-global-nav { display: none; }
  .community-topbar .community-account { display: none; }
  .community-mobile-account { position: relative; display: block; margin-left: auto; }
  .community-mobile-account > summary { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; list-style: none; }
  .community-mobile-account > summary::-webkit-details-marker { display: none; }
  .community-mobile-account > summary:focus-visible { outline: 3px solid rgba(47, 111, 237, 0.24); outline-offset: 2px; }
  .community-mobile-account .community-avatar { width: 40px; height: 40px; }
  .community-mobile-account__menu { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; display: grid; min-width: 160px; padding: 12px; gap: 10px; border: 1px solid #d9dde5; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(22, 28, 40, 0.14); }
  .community-mobile-account__menu strong { overflow: hidden; color: #252a31; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
  .community-mobile-account__menu .community-logout-button { width: 100%; min-height: 44px; }
  .community-icon-button { width: 44px; height: 44px; }
  .community-logout-button { min-height: 44px; padding: 0 10px; }
  .community-account .community-icon-button--notification { display: none; }
  .community-search { top: 7px; width: calc(100vw - 24px); }
  .community-group-head__inner { min-height: 105px; padding: 18px 16px; }
  .community-group-icon { width: 61px; height: 61px; border-radius: 17px; }
  .community-group-icon::after { inset: 8px; border-radius: 12px; }
  .community-group-icon span { font-size: 29px; }
  .community-group-copy { margin-left: 13px; }
  .community-group-copy .community-eyebrow { margin-bottom: 4px; font-size: 11px; }
  .community-group-copy h1 { font-size: 18px; }
  .community-group-copy > p:last-child { overflow: hidden; max-width: 52vw; margin-top: 4px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .community-write-button { display: none; }
  .community-mobile-tabs { display: flex; min-height: 47px; overflow-x: auto; padding: 0 6px; border-bottom: 1px solid var(--community-line); background: white; scrollbar-width: none; }
  .community-mobile-tabs::-webkit-scrollbar { display: none; }
  .community-mobile-tabs a { display: flex; min-height: 46px; padding: 0 11px; align-items: center; flex: 1 0 auto; justify-content: center; border-bottom: 2px solid transparent; color: #5f6670; font-size: 14px; font-weight: 750; text-decoration: none; }
  .community-mobile-tabs a.is-active { border-color: var(--community-blue); color: #252a31; }
  .community-topic-bar__inner { overflow-x: auto; height: auto; padding: 9px 12px; gap: 6px; scrollbar-width: none; }
  .community-topic-bar__inner::-webkit-scrollbar { display: none; }
  .community-topic-bar a { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #dfe2e7; border-radius: 20px; background: #fff; font-size: 11px; }
  .community-topic-bar a.is-active { border-color: var(--community-blue); background: #fff; color: var(--community-blue); }
  .community-layout { display: block; padding: 12px; }
  .community-quick-compose { padding: 10px 11px; }
  .community-feed-toolbar { min-height: 48px; }
  .community-post__header { padding: 14px 14px 3px; }
  .community-post__content { padding: 10px 14px 12px; }
  .community-post__content h3 { font-size: 17px; }
  .community-post__content > p { font-size: 14px; }
  .community-post__actions { margin-left: 0; padding: 2px 11px 11px; }
  .community-comments { padding: 12px 14px 14px; }
  .community-composer__panel { width: 100vw; max-height: 94vh; align-self: end; border-radius: 18px 18px 0 0; }
  .community-composer__form { max-height: calc(94vh - 82px); padding-right: 18px; padding-left: 18px; }
  .community-composer__form > footer { margin-right: -18px; margin-left: -18px; padding-right: 18px; padding-left: 18px; }
  .community-composer__categories { overflow-x: auto; padding-bottom: 4px; }
  .community-composer__categories label { flex: 0 0 auto; }
  .community-composer__attachment-row > small,
  .community-composer__form > footer p { display: none; }
}

/* Active learning portal typography
   Keep member-facing copy readable without enlarging decorative labels. */
.body--community .community-brand__text b {
  font-size: 16px;
}

.body--community .community-brand__text small {
  font-size: 12px;
}

.body--community .community-global-nav a,
.body--community .community-mobile-tabs a {
  font-size: 15px;
}

@media (max-width: 760px) {
  .body--community .community-mobile-tabs {
    overflow-x: hidden;
    padding-right: 4px;
    padding-left: 4px;
  }

  .body--community .community-mobile-tabs a {
    min-width: 0;
    padding-right: 3px;
    padding-left: 3px;
    flex: 1 1 0;
    font-size: 14px;
    white-space: nowrap;
  }
}

.body--community.body--community-login .community-mobile-tabs a,
.body--community.body--community-onboarding .community-mobile-tabs a {
  font-size: 15px;
}

.body--community .community-account__login {
  display: inline-flex;
  min-height: 44px;
  margin-left: auto;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

/* The member board uses normal reading sizes too. Metadata stays slightly
   quieter, but no functional copy, control, or form field drops below 14px. */
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-search input,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-search button,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-group-copy > p:last-child,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-write-button,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-topic-bar a,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-quick-compose > span:nth-child(2),
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-quick-compose em,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-feed-toolbar p,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-sort a,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-post__pinned,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-post__header b,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-audio div b,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-feedback-note b,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-action,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-comment b,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-comment > div > p:not(:first-child),
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-comment-form input,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-empty p,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-empty button,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-widget__head h2,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-widget__head > span,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-widget__head a,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-mission > p,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-mission > button,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-leaderboard li > span b,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-leaderboard li > span small,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-leaderboard li strong,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-widget__empty,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-guideline,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__errors,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__categories legend,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__field > label,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__categories label span,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__attachment,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__attachment-row > span,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__attachment-row > small,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__form > footer p,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__cancel,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__submit {
  font-size: 15px;
}

.body--community:not(.body--community-login):not(.body--community-onboarding) .community-post__content > p,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__field input,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__field textarea {
  font-size: 16px;
}

.body--community:not(.body--community-login):not(.body--community-onboarding) .community-post__header p,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-audio div span,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-feedback-note small,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-comment time,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__count {
  font-size: 14px;
}

.body--community:not(.body--community-login):not(.body--community-onboarding) .community-search button,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-write-button,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-empty button,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-mission > button,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__cancel,
.body--community:not(.body--community-login):not(.body--community-onboarding) .community-composer__submit {
  min-height: 44px;
}

.body--community-login .community-login__security,
.body--community-login .community-login__dev,
.body--community-login .community-login__footer {
  font-size: 15px;
}

.body--community-onboarding .community-onboarding-errors {
  font-size: 15px;
}

.body--community-onboarding .community-onboarding-errors b {
  font-size: 16px;
}

.body--community-onboarding .community-onboarding-profile__member small,
.body--community-onboarding .community-care-consent__details dt,
.body--community-onboarding .community-care-consent__details dd,
.body--community-onboarding .community-care-consent__details p,
.body--community-onboarding .community-care-consent > p,
.body--community-onboarding .community-onboarding-consent small,
.body--community-onboarding .community-onboarding-care__details > p,
.body--community-onboarding .community-onboarding-principles small,
.body--community-onboarding .community-onboarding-form__footer p {
  font-size: 15px;
}

@media (min-width: 761px) {
  .body--community-onboarding .community-onboarding__steps span {
    font-size: 15px;
  }
}

.body--community-onboarding .community-onboarding-principles i,
.body--community-onboarding .community-care-status > b {
  font-size: 12px;
}

.body--community-onboarding .community-care-status p {
  font-size: 15px;
  line-height: 1.55;
}

.body--community-onboarding .community-care-settings__notice ul {
  font-size: 15px;
}

.body--community-onboarding .community-care-withdraw {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
}

@media (max-width: 560px) {
  .body--community-login .community-account__login {
    min-height: 44px;
    padding: 0 14px;
    font-size: 15px;
  }

  .body--community-login .community-login__description,
  .body--community-login .community-login__primary b {
    font-size: 16px;
  }

  .body--community-login .community-login__footer {
    font-size: 15px;
  }
}
