.cf-shell { position: relative; z-index: 1; width: min(calc(100% - 64px), 1480px); margin: 0 auto; }
.cf-toolbar { display: flex; gap: 12px; margin-bottom: 24px; }
.cf-search {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  flex: 1;
  min-height: 62px;
  padding: 6px;
  border: 1px solid #d7dade;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,24,39,.045);
}
.cf-search > span { color: #858e9a; font-size: 24px; text-align: center; transform: rotate(-20deg); }
.cf-search input { min-width: 0; height: 48px; border: 0; outline: 0; color: #111827; background: transparent; font: inherit; font-size: 13px; }
.cf-search:focus-within { border-color: #d32f2f; box-shadow: 0 0 0 3px rgba(211,47,47,.08); }
.cf-search button,
.cf-new-topic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #d32f2f;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.cf-new-topic { min-height: 62px; gap: 9px; padding-inline: 25px; }
.cf-new-topic span { font-size: 18px; font-weight: 500; }
.cf-readonly {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 22px;
  border: 1px solid #d7dade;
  border-radius: 10px;
  color: #5f6875;
  background: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.cf-readonly > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a45a;
  box-shadow: 0 0 0 4px rgba(34,164,90,.11);
}
.cf-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: -6px 0 24px;
}
.cf-filters > span {
  margin-right: 4px;
  color: #747d89;
  font-size: 11px;
  font-weight: 700;
}
.cf-filters button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d7dade;
  border-radius: 5px;
  color: #5d6673;
  background: rgba(255,255,255,.68);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.cf-filters button:hover,
.cf-filters button.active {
  border-color: #d32f2f;
  color: #c62828;
  background: #fff;
}
.cf-category[hidden],
.cf-topic-row[hidden] { display: none !important; }
.cf-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 24px; }
.cf-board,
.cf-topics,
.cf-side-panel {
  overflow: hidden;
  border: 1px solid #d7dade;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(17,24,39,.035);
}
.cf-board-head {
  display: grid;
  grid-template-columns: 1fr 325px;
  align-items: end;
  gap: 25px;
  min-height: 100px;
  padding: 23px 28px;
  border-bottom: 1px solid #e0e2e5;
  background: #fafafa;
}
.cf-board-head > div:first-child > span,
.cf-topics header span {
  color: #d32f2f;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cf-board-head h2,
.cf-topics header h2 { margin-top: 5px; font-size: 24px; letter-spacing: -.03em; }
.cf-column-labels { display: grid; grid-template-columns: 70px 1fr; color: #9299a3; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.cf-category {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 70px 230px;
  align-items: center;
  gap: 20px;
  min-height: 132px;
  padding: 20px 28px;
  border-bottom: 1px solid #e3e5e8;
  color: #111827;
  transition: background .2s, padding .2s;
}
.cf-category::before,
.cf-topics a.cf-topic-row::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #d32f2f;
  transform: scaleY(0);
  transition: transform .2s ease;
}
.cf-category:hover::before,
.cf-topics a.cf-topic-row:hover::before { transform: scaleY(1); }
.cf-category:last-child { border-bottom: 0; }
.cf-category:hover { padding-left: 34px; background: #fff9f8; }
.cf-category-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e4b8b8;
  border-radius: 9px;
  color: #c62828;
  background: #fff5f4;
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
}
.cf-category-copy > strong,
.cf-category-copy > small,
.cf-category-copy > em { display: block; }
.cf-category-copy > strong { font-size: 20px; }
.cf-category-copy > small { margin-top: 7px; color: #687281; font-size: 11px; }
.cf-category-copy > em { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-style: normal; }
.cf-category-copy > em b { padding: 4px 7px; border-radius: 4px; color: #7b8490; background: #f1f2f3; font-size: 8px; font-weight: 700; }
.cf-topic-total strong,
.cf-topic-total small { display: block; text-align: center; }
.cf-topic-total strong { font-size: 15px; }
.cf-topic-total small { margin-top: 4px; color: #9aa1aa; font-size: 8px; }
.cf-last { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 11px; }
.cf-last > b,
.cf-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: #293244;
  font-size: 8px;
}
.cf-last span strong,
.cf-last span small { display: block; }
.cf-last span strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.cf-last span small { margin-top: 5px; color: #969da7; font-size: 8px; }
.cf-topics { margin-top: 24px; }
.cf-topics > header { display: flex; align-items: end; justify-content: space-between; padding: 24px 28px 20px; border-bottom: 1px solid #e0e2e5; }
.cf-topics > header > a { color: #687281; font-size: 10px; font-weight: 750; }
.cf-topic-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 70px 80px;
  align-items: center;
  gap: 17px;
  min-height: 96px;
  padding: 16px 28px;
  border-bottom: 1px solid #e4e6e8;
}
.cf-topic-row:last-child { border-bottom: 0; }
.cf-topics a.cf-topic-row {
  position: relative;
  color: #111827;
  transition: background .2s ease, padding .2s ease;
}
.cf-topics a.cf-topic-row:hover {
  padding-left: 34px;
  background: #fafafa;
}
.cf-topic-row.pinned { background: #fff8f7; }
.cf-topic-row.pinned .cf-avatar { background: #d32f2f; }
.cf-topic-row > span:nth-child(2) small,
.cf-topic-row > span:nth-child(2) strong,
.cf-topic-row > span:nth-child(2) em { display: block; }
.cf-topic-row > span:nth-child(2) small { color: #d32f2f; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.cf-topic-row > span:nth-child(2) strong { margin-top: 6px; font-size: 13px; }
.cf-topic-row > span:nth-child(2) em { margin-top: 5px; color: #969da7; font-size: 8px; font-style: normal; }
.cf-topic-row > b { color: #687281; font-size: 9px; text-align: center; }
.cf-topic-row > i { color: #969da7; font-size: 8px; font-style: normal; text-align: right; }
.cf-sidebar { position: sticky; top: 100px; }
.cf-welcome {
  position: relative;
  overflow: hidden;
  padding: 32px 29px;
  border-radius: 11px;
  color: #fff;
  background: #141c2b;
}
.cf-welcome::after { content: ""; position: absolute; right: -44px; bottom: -53px; width: 145px; height: 145px; border: 25px solid rgba(211,47,47,.58); border-radius: 50%; }
.cf-welcome > * { position: relative; z-index: 1; }
.cf-welcome > span { color: #ff8585; font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.cf-welcome h3 { margin-top: 12px; color: #fff; font-size: 25px; line-height: 1.18; letter-spacing: -.035em; }
.cf-welcome p { margin-top: 14px; color: #b7c0ce; font-size: 11px; line-height: 1.7; }
.cf-welcome > a { display: flex; justify-content: space-between; margin-top: 26px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 10px; font-weight: 800; }
.cf-welcome > a b { color: #ff7272; }
.cf-side-panel { margin-top: 18px; padding: 23px; }
.cf-side-panel header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #e3e5e8; }
.cf-side-panel h3 { font-size: 14px; }
.cf-tags { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 17px; }
.cf-tags a { padding: 7px 9px; border: 1px solid #e0e3e6; border-radius: 5px; color: #626c7a; background: #fafafa; font-size: 9px; }
.cf-tags a:hover { border-color: #e5abab; color: #c62828; background: #fff8f7; }
.cf-online header > b { color: #22a45a; font-size: 11px; }
.cf-online > div { display: flex; padding-top: 18px; }
.cf-online > div span { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -5px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #364052; font-size: 7px; }
.cf-online > div span:first-child { margin-left: 0; background: #d32f2f; }
.cf-online p { margin-top: 13px; color: #89919c; font-size: 9px; line-height: 1.55; }
.cf-publish-note header > b { color: #22a45a; font-size: 13px; }
.cf-publish-note ul { margin: 15px 0 0; padding: 0; list-style: none; }
.cf-publish-note li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid #eceef0;
  color: #687281;
  font-size: 10px;
}
.cf-publish-note li:last-child { border-bottom: 0; }
.cf-publish-note li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d32f2f;
}
