.brain-notes-panel-wrap {
  overflow: hidden;
}
.brain-notes-panel-wrap .xc-editor {
  max-width: none;
  margin: 0;
  min-height: 0;
  height: 100%;
  background: #f2f4f7;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.brain-notes-panel-wrap .xc-editor-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.brain-notes-panel-wrap.is-home-bottom-sheet {
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
  touch-action: pan-y;
}
.brain-notes-panel-wrap.is-home-bottom-sheet.is-open {
  transform: translateY(0);
}
.brain-notes-panel-wrap.is-home-bottom-sheet.is-dragging {
  transition: none;
}
.brain-notes-panel-wrap .brain-notes-feed-page {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 0;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 88px);
}
.brain-notes-panel-wrap .brain-notes-list {
  width: 100%;
  display: grid;
  gap: 12px;
  padding: 8px 12px 12px;
  background: transparent;
  box-sizing: border-box;
  overflow-anchor: none;
}
.brain-notes-panel-wrap .xc-editor > header .brain-notes-header-spacer {
  width: 44px;
  height: 44px;
}
.brain-notes-panel-wrap > .circle-add-button {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 2310;
}
.brain-notes-panel-wrap.is-posting-to-circle {
  visibility: hidden;
  pointer-events: none;
}
/* Brain Notes panel (z-index 2300) sits above the Circle composer unless lifted. */
.app.circle-composing > #circleComposeScrim.show {
  position: fixed;
  inset: 0;
  z-index: 2400;
}
.app.circle-composing > #circleComposeSheet.show {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2401;
}
.brain-notes-fixed-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brain-notes-search {
  padding: 0 0 6px;
}
.circle-feed-search.brain-notes-search {
  margin: 0;
}
.brain-notes-search-field {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 6px 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  border: 0;
  border-radius: 12px;
  color: #202226;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
  box-sizing: border-box;
}
.brain-notes-search-field::-webkit-scrollbar {
  display: none;
}
.brain-notes-search-chips {
  display: flex;
  flex: none;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}
.brain-notes-search-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  max-width: 180px;
  height: 32px;
  border-radius: 999px;
  background: #eef0f3;
  color: #1a1d1b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.brain-notes-search-chip-label {
  padding: 4px 0 4px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brain-notes-search-chip-remove {
  flex: none;
  width: 32px;
  min-width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #5c6560;
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.brain-notes-search-chip-remove:active {
  background: rgb(0 0 0 / 0.06);
}
.circle-feed-search.brain-notes-search input {
  flex: 1 0 120px;
  width: auto;
  min-width: 120px;
  min-height: 24px;
  padding: 4px 4px;
  border: 0;
  border-radius: 0;
  color: #202226;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}
.circle-feed-search.brain-notes-search input::placeholder {
  color: #8f9491;
}
.brain-notes-empty-search.group-small-circle-empty {
  padding: 48px 16px;
}
.brain-notes-empty-search strong {
  color: #8f9491;
  font-size: 15px;
  font-weight: 600;
}
.brain-note-filters.circle-dynamic-filters {
  margin: 0;
  padding: 0;
}
.brain-notes-empty.group-small-circle-empty span.brain-notes-empty-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: inherit;
}
.brain-notes-empty-icon svg {
  width: 28px;
  height: 28px;
  color: #8f9491;
}
.brain-note-title-input {
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px 8px;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  font: inherit;
}
.brain-notes-panel-wrap .circle-private-post.brain-note-post {
  padding: 12px 16px;
}
.brain-notes-panel-wrap .circle-private-post.brain-note-post.layout-right {
  padding: 12px 16px;
}
.brain-note-post .brain-note-card-head {
  padding: 0;
}
.brain-note-post .brain-note-card-title {
  display: block;
  font-size: 15px;
}
.brain-note-post .brain-note-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0 0;
}
.brain-note-post .brain-note-copy {
  padding-top: 8px;
}
.brain-note-post.is-pinned {
  box-shadow: inset 3px 0 0 #28735a;
}
.brain-note-actions .circle-reaction-bar button {
  font-size: 13px;
}
.brain-note-compose .circle-compose-preview-post .circle-private-head[hidden] {
  display: none !important;
}
.brain-note-compose .brain-note-tag-line-wrap {
  position: relative;
  width: 100%;
  margin: 0 0 8px;
}
.brain-note-compose .brain-note-tag-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.brain-note-compose .brain-note-tag-line-placeholder {
  color: #8a938d;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.brain-note-compose .brain-note-tag-line-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef0f3;
  color: #1a1d1b;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.brain-note-compose .brain-note-tag-line-pill-x {
  opacity: 0.65;
  font-size: 14px;
  line-height: 1;
}
.brain-note-compose .brain-note-tag-line-wrap {
  z-index: 30;
}
.brain-note-compose .brain-note-tag-line-wrap #circleTagPicker {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  background: #fff;
}
/* Tag line: type tags right here; the picker below adds suggested tags and emojis. */
.brain-note-compose .brain-note-tag-line {
  cursor: text;
}
.brain-note-compose .brain-note-tag-line-pills {
  display: contents;
}
.brain-note-compose .brain-note-tag-line-input {
  flex: 1 0 140px;
  min-width: 140px;
  height: 30px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #1a1d1b;
  font: inherit;
  font-size: 16px;
}
.brain-note-compose .brain-note-tag-line-input::placeholder {
  color: #8a938d;
}
.brain-note-compose .brain-note-tag-line-pill.is-colored {
  font-weight: 700;
}
.brain-note-compose #circleTagPicker .circle-custom-tag-input {
  display: none;
}
/* The word box is hidden here, so give the close button its own row. */
.brain-note-compose #circleTagPicker {
  padding-top: 44px;
}
.brain-note-compose #circleTagPicker .circle-tag-close {
  top: 9px;
  right: 10px;
}
