body[data-student-page=community] #view:has(.board-workspace) {
  padding-block-start: 14px;
}

.community-page.board-workspace {
  max-width: var(--study-page-width);
}

.board-location, .board-location > div, .board-location nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.board-location {
  justify-content: space-between;
  gap: 0 18px;
  margin-block-end: 8px;
  color: var(--study-muted);
  font: 450 .8125rem/1.5 var(--study-body);
}
.board-location > div { gap: 0 18px; min-width: 0; }
.board-location .community-breadcrumbs { display: flex; gap: 9px; margin: 0; font: inherit; overflow-wrap: anywhere; }
.board-location > nav { gap: 0 14px; }
.board-location a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0;
  color: var(--study-muted);
}
.board-location .community-breadcrumbs a, .board-location .community-back { color: var(--study-action); }
.board-location a:hover { color: var(--study-action-hover); text-decoration: underline; text-underline-offset: 4px; }

.board-masthead {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(110px, 19%, 180px);
  align-items: center;
  overflow: hidden;
  min-height: 120px;
  padding-inline: clamp(20px, 3.2vw, 39px) 0;
  border-radius: 7px;
  color: #fffaf0;
  background: var(--study-cover);
}
.board-masthead-copy { min-width: 0; padding-block: 20px 22px; }
.board-masthead h2 {
  margin: 0;
  color: inherit;
  font: 700 clamp(1.95rem, 3.1vw, 2.55rem)/1.23 var(--study-title);
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.board-masthead p {
  max-width: 68ch;
  margin: 8px 16px 0 0;
  color: #e4dce3;
  font: 400 .9rem/1.65 var(--study-body);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.board-masthead-plate {
  position: relative;
  display: grid;
  align-self: stretch;
  place-items: center;
  border-inline: 1px solid #665970;
  margin-inline-end: clamp(12px, 2vw, 26px);
  color: var(--study-gold);
  background-color: #45394f;
  background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgb(246 227 221 / 4%) 5px 6px);
}
.board-masthead-plate::before {
  content: '';
  position: absolute;
  inset: 9px 0;
  border-block: 1px solid rgb(237 218 195 / 20%);
}
.board-masthead-plate .community-board-icon {
  width: clamp(48px, 5.8vw, 68px);
  height: auto;
  stroke-width: 1.15;
}
.board-masthead button.board-masthead-plate {
  align-content: center;
  gap: 5px;
  padding: 10px 3px;
  border-block: 0;
  border-radius: 0;
  font: 500 .76rem/1.4 var(--study-body);
}
.board-masthead button.board-masthead-plate:hover { background-color: #55445e; color: #fff5e4; }
.board-masthead button.board-masthead-plate:focus-visible { outline-offset: -4px; outline-color: var(--study-gold); }
.community-icon-picker { border: 1px solid var(--study-line); border-radius: var(--study-radius); min-width: 0; }
.community-icon-picker > summary { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: var(--study-ink); }
.community-icon-picker > summary small { display: block; margin-top: 1px; font: 460 .8rem/1.4 var(--study-body); color: var(--study-muted); }
.icon-picker-stamp { display: grid; place-items: center; width: 38px; height: 42px; background: var(--study-cover); color: var(--study-gold); border-radius: 4px; }
.icon-picker-stamp svg { width: 24px; height: 24px; }
.community-icon-picker > fieldset { display: grid; grid-template-columns: repeat(auto-fill,minmax(66px,1fr)); gap: 5px; margin: 0; padding: 8px; border: 0; border-top: 1px solid var(--study-line); min-width: 0; }
.community-icon-picker fieldset label { position: relative; display: block; cursor: pointer; }
.community-icon-picker label > input[type=radio] { position: absolute; opacity: 0; width: 100%; height: 100%; min-height: 0; inset: 0; padding: 0; margin: 0; cursor: pointer; }
.community-icon-picker label > span { display: grid; justify-items: center; gap: 4px; padding: 6px 0; border: 1px solid transparent; border-radius: 4px; font: 480 .77rem/1.35 var(--study-body); color: var(--study-muted); }
.community-icon-picker label > span svg { display: block; width: 22px; height: 22px; }
.community-icon-picker label:hover > span { background: var(--study-side); }
.community-icon-picker input:checked + span { color: var(--study-action); background: var(--study-active); border-color: var(--study-control-line); font-weight: 650; }
.community-icon-picker input:focus-visible + span { outline: 2px solid var(--study-action); }
.work-dialog > .community-form:has(.community-icon-picker) > footer {
  position: sticky;
  bottom: -18px;
  z-index: 1;
  padding-block: 8px;
  border-top: 1px solid var(--study-line);
  background: var(--study-surface);
}

.board-workspace .community-content-tabs {
  margin: 0;
  gap: clamp(20px, 3.4vw, 38px);
  border-color: var(--study-line);
}
.board-workspace .community-content-tabs > a {
  min-height: 54px;
  padding: 8px 1px;
  border-bottom-width: 2px;
  font: 550 1rem/1.45 var(--study-body);
  color: var(--study-muted);
}
.board-workspace .community-content-tabs > a[aria-current=page] { color: var(--study-ink); border-color: var(--study-action); font-weight: 700; }
.board-workspace .community-content-tabs > a:hover { color: var(--study-action); }
.board-workspace .community-content-tabs .community-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 4px 11px;
  border: 1px solid var(--study-line);
  border-radius: 5px;
  background: var(--study-surface);
  color: var(--study-action);
  font: 550 .8125rem/1.4 var(--study-body);
}
.board-workspace .community-follow[aria-pressed=false]::before { content: '+' / ''; font-weight: 400; }
.board-workspace .community-follow[aria-pressed=true] { background: var(--study-active); }

.board-workspace .shared-note-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding-block: 15px;
}
.board-workspace .shared-note-tools .community-search {
  flex: 1 1 185px;
  max-width: 320px;
  min-width: 0;
  margin: 0;
}
.board-workspace .community-search > div {
  gap: 0;
  border: 1px solid var(--study-line);
  border-radius: 5px;
  background: var(--study-surface);
}
.board-workspace .community-search > div:focus-within { outline: 2px solid var(--study-action); outline-offset: 1px; }
.board-workspace .community-search > div > .study-icon { inset-inline-start: 11px; width: 17px; height: 17px; color: var(--study-muted); }
.board-workspace .shared-note-tools .community-search input {
  min-height: 37px;
  padding: 7px 3px 7px 36px;
  border: 0;
  background: transparent;
  font-size: .875rem;
}
.board-workspace .community-search input:focus-visible { outline: 0; }
.board-workspace .community-search button, .board-workspace .community-search button:focus-visible {
  position: static;
  width: auto;
  height: auto;
  min-height: 32px;
  margin-inline-end: 3px;
  padding: 3px 8px;
  border: 0;
  clip-path: none;
  background: transparent;
  color: var(--study-action);
  font: 550 .78rem/1.5 var(--study-body);
}
.board-workspace .board-feed-filters, .board-workspace .community-feed-scope { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; }
.board-workspace .community-feed-scope {
  gap: 2px;
  margin: 0;
  padding: 3px;
  border-radius: 5px;
  background: var(--study-side);
}
.board-workspace .community-feed-scope a {
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 3px 8px;
  color: var(--study-muted);
  font: 500 .8125rem/1.5 var(--study-body);
  text-decoration: none;
}
.board-workspace .community-feed-scope a[aria-current=page] { background: var(--study-surface); border-color: var(--study-line); color: var(--study-ink); font-weight: 650; }
.board-result-count { color: var(--study-muted); font-size: .78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.board-workspace .shared-note-tools .community-actions { gap: 6px; margin: 0 0 0 auto; }
.board-workspace .shared-note-tools .community-actions a {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 5px;
  font: 550 .85rem/1.5 var(--study-body);
}
.board-workspace .shared-note-tools .community-actions a.primary { background: var(--study-action); border-color: var(--study-action); }
.board-workspace .shared-note-tools .community-actions a.primary:hover { background: var(--study-action-hover); }
.board-workspace .shared-note-tools .community-actions a.secondary:hover { background: var(--study-active); }
.board-workspace .community-page-controls { justify-content: center; margin-block-start: 18px; color: var(--study-muted); font-size: .875rem; }
.board-workspace .community-page-controls a { padding-inline: 10px; }

@media (max-width: 700px) {
  .work-dialog > .community-form:has(.community-icon-picker) > footer { bottom: -15px; }
  .board-location > nav { gap: 9px; }
  .board-masthead { min-height: 100px; grid-template-columns: minmax(0,1fr) 82px; }
  .board-masthead-copy { padding-block: 16px; }
  .board-masthead-plate { margin-inline-end: 10px; }
  .board-masthead-plate .community-board-icon { width: 42px; }
  .board-workspace .community-content-tabs { gap: 16px; }
  .board-workspace .community-content-tabs > a { min-height: 46px; font-size: .9rem; }
  .board-workspace .shared-note-tools { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding-block: 12px; }
  .board-workspace .shared-note-tools .community-search { width: 100%; max-width: none; }
  .board-workspace .board-feed-filters { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  .board-workspace .shared-note-tools .community-actions { grid-column: 2; grid-row: 1; }
}
@media (max-width: 460px) {
  .board-location { margin-block-end: 5px; font-size: .75rem; }
  .board-location > div { gap: 0 9px; }
  .board-workspace .community-content-tabs { gap: 12px; }
  .board-workspace .shared-note-tools { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px 0; }
  .board-workspace .shared-note-tools .community-search { grid-column: 1 / -1; grid-row: 1; }
  .board-workspace .shared-note-tools:has(.board-result-count) .community-search { grid-column-end: 5; }
  .board-workspace .board-feed-filters { display: contents; }
  .board-workspace .community-feed-scope { grid-column: 1 / 4; grid-row: 2; justify-self: start; }
  .board-workspace .board-result-count { grid-column: 5 / -1; grid-row: 1; justify-self: end; }
  .board-workspace .shared-note-tools .community-actions { grid-column: 4 / -1; grid-row: 2; justify-self: end; gap: 2px; }
  .board-workspace .shared-note-tools .community-actions a { padding-inline: 7px; }
  .board-result-count { font-size: .74rem; }
}
@media (pointer: coarse) {
  .board-location a, .board-workspace .community-feed-scope a,
  .board-workspace .shared-note-tools .community-actions a,
  .board-workspace .community-content-tabs .community-follow,
  .board-workspace .shared-note-tools .community-search :is(input,button) { min-height: 44px; }
}
