.selected-app-page {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #f5f6f1;
}

.connections-feed-back svg,
.connections-feed-next svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connections-feed-page button:focus-visible,
.connections-feed-page textarea:focus-visible {
  outline: 3px solid #c7a96b;
  outline-offset: 3px;
}

.connections-feed-page {
  min-height: 100dvh;
  padding: max(28px, env(safe-area-inset-top)) 20px max(52px, env(safe-area-inset-bottom));
  color: #16231f;
  background:
    radial-gradient(circle at 12% 8%, rgb(205 186 139 / 14%), transparent 28rem),
    linear-gradient(180deg, #f8f8f4 0%, #eef1ec 100%);
  font-family: Manrope, Inter, Arial, sans-serif;
}

.connections-feed-page[hidden] {
  display: none;
}

.connections-feed-shell {
  width: min(100%, 780px);
  min-height: 100dvh;
  margin: 0 auto;
}

.connections-feed-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: end;
  padding: 0 2px 24px;
  border-bottom: 1px solid rgb(24 52 45 / 13%);
}

.connections-feed-back {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0;
  border: 0;
  color: #294c44;
  background: transparent;
  font: 600 .9rem/1.2 Manrope, Inter, Arial, sans-serif;
  cursor: pointer;
}

.connections-feed-heading h1 {
  margin: 3px 0 6px;
  color: #172c27;
  font: 500 clamp(2.4rem, 7vw, 4.6rem)/.9 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.04em;
}

.connections-feed-kicker {
  margin: 0;
  color: #9c7b3f;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.connections-feed-intro {
  max-width: 34rem;
  margin: 0;
  color: #66746f;
  font-size: 1rem;
  line-height: 1.6;
}

.connections-feed-sort {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgb(41 76 68 / 18%);
  border-radius: 999px;
  background: rgb(255 255 255 / 66%);
}

.connections-feed-sort button {
  min-height: 38px;
  padding: 8px 15px;
  border: 0;
  border-radius: 999px;
  color: #62706b;
  background: transparent;
  font: 600 .86rem/1 Manrope, Inter, Arial, sans-serif;
  cursor: pointer;
}

.connections-feed-sort button.is-selected {
  color: #fff;
  background: #294c44;
  box-shadow: 0 6px 18px rgb(27 59 52 / 18%);
}

.connections-feed-composer {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid rgb(31 61 53 / 15%);
  border-radius: 14px;
  background: rgb(255 255 255 / 86%);
}

.connections-feed-composer label {
  font-weight: 700;
}

.connections-feed-composer textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bcc9c2;
  border-radius: 8px;
  color: inherit;
  background: #fff;
  font: inherit;
  resize: vertical;
}

.connections-feed-composer button {
  justify-self: end;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid #9baea5;
  border-radius: 8px;
  color: #1f3a31;
  background: #edf2ee;
  font: 700 .9rem/1.2 Manrope, Inter, Arial, sans-serif;
  cursor: pointer;
}

.connections-feed-composer button:disabled {
  opacity: .7;
  cursor: wait;
}

.connections-feed-notice {
  margin: 20px 2px 0;
  padding: 12px 15px;
  border: 1px solid #d6ddd8;
  border-radius: 12px;
  color: #53635d;
  background: rgb(255 255 255 / 80%);
  font-size: .9rem;
}

.connections-feed-notice[data-mode="error"] {
  border-color: #e5c0b8;
  color: #7a372d;
  background: #fff6f3;
}

.connections-feed-notice[data-mode="success"] {
  border-color: #bad8ca;
  color: #225844;
  background: #f3fbf7;
}

.connections-feed-tour-marker {
  width: fit-content;
  margin: 20px 2px 0;
  padding: 7px 11px;
  border: 1px solid #d9c999;
  border-radius: 999px;
  color: #654f29;
  background: #fff9e8;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.connections-feed-page.is-tour-demo .connections-feed-back,
.connections-feed-page.is-tour-demo .connections-feed-sort,
.connections-feed-page.is-tour-demo .connections-feed-next,
.connections-feed-page.is-tour-demo .connections-feed-composer,
.connections-feed-page.is-tour-demo .connections-feed-sentinel,
.connections-feed-page.is-tour-demo .connections-feed-actions,
.connections-feed-page.is-tour-demo .connections-feed-intro,
.connections-feed-page.is-tour-demo .connections-feed-comment-form {
  display: none;
}

.connections-feed-page.is-tour-demo {
  padding-top: 0;
}

.is-tour-feed-open .selected-app-page {
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.connections-feed-page.is-tour-demo .connections-feed-post {
  box-shadow: none;
}

.connections-feed-page.is-tour-demo .connections-feed-header {
  position: sticky;
  z-index: 1;
  top: 0;
  grid-template-columns: 1fr;
  padding: calc(8px + env(safe-area-inset-top)) 12px 9px;
  background: #f8f8f4;
}

.connections-feed-page.is-tour-demo .connections-feed-heading h1 {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  line-height: 1;
}

@media (max-width: 880px) {
  .connections-feed-page.is-tour-demo .connections-feed-header {
    padding-right: 165px;
  }
}

.connections-feed-page.is-tour-demo .connections-feed-post-content {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
}

.connections-feed-page.is-tour-demo .connections-feed-post-visual {
  display: contents;
}

.connections-feed-page.is-tour-demo .connections-feed-post-visual > :first-child {
  order: -1;
  margin: 0 0 12px;
}

.connections-feed-page.is-tour-demo img[data-feed-post-picture] {
  max-height: 45dvh;
}

.connections-feed-page.is-illustrative-feed .connections-feed-sort,
.connections-feed-page.is-illustrative-feed .connections-feed-next,
.connections-feed-page.is-illustrative-feed .connections-feed-sentinel,
.connections-feed-page.is-illustrative-feed .connections-feed-actions,
.connections-feed-page.is-illustrative-feed .connections-feed-comment-form {
  display: none;
}

.connections-feed-illustrative-disclosure {
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 4px 12px 10px auto;
  padding: 0;
  border: 0;
  color: rgb(80 75 68 / 58%);
  background: transparent;
  font: 500 8px/1.3 Manrope, Inter, Arial, sans-serif;
  letter-spacing: -.005em;
}

.connections-feed-illustrative-disclosure[hidden] {
  display: none;
}

.connections-feed-list {
  display: grid;
  gap: 22px;
  padding: 24px 0 12px;
}

.connections-feed-list[hidden] {
  display: none;
}

.connections-feed-post {
  overflow: hidden;
  border: 1px solid rgb(31 61 53 / 13%);
  border-radius: 22px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 15px 50px rgb(22 46 40 / 7%);
}

.connections-feed-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 22px 0;
}

.connections-feed-author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.connections-feed-avatar {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d3c59d;
  border-radius: 50%;
  color: #294c44;
  background: #f4ead2;
  font: 600 1.25rem/1 "Cormorant Garamond", Georgia, serif;
  overflow: hidden;
}

.connections-feed-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.connections-feed-author div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.connections-feed-author strong {
  overflow: hidden;
  color: #203b34;
  font-size: .95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connections-feed-author div span {
  overflow: hidden;
  color: #76827e;
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connections-feed-topic {
  max-width: 42%;
  overflow: hidden;
  padding: 6px 9px;
  border-radius: 999px;
  color: #735b2f;
  background: #f7f0df;
  font-size: .74rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connections-feed-post-content {
  padding: 22px;
}

.connections-feed-post-content h2 {
  margin: 0 0 12px;
  color: #172c27;
  font: 500 clamp(1.75rem, 5vw, 2.45rem)/1 "Cormorant Garamond", Georgia, serif;
}

.connections-feed-post-content p {
  margin: 0;
  color: #31433e;
  font-size: 1rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.connections-feed-post-content p + p {
  margin-top: 15px;
}

.connections-feed-post-expanded:not([hidden]) { margin-top: 15px; }

.connections-feed-see-more,
.connections-feed-document-toggle {
  min-height: 40px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #255d50;
  font: 700 .9rem/1.3 Manrope, Inter, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.connections-feed-see-more:hover,
.connections-feed-document-toggle:hover { text-decoration: underline; }

.connections-feed-link-figure,
.connections-feed-photo { margin: 16px 0 0; }

.connections-feed-link-card {
  display: block;
  overflow: hidden;
  border: 1px solid #d7dfd9;
  border-radius: 12px;
  background: #f5f8f4;
  color: inherit;
  text-decoration: none;
}

a.connections-feed-link-card:hover strong { text-decoration: underline; }
.connections-feed-link-copy { display: grid; gap: 4px; padding: 11px 14px 13px; }
.connections-feed-link-copy > strong { color: #203932; overflow-wrap: anywhere; }
.connections-feed-link-copy > p { font-size: .875rem; line-height: 1.4; }
.connections-feed-link-card .connections-feed-article-image,
.connections-feed-photo .connections-feed-article-image {
  aspect-ratio: 1.91;
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
  border-radius: 0;
  object-fit: cover;
  background: #e6ebe6;
}

.connections-feed-photo .connections-feed-article-image { border-radius: 12px; }
.connections-feed-image-credit { margin-top: 5px; color: #51635b; font-size: .75rem; line-height: 1.35; }
.connections-feed-image-credit a { color: inherit; text-decoration: underline; }

.connections-feed-attachment {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 20px 0 0;
  padding: 17px;
  overflow: hidden;
  border: 1px solid #d9dfda;
  border-radius: 15px;
  color: #273d36;
  background: linear-gradient(145deg, #f7f8f4, #eef2ed);
}

.connections-feed-attachment-kicker {
  color: #876a35;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.connections-feed-attachment > strong {
  font: 600 1.25rem/1.2 "Cormorant Garamond", Georgia, serif;
}

.connections-feed-attachment > p {
  color: #5a6863;
  font-size: .88rem;
  line-height: 1.55;
}

.connections-feed-attachment-link {
  width: fit-content;
  color: #294c44;
  font-size: .83rem;
  font-weight: 700;
}

.connections-feed-article-image,
.connections-feed-article-visual {
  display: block;
  width: calc(100% + 34px);
  aspect-ratio: 16 / 7;
  margin: -17px -17px 3px;
  border-bottom: 1px solid #d9dfda;
}

.connections-feed-article-image {
  object-fit: cover;
  background: #e7ebe7;
}

.connections-feed-article-visual {
  display: grid;
  align-content: end;
  gap: 8px;
  padding: clamp(20px, 5vw, 38px);
  color: #fff;
  background:
    linear-gradient(115deg, rgb(15 29 26 / 20%), rgb(15 29 26 / 78%)),
    repeating-linear-gradient(135deg, #536861 0 18px, #5e746c 18px 36px);
}

.connections-feed-article-visual span {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.connections-feed-article-visual strong {
  max-width: 34rem;
  font: 600 clamp(1.25rem, 3vw, 2rem)/1.08 "Cormorant Garamond", Georgia, serif;
}

.connections-feed-resume-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(90px, .38fr) 1fr;
  gap: 7px 12px;
  max-height: calc(390px * var(--resume-visible-fraction, .6));
  margin: 2px 0 0;
  padding: 15px;
  overflow: hidden;
  border: 1px solid #d6d9d4;
  border-radius: 8px;
  background: #fff;
}

.connections-feed-resume-preview::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40%;
  background: linear-gradient(transparent, #fff 82%);
  content: '';
}

.connections-feed-resume-preview dt,
.connections-feed-resume-preview dd {
  min-width: 0;
  margin: 0;
  font-size: .76rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.connections-feed-resume-preview dt { color: #7a8581; font-weight: 700; }
.connections-feed-resume-preview dd {
  color: #283d37;
  white-space: pre-line;
}

.connections-feed-resume-note {
  color: #6c7874;
  font-size: .72rem;
  font-weight: 700;
}

.connections-feed-poll-options {
  display: grid;
  gap: 11px;
}

.connections-feed-poll-option {
  display: grid;
  gap: 6px;
}

.connections-feed-poll-option > span:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.connections-feed-poll-option em {
  color: #6c7874;
  font-size: .8rem;
  font-style: normal;
}

.connections-feed-poll-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #dfe5e0;
}

.connections-feed-poll-bar::before {
  display: block;
  width: var(--poll-value, 0%);
  height: 100%;
  border-radius: inherit;
  background: #294c44;
  content: '';
}

.connections-feed-engagement {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid #e1e5e1;
  color: #6a7772;
  font-size: .78rem;
  font-weight: 600;
}

.connections-feed-metric { display: inline-flex; align-items: center; gap: 4px; }
.connections-feed-metric svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.connections-feed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.connections-feed-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #506860;
  background: #edf2ee;
  font-size: .74rem;
  font-weight: 650;
}

.connections-feed-attachment-facts {
  display: grid;
  grid-template-columns: minmax(90px, .45fr) 1fr;
  gap: 7px 12px;
  margin: 3px 0 0;
}

.connections-feed-attachment-facts dt,
.connections-feed-attachment-facts dd {
  min-width: 0;
  margin: 0;
  font-size: .79rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.connections-feed-attachment-facts dt { color: #77837f; font-weight: 700; }
.connections-feed-attachment-facts dd { color: #293f38; }

.connections-feed-survey-questions {
  display: grid;
  gap: 9px;
}

.connections-feed-survey-questions > div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #d9dfda;
  border-radius: 10px;
  background: #fff;
}

.connections-feed-survey-questions span {
  color: #8b7242;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.connections-feed-survey-questions strong {
  color: #2d423b;
  font-size: .85rem;
  line-height: 1.45;
}

.connections-feed-media {
  display: block;
  width: calc(100% + 44px);
  max-height: 680px;
  margin: 22px -22px -22px;
  object-fit: cover;
  background: #e5e9e3;
}

.connections-feed-actions {
  display: flex;
  gap: 8px;
  padding: 11px 22px;
  border-top: 1px solid #e7eae6;
  border-bottom: 1px solid #e7eae6;
}

.connections-feed-actions button {
  min-height: 38px;
  padding: 8px 13px;
  border: 0;
  border-radius: 9px;
  color: #3e5c54;
  background: transparent;
  font: 600 .86rem/1 Manrope, Inter, Arial, sans-serif;
  cursor: pointer;
}

.connections-feed-actions button:hover {
  background: #f0f3ef;
}

.connections-feed-comments {
  padding: 19px 22px 22px;
  background: #fafbf8;
}

.connections-feed-comment-summary {
  margin: 0 0 13px;
  color: #65736e;
  font-size: .82rem;
  font-weight: 600;
}

.connections-feed-comment-list {
  display: grid;
  gap: 9px;
}

.connections-feed-comment {
  padding: 11px 13px;
  border-radius: 12px;
  background: #eef2ed;
}

.connections-feed-comment header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.connections-feed-comment .connections-feed-avatar { width: 26px; height: 26px; font-size: .9rem; }
.connections-feed-comment-author { flex: 1; }

.connections-feed-comment-author {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.connections-feed-comment-author span {
  overflow: hidden;
  color: #7e8985;
  font-size: .69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connections-feed-comment strong {
  color: #294c44;
  font-size: .82rem;
}

.connections-feed-comment time {
  color: #89938f;
  font-size: .72rem;
}

.connections-feed-comment p {
  margin: 5px 0 0;
  color: #35463f;
  font-size: .92rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.connections-feed-comment-reactions {
  display: block;
  width: fit-content;
  margin-top: 6px;
  color: #708079;
  font-size: .69rem;
  font-weight: 700;
}

.connections-feed-replies {
  display: grid;
  gap: 7px;
  margin: 9px 0 0 17px;
  padding-left: 10px;
  border-left: 2px solid #d5ded8;
}

.connections-feed-replies .connections-feed-comment {
  padding: 9px 11px;
  background: #f7f9f6;
}

.connections-feed-comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  margin-top: 12px;
  align-items: end;
}

.connections-feed-comment-form textarea {
  width: 100%;
  min-height: 48px;
  max-height: 150px;
  resize: vertical;
  padding: 11px 12px;
  border: 1px solid #d2d9d4;
  border-radius: 11px;
  color: #21362f;
  background: #fff;
  font: 400 1rem/1.45 Manrope, Inter, Arial, sans-serif;
}

.connections-feed-comment-form button,
.connections-feed-state button {
  min-height: 44px;
  padding: 11px 17px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #294c44;
  font: 600 .9rem/1 Manrope, Inter, Arial, sans-serif;
  cursor: pointer;
}

.connections-feed-comment-form button:disabled,
.connections-feed-next:disabled {
  opacity: .55;
  cursor: wait;
}

.connections-feed-state {
  display: grid;
  place-items: center;
  min-height: 46dvh;
  padding: 42px 24px;
  border: 1px solid rgb(31 61 53 / 13%);
  border-radius: 22px;
  background: rgb(255 255 255 / 88%);
  text-align: center;
}

.connections-feed-state h2 {
  margin: 0;
  color: #203b34;
  font: 500 2.25rem/1 "Cormorant Garamond", Georgia, serif;
}

.connections-feed-state p {
  max-width: 31rem;
  margin: 12px 0 20px;
  color: #697670;
  font-size: 1rem;
  line-height: 1.65;
}

.connections-feed-sentinel {
  width: 100%;
  height: 1px;
}

.connections-feed-next {
  display: grid;
  min-width: 150px;
  min-height: 72px;
  margin: 8px auto 0;
  place-items: center;
  gap: 3px;
  padding: 10px 20px;
  border: 0;
  color: #294c44;
  background: transparent;
  font: 600 .84rem/1.2 Manrope, Inter, Arial, sans-serif;
  cursor: pointer;
}

@media (max-width: 600px) {
  .connections-feed-illustrative-disclosure {
    max-width: calc(100% - 20px);
    margin-right: 10px;
    padding: 0;
    font-size: 7.75px;
    line-height: 1.3;
  }

  .connections-feed-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .connections-feed-header {
    grid-template-columns: 1fr;
  }

  .connections-feed-sort {
    width: 100%;
  }

  .connections-feed-sort button {
    flex: 1;
  }

  .connections-feed-post-header,
  .connections-feed-post-content,
  .connections-feed-comments {
    padding-right: 17px;
    padding-left: 17px;
  }

  .connections-feed-media {
    width: calc(100% + 34px);
    margin-right: -17px;
    margin-left: -17px;
  }

  .connections-feed-actions {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .connections-feed-page {
    padding-top: 14px;
  }

  .connections-feed-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 20px;
    padding-bottom: 14px;
  }

  .connections-feed-back {
    grid-column: 1 / -1;
    min-height: 34px;
  }

  .connections-feed-heading h1 {
    font-size: 2.2rem;
  }

  .connections-feed-intro {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .connections-feed-page * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
