:root {
  --pink: #e9468b;
  --pink-soft: #fce3ed;
  --green: #16825d;
  --blue: #188ab5;
  --orange: #fe8401;
  --text: #333;
  --muted: #666;
  --line: #e9eaeb;
  --page: #f2f2f2;
  --white: #fff;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: var(--font-family);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  letter-spacing: var(--type-text-sm-spacing);
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: 24px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card-pad {
  padding: 24px;
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  color: var(--text);
  font-size: var(--type-display-xs-size);
  line-height: var(--type-display-xs-line);
  letter-spacing: var(--type-display-xs-spacing);
  font-weight: var(--font-weight-bold);
}

.landing-page {
  background: white;
}

.landing-hero {
  min-height: calc(100vh - 70px);
  background: white;
}

.landing-hero__inner {
  display: grid;
  width: 100%;
  max-width: 1440px;
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  padding: 28px 24px 48px;
  grid-template-rows: 60px 1fr;
}

.landing-hero__logo {
  display: grid;
  width: 117px;
  height: 60px;
  place-items: center;
}

.landing-hero__logo img {
  width: 117px;
  height: 60px;
  object-fit: contain;
}

.landing-hero__content {
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: space-between;
  gap: clamp(48px, 15vw, 299px);
}

.landing-hero__copy {
  width: min(710px, 100%);
}

.landing-hero__content--solo {
  justify-content: center;
  text-align: center;
}

.landing-hero__eyebrow {
  margin-bottom: 6px;
  color: var(--pink);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-semibold);
  text-transform: capitalize;
}

.landing-hero h1 {
  color: var(--text);
  font-size: var(--type-display-xl-size);
  line-height: var(--type-display-xl-line);
  letter-spacing: var(--type-display-xl-spacing);
  font-weight: var(--font-weight-bold);
}

.landing-hero__description {
  margin-top: 16px;
  color: #4d4d4d;
  font-size: var(--type-text-lg-size);
  line-height: var(--type-text-lg-line);
  letter-spacing: var(--type-text-lg-spacing);
}

.landing-hero__actions {
  display: flex;
  margin-top: 28px;
  gap: 16px;
  align-items: center;
}

.landing-button {
  display: inline-flex;
  min-height: 42px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  font-size: var(--type-button-md-size);
  line-height: var(--type-button-md-line);
  letter-spacing: var(--type-button-spacing);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
}

.landing-button--primary {
  border: 1px solid var(--pink);
  background: var(--pink);
  color: white;
}

.landing-button--secondary {
  border: 1px solid var(--pink);
  background: white;
  color: var(--pink);
}

.landing-button:hover {
  transform: translateY(-1px);
}

.landing-social-proof {
  display: flex;
  width: min(403px, 100%);
  margin-top: 40px;
  gap: 16px;
  align-items: flex-start;
}

.landing-social-proof__avatars {
  position: relative;
  width: 76px;
  height: 44px;
  flex: 0 0 76px;
}

.landing-social-proof__avatars img {
  position: absolute;
  top: 2px;
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 64px;
  object-fit: cover;
}

.landing-social-proof__avatars img:first-child {
  left: 2px;
  z-index: 2;
}

.landing-social-proof__avatars img:last-child {
  left: 34px;
}

.landing-social-proof p {
  width: 311px;
  color: #000;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  letter-spacing: var(--type-text-sm-spacing);
  font-weight: var(--font-weight-medium);
}

.landing-showcase {
  position: relative;
  display: grid;
  width: 434px;
  grid-template-columns: 325px 93px;
  grid-template-rows: 432px 24px;
  column-gap: 16px;
  row-gap: 28px;
}

.landing-showcase__main {
  width: 325px;
  height: 432px;
  overflow: hidden;
  background: #fafafa;
}

.landing-showcase__main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .18s ease;
}

.landing-showcase__thumbs {
  display: grid;
  width: 93px;
  gap: 6px;
}

.landing-showcase__thumb {
  display: block;
  width: 93px;
  height: 140px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: .88;
  transition: opacity .16s ease, transform .16s ease, box-shadow .16s ease;
}

.landing-showcase__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-showcase__thumb:hover,
.landing-showcase__thumb.is-active {
  opacity: 1;
  transform: translateX(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.landing-showcase__dots {
  display: flex;
  grid-column: 1;
  width: 96px;
  height: 24px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.landing-showcase__dots button {
  display: block;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fce3ed;
  cursor: pointer;
  transition: width .16s ease, height .16s ease, background .16s ease;
}

.landing-showcase__dots .is-active {
  width: 24px;
  height: 24px;
  background: var(--pink);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 80px;
  border-bottom: 1px solid #e9eaeb;
  background: #fff;
}

.nav {
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
}

.nav__brand,
.nav__links {
  display: flex;
  align-items: center;
}

.nav__brand {
  gap: 23px;
}

.logo {
  display: grid;
  width: 38px;
  height: 39px;
  place-items: center;
  text-decoration: none;
}

.logo img {
  width: 38px;
  height: 39px;
  object-fit: contain;
}

.header-search {
  position: relative;
  z-index: 1;
  width: 265px;
}

.header-search.is-open {
  z-index: 31;
}

.search {
  display: flex;
  width: 265px;
  height: 44px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 90px;
  color: #4d4d4d;
}

.header-search .search {
  position: relative;
  z-index: 2;
  width: 100%;
  background: white;
  transition: width 300ms ease;
}

.header-search.is-open .search {
  border-color: var(--pink);
}

.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
}

.search button {
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search button:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 50%;
}

.search img {
  width: 20px;
  height: 20px;
}

.search-history {
  position: absolute;
  z-index: 3;
  top: calc(100% + 8px);
  left: 0;
  width: calc(100% - 24px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

@media only screen and (min-width:821px) {

  .header-search.is-open .search,
  .search-history {
    width: 200%;
  }
}

.header-search.is-open .search-history {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.search-history__list {
  display: grid;
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.search-history__item {
  display: flex;
  min-height: 46px;
  align-items: stretch;
}

.search-history__item:hover {
  background: #fff8fb;
}

.search-history__select,
.search-history__remove {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.search-history__select {
  display: flex;
  min-width: 0;
  flex: 1;
  padding: 10px 8px 10px 16px;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.search-history__select img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  opacity: .7;
}

.search-history__select span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-history__remove {
  display: grid;
  width: 44px;
  flex: 0 0 44px;
  padding: 0;
  place-items: center;
  color: #808080;
  font-size: 22px;
  line-height: 1;
}

.search-history__select:focus-visible,
.search-history__remove:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: -3px;
  border-radius: 6px;
}

.search-history__empty {
  padding: 16px;
  color: #808080;
  font-size: 14px;
  text-align: center;
}

.search-focus-backdrop {
  position: fixed;
  z-index: 19;
  inset: 0;
  background: rgba(0, 0, 0, .28);
}

.nav__links {
  gap: 16px;
}

.nav-icon {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 4px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #4d4d4d;
  font-size: 20px;
  cursor: pointer;
}

.nav-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 1;
}

.nav-icon--tree img {
  width: 20px;
  height: 20px;
}

.nav-icon.is-active {
  color: var(--pink);
}

.nav-icon.is-active img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(43%) sepia(86%) saturate(1747%) hue-rotate(302deg) brightness(96%) contrast(90%);
}

.nav-icon.is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.5px;
  background: var(--pink);
  content: "";
}

.nav-icon:not(.is-active) img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(0%) saturate(0%) hue-rotate(179deg) brightness(90%) contrast(87%);
}

.notification-menu {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: 0;
  right: -5px;
  display: inline-flex;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font-size: 10px;
  line-height: 1;
  font-weight: var(--font-weight-bold);
}

.notification-empty {
  padding: 24px 16px;
  color: #808080;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  text-align: center;
}

.notification-menu.is-open .nav-icon {
  color: var(--pink);
}

.notification-menu.is-open .nav-icon img {
  filter: brightness(0) saturate(100%) invert(43%) sepia(86%) saturate(1747%) hue-rotate(302deg) brightness(96%) contrast(90%);
}

.notification-menu.is-open .nav-icon::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.5px;
  background: var(--pink);
  content: "";
}

.notification-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 14px);
  right: -120px;
  display: grid;
  width: 360px;
  overflow: hidden;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.notification-menu.is-open .notification-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notification-dropdown__header {
  display: flex;
  padding: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.notification-dropdown__header h2 {
  color: var(--text);
  font-size: var(--type-display-xs-size);
  line-height: var(--type-display-xs-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-display-xs-spacing);
}

.notification-dropdown__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.notification-dropdown__header button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pink);
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}

/* A flex column, not a grid: when the list is capped in height a grid squeezes every row to the same height,
   so a notification with longer text overflowed into the next one. Here each item keeps its own height and the list scrolls. */
.notification-list {
  display: flex;
  flex-direction: column;
}

.notification-item {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  min-height: 76px;
  padding: 14px 16px;
  align-items: center;
  gap: 4px 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  color: #666;
  text-decoration: none;
}

.notification-item+.notification-item {
  border-top: 1px solid var(--line);
}

.notification-item:hover,
.notification-item.is-unread {
  background: #fafafa;
}

.notification-item.is-unread::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.notification-item img {
  width: 44px;
  height: 44px;
  grid-row: span 2;
  border-radius: 50%;
  object-fit: cover;
}

.notification-item span {
  padding-right: 18px;
  color: #666;
  font-size: var(--type-text-sm-size);
  line-height: 20px;
  letter-spacing: var(--type-text-sm-spacing);
}

.notification-item strong {
  color: var(--text);
  font-weight: var(--font-weight-bold);
}

.notification-item small {
  color: #808080;
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  letter-spacing: -.25px;
}

.notification-menu[data-functional-notification] .notification-more {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--pink);
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}

.notification-menu[data-functional-notification] .notification-more:hover,
.notification-menu[data-functional-notification] .notification-more:focus-visible {
  background: #fafafa;
}

.notification-menu[data-functional-notification] .notification-more:disabled {
  cursor: wait;
  opacity: .6;
}

.notification-menu[data-functional-notification] .notification-list {
  max-height: min(420px, calc(100vh - 220px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
}

.profile-menu {
  position: relative;
}

.account {
  display: flex;
  min-height: 32px;
  margin-left: 24px;
  padding: 0;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.account .account__avatar {
  width: 32px;
  height: 32px;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  object-fit: cover;
}

.account__label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #4d4d4d;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .15px;
}

.account .account__chevron {
  display: block;
  width: 9px;
  height: 5px;
  flex: 0 0 auto;
}

.profile-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  right: 0;
  display: flex;
  width: 228px;
  overflow: hidden;
  flex-direction: column;
  align-items: stretch;
  background: white;
  border: 1px solid #e9eaeb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.profile-menu.is-open .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-menu.is-open .account__chevron {
  transform: rotate(180deg);
}

.profile-dropdown__item {
  display: flex;
  height: 54px;
  padding: 0 22px;
  align-items: center;
  gap: 16px;
  color: #808080;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  text-decoration: none;
}

.profile-dropdown__item.is-active,
.personal-details-page .profile-dropdown__item--personal,
.change-password-page .profile-dropdown__item--password,
.privacy-policy-page .profile-dropdown__item--privacy,
.wellness-support-page .profile-dropdown__item--wellness,
.delete-account-page .profile-dropdown__item--delete {
  background: #fafafa;
}

.profile-dropdown__item:hover {
  background: #fafafa;
  color: #666;
}

.profile-dropdown__item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}

.profile-dropdown__item--personal svg,
.profile-dropdown__item--password svg,
.profile-dropdown__item--privacy svg,
.profile-dropdown__item--logout svg,
.profile-dropdown__item--wellness svg,
.profile-dropdown__item--delete svg {
  display: none;
}

.profile-dropdown__item--personal::before,
.profile-dropdown__item--password::before,
.profile-dropdown__item--privacy::before,
.profile-dropdown__item--logout::before,
.profile-dropdown__item--wellness::before,
.profile-dropdown__item--delete::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: center / 20px 20px no-repeat;
}

.profile-dropdown__item--personal::before {
  background-image: url('/assets/images/account-personal.svg');
}

.profile-dropdown__item--password::before {
  background-image: url('/assets/images/account-password.svg');
}

.profile-dropdown__item--privacy::before {
  background-image: url('/assets/images/account-privacy.svg');
}

.profile-dropdown__item--logout::before {
  background-image: url('/assets/images/account-logout.svg');
}

.profile-dropdown__item--wellness::before {
  background-image: url('/assets/images/account-wellness.svg');
}

.profile-dropdown__item--delete::before {
  background-image: url('/assets/images/account-delete.svg');
}

.profile-dropdown>form>.profile-dropdown__item svg {
  display: none;
}

.profile-dropdown>form>.profile-dropdown__item::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url('/assets/images/account-logout.svg') center / 20px 20px no-repeat;
}

.profile-dropdown__item span {
  min-width: 0;
  flex: 1;
  white-space: nowrap;
}

.profile-dropdown>form {
  margin: 0;
}

.profile-dropdown>form>.profile-dropdown__item {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.feed-layout {
  display: grid;
  min-height: calc(100vh - 150px);
  padding: 27px 24px 32px;
  grid-template-columns: 347px 650px 360px;
  gap: 16px;
  align-items: start;
}

.feed-layout__side {
  display: contents;
}

.feed-layout__left,
.feed-layout__main,
.feed-layout__right {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.feed-layout__left {
  grid-column: 1;
  grid-row: 1;
}

.feed-layout__main {
  width: 650px;
  max-width: 100%;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.feed-layout__right {
  grid-column: 3;
  grid-row: 1;
}


.search-results-layout {
  display: grid;
  min-height: calc(100vh - 150px);
  padding: 27px 24px 32px;
  grid-template-columns: 300px minmax(520px, 650px) 410px;
  gap: 16px;
  align-items: start;
}

.search-results__left,
.search-results__main,
.search-results__right {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.search-results-page .search-filter-card {
  padding: 24px;
  overflow: hidden;
}

.search-results-page .search-filter-card h1 {
  font-size: 26px;
  line-height: 34px;
}

.search-results-page .search-filter-card__rule {
  height: 1px;
  margin-top: 16px;
  background: var(--line);
}

.search-results-page .search-filter-card__types {
  display: grid;
  margin: 16px -24px -24px;
  gap: 0;
}

.search-results-page .search-filter-card__type {
  display: flex;
  min-height: 54px;
  padding: 0 24px;
  gap: 16px;
  align-items: center;
  border-radius: 0;
  color: var(--text);
  text-decoration: none;
}

.search-results-page .search-filter-card__type:hover,
.search-results-page .search-filter-card__type.is-active {
  background: #fff7fa;
}

.search-results-page .search-filter-card__type:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--pink);
  outline-offset: -2px;
}

.search-results-page .search-filter-card__icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: var(--pink);
}

.search-results-page .search-filter-card__icon svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.search-results-page .search-filter-card__type strong {
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
}

.search-results__header {
  display: flex;
  padding: 0 4px 8px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.search-results__header h2 {
  font-size: 24px;
}

.search-results__header p,
.search-results__count {
  color: var(--muted);
}

.search-results__count {
  flex: 0 0 auto;
  font-size: 13px;
}

.search-results__empty {
  display: grid;
  min-height: 180px;
  padding: 32px 24px;
  place-content: center;
  gap: 8px;
  text-align: center;
}

.search-results__empty h2 {
  font-size: 20px;
}

.search-results__empty p {
  color: var(--muted);
}

.search-results__section {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.search-results-page .search-results__group-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.search-results__section-header {
  display: flex;
  padding: 0 4px 8px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.search-results__section-header h3 {
  font-size: 20px;
  margin: 0;
}

.search-results__show-all {
  flex: 0 0 auto;
  color: var(--pink);
  font-size: 14px;
  text-decoration: none;
}

.search-results__show-all:hover {
  text-decoration: underline;
}

.search-results__show-all:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 3px;
}

.search-results-page .search-results__main>.stories {
  width: 100%;
  min-width: 0;
}

.search-results-page .search-results__connections-list {
  display: grid;
  gap: 14px;
}

.search-results-page .search-results__connection-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 16px;
  min-height: 102px;
  padding: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  text-align: left;
}

.search-results-page .search-results__connection-card .profile-connection-card__avatar {
  width: 60px;
  height: 60px;
  margin: 0;
}

.search-results-page .search-results__connection-card .profile-connection-card__body {
  min-height: 0;
  padding: 0;
  gap: 4px;
  border: 0;
  background: transparent;
  justify-items: stretch;
}

.search-results-page .search-results__connection-card .profile-connection-card__name {
  max-width: 100%;
  justify-content: flex-start;
}

.search-results-page .search-results__connection-card .profile-connection-card__name a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-results-page .search-results__connection-card .profile-connection-card__name strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
}

.search-results-page .search-results__connection-card .profile-connection-card__feeling {
  justify-self: start;
}

.search-results-page .search-results__connection-card .profile-connection-card__feeling i {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  font-style: normal;
  line-height: 1;
}

.search-results-page .search-results__connection-card .profile-connection-card__feeling i img {
  display: block;
}

.search-results-page .search-results__connection-card .profile-connection-card__feeling i>.mood-emoji {
  display: block;
  font-style: normal;
  line-height: 1;
}

.search-results-page .search-results__connection-card p {
  margin: 0;
  text-align: left;
}

.search-results-page .search-results__announcements {
  padding: 24px;
}

.search-results-page .search-results__announcement-list {
  display: grid;
  gap: 16px;
}

.search-results-page .search-results__announcement-card {
  cursor: pointer;
}

.search-results-page .search-results__announcement-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.search-results-page .search-results__gratitude-list {
  display: grid;
  gap: 16px;
}

.search-results-page .search-results__gratitude-note {
  cursor: default;
}

.search-results-page .search-results__gratitude-note:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.search-results-page .search-results__gratitude-note .gratitude-note__top p {
  min-width: 0;
  max-width: none;
  flex: 1 1 auto;
}

.search-results-page .search-results__gratitude-note .gratitude-note__meta a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: inherit;
  text-decoration: none;
}

.search-results-page .search-results__gratitude-note .gratitude-note__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-results-page .search-results__gratitude-note .gratitude-note__actions>button {
  grid-column: auto;
  justify-self: auto;
  flex: 0 0 auto;
}

.search-results-page .search-results__gratitude-note .gratitude-note__reaction {
  display: inline-flex;
  width: auto;
  height: auto;
  padding: 0;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .25px;
  cursor: pointer;
}

.search-results-page .search-results__gratitude-note .gratitude-note__reaction.is-active {
  color: var(--pink);
}

.search-results-page .search-results__gratitude-note .gratitude-note__actions>button:last-child {
  margin-left: auto;
}

@media (max-width: 520px) {
  .search-results-page .search-results__gratitude-note .gratitude-note__actions {
    gap: 12px;
  }
}

.search-results__load-more {
  min-height: 40px;
}

.profile-card {
  position: relative;
  min-height: 385px;
}

.profile-card__cover {
  width: 100%;
  height: 136px;
  object-fit: cover;
}

.profile-card__cover-edit {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  padding: 8px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  cursor: pointer;
}

.profile-card__cover-edit:hover {
  background: #d9387c;
}

.profile-card__cover-edit:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.profile-card__cover-edit img {
  display: block;
  width: 16px;
  height: 16px;
}

.profile-card__cover-review {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 32px;
  padding: 6px 10px;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #fff0c9;
  color: #f59e0b;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.profile-card__cover-review-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.profile-card__cover-review-icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.profile-card__avatar {
  position: absolute;
  top: 88px;
  left: 24px;
  width: 100px;
  height: 100px;
  border: 2px solid white;
  border-radius: 50%;
  object-fit: cover;
}

.profile-card__body {
  display: grid;
  padding: 60px 24px 24px;
  gap: 8px;
}

.profile-card__username {
  margin-top: -6px;
  color: #666666;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.profile-card__body p {
  color: #1a1a1a;
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  letter-spacing: var(--type-text-md-spacing);
}

.feeling {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #333;
  font-weight: 500;
}

.feeling span,
.feeling-person b {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #602e00;
  font-size: 16px;
}

.feeling span img,
.feeling-person b img {
  width: 16px;
  height: 16px;
}

.profile-card .feeling span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 0;
  background: transparent;
  color: inherit;
}

.profile-card .feeling span img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.feeling-person b {
  border: 1px solid #e9eaeb;
  background: #fff;
  color: inherit;
}

.feeling-person b img {
  display: block;
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.feeling>span>.mood-emoji {
  display: inline;
  width: auto;
  height: auto;
  background: transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1;
}

.feeling-person b>.mood-emoji {
  display: inline;
  width: auto;
  height: auto;
  font-size: 16px;
  line-height: 1;
}

.profile-card .feeling>span>.mood-emoji {
  font-size: 12px;
}

.people-list {
  display: grid;
  margin-top: 24px;
  gap: 11px;
}

.person {
  display: flex;
  gap: 9px;
}

.person img,
.post__header img,
.composer>img,
.suggestion img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}

.person>div {
  display: grid;
  gap: 2px;
}

.person strong,
.suggestion strong,
.announcement strong,
.post strong {
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-text-md-spacing);
}

.feeling-person a {
  color: inherit;
  text-decoration: none;
}

.feed-post-view__navigation {
  display: flex;
  align-items: center;
}

.feed-post-view__navigation .connections-panel__back {
  display: inline-flex;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  text-decoration: none;
  white-space: nowrap;
}

.feed-post-view__navigation .connections-panel__back svg {
  flex: 0 0 24px;
}

.profile-card__body h1 a,
.post__header a {
  color: inherit;
  text-decoration: none;
}

.person span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.person span b {
  width: 24px;
  height: 24px;
  font-weight: 400;
}

.person small {
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-sm-spacing);
}

.composer {
  display: flex;
  min-height: 102px;
  padding: 26px;
  align-items: center;
  gap: 14px;
}

.composer__profile-link {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  overflow: hidden;
}

.composer__profile-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.composer__input {
  min-width: 0;
  height: 48px;
  flex: 1;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 90px;
  background: white;
  color: #808080;
  text-align: left;
  cursor: text;
}

.composer__mood,
.composer__photo {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.composer__mood {
  position: relative;
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--orange);
}

.composer__mood-emoji {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* The pink "+" badge of the feeling button; the Lookout card keeps its own smaller badge. */
.composer__mood .composer__mood-plus {
  top: auto;
  right: -1px;
  bottom: -1px;
  left: auto;
  width: 14px;
  height: 14px;
  padding: 2px;
  border-color: var(--pink);
  background: var(--pink);
}

.composer__mood .composer__mood-plus img {
  filter: brightness(0) invert(1);
}

.composer__photo img {
  display: block;
  width: 31px;
  height: 31px;
}

.composer__mood .inline-spinner {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  margin: auto;
}

.composer__photo {
  color: #00608c;
}

.stories {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.stories__viewport {
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.stories__track {
  display: flex;
  height: 100%;
  gap: 8px;
  transition: transform .38s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.story {
  position: relative;
  min-width: 190px;
  flex: 0 0 calc((100% - 16px) / 3);
  overflow: hidden;
  border-radius: 16px;
  color: white;
  background: #222;
}

.story[role="link"] {
  cursor: pointer;
}

.story[role="link"]:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.story::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  content: "";
}

.story>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story>div {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  left: 16px;
  /* Title + duration share the first row; the caption and play button take full rows. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 4px;
}

/* One line for the title, whatever its length. */
.story strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story small {
  margin-left: 0;
  font-size: 10px;
  white-space: nowrap;
}

/* Two lines at most for the caption. */
.story p {
  display: -webkit-box;
  grid-column: 1 / -1;
  margin: 3px 0 10px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.story button {
  grid-column: 1 / -1;
  justify-self: start;
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: #ff3c89;
  color: white;
  cursor: pointer;
}

.story button img {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.stories__control {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  padding: 0;
  place-items: center;
  border: 1px solid #aaa;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}

.stories__control:hover {
  transform: translateY(-50%) scale(1.04);
}

.stories__control:disabled {
  opacity: 0;
  pointer-events: none;
}

.stories__control img {
  width: 32px;
  height: 32px;
}

.stories__control--prev {
  left: 13px;
}

.stories__control--prev img {
  transform: rotate(180deg);
}

.stories__control--next {
  right: 13px;
}

.feed-sort-filter {
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: center;
}

.feed-sort-filter__line {
  height: 1px;
  flex: 1 1 auto;
  background: #ccc;
}

.feed-sort-filter__control {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}

.feed-sort-filter__control span {
  color: #666;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: .25px;
  white-space: nowrap;
}

.feed-sort-filter__trigger {
  display: inline-flex;
  height: 16px;
  padding: 0;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: #666;
  outline: 0;
  cursor: pointer;
}

.feed-sort-filter__trigger span {
  color: #666;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .25px;
}

.feed-sort-filter__trigger img {
  display: block;
  width: 14px;
  height: 14px;
}

.feed-sort-filter__menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 17px);
  right: 0;
  display: grid;
  width: 150px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e9eaeb;
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.feed-sort-filter.is-open .feed-sort-filter__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.feed-sort-filter__menu button {
  display: flex;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  border: 0;
  background: white;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.feed-sort-filter__menu button:hover,
.feed-sort-filter__menu button.is-hovered {
  background: #fef8f9;
}

.card-post {
  position: relative;
}

.card-post[hidden] {
  display: none;
}

.post__category-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  width: max-content;
  min-width: 120px;
  height: 30px;
  padding: 0 15px 0 28px;
  align-items: center;
  justify-content: center;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 17px 50%);
  pointer-events: none;
}

.post__category-badge--gratitude {
  background: #e9468b;
}

.post__category-badge--learnings {
  background: #005486;
}

.post__category-badge--achievements {
  background: #ff7638;
}

.post__category-badge--delights {
  background: #994cff;
}

.post__category-badge--services {
  background: #00833e;
}

.post__category-badge-bg {
  display: none;
}

.post__category-badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .15px;
  white-space: nowrap;
}

.post__category-badge span img,
.post__category-badge span svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
  object-fit: contain;
}

.post__category-badge span .post__category-icon--delights {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.post__header {
  position: relative;
  display: flex;
  padding: 24px 24px 0;
  gap: 14px;
}

.card-post .post__header {
  padding-bottom: 24px;
}

.post__header>div:not(.post__menu-wrap) {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 2px;
}

.post__header span,
.post__header small {
  color: var(--muted);
}

.post__header small {
  font-weight: 600;
}

.post__header .post__username {
  color: #666666;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.post__header .post__mood,
.feed-lightbox__author .post__mood {
  display: inline-block;
  vertical-align: middle;
}

.post__header .post__mood img,
.feed-lightbox__author .post__mood img {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 0;
  object-fit: contain;
}

.post__menu-wrap {
  display: flex;
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  margin: 15px -8px 0 0;
}

.post__menu-toggle {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.post__menu-toggle span {
  display: block;
  margin-top: -5px;
  color: inherit;
  font-size: 24px;
  line-height: 1;
}

.post__menu-toggle:hover,
.post__menu-toggle[aria-expanded="true"],
.post__menu-toggle:focus-visible {
  background: #fef8f9;
  color: var(--pink);
  outline: 0;
}

.post__menu {
  position: absolute;
  z-index: 20;
  top: 36px;
  right: 0;
  display: grid;
  min-width: 150px;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 13, 18, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.post__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.post__menu button {
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.post__menu button:hover,
.post__menu button:focus-visible {
  background: #fff0f6;
  color: var(--pink);
  outline: 0;
}

.connection-menu-wrap {
  display: flex;
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  margin-left: auto;
}

.connection-menu-toggle {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.connection-menu-toggle span {
  display: block;
  margin-top: -5px;
  color: inherit;
  font-size: 24px;
  line-height: 1;
}

.connection-menu-toggle:hover,
.connection-menu-toggle[aria-expanded="true"],
.connection-menu-toggle:focus-visible {
  background: #fef8f9;
  color: var(--pink);
  outline: 0;
}

.connection-menu {
  position: absolute;
  z-index: 20;
  top: 36px;
  right: 0;
  display: grid;
  min-width: 150px;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 13, 18, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.connection-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.connection-menu button {
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.connection-menu button:hover,
.connection-menu button:focus-visible {
  background: #fff0f6;
  color: var(--pink);
  outline: 0;
}

.post-report-modal {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 24px -4px rgba(10, 13, 18, .08), 0 8px 8px -4px rgba(10, 13, 18, .03), 0 3px 3px -1.5px rgba(10, 13, 18, .04);
}

.post-report-modal::backdrop {
  opacity: .9;
  background: rgba(0, 0, 0, .25);
}

.post-report-form {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.post-report-form__header {
  position: relative;
  display: flex;
  min-height: 74px;
  padding: 24px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.post-report-form__header h2 {
  width: 100%;
  margin: 0;
  color: #333;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: .15px;
  text-align: center;
}

.post-report-form__close {
  position: absolute;
  top: 15px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 8px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.post-report-form__close:hover {
  background: #f5f5f5;
}

.post-report-form__close img {
  display: block;
  width: 24px;
  height: 24px;
}

.post-report-form__body {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 24px;
}

.post-report-form__body>p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
}

.post-report-form__reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-report-form__reason {
  display: flex;
  min-height: 48px;
  padding: 12px 16px;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fafafa;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: .15px;
  cursor: pointer;
}

.post-report-form__reason:has(input:checked) {
  border-color: var(--pink);
  background: #fef9fc;
}

.post-report-form__reason input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.post-report-form__radio {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid #999;
  border-radius: 50%;
  background: #fff;
}

.post-report-form__reason input:checked+.post-report-form__radio {
  border-color: var(--pink);
}

.post-report-form__reason input:checked+.post-report-form__radio::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.post-report-form__field {
  display: grid;
  gap: 6px;
}

.post-report-form__field span {
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--font-weight-semibold);
}

.post-report-form__field textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px 14px;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  resize: vertical;
}

.post-report-form__field textarea:focus {
  border-color: var(--pink);
  outline: 2px solid rgba(233, 70, 139, .16);
}

.post-report-form__actions {
  display: flex;
  min-height: 84px;
  padding: 20px 24px 24px;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.post-report-form__submit {
  min-height: 38px;
  padding: 11px 20px;
  border: 0;
  border-radius: 60px;
  background: var(--pink);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.post-report-form__submit:hover {
  background: #d9387c;
}

.post-report-form__submit:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.post-action-modal {
  width: min(480px, calc(100vw - 32px));
  max-width: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 20px 48px rgba(10, 13, 18, .24);
}

.post-action-modal::backdrop {
  background: rgba(0, 0, 0, .25);
  opacity: .9;
}

.post-action-modal__surface {
  display: grid;
  width: 100%;
}

.post-action-modal__header {
  display: flex;
  min-height: 64px;
  padding: 16px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.post-action-modal__header h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 28px;
  font-weight: var(--font-weight-semibold);
}

.post-action-modal__close {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.post-action-modal__close:hover,
.post-action-modal__close:focus-visible {
  background: #fff0f6;
  color: var(--pink);
  outline: 0;
}

.post-action-modal__back {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.post-action-modal__back svg {
  width: 12px;
  height: 16px;
}

.post-action-modal__back:hover,
.post-action-modal__back:focus-visible {
  background: #fff0f6;
  color: var(--pink);
  outline: 0;
}

.post-action-modal__report-intro {
  display: grid;
  gap: 4px;
  padding: 20px 20px 4px;
}

.post-action-modal__report-intro strong {
  color: var(--text);
  font-size: 15px;
  line-height: 22px;
  font-weight: var(--font-weight-semibold);
}

.post-action-modal__report-list {
  display: grid;
  padding: 4px 0 8px;
}

.post-action-modal__report-option {
  display: flex;
  min-height: 52px;
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-medium);
  text-align: left;
  cursor: pointer;
}

.post-action-modal__report-option:hover,
.post-action-modal__report-option:focus-visible {
  background: #fafafa;
  outline: 0;
}

.post-action-modal__report-option svg {
  flex: 0 0 auto;
}

.post-action-modal__form {
  display: grid;
  padding-top: 20px;
  gap: 18px;
}

.post-action-modal__field {
  display: grid;
  padding: 0 20px;
  gap: 6px;
}

.post-action-modal__field span {
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--font-weight-semibold);
}

.post-action-modal__field textarea,
.post-action-modal__field select {
  width: 100%;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
}

.post-action-modal__field textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
}

.post-action-modal__field select {
  height: 44px;
  padding: 0 38px 0 14px;
}

.post-action-modal__field textarea:focus,
.post-action-modal__field select:focus {
  border-color: var(--pink);
  outline: 2px solid rgba(233, 70, 139, .16);
}

.post-action-modal__field.is-error .field__error {
  display: flex;
}

.post-action-modal__body {
  padding: 24px 20px;
}

.post-action-modal__body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 23px;
}

.post-action-modal__actions {
  display: flex;
  padding: 16px 20px 20px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.post-action-modal__cancel,
.post-action-modal__submit {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}

.post-action-modal__cancel {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.post-action-modal__cancel:hover,
.post-action-modal__cancel:focus-visible {
  border-color: var(--pink);
  color: var(--pink);
  outline: 0;
}

.post-action-modal__submit {
  border: 1px solid var(--pink);
  background: var(--pink);
  color: #fff;
}

.post-action-modal__submit--danger {
  border-color: var(--pink);
  background: var(--pink);
}

.post-action-modal__submit:disabled {
  cursor: not-allowed;
  opacity: .5;
}

@media (max-width: 520px) {
  .post-action-modal {
    width: calc(100vw - 24px);
  }

  .post-action-modal__header {
    padding-inline: 16px;
  }

  .post-action-modal__field {
    padding-inline: 16px;
  }

  .post-action-modal__body {
    padding-inline: 16px;
  }

  .post-action-modal__actions {
    padding-inline: 16px;
  }
}

.post-reactors-modal {
  width: min(350px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 20px 24px -4px rgba(10, 13, 18, .08), 0 8px 8px -4px rgba(10, 13, 18, .03), 0 3px 3px -1.5px rgba(10, 13, 18, .04);
}

.post-reactors-modal::backdrop {
  background: rgba(0, 0, 0, .25);
  opacity: .9;
}

.post-reactors-modal__surface {
  display: flex;
  width: 100%;
  max-height: calc(100dvh - 32px);
  flex-direction: column;
}

.post-reactors-modal__header {
  position: relative;
  display: flex;
  min-height: 74px;
  padding: 24px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.post-reactors-modal__header h2 {
  width: 100%;
  margin: 0;
  padding: 0 44px;
  color: #333;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: .15px;
  text-align: center;
}

.post-reactors-modal__close {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.post-reactors-modal__close:hover {
  background: #f5f5f5;
}

.post-reactors-modal__close:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.post-reactors-modal__tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 16px 24px;
  gap: 12px 0;
  justify-items: center;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.post-reactors-modal__tab {
  display: grid;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}

.post-reactors-modal__tab:hover,
.post-reactors-modal__tab:focus-visible {
  color: var(--text);
  outline: 0;
}

.post-reactors-modal__tab.is-active {
  background: #fdf2f7;
  color: var(--pink);
}

.post-reactors-modal__tab--icon {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
}

.post-reactors-modal__tab--icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.post-reactors-modal__tab--icon.is-active {
  width: 36px;
  height: 36px;
  background: #fdf2f7;
}

.post-reactors-modal__loading {
  display: none;
  padding: 32px 8px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.post-reactors-modal__body {
  overflow-y: auto;
  padding: 20px 24px 24px;
}

.post-reactors-modal__empty {
  margin: 0;
  padding: 24px 8px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.post-reactors-modal__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 20px;
}

.post-reactors-modal__row {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.post-reactors-modal__row--comment {
  align-items: flex-start;
}

.post-reactors-modal__avatar {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 50%;
  object-fit: cover;
}

.post-reactors-modal__name {
  flex: 1 1 auto;
  min-width: 0;
  color: #333;
  font-size: 16px;
  line-height: 23px;
  font-weight: 700;
  letter-spacing: .15px;
}

/* A reactor with a profile: avatar and name both open it. */
.post-reactors-modal__avatar-link {
  display: block;
  flex: 0 0 60px;
  border-radius: 50%;
}

.post-reactors-modal__name--link {
  text-decoration: none;
}

.post-reactors-modal__name--link:hover,
.post-reactors-modal__name--link:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: 0;
}

.post-reactors-modal__reaction {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fafafa;
}

.post-reactors-modal__reaction img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.post-reactors-modal__comment {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  gap: 2px;
}

.post-reactors-modal__comment p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .post-reactors-modal {
    width: calc(100vw - 24px);
  }

  .post-reactors-modal__header,
  .post-reactors-modal__tabs,
  .post-reactors-modal__body {
    padding-inline: 16px;
  }
}

.post__copy {
  padding: 0px 24px 0;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-line;
}

.post__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.feedback-trigger {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: inline-flex;
  padding: 12px 18px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font: inherit;
  font-weight: var(--font-weight-semibold);
  box-shadow: 0 8px 20px rgba(10, 13, 18, .18);
  cursor: pointer;
}

.feedback-trigger:hover,
.feedback-trigger:focus-visible {
  background: #d9367d;
}

.feedback-trigger__icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.feedback-trigger__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.feedback-trigger__idle,
.feedback-trigger__loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feedback-trigger__loading {
  justify-content: center;
}

.feedback-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 101;
  display: grid;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 20px 40px rgba(10, 13, 18, .24);
}

.feedback-panel__transition-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: inherit;
  background: rgba(255, 255, 255, .78);
  color: var(--pink);
  font-weight: var(--font-weight-semibold);
  pointer-events: auto;
}

.feedback-panel__header {
  display: flex;
  padding: 20px 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.feedback-panel__header h2 {
  margin: 0;
  font-size: 22px;
}

.feedback-panel__close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.feedback-panel__form,
.feedback-panel__success {
  display: grid;
  padding: 24px;
  gap: 16px;
}

.feedback-panel__form textarea {
  min-height: 140px;
  resize: vertical;
}

.feedback-panel__attachment {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
}

.feedback-panel__attachment input {
  width: 100%;
}

.feedback-panel__attachment small {
  color: var(--pink);
}

.feedback-panel__success {
  text-align: center;
}

.feedback-panel__success strong {
  color: var(--pink);
  font-size: 18px;
}

.feedback-panel__success p {
  margin: 0;
  color: var(--muted);
}

.feedback-loading-spinner {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: feedback-spin .7s linear infinite;
}

.feedback-loading-spinner--small {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
  border-color: rgba(91, 91, 91, .25);
  border-top-color: currentColor;
}

.feedback-panel__close:disabled,
.feedback-trigger:disabled {
  cursor: wait;
  opacity: .75;
}

@keyframes feedback-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-feedback-view {
  display: grid;
  padding: 0;
  gap: 16px;
  align-content: start;
}

.admin-feedback__heading {
  display: grid;
  max-width: 806px;
  gap: 8px;
}

.admin-feedback__heading h1 {
  margin: 0;
  color: #1a1a1a;
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
}

.admin-feedback__heading p {
  margin: 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
}

.admin-feedback-panel {
  position: relative;
  display: grid;
  min-height: 640px;
  padding: 24px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  align-content: start;
}

.admin-feedback-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.admin-feedback-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, .78);
  color: #666;
  font-size: 14px;
  pointer-events: all;
}

.admin-feedback-loading__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #f6bfd7;
  border-top-color: #e9468b;
  border-radius: 50%;
  animation: admin-feedback-spin .7s linear infinite;
}

@keyframes admin-feedback-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-feedback-table-wrap {
  overflow-x: auto;
}

.admin-feedback-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-feedback-table th,
.admin-feedback-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-feedback-table th {
  color: var(--muted);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
}

.admin-feedback-table td {
  color: var(--text);
  font-size: 14px;
}

.admin-feedback-table td:nth-child(3) {
  min-width: 280px;
  max-width: 460px;
  white-space: normal;
}

.admin-feedback-table a {
  color: var(--pink);
}

.admin-feedback-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.admin-feedback-pagination button {
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.admin-feedback-pagination button.is-active {
  border-color: var(--pink);
  background: var(--pink);
  color: #fff;
}

@media (max-width: 700px) {
  .admin-feedback__heading h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .admin-feedback-panel {
    min-height: auto;
    padding: 20px;
  }

  .admin-feedback-toolbar {
    justify-content: stretch;
  }

  .admin-feedback-toolbar .admin-users-search {
    width: 100%;
  }

  .admin-feedback-table th,
  .admin-feedback-table td {
    padding: 12px;
  }
}

@media (max-width: 600px) {
  .feedback-trigger {
    right: 16px;
    bottom: 16px;
  }

  .feedback-panel {
    right: 16px;
    bottom: 16px;
    max-height: calc(100vh - 32px);
  }
}

.post__meta {
  display: flex;
  min-height: 56px;
  padding: 0 24px;
  align-items: center;
  gap: 18px;
}

.post__meta small {
  color: var(--text);
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .25px;
}

.post__meta-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .25px;
  text-align: left;
  cursor: pointer;
}

.post__meta-link:hover,
.post__meta-link:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  outline: 0;
}

.post__reactions {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.post__reaction {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(10, 13, 18, .08);
}

.post__reaction+.post__reaction {
  margin-left: -10px;
}

.post__reaction--like {
  z-index: 3;
  background: #d7192f;
}

.post__reaction--comment {
  z-index: 2;
  background: #009a61;
}

.post__reaction--share {
  z-index: 1;
  background: #005d8f;
}

.post__reaction svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: #fff;
}

.post__actions {
  display: grid;
  height: 64px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.post__meta+.post__actions,
.feed-lightbox__meta+.post__actions {
  margin-top: 0;
}

.post__actions button {
  display: flex;
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
}

.post__actions button img {
  width: 24px;
  height: 24px;
  margin-right: 6px;
  vertical-align: middle;
}

.post__actions button.is-liked {
  color: var(--pink);
  font-weight: 700;
}

.post__actions button.is-liked img {
  width: 24px;
  height: 22px;
}

.post__actions button:disabled {
  cursor: wait;
  opacity: .7;
}

.post__action-loading {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  vertical-align: middle;
  white-space: nowrap;
  line-height: 1;
}

.post__actions button.is-loading img {
  display: none;
}

.post__action-loading::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: post-action-spin .7s linear infinite;
}

@keyframes post-action-spin {
  to {
    transform: rotate(360deg);
  }
}

.post__reaction-summary-icons {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.post__reaction-summary-icons img {
  display: block;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.post__reaction-summary-icons img+img {
  margin-left: -15px;
}

.post__reaction-wrap {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
}

.post__reaction-wrap button[data-reaction-trigger] {
  width: 100%;
  height: 100%;
}

.post__reaction-picker {
  position: fixed;
  z-index: 1000;
  display: grid;
  /* Six reactions per row (the buttons are 36px wide). */
  grid-template-columns: repeat(6, 36px);
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  max-width: min(320px, calc(100vw - 24px));
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 13, 18, .18);
}

.post__reaction-picker[hidden] {
  display: none;
}

.post__reaction-option {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .1s ease, background .1s ease;
}

.post__reaction-option img {
  display: block;
  object-fit: contain;
}

.post__reaction-option:hover,
.post__reaction-option:focus-visible,
.post__reaction-option.is-active {
  background: var(--pink-soft);
  transform: translateY(-2px);
  outline: 0;
}

/* Reaction name bubble above an emoji on hover/focus (like Facebook/LinkedIn).
   Used by the picker options and the All-reactions tabs. */
.post__reaction-option[data-reaction-label],
.post-reactors-modal__tab[data-reaction-label] {
  position: relative;
}

.post__reaction-option[data-reaction-label]::after,
.post-reactors-modal__tab[data-reaction-label]::after {
  content: attr(data-reaction-label);
  position: absolute;
  z-index: 5;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 26, 26, .92);
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .1px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px);
  transition: opacity .12s ease, transform .12s ease, visibility .12s;
}

.post__reaction-option[data-reaction-label]:focus-visible::after,
.post-reactors-modal__tab[data-reaction-label]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Hover only where there is a real hover, so a tap never leaves a stuck bubble. */
@media (hover: hover) {
  .post__reaction-option[data-reaction-label]:hover::after,
  .post-reactors-modal__tab[data-reaction-label]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: .08s;
  }
}

/* Scoped under .post__reaction-wrap/.comment__reaction-wrap (not just
   .post__reaction-option) so these rules beat the generic ".post__actions
   button"/".post__comment-actions button" rules (higher specificity via the
   extra class) that would otherwise flex/stretch these circular picker
   buttons and misalign their icon (that pair only exists inside
   .post__actions/.post__comment-actions, i.e. only affects post/comment
   pickers — which is why only those showed the misalignment). */
.post__reaction-wrap .post__reaction-option,
.comment__reaction-wrap .post__reaction-option,
.home-feelings-card__action-wrap .post__reaction-option,
.home-feelings-card__add-reactions-wrap .post__reaction-option {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
}

.post__reaction-wrap .post__reaction-option img,
.comment__reaction-wrap .post__reaction-option img,
.home-feelings-card__action-wrap .post__reaction-option img,
.home-feelings-card__add-reactions-wrap .post__reaction-option img {
  width: 26px;
  height: 26px;
  margin: 0;
}

.home-feelings-card__add-reactions-wrap {
  position: relative;
  display: inline-block;
}

.post__image-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  margin-bottom: 24px;
}

.post__image-trigger[data-functional-lightbox-trigger] {
  position: relative;
}

.post__image-trigger[data-functional-lightbox-trigger].is-loading {
  cursor: wait;
}

.post__image-trigger[data-functional-lightbox-trigger].is-loading::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 0 0 / 28%);
  content: '';
  pointer-events: none;
}

.post__image-trigger[data-functional-lightbox-trigger].is-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 3px solid rgb(255 255 255 / 45%);
  border-top-color: #fff;
  border-radius: 50%;
  content: '';
  animation: feed-lightbox-loading-spin 0.7s linear infinite;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

@keyframes feed-lightbox-loading-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.feed-lightbox {
  position: relative;
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  height: min(820px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}

.feed-lightbox::backdrop {
  background: rgba(0, 0, 0, .78);
}

.feed-lightbox-open {
  overflow: hidden;
}

.feed-lightbox__surface {
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  grid-template-columns: minmax(0, 1fr) 380px;
}

.feed-lightbox__media {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #111;
}

.feed-lightbox__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.feed-lightbox__details {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: var(--text);
}

.feed-lightbox__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.feed-lightbox__author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.feed-lightbox__author>img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}

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

.feed-lightbox__author strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-lightbox__author a {
  color: inherit;
  text-decoration: none;
}

.feed-lightbox__author span,
.feed-lightbox__author small {
  color: var(--muted);
}

.feed-lightbox__author span {
  font-size: 14px;
}

.feed-lightbox__author small {
  font-size: 12px;
}

.feed-lightbox__close {
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
}

.feed-lightbox__close:hover,
.feed-lightbox__close:focus-visible {
  background: rgba(0, 0, 0, 0.35);
}

.feed-lightbox__close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.feed-lightbox__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 20px;
}

.feed-lightbox__category {
  margin-bottom: 20px;
}

.feed-lightbox__category.is-fallback {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.feed-lightbox__category-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  pointer-events: none;
}

.feed-lightbox__close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  margin: 0;
  color: #fff;
}

.feed-lightbox__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.feed-lightbox__meta {
  display: flex;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.feed-lightbox__meta strong {
  color: var(--text);
}

.feed-lightbox__actions {
  flex: 0 0 auto;
}

.feed-lightbox__details.has-comments .feed-lightbox__body {
  flex: 0 1 auto;
  max-height: 35%;
}

.feed-lightbox__comments {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
}

.feed-lightbox__comments-list {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
}

.feed-lightbox__comments .post__comments-items {
  padding-inline: 20px;
}

.feed-lightbox__commentform {
  position: sticky;
  bottom: 0;
  z-index: 2;
  flex: 0 0 auto;
  padding-inline: 20px;
  background: #fff;
}

@media (max-width: 768px) {
  .feed-lightbox {
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
  }

  .feed-lightbox__surface {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .feed-lightbox__media {
    min-height: 0;
    padding: 12px;
  }

  .feed-lightbox__details {
    max-height: 44%;
  }

  .feed-lightbox__header {
    padding: 14px;
  }

  .feed-lightbox__body {
    padding: 16px 14px;
  }

  .feed-lightbox__meta {
    padding: 14px;
  }

  .feed-lightbox__details.has-comments .feed-lightbox__body {
    max-height: 40%;
  }

  .feed-lightbox__close {
    top: 10px;
    right: 10px;
  }
}

.feed-load-more {
  display: grid;
  min-height: 52px;
  place-items: center;
}

.feed-load-more__trigger {
  width: 100%;
  height: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.feed-load-more__trigger:disabled {
  cursor: wait;
}

/* Only shown on phones, where the list loads by tapping instead of scrolling. */
.feed-load-more__link {
  display: none;
}

.feed-load-more__status {
  color: var(--muted);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
}


.post__comments {

  border-top: 1px solid var(--line);
}



.post__comments a {
  color: var(--pink);
  text-decoration: none;
}

.post__comments-items {
  padding: 16px 24px;
}


.post__comments-item {
  display: grid;
  grid-template-columns: 32px auto;
  margin-bottom: 20px;
  gap: 10px;
}

.post__comments-item:last-child {
  margin-bottom: 0;
}

.post__comments-item>a>img,
.post__comments-item>img {
  width: 32px;
  height: 32px;
  border-radius: 100%;
  object-fit: cover;
}

.post__comments-item strong {
  display: block;
  color: #333;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: .15px;
}

.post__comments-item p {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: .15px;
}


.post__comments-meta {
  font-size: 16px;
}

.post__comments-meta--header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.post__comments-meta--name {
  font-weight: 500;
  line-height: 26px;
  margin-bottom: 6px;
}

.post__comments-meta--name a {
  color: inherit
}

.post__comment-body {
  min-width: 0;
}

.post__comment-main {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.post__comment-heading {
  display: flex;
  min-width: 0;
  min-height: 54px;
  gap: 2px;
  align-items: flex-start;
}

.post__comment-copy {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 2px;
}

.post__comment-menu-wrap {
  position: relative;
  flex: 0 0 32px;
  margin: -8px -8px 0 0;
}

.post__comment-menu {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.post__comment-menu:hover,
.post__comment-menu[aria-expanded="true"] {
  background: #fef8f9;
}

.post__comment-menu img {
  display: block;
  width: 16px;
  height: 16px;
}

.post__comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.post__comment-actions button,
.post__comment-reply {
  display: inline-flex;
  min-height: 16px;
  margin-top: 4px;
  padding: 0;
  gap: 8px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #4d4d4d;
  font-family: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .25px;
  cursor: pointer;
}

.post__comment-actions img {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.post__comment-reply-action img {
  width: 18px;
  height: 18px;
}

.post__comment-reply {
  width: max-content;
  color: #333;
}

.post__comment-reply img {
  display: block;
  width: 12px;
  height: 12px;
}

.post__comment-reply[aria-expanded="true"] img {
  transform: rotate(180deg);
}

.post__comment-reply:disabled {
  cursor: wait;
  opacity: .7;
}

.post__comment-actions button:hover,
.post__comment-actions button[aria-expanded="true"],
.post__comment-reply:hover,
.post__comment-reply[aria-expanded="true"] {
  color: var(--pink);
}

.comment__reaction-wrap {
  position: relative;
  display: inline-flex;
}

.comment__reaction-trigger.is-liked {
  color: var(--pink);
  font-weight: 700;
}

.post__comment-reaction-stack {
  position: relative;
  display: block;
  width: 39px;
  height: 18px;
  flex: 0 0 39px;
}

.post__comment-reaction-stack img {
  position: absolute;
  top: 0;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.post__comment-reaction-stack img:nth-child(1) {
  left: 0;
  z-index: 1;
}

.post__comment-reaction-stack img:nth-child(2) {
  left: 6px;
  z-index: 2;
}

.post__comment-reaction-stack img:nth-child(3) {
  left: 13.5px;
  z-index: 3;
}

.post__comment-reaction-stack img:nth-child(4) {
  left: 21px;
  z-index: 4;
}

.post__comments-replies {
  display: grid;
  margin-top: 20px;
  gap: 20px;
}

.post__comments-replies .post__comments-item {
  margin-bottom: 0;
}

.post__comments-item--reply {
  padding-left: 42px;
}

.post__comments-edited {
  margin-left: 6px;
  color: var(--muted, #808080);
  font-style: italic;
}

.post__comments-meta--deleted {
  color: var(--muted, #808080);
  font-style: italic;
}

a.mention {
  color: var(--pink);
  font-weight: 500;
  text-decoration: none;
}

a.mention:hover {
  text-decoration: underline;
}

.mention-live {
  color: var(--pink);
  font-weight: 500;
}

.compose-form__textarea-editable {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: 12px 14px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  outline: none;
  color: #808080;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-sm-spacing);
}

.compose-form__textarea-editable:empty:before {
  content: attr(data-placeholder);
  color: #808080;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: .15px;
}

.post-action-modal__field-editable {
  width: 100%;
  min-height: 132px;
  padding: 12px 14px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
}

.post-action-modal__field-editable:focus {
  border-color: var(--pink);
  outline: 2px solid rgba(233, 70, 139, .16);
}

.post-action-modal__field-editable:empty:before {
  content: attr(data-placeholder);
  color: #808080;
}

.post__comments-field-editable {
  width: 100%;
  height: 46px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 30px;
  border: 1px solid #ccc;
  padding: 12px;
  color: #808080;
  font-size: 14px;
  line-height: 20px;
  outline: none;
}

.post__comments-field-editable:focus {
  border: 1px solid #ccc;
  outline: 0;
}

.post__comments-field-editable:empty:before {
  content: attr(data-placeholder);
  color: #808080;
}

.post__replyform .post__comments-field-editable {
  height: 40px;
  border-radius: 30px;
  border: 1px solid #ccc;
  padding: 10px 14px;
  color: #808080;
}

.post__replyform .post__comments-field-editable:focus {
  border: 1px solid #ccc;
  outline: 0;
}


.mention-typeahead {
  position: fixed;
  z-index: 1000;
  display: grid;
  min-width: 220px;
  max-width: 280px;
  max-height: 220px;
  overflow-y: auto;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 13, 18, .18);
}

.mention-typeahead__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.mention-typeahead__option img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.mention-typeahead__option:hover,
.mention-typeahead__option.is-active {
  background: var(--pink-soft);
  color: var(--pink);
}

.post__replyform {
  display: grid;
  margin-top: 12px;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
}

.post__replyform .post__comments-field input[type=text] {
  width: 100%;
  height: 40px;
  border-radius: 30px;
  border: 1px solid #ccc;
  padding: 10px 14px;
  color: #808080;
}

.post__replyform .post__comments-field input[type=text]:focus {
  border: 1px solid #ccc;
  outline: 0;
}

.post__comments-more {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.post__comments-more--livewire {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--pink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.post__comments-more--livewire:disabled {
  cursor: wait;
  opacity: .75;
}

.post__comments-more-loading {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Connection detail view */
.connection-details-layout {
  display: grid;
  min-height: calc(100vh - 150px);
  padding: 15px 24px 32px;
  grid-template-columns: 347px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.connection-details-layout>.connections-sidebar {
  display: grid;
  gap: 16px;
}

.connection-details-panel {
  display: grid;
  min-width: 0;
  gap: 16px;
  padding: 16px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafafa;
}

.connection-details__back {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 20px;
  line-height: 28px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}

.connection-details__back img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.connection-details-profile {
  display: flex;
  flex-direction: column;
  /* .card clips overflow; the Report/Block menu must be able to hang below the card. */
  overflow: visible;
  border-color: #e9eaeb;
  border-radius: 16px;
  background: #fff;
}

.connection-details-profile__cover {
  display: block;
  width: 100%;
  height: 150px;
  border-radius: 15px 15px 0 0;
  object-fit: cover;
}

.connection-details-profile__row {
  display: flex;
  gap: 16px;
  padding: 20px;
  align-items: flex-start;
}

.connection-details-profile__avatar {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 50%;
  object-fit: cover;
}

.connection-details-profile__body {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 12px;
}

.connection-details-profile__summary {
  display: grid;
  gap: 4px;
}

.connection-details-profile__heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.connection-details-profile__heading h1 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 25px;
  font-weight: var(--font-weight-bold);
  letter-spacing: .15px;
}

.connection-details-profile__username {
  color: #666666;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.connection-details-profile__body p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
}

.connection-details-profile .connection-pill {
  min-height: 34px;
  padding: 8px 16px;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}

.connection-details-page .connection-pill.is-loading,
.connections-layout .connection-pill.is-loading {
  cursor: wait;
}

.connection-details-profile .connection-pill {
  min-width: 112px;
}

.connection-details-page .connection-details-follow-loading,
.connections-layout .connection-details-follow-loading {
  display: inline-flex;
  min-height: 18px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.connection-details-page .connection-details-follow-spinner,
.connections-layout .connection-details-follow-spinner {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: connection-details-follow-spin .7s linear infinite;
}

@keyframes connection-details-follow-spin {
  to {
    transform: rotate(360deg);
  }
}

.connection-details-profile__facts {
  display: grid;
  gap: 8px;
  align-items: start;
}

.connection-details-profile__hobbies {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.connection-details-profile__fact {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--font-weight-medium);
}

.connection-details-profile__fact i {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink);
  font-style: normal;
}

.connection-details-profile__fact img {
  display: block;
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.connection-details-tabs {
  display: flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: flex-end;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.connection-details-tabs a {
  position: relative;
  padding: 10px 0;
  color: #808080;
  font-size: 13px;
  line-height: 18px;
  text-decoration: none;
}

.connection-details-page .connection-details-tabs a[data-connection-detail-tab="highlights"] {
  display: none;
}

.connection-details-tabs a.is-active {
  color: var(--pink);
  font-weight: var(--font-weight-semibold);
}

.connection-details-tabs a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--pink);
  content: "";
}

.connection-details-panel>[data-connection-detail-panel][hidden] {
  display: none;
}

.connection-details-posts {
  position: relative;
  display: grid;
  gap: 8px;
}

.connection-details-posts__header {
  position: relative;
  display: flex;
  min-height: 50px;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.connection-details-posts__header h2 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 22px;
  font-weight: var(--font-weight-bold);
}

.connection-details-posts__header button {
  display: inline-flex;
  height: 32px;
  padding: 0 12px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 90px;
  background: white;
  color: #666;
  font-size: 12px;
  cursor: pointer;
}

.connection-details-posts__header button img {
  width: 14px;
  height: 14px;
}

.connection-details-post {
  overflow: hidden;
  padding: 0;
}

.connection-details-post>.post__category-badge {
  display: none;
}

.connection-details-post .post__header {
  display: flex;
  padding: 16px 16px 8px;
  align-items: center;
  gap: 9px;
}

.connection-details-post .post__header>div:not(.post__menu-wrap) {
  gap: 1px;
}

.connection-details-post .post__header>a img,
.connection-details-post .post__header>img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.connection-details-post .post__header strong {
  font-size: 14px;
  line-height: 20px;
}

.connection-details-post .post__header small {
  font-size: 12px;
  line-height: 16px;
}

.connection-details-post .post__copy {
  margin: 0;
  padding: 0 16px 12px;
  color: #333;
  font-size: 13px;
  line-height: 19px;
}

.connection-details-post .post__image-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.connection-details-post .post__image {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: cover;
}

.connection-details-post .post__meta {
  min-height: 34px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
}

.connection-details-post .post__meta small {
  color: #666;
  font-size: 11px;
}

.connection-details-post .post__actions {
  min-height: 48px;
  height: 48px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
}

.connection-details-post .post__actions button {
  font-size: 12px;
}

.connection-details-post .post__actions button img {
  width: 18px;
  height: 18px;
}

.connection-details-connections {
  position: relative;
  display: grid;
  gap: 8px;
}

.connection-details-connections__card {
  display: grid;
  gap: 20px;
  padding: 20px;
  border-color: #e9eaeb;
  border-radius: 16px;
  background: #fff;
  overflow: visible;
}

.connection-details-connections__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.connection-details-connections__header h2 {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 22px;
  font-weight: var(--font-weight-bold);
}

.connection-details-connections__header p {
  margin: 2px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 16px;
}

.connection-details-connections__tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.connection-details-connections__tools .connections-search {
  width: 265px;
}

.connection-details-connections__tools>button {
  display: inline-flex;
  height: 40px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 90px;
  background: #fff;
  color: #666;
  font-size: 12px;
  cursor: pointer;
}

.connection-details-connections__tools>button img {
  width: 14px;
  height: 14px;
}

.connection-details-connections__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 16px;
  padding-top: 26px;
}

.connection-mini-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 156px;
  padding: 40px 16px 16px;
  justify-items: center;
  align-content: start;
  gap: 4px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.connection-mini-card>img,
.connection-mini-card>a>img {
  position: absolute;
  top: -30px;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  transform: translateX(-50%);
  cursor: pointer;
}

.connection-mini-card>div:first-of-type {
  display: flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.connection-mini-card>div:first-of-type>a {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.connection-mini-card h3 {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-bold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connection-mini-card .connection-pill {
  min-height: 22px;
  padding: 4px 8px;
  flex-shrink: 0;
  gap: 4px;
  font-size: 11px;
  line-height: 14px;
}

.connection-mini-card .connection-pill img {
  width: 14px;
  height: 14px;
}

.connection-mini-card .connection-feeling {
  justify-content: center;
  gap: 9px;
}

.connection-mini-card p {
  display: -webkit-box;
  margin: 0;
  max-width: 215px;
  overflow: hidden;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.connection-details-highlights {
  display: grid;
  gap: 8px;
}

.connection-highlight-card {
  display: grid;
  gap: 24px;
  padding: 20px;
  border-color: #e9eaeb;
  border-radius: 16px;
  background: #fff;
}

.connection-highlight-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.connection-highlight-card__header h2 {
  margin: 0;
  color: #333;
  font-size: 20px;
  line-height: 25px;
  font-weight: var(--font-weight-bold);
}

.connection-highlight-photos,
.connection-highlight-videos {
  display: grid;
  gap: 16px;
}

.connection-highlight-photos {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.connection-highlight-videos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.connection-highlight-photos img,
.connection-highlight-video>img {
  display: block;
  width: 100%;
  height: 250px;
  border-radius: 8px;
  object-fit: cover;
}

.connection-highlight-video {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #111;
  cursor: pointer;
}

.connection-highlight-video::after {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, .5);
  content: "";
}

.connection-highlight-video span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  transform: translate(-50%, -50%);
}

.connection-details-empty {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
}

.connection-details-empty h2 {
  margin: 0;
  color: #333;
  font-size: 18px;
  line-height: 24px;
}

.connection-details-empty p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
}

.feed-empty-state {
  display: grid;
  gap: 8px;
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.feed-empty-state h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 26px;
  font-weight: var(--font-weight-bold);
}

.feed-empty-state p {
  margin: 0;
  color: #808080;
  font-size: 16px;
  line-height: 22px;
}

.connection-details-page .connection-pill__label--hover {
  display: none;
}

.connection-details-page .connection-pill--filled:hover .connection-pill__label--default {
  display: none;
}

.connection-details-page .connection-pill--filled:hover .connection-pill__label--hover {
  display: inline;
}

@media (max-width: 1100px) {
  .connection-details-layout {
    display: block;
    padding: 8px 16px 24px;
  }

  .connection-details-layout>.connections-sidebar {
    display: none;
  }

  .connection-details-panel {
    padding: 12px 12px 20px;
  }

  .connection-details-connections__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connection-highlight-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .connection-details-layout {
    padding: 8px 12px 20px;
  }

  .connection-details-panel {
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
  }

  .connection-details__back {
    font-size: 16px;
    line-height: 22px;
  }

  .connection-details-profile__row {
    gap: 10px;
    padding: 14px;
  }

  .connection-details-profile__avatar {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .connection-details-profile__heading {
    flex-wrap: wrap;
    gap: 6px;
  }

  .connection-details-profile__heading h1 {
    font-size: 18px;
    line-height: 23px;
  }

  .connection-details-profile__body p {
    font-size: 12px;
    line-height: 18px;
  }

  .connection-details-profile .connection-pill {
    min-width: 108px;
    min-height: 30px;
    padding: 6px 12px;
  }

  .connection-details-profile__hobbies {
    gap: 8px 12px;
  }

  .connection-details-profile__fact {
    font-size: 12px;
    line-height: 18px;
  }

  .connection-details-tabs {
    gap: 18px;
    padding: 0 10px;
  }

  .connection-details-tabs a {
    font-size: 12px;
  }

  .connection-details-posts__header {
    padding: 0 12px;
  }

  .connection-details-post .post__header {
    padding: 12px 12px 8px;
  }

  .connection-details-post .post__copy {
    padding: 0 12px 10px;
    font-size: 12px;
    line-height: 18px;
  }

  .connection-details-post .post__meta {
    padding: 0 12px;
  }

  .connection-details-post .post__actions {
    padding: 0 10px;
  }

  .connection-details-connections__card {
    padding: 14px;
  }

  .connection-details-connections__header,
  .connection-details-connections__tools {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .connection-details-connections__tools .connections-search {
    width: 100%;
  }

  .connection-details-connections__tools>button {
    width: fit-content;
  }

  .connection-details-connections__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .connection-mini-card .connection-pill {
    min-width: 92px;
  }

  .connection-mini-card>div:first-of-type {
    flex-wrap: wrap;
  }

  .connection-highlight-card {
    gap: 16px;
    padding: 14px;
  }

  .connection-highlight-card__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .connection-highlight-card__header h2 {
    font-size: 18px;
    line-height: 23px;
  }

  .connection-highlight-photos,
  .connection-highlight-videos {
    grid-template-columns: 1fr;
  }

  .connection-highlight-photos img,
  .connection-highlight-video>img {
    height: 210px;
  }
}

.post__comments-more-spinner {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  box-sizing: border-box;
  border: 2px solid color-mix(in srgb, var(--pink) 25%, transparent);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: post-comments-more-spin .7s linear infinite;
}

@keyframes post-comments-more-spin {
  to {
    transform: rotate(360deg);
  }
}

.post__comments-error {
  margin: -8px 24px 16px;
  color: var(--red, #d7192f);
  font-size: var(--type-text-sm-size);
}

.post__commentform {
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px 40px;
  align-items: center;
  gap: 10px;
}

.post__commentform {
  display: grid !important;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: 40px minmax(0, 1fr) 40px 40px !important;
  grid-template-rows: 40px;
  grid-auto-flow: column;
  flex-wrap: nowrap;
}

.feed-lightbox__commentform {
  width: 100%;
  box-sizing: border-box;
}

.post__commentform>.post__comments-photo {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.post__commentform>.post__comments-field {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.post__commentform>.post__comments-emoji {
  grid-column: 3;
  grid-row: 1;
}

.post__commentform>.post__comments-submit {
  grid-column: 4;
  grid-row: 1;
}

.post__commentform.is-disabled .post__comments-field-editable,
.post__replyform.is-disabled .post__comments-field-editable {
  opacity: .5;
  cursor: not-allowed;
  background: #f5f5f5;
}

.post__commentform.is-disabled .post__comments-emoji,
.post__commentform.is-disabled .post__comments-submit,
.post__replyform.is-disabled .post__comments-emoji,
.post__replyform.is-disabled .post__comments-submit {
  opacity: .5;
  cursor: not-allowed;
}

.post__comments .post__comments-photo img,
.post__comments .post__comments-emoji img {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  object-fit: cover;
}

.post__comments .post__comments-field {
  position: relative;
  min-width: 0;
}

.post__comments .post__comments-field input[type=text] {
  width: 100%;
  height: 46px;
  border-radius: 30px;
  border: 1px solid #ccc;
  padding: 12px;
  color: #808080;
}

.post__comments .post__comments-field input[type=text]:focus {
  border: 1px solid #ccc;
  outline: 0;
}

.side-card h2 {
  margin-bottom: 24px;
}

.announcement-list,
.suggestion-list {
  display: grid;
  gap: 20px;
}

.announcement[data-card-link] {
  cursor: pointer;
}

.announcement {
  display: flex;
  gap: 9px;
}

.announcement i {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  font-size: 23px;
  font-style: normal;
}

.announcement i img {
  width: 24px;
  height: 24px;
}

.announcement i.blue {
  background: #e5f5fb;
  color: var(--blue);
}

.announcement i.pink {
  background: #fceff0;
  color: var(--pink);
}

.announcement i.green {
  background: #edf6f1;
  color: var(--green);
}

.announcement div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.announcement p,
.suggestion p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  line-height: 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-bottom: 7px;
}

.announcement small {
  color: var(--muted);
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  letter-spacing: var(--type-text-xs-spacing);
  font-weight: 600;
}

.suggestion {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  transition: opacity .4s ease;
}

.suggestion.is-fading {
  opacity: 0;
  pointer-events: none;
}

.suggestion>div {
  display: grid;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  justify-items: start;
}

.suggestion a {
  color: inherit;
  text-decoration: none;
}

.suggestion strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.suggestion p {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.suggestion button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding: 8px 16px;
  border: 1px solid var(--pink);
  border-radius: 60px;
  background: white;
  color: var(--pink);
  font-size: var(--type-button-sm-size);
  line-height: var(--type-button-sm-line);
  letter-spacing: var(--type-button-spacing);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}

.suggestion button.is-following {
  background: var(--pink);
  color: white;
  cursor: default;
}

.suggestion button:disabled {
  opacity: 1;
}

.community-announcement-page .nav-icon.is-active[aria-label="Home"] {
  color: #4d4d4d;
}

.community-announcement-page .nav-icon.is-active[aria-label="Home"]::after {
  display: none;
}

.community-announcement-page .nav-icon.is-active[aria-label="Home"] img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(0%) saturate(0%) hue-rotate(179deg) brightness(90%) contrast(87%);
}

.community-announcement-page .nav-icon[aria-label="Announcements"] {
  color: var(--pink);
}

.community-announcement-page .nav-icon[aria-label="Announcements"] img {
  filter: brightness(0) saturate(100%) invert(43%) sepia(86%) saturate(1747%) hue-rotate(302deg) brightness(96%) contrast(90%);
}

.community-announcement-page .nav-icon[aria-label="Announcements"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.5px;
  background: var(--pink);
  content: "";
}

.community-announcement-feed {
  display: grid;
  gap: 24px;
  padding: 0 0 24px;
  border-radius: 16px;
  background: #fafafa;
}

.community-announcement-feed__header {
  display: flex;
  min-height: 66px;
  padding: 24px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  background: white;
}

.community-announcement-feed__back {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
}

.community-announcement-feed__back svg {
  display: block;
  width: 24px;
  height: 24px;
}

.community-announcement-feed__header h1 {
  color: var(--text);
  font-size: 24px;
  line-height: 34px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
}

.community-announcement-list {
  display: grid;
  gap: 20px;
  padding: 0 24px;
}

.community-event-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.community-event-card__media {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.community-event-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-event-card__media button {
  position: absolute;
  top: 19px;
  right: 19px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.community-event-card__media button img {
  width: 32px;
  height: 32px;
}

.community-event-card__body {
  display: grid;
  padding: 20px 24px 24px;
  gap: 18px;
}

.community-event-card__body h2 {
  color: var(--text);
  font-size: 20px;
  line-height: 25px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .15px;
}

.community-event-card__meta {
  display: grid;
  gap: 8px;
  padding-top: 6px;
}

.community-event-card__meta span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--font-weight-regular);
  letter-spacing: -.25px;
}

.community-event-card__meta img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(42%) sepia(0%) saturate(0%) hue-rotate(176deg) brightness(90%) contrast(88%);
}

.community-event-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.community-event-card__tags span {
  display: inline-flex;
  height: 26px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  border-radius: 44px;
  background: #fceff0;
  color: var(--pink);
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--font-weight-medium);
  letter-spacing: .25px;
}

.community-event-card__body p {
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
}

.view-profile-layout {
  display: grid;
  min-height: calc(100vh - 150px);
  padding: 27px 24px 32px;
  grid-template-columns: minmax(0, 1076px) 410px;
  gap: 16px;
  align-items: start;
}

.view-profile-main,
.view-profile-sidebar,
.profile-view {
  display: grid;
  gap: 16px;
}

.profile-view-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.profile-view-hero__cover {
  display: block;
  width: 100%;
  height: 150px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
}

.profile-view-hero__info {
  display: flex;
  padding: 20px;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 0 0 16px 16px;
  background: white;
}

.profile-view-hero__avatar {
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-view-hero__details {
  display: grid;
  gap: 8px;
}

.profile-view-hero__username {
  margin-bottom: -4px;
  color: #666666;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.profile-view-hero__name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-view-hero__name h1 {
  color: var(--text);
  font-size: 20px;
  line-height: 25px;
  font-weight: var(--font-weight-bold);
  letter-spacing: .15px;
}

.profile-view-hero__name button,
.profile-view-section-title button,
.profile-view-feeling button {
  display: grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #4d4d4d;
  cursor: pointer;
}

.profile-view-hero__name svg,
.profile-view-section-title svg,
.profile-view-feeling svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}

.inline-spinner {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: inline-spinner-spin .7s linear infinite;
}

@keyframes inline-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}

.profile-view-birthday,
.profile-view-feeling,
.profile-view-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-view-birthday i,
.profile-view-detail-row>i {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  font-size: 12px;
  font-style: normal;
}

.profile-view-birthday i {
  color: transparent;
  font-size: 0;
  background: var(--pink) url("../images/icon-birthday-cake-white.svg") center / 12px 12px no-repeat;
}

.profile-view-detail-row>i {
  color: transparent;
  font-size: 0;
  background: var(--pink) url("../images/icon-location-pin-white.svg") center / 12px 12px no-repeat;
}

.profile-view-birthday span {
  color: #1a1a1a;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: .15px;
}

.profile-view-feeling {
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-medium);
  letter-spacing: .15px;
}

.profile-view-feeling i,
.profile-view-post header span i {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fafafa;
  font-style: normal;
}

.profile-view-feeling img,
.profile-view-post header span i img {
  width: 12px;
  height: 12px;
  object-fit: cover;
}

.profile-view-feeling i>.mood-emoji {
  font-size: 14px;
  line-height: 1;
}

.profile-view-hero .profile-view-feeling {
  color: #666;
  font-weight: 400;
  letter-spacing: 0;
}

.profile-view-hero .profile-view-feeling i {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-view-hero .profile-view-feeling img {
  display: block;
  width: 16px;
  height: 16px;
}

.profile-view-card {
  display: grid;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.profile-view-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-view-section-title h2,
.profile-view-posts__header h2 {
  color: var(--text);
  font-size: 20px;
  line-height: 25px;
  font-weight: var(--font-weight-bold);
  letter-spacing: .15px;
}

.profile-view-about p {
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
}

.profile-view-details-grid {
  display: grid;
  gap: 16px;
}

.profile-view-details-grid section {
  display: grid;
  gap: 12px;
}

.profile-view-details-grid h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 22px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .15px;
}

.profile-view-detail-row {
  gap: 11px;
  flex-wrap: wrap;
}

.profile-view-detail-row div {
  display: grid;
}

.profile-view-detail-row strong {
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-semibold);
}

.profile-view-detail-row span {
  color: #808080;
  font-size: 12px;
  line-height: 16px;
}

.profile-view-hobbies {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.profile-view-hobbies span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.profile-view-hobbies i {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  font-style: normal;
}

.profile-view-hobbies img {
  display: block;
  width: 12px;
  height: 12px;
}

.profile-view-hobbies .profile-view-hobby--other {
  gap: 11px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: .15px;
}

.profile-view-hobbies .profile-view-hobby--other i img {
  width: 11.2941px;
  height: 11.2941px;
}

/* Only a hobby that is still waiting for review gets the yellow pill; approved hobbies use the normal pink-circle style. */
.profile-view-hobbies .profile-view-hobby--pending {
  height: 24px;
  gap: 6px;
  padding: 0 12px;
  border-radius: 100px;
  background: #fef0c7;
  color: #f79009;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: .15px;
}

.profile-view-hobbies .profile-view-hobby--pending i {
  display: flex;
  width: auto;
  height: 24px;
  flex: 0 0 auto;
  padding: 6.353px 0;
  align-items: center;
  border-radius: 33.176px;
  background: transparent;
}

.profile-view-hobbies .profile-view-hobby--pending i img {
  width: auto;
  height: auto;
}

.profile-view-tabs {
  display: flex;
  min-height: 48px;
  padding: 0 32px;
  align-items: stretch;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.profile-view-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #808080;
  font-size: 16px;
  line-height: 22px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .15px;
  text-decoration: none;
}

.profile-view-tabs a.is-active {
  color: var(--pink);
}

.profile-view-tabs a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--pink);
}

.profile-view-posts {
  position: relative;
  display: grid;
  gap: 16px;
}

.profile-view [data-profile-tab-panel][hidden] {
  display: none;
}

.profile-view-posts__header {
  display: flex;
  min-height: 70px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.profile-view-posts__header h2 {
  color: var(--text);
  font-size: 20px;
  line-height: 25px;
  font-weight: var(--font-weight-bold);
  letter-spacing: .15px;
}

.profile-view-posts__header button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 16px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 60px;
  background: white;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}

.profile-view-posts__header button img {
  width: 16px;
  height: 16px;
}

.profile-view-connections {
  position: relative;
  display: grid;
  padding: 20px;
  gap: 20px;
  overflow: visible;
}

.profile-view-connections[hidden] {
  display: none;
}

.profile-view-connections__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.profile-view-connections__header h2 {
  color: var(--text);
  font-size: 20px;
  line-height: 25px;
  font-weight: var(--font-weight-bold);
  letter-spacing: .15px;
}

.profile-view-connections__header p {
  margin-top: 2px;
  color: #808080;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .25px;
}

.profile-view-connections__tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-view-connections__search,
.profile-view-connections__tools>button {
  display: flex;
  height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 90px;
  background: white;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.profile-view-connections__search {
  width: 160px;
  padding: 0 16px;
  justify-content: space-between;
}

.profile-view-connections__search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
}

.profile-view-connections__search input::placeholder {
  color: #808080;
}

.profile-view-connections__search img,
.profile-view-connections__tools>button img {
  width: 16px;
  height: 16px;
}

.profile-view-connections__tools>button {
  padding: 0 16px;
  gap: 8px;
  cursor: pointer;
}

.profile-view-connections__tools .profile-view-connections-popovers {
  width: min(376px, calc(100vw - 48px));
  top: calc(100% + 8px);
  right: 0;
}

.profile-view-connections__grid {
  display: grid;
  gap: 30px 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-connection-card {
  position: relative;
  min-width: 0;
  padding-top: 20px;
  text-align: center;
}

.profile-connection-card>a {
  display: block;
}

.profile-connection-card__avatar {
  position: relative;
  z-index: 2;
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto -30px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

.profile-connection-card__body {
  display: grid;
  min-height: 115px;
  padding: 36px 16px 14px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  justify-items: center;
}

.profile-connection-card__name {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.profile-connection-card__name a {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.profile-connection-card__name strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--font-weight-bold);
  letter-spacing: .25px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-connection-card .connection-pill {
  flex-shrink: 0;
  min-height: 20px;
  padding: 1px 7px;
  font-size: 10px;
  line-height: 14px;
}

.profile-connection-card__feeling {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .25px;
}

.profile-connection-card__feeling img {
  width: 14px;
  height: 14px;
}

.profile-connection-card p {
  display: -webkit-box;
  overflow: hidden;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .25px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.profile-view-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.profile-view-pagination button,
.profile-view-pagination span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.profile-view-pagination button {
  cursor: pointer;
}

.profile-view-pagination button:disabled {
  opacity: .38;
  cursor: default;
}

.profile-view-pagination .is-active {
  background: var(--line);
}

.profile-view-composer {
  display: flex;
  min-height: 64px;
  padding: 14px 20px;
  align-items: center;
  gap: 14px;
}

.profile-view-composer>img:first-child,
.profile-view-post header>img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-view-composer button {
  height: 38px;
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 90px;
  background: white;
  color: #808080;
  text-align: left;
}

.profile-view-composer>img:not(:first-child) {
  width: 24px;
  height: 24px;
}

.profile-view-post {
  display: grid;
  gap: 0;
  padding-top: 20px;
}

.profile-view-post header {
  display: flex;
  padding: 0 20px;
  margin-bottom: 20px;
  gap: 12px;
}

.profile-view-post header div {
  display: grid;
  gap: 2px;
}

.profile-view-post header strong {
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-bold);
}

.profile-view-post header small,
.profile-view-post header span {
  color: #666;
  font-size: 12px;
  line-height: 16px;
}

.profile-view-post header span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 20px;
}

.profile-view-post>p {
  padding: 0 20px 20px;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
}

.profile-view-post__image,
.profile-view-post__video>img {
  display: block;
  width: 100%;
  max-height: 405px;
  object-fit: cover;
}

.profile-view-post__image {
  padding-top: 20px;
}

.profile-view-post__video {
  position: relative;
  padding-top: 20px;
}

.profile-view-post__video button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 56px;
  height: 56px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.profile-view-post__video button img {
  width: 28px;
  height: 28px;
}

.profile-view-post__meta {
  display: flex;
  min-height: 56px;
  padding: 0 20px;
  align-items: center;
  gap: 18px;
  color: var(--text);
}

.profile-view-post__meta small {
  color: var(--text);
  font-size: 12px;
  line-height: 16px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .25px;
}

.profile-view-post footer {
  display: grid;
  height: 52px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.profile-view-post footer button {
  border: 0;
  background: white;
  color: #4d4d4d;
  font-size: 14px;
  cursor: pointer;
}

.profile-view-post footer img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

.connections-layout {
  display: grid;
  min-height: calc(100vh - 150px);
  padding: 27px 24px 32px;
  grid-template-columns: 347px minmax(0, 1076px);
  gap: 16px;
  align-items: start;
}

.connections-sidebar {
  display: grid;
  gap: 16px;
}

.connections-profile {
  position: relative;
  min-height: 385px;
}

.connections-profile__cover {
  display: block;
  width: 100%;
  height: 136px;
  object-fit: cover;
}

.connections-profile__avatar {
  position: absolute;
  top: 88px;
  left: 24px;
  width: 100px;
  height: 100px;
  border: 2px solid white;
  border-radius: 50%;
  object-fit: cover;
}

.connections-profile__body {
  display: grid;
  padding: 60px 24px 24px;
  gap: 8px;
}

.connections-profile__body h2,
.feelings-watch h2 {
  color: var(--text);
  font-size: var(--type-display-xs-size);
  line-height: var(--type-display-xs-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-text-md-spacing);
}

.connections-profile__body p {
  color: #666;
  font-size: var(--type-text-sm-size);
  line-height: 20px;
}

.connection-feeling {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: var(--type-text-sm-spacing);
  margin-bottom: 5px;
}

.connection-feeling i {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fafafa;
  font-style: normal;
}

.connection-feeling i img {
  display: block;
  width: 12px;
  height: 12px;
  object-fit: cover;
}

.connection-feeling i {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.connection-feeling i img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.connection-card .connection-feeling:not(.connection-feeling--quiet) i {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.connection-card .connection-feeling:not(.connection-feeling--quiet) i img {
  width: 16px;
  height: 16px;
}

.connection-feeling i>.mood-emoji {
  display: block;
  font-size: 14px;
  line-height: 1;
}

.connection-feeling--muted {
  color: #666;
  font-weight: var(--font-weight-regular);
}

.connection-feeling--quiet {
  color: #666;
}

.feelings-watch {
  display: grid;
  gap: 24px;
}

.feelings-watch__list {
  display: grid;
  gap: 11px;
}

.feelings-watch__item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.feelings-watch__item img.profile-img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}

.feelings-watch__item>div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.feelings-watch__item a {
  color: inherit;
  text-decoration: none;
}

.feelings-watch__item strong {
  color: var(--text);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-text-md-spacing);
}

.feelings-watch__item small {
  color: #808080;
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  letter-spacing: -.25px;
}

.home-feelings-card__person {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.home-feelings-card__avatar {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.home-feelings-card__content {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.home-feelings-card__identity {
  display: grid;
  min-width: 0;
  padding-right: 45px;
  gap: 2px;
}

.home-feelings-card__identity strong {
  color: #333;
  font-size: 16px;
  line-height: 23px;
  font-weight: 700;
  letter-spacing: .15px;
}

.home-feelings-card__identity a {
  color: inherit;
  text-decoration: none;
}

.home-feelings-card__identity>span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  white-space: nowrap;
}

.home-feelings-card__identity>span img {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.home-feelings-card__content>small {
  color: #808080;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: -.25px;
}

.home-feelings-card__reactions {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 18px;
  padding: 0;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #4d4d4d;
  font: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .25px;
  text-align: left;
  white-space: normal;
  cursor: pointer;
}

.home-feelings-card__reactions:hover,
.home-feelings-card__reactions:focus-visible {
  color: #c63c76;
  text-decoration: underline;
}

.home-feelings-card__reactions:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
  border-radius: 2px;
}

.connection-feeling+.home-feelings-card__reactions {
  margin: 3px 0;
}

.home-feelings-card__reaction-stack {
  position: relative;
  display: flex;
  height: 18px;
}

.home-feelings-card__reaction-stack img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-left: -9px;
}

.home-feelings-card__reaction-stack img:first-child {
  margin-left: 0;
}

.home-feelings-card__add-reactions {
  display: inline-flex;
  width: fit-content;
  min-height: 22px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 60px;
  background: transparent;
  color: #e9468b;
  font: inherit;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
  white-space: nowrap;
  cursor: pointer;
}

.home-feelings-card__add-reactions>span {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border: 1px solid #e9468b;
  border-radius: 50%;
}

.home-feelings-card__add-reactions img {
  display: block;
  width: 14px;
  height: 14px;
}

.connection-details-profile__summary .home-feelings-card__reactions {
  margin-top: 2px;
}

.connection-details-profile__summary .home-feelings-card__add-reactions {
  margin-bottom: 2px;
}

.home-feelings-card__action-wrap {
  position: absolute;
  top: 4px;
  right: 0;
}

.home-feelings-card__action {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 6px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.home-feelings-card__action-emoji {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* The pink "+" badge on the unreacted feeling button (also used by the composer's feeling button). */
.home-feelings-card__action-plus {
  position: absolute;
  right: -1px;
  bottom: -1px;
  display: grid;
  width: 14px;
  height: 14px;
  padding: 2px;
  place-items: center;
  border: .5px solid var(--pink);
  border-radius: 50%;
  background: var(--pink);
}

.home-feelings-card__action-plus img {
  display: block;
  width: 8px;
  height: 8px;
  filter: brightness(0) invert(1);
}

.home-feelings-card__action--emoji {
  border-color: #fdf2f7;
  background: #fdf2f7;
}

.home-feelings-card__action--emoji img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.connections-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafafa;
}

[data-functional-connections] .connections-panel {
  overflow: visible;
}

.connections-panel__header {
  position: relative;
  display: flex;
  min-height: 88px;
  padding: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  background: white;
}

.connections-panel__title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.connections-panel__back {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
}

.connections-panel__back svg {
  display: block;
  width: 24px;
  height: 24px;
}

.connections-panel__title h1 {
  color: var(--text);
  font-size: 24px;
  line-height: 30px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
}

.connections-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.connections-search,
.connections-toolbar button {
  display: flex;
  height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 90px;
  background: white;
  color: var(--text);
  font-size: var(--type-text-sm-size);
  line-height: 20px;
}

.connections-search {
  width: 265px;
  padding: 0 16px;
  justify-content: space-between;
}

.connections-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
}

.connections-search input::placeholder {
  color: #808080;
}

.connections-search img {
  width: 20px;
  height: 20px;
}

.connections-toolbar button {
  gap: 10px;
  padding: 0 16px;
  cursor: pointer;
}

.connections-toolbar button.is-active,
.connections-toolbar button[aria-expanded="true"] {
  border-color: #666;
}

.connections-toolbar button img {
  width: 16px;
  height: 16px;
}

.connections-sort-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("../images/icon-connections-sort.svg") center / contain no-repeat;
}

.connections-grid {
  display: grid;
  padding: 24px;
  gap: 24px 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

[data-functional-connections] .connections-grid__empty {
  grid-column: 1 / -1;
  min-height: 180px;
  margin: 0;
  padding: 48px 24px;
  color: #666;
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  text-align: center;
}

.connection-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding-top: 0px;
}

.connection-card__avatar {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  margin-bottom: -27px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

.connection-card__body {
  width: 100%;
  min-height: 196px;
  padding: 40px 16px 16px;
  justify-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  text-align: center;
}

.connection-card__username {
  color: #666666;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 2px;

}

.connection-card__name {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 5px;
}

.connection-card__name a {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.connection-card__name strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-text-md-spacing);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connection-card .connection-pill {
  flex-shrink: 0;
}

.connection-card {
  transition: opacity .5s ease;
}

.connection-card.connection-card--fading {
  opacity: 0;
  pointer-events: none;
}

.connection-pill {
  display: inline-flex;
  min-height: 24px;
  padding: 3px 8px;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--pink);
  border-radius: 60px;
  background: white;
  color: var(--pink);
  font-size: 11px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: .25px;
  white-space: nowrap;
}

.connection-pill img {
  width: 14px;
  height: 14px;
}

.connection-pill--filled {
  border-color: var(--pink);
  background: var(--pink);
  color: white;
}


.connections-layout button.connection-pill {
  cursor: pointer;
  font-family: inherit;
}

.connections-layout .connection-pill__label--hover {
  display: none;
}

.connections-layout .connection-pill--filled:hover .connection-pill__label--default {
  display: none;
}

.connections-layout .connection-pill--filled:hover .connection-pill__label--hover {
  display: inline;
}

.search-results-page .connection-pill__label--hover {
  display: none;
}

.search-results-page .connection-pill--filled:hover .connection-pill__label--default {
  display: none;
}

.search-results-page .connection-pill--filled:hover .connection-pill__label--hover {
  display: inline;
}

.view-profile-page .connection-pill__label--hover {
  display: none;
}

.view-profile-page .connection-pill--filled:hover .connection-pill__label--default {
  display: none;
}

.view-profile-page .connection-pill--filled:hover .connection-pill__label--hover {
  display: inline;
}

.connection-card p {
  display: -webkit-box;
  overflow: hidden;
  color: #666;
  font-size: var(--type-text-sm-size);
  line-height: 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.connections-pagination {
  display: none;
}

[data-functional-connections] .connections-pagination {
  display: flex;
  padding: 16px 24px 24px;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

[data-functional-connections] .connections-pagination button,
[data-functional-connections] .connections-pagination span {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-medium);
  letter-spacing: .15px;
}

[data-functional-connections] .connections-pagination button {
  cursor: pointer;
}

[data-functional-connections] .connections-pagination button:disabled {
  color: #b3b3b3;
  cursor: default;
}

[data-functional-connections] .connections-pagination .is-active {
  background: var(--line);
}

.connections-popovers {
  position: absolute;
  z-index: 15;
  top: calc(100% - 16px);
  right: auto;
  left: auto;
}

.connections-popover {
  display: none;
  width: 236px;
  padding: 8px 10px;
  flex-direction: column;
  gap: 16px;
  border: 0;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 6px 2px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .3);
}

.connections-popover.is-open {
  display: flex;
}

#connections-filter-popover {
  min-height: 285px;
  max-height: min(560px, calc(100dvh - 220px));
  padding-right: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 21, 21, .15) transparent;
}

.connections-popover__header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.connections-popover__back {
  display: none;
}

#connections-filter-popover>.connections-popover__header,
#connections-filter-popover>.connections-popover__section,
#connections-filter-popover>.connections-popover__actions {
  width: calc(100% - 10px);
}

#connections-filter-popover::-webkit-scrollbar {
  width: 4px;
}

#connections-filter-popover::-webkit-scrollbar-track {
  background: transparent;
}

#connections-filter-popover::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(21, 21, 21, .15);
}

.connections-popover h2 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .15px;
}

.connections-choice-list {
  display: grid;
  gap: 0;
}

.connections-popover__section {
  display: grid;
  width: 100%;
  gap: 10px;
}

.connections-popover__section h3 {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .15px;
}

.connections-choice {
  display: flex;
  height: 40px;
  padding: 0 16px;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  cursor: pointer;
}

.connections-choice:has(input:checked) {
  background: #fafafa;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .15px;
}

.connections-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.connections-choice__box {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("../images/icon-sort-checkbox-empty.svg") center / contain no-repeat;
}

.connections-choice input:checked+.connections-choice__box {
  background-image: url("../images/icon-sort-checkbox-checked.svg");
}

.connections-popover__actions {
  position: sticky;
  bottom: 0;
  display: flex;
  width: 100%;
  padding-top: 8px;
  background: #fff;
  gap: 6px;
}

.connections-popover__actions button {
  display: flex;
  min-width: 0;
  min-height: 34px;
  padding: 8px 16px;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--font-weight-medium);
  letter-spacing: .25px;
  cursor: pointer;
}

.connections-popover__clear {
  border: 1px solid var(--pink);
  background: white;
  color: var(--pink);
}

.connections-popover__save {
  border: 1px solid var(--pink);
  background: var(--pink);
  color: white;
}

.compose-modal {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: white;
  box-shadow: 0 20px 24px -4px rgba(10, 13, 18, .08), 0 8px 8px -4px rgba(10, 13, 18, .03), 0 3px 3px -1.5px rgba(10, 13, 18, .04);
}

.compose-modal[data-custom-category-dropdown],
.compose-modal[data-custom-category-dropdown] .compose-form,
.compose-modal[data-custom-category-dropdown] .compose-form__body {
  overflow: visible;
}

.post-action-modal[data-custom-category-dropdown],
.post-action-modal[data-custom-category-dropdown] .post-action-modal__surface,
.post-action-modal[data-custom-category-dropdown] .compose-form,
.post-action-modal[data-custom-category-dropdown] .compose-form__body {
  overflow: visible;
}

.compose-modal::backdrop {
  background: rgba(0, 0, 0, .25);
  opacity: .9;
}

.compose-form {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.compose-form__header {
  position: relative;
  display: flex;
  min-height: 74px;
  padding: 24px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.compose-form__header h2 {
  width: 100%;
  text-align: center;
}

.compose-form__close {
  position: absolute;
  top: 15px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 8px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #808080;
  cursor: pointer;
}

.compose-form__close:hover {
  background: #f5f5f5;
}

.compose-form__close svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.compose-form__body {
  display: grid;
  padding: 24px;
  gap: 24px;
}

.compose-form__profile {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.compose-form__profile>img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}

.compose-form__profile-info {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.compose-form__profile-info strong {
  color: var(--text);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-text-md-spacing);
}

.compose-form__profile-info p {
  color: var(--muted);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-sm-spacing);
}

.compose-form__category {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  overflow: visible;
}

.compose-form__category select {
  width: 100%;
  height: 46px;
  padding: 0 44px 0 18px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline-color: var(--pink);
  background: #fff;
  color: #999;
  box-shadow: 0 1px 2px rgba(10, 13, 18, .05);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-sm-spacing);
  cursor: pointer;
}

.compose-form__category svg {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 5px;
  transform: translateY(-50%);
  pointer-events: none;
}

.compose-form__category.has-custom-select .gratitude-custom-select {
  position: relative;
  z-index: 1;
  width: 100%;
}

.compose-form__category.has-custom-select .gratitude-custom-select.is-open {
  z-index: 60;
}

.compose-form__category.has-custom-select .gratitude-custom-select__toggle {
  height: 46px;
  padding-left: 18px;
}

.compose-form__category.has-custom-select .gratitude-custom-select__menu {
  top: calc(100% + 8px);
  width: 100%;
}

.compose-form__category.has-custom-select .gratitude-custom-select__menu button:focus-visible {
  background: #fef8f9;
  outline: 2px solid rgba(233, 70, 139, .32);
  outline-offset: -2px;
}

.compose-form__category.has-custom-select>svg[hidden] {
  display: none;
}

.compose-form__textarea {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 2px rgba(10, 13, 18, .05);
}

.compose-form__textarea textarea {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: 12px 14px;
  resize: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  color: #808080;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-sm-spacing);
}

.compose-form__textarea textarea::placeholder {
  color: #808080;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: .15px;
  opacity: 1;
}

.compose-form__tools {
  position: static;
  flex: 0 0 auto;
  padding: 0 14px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.compose-form__tool {
  display: grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.compose-form__tool-icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(44%) sepia(58%) saturate(2546%) hue-rotate(304deg) brightness(96%) contrast(89%);
}

.compose-form__tool-icon--mood {
  display: grid;
  place-items: center;
  filter: none;
  font-size: 18px;
  line-height: 20px;
}

.compose-form__tool-icon--photo {
  width: 20px;
  height: 20px;
}

.compose-form__image-preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f8f8;
}

.compose-form__image-preview>img {
  display: block;
  width: 100%;
  max-height: 180px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.compose-form__image-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 6px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(10, 13, 18, .18);
  cursor: pointer;
}

.compose-form__image-remove:hover {
  background: white;
  color: var(--pink);
}

.compose-form__image-remove:disabled {
  cursor: wait;
  opacity: .6;
}

.compose-form__image-remove svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.compose-form__image-upload-status {
  display: flex;
  margin-top: 12px;
  padding: 10px 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(233, 70, 139, .2);
  border-radius: 8px;
  background: #fff5f9;
  color: var(--pink);
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--font-weight-medium);
}

.compose-form__image-upload-spinner {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid rgba(233, 70, 139, .25);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: compose-image-upload-spin .8s linear infinite;
}

@keyframes compose-image-upload-spin {
  to {
    transform: rotate(360deg);
  }
}

.compose-form__tool:disabled,
.compose-form .primary-button:disabled,
.mood-form .primary-button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.mood-form .compose-form__close:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.compose-form__actions {
  display: flex;
  padding: 12px 24px 24px;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
}

.primary-button {
  padding: 11px 20px;
  border: 0;
  border-radius: 60px;
  background: var(--pink);
  color: white;
  font-size: var(--type-button-md-size);
  line-height: var(--type-button-md-line);
  letter-spacing: var(--type-button-spacing);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}

.primary-button:hover {
  background: #d9387c;
}

.mood-modal {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: white;
  box-shadow: 0 20px 24px -4px rgba(10, 13, 18, .08), 0 8px 8px -4px rgba(10, 13, 18, .03), 0 3px 3px -1.5px rgba(10, 13, 18, .04);
}

.mood-modal::backdrop {
  background: rgba(0, 0, 0, .25);
  opacity: .9;
}

.mood-form {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.mood-form__header {
  position: relative;
  display: flex;
  min-height: 74px;
  padding: 24px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.mood-form__header h2 {
  width: 100%;
  text-align: center;
}

.mood-form__nav {
  padding: 16px 24px 0;
}

.mood-form__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--pink);
  border-radius: 999px;
  background: #fff;
  color: var(--pink);
  font: inherit;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}

.mood-form__back svg {
  width: 16px;
  height: 16px;
}

.mood-form__back:hover,
.mood-form__back:focus-visible {
  background: #fef4f8;
  outline: 0;
}

.mood-form__body {
  display: grid;
  padding: 24px;
  gap: 24px;
}

.mood-form__profile {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.mood-form__profile img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}

.mood-form__profile div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.mood-form__profile strong {
  color: var(--text);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-text-md-spacing);
}

.mood-form__profile p {
  color: var(--muted);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-sm-spacing);
}

.mood-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mood-option {
  display: flex;
  min-height: 54px;
  padding: 10px 14px;
  align-items: center;
  gap: 12px;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  background: white;
  color: #808080;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
  text-align: left;
  cursor: pointer;
}

.mood-option span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  background: #fff4e7;
  font-size: 18px;
  overflow: hidden;
}

.mood-option span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mood-option:hover,
.mood-option.is-selected,
.mood-option:has(input:checked) {
  border-color: var(--pink);
  background: #fff5f9;
  color: var(--text);
}

.mood-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.profile-feeling-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 0px;
}

.profile-feeling-list .mood-option {
  min-height: 0;
  padding: 8px 4px;
  flex-direction: column;
  gap: 10px;
  border-color: transparent;
  background: transparent;
  justify-content: flex-start;
  text-align: center;
}

.profile-feeling-list .mood-option span {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  background: transparent;
}

.profile-feeling-list .mood-option span img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.profile-feeling-list .mood-option:hover,
.profile-feeling-list .mood-option.is-selected {
  border-color: var(--pink);
  background: #fff5f9;
}

@media (max-width: 520px) {
  .profile-feeling-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mood-form__actions {
  display: flex;
  padding: 12px 24px 24px;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.profile-feeling-modal .mood-form__header {
  min-height: 74px;
  padding: 24px 56px;
}

.profile-feeling-modal .mood-form__body {
  display: flex;
  padding: 24px;
  flex-direction: column;
  gap: 20px;
}

.profile-feeling-privacy {
  display: grid;
  gap: 12px;
  padding: 8px 0;
}

.profile-feeling-privacy__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
}

.profile-feeling-privacy__label svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}

.profile-feeling-privacy__options {
  display: flex;
  width: fit-content;
  max-width: 100%;
  height: 48px;
}

.profile-feeling-privacy__options button {
  min-width: 0;
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--pink);
  border-left-width: 0;
  background: #fff;
  color: var(--pink);
  font-family: inherit;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: .15px;
  cursor: pointer;
}

.profile-feeling-privacy__options button:first-child {
  border-left-width: 1px;
  border-radius: 100px 0 0 100px;
}

.profile-feeling-privacy__options button:last-child {
  border-radius: 0 100px 100px 0;
}

.profile-feeling-privacy__options button.is-selected {
  background: var(--pink);
  color: #fff;
}

.profile-feeling-modal .mood-form__actions {
  min-height: 84px;
  padding: 20px 24px 24px;
  gap: 12px;
  align-items: flex-end;
}

.profile-feeling-modal__back {
  display: none;
}

.profile-feeling-action {
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 60px;
  font-family: inherit;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.profile-feeling-action--skip {
  border: 1px solid var(--pink);
  background: #fff;
  color: var(--pink);
}

.profile-feeling-action--post {
  border: 1px solid var(--pink);
  background: var(--pink);
  color: #fff;
}

.profile-feeling-action--post:hover {
  background: #d9387c;
}

@media (max-width: 520px) {
  .profile-feeling-modal {
    max-height: calc(100dvh - 16px);
  }

  .profile-feeling-modal[open] {
    display: flex;
    flex-direction: column;
  }

  .profile-feeling-modal .mood-form {
    min-height: 0;
    max-height: calc(100dvh - 16px);
    overflow: hidden;
  }

  .profile-feeling-modal .mood-form__header,
  .profile-feeling-modal .mood-form__actions {
    flex: 0 0 auto;
  }

  .profile-feeling-modal .mood-form__header {
    min-height: 64px;
    padding: 16px 48px;
  }

  .profile-feeling-modal .mood-form__header h2 {
    font-size: 18px;
    line-height: 28px;
  }

  .profile-feeling-modal .mood-form__body {
    min-height: 0;
    padding: 20px 24px;
    gap: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .profile-feeling-modal__back {
    display: inline-flex;
    min-height: 32px;
    width: fit-content;
    padding: 6px 12px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--pink);
    border-radius: 60px;
    background: #fff;
    color: var(--pink);
    font: inherit;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
    letter-spacing: .15px;
    cursor: pointer;
  }

  .profile-feeling-modal__back svg {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  .profile-feeling-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .profile-feeling-list .mood-option {
    min-height: 58px;
    gap: 8px;
  }

  .profile-feeling-privacy__options {
    height: 36px;
    flex-wrap: nowrap;
  }

  .profile-feeling-privacy__options button {
    padding: 8px;
    flex: 1 1 0;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
  }

  .profile-feeling-modal .mood-form__actions {
    min-height: 72px;
    padding: 12px 20px 16px;
  }
}

@media (max-width: 820px) {
  .profile-feeling-privacy__options {
    width: 100%;
    height: auto;
    flex-wrap: wrap;
  }

  .profile-feeling-privacy__options button {
    flex: 1 1 auto;
  }
}

.account-page {
  min-height: 100vh;
  background: var(--white);
}

.site-header--account {
  position: relative;
}

.nav--account .nav__brand {
  gap: 0;
}

.nav--account .account-login {
  width: auto;
  min-height: 40px;
  padding: 8px 24px;
  text-decoration: none;
}

.nav-icon {
  text-decoration: none;
}

.account-main {
  display: flex;
  min-height: calc(100vh - 150px);
  padding: 48px 24px 64px;
  justify-content: center;
  background: var(--white);
}

.account-main--compact {
  padding-top: 48px;
}

.security-form,
.profile-edit {
  width: min(470px, 100%);
}
.delete-flow,
.policy-page,
.wellness-page {
  width: min(1380px, 100%);
}

.profile-edit__back {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-bottom: 0px;
  place-items: center;
}

.profile-edit__back img,
.profile-edit__back svg {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.profile-edit h1 {
  margin-bottom: 40px;
  color: var(--text);
  font-size: var(--type-display-md-size);
  line-height: var(--type-display-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-display-md-spacing);
}

.personal-details-page .profile-edit__back+h1,
.change-password-page .profile-edit__back+.security-form__intro,
.delete-account-page .delete-flow>.profile-edit__back+.delete-flow__panel {
  margin-top: 36px;
}

.security-form__intro {
  display: grid;
  margin-bottom: 40px;
  gap: 11px;
}

.security-form h1 {
  color: var(--text);
  font-size: var(--type-display-md-size);
  line-height: var(--type-display-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-display-md-spacing);
}

.security-form__intro p {
  max-width: 360px;
  color: var(--muted);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-md-spacing);
}

.security-form__form {
  display: grid;
  gap: 40px;
}

.delete-flow__panel {
  display: none;
}

.delete-flow__panel.is-active {
  display: grid;
  gap: 40px;
}

.delete-flow__panel--removed.is-active {
  gap: 0;
}

.delete-flow__intro {
  display: grid;
  gap: 11px;
}

.delete-flow__eyebrow {
  color: var(--text);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--type-text-sm-spacing);
}

.delete-flow h1 {
  color: var(--text);
  font-size: var(--type-display-md-size);
  line-height: var(--type-display-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-display-md-spacing);
}

.delete-flow__intro>p:not(.delete-flow__eyebrow) {
  max-width: 470px;
  color: var(--muted);
  font-size: var(--type-text-sm-size);
  line-height: 20px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
}

.delete-flow__reasons {
  display: grid;
  margin: -12px 0 0;
  padding: 0;
  gap: 10px;
  border: 0;
}

.delete-flow__reasons legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.radio-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--type-text-sm-spacing);
  cursor: pointer;
}

.radio-choice input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--pink);
}

.profile-edit__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.profile-edit__avatar-wrap {
  display: grid;
  margin-inline: auto;
  justify-items: center;
  gap: 10px;
}

.profile-edit__avatar {
  position: relative;
  width: 140px;
  height: 140px;
}

.profile-edit__avatar>img {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-edit__camera {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 10px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--pink);
  cursor: pointer;
}

.profile-edit__camera img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.profile-edit__avatar-wrap p {
  color: var(--text);
  font-size: var(--type-text-lg-size);
  line-height: var(--type-text-lg-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--type-text-lg-spacing);
  text-align: center;
}

.profile-edit__avatar-hint {
  margin-top: -4px;
  color: #808080;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.profile-edit__username-trigger {
  justify-self: start;
}

.profile-edit__username-note {
  margin: 0;
  color: var(--text);
  font-size: var(--type-text-sm-size);
}

.profile-username-field__control {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-username-field__prefix {
  position: absolute;
  left: 16px;
  color: var(--muted);
  font-weight: var(--font-weight-semibold);
  pointer-events: none;
}

.profile-username-field .profile-username-field__control input {
  padding-left: 34px;
}

.profile-username-field__warning {
  margin: 8px 0 0;
  color: var(--pink);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
}

.avatar-cropper-modal {
  width: min(420px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: white;
  box-shadow: 0 20px 24px -4px rgba(10, 13, 18, .08), 0 8px 8px -4px rgba(10, 13, 18, .03), 0 3px 3px -1.5px rgba(10, 13, 18, .04);
}

.avatar-cropper-modal::backdrop {
  background: rgba(0, 0, 0, .25);
  opacity: .9;
}

.avatar-cropper-modal__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.avatar-cropper-modal__body h2 {
  color: var(--text);
  font-size: 20px;
  line-height: 25px;
  font-weight: var(--font-weight-bold);
  letter-spacing: .15px;
  text-align: center;
}

.avatar-cropper-modal__hint {
  margin: -8px 0 0;
  color: #808080;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.avatar-cropper-modal__stage {
  overflow: hidden;
  width: 100%;
  height: 320px;
  border-radius: 12px;
  background: #1a1a1a;
}

.avatar-cropper-modal__stage img {
  display: block;
  max-width: 100%;
}

.avatar-cropper-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.avatar-cropper-modal__actions .button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.avatar-cropper-modal__busy {
  align-items: center;
  gap: 8px;
}

.avatar-cropper-modal__busy:not([hidden]) {
  display: inline-flex;
}

.avatar-cropper-modal__spinner {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: white;
  border-radius: 50%;
  animation: compose-image-upload-spin .8s linear infinite;
}

.post-image-cropper-modal {
  width: min(640px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: white;
  box-shadow: 0 20px 24px -4px rgba(10, 13, 18, .08), 0 8px 8px -4px rgba(10, 13, 18, .03), 0 3px 3px -1.5px rgba(10, 13, 18, .04);
}

.post-image-cropper-modal::backdrop {
  background: rgba(0, 0, 0, .25);
  opacity: .9;
}

.post-image-cropper-modal__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.post-image-cropper-modal__body h2 {
  color: var(--text);
  font-size: 20px;
  line-height: 25px;
  font-weight: var(--font-weight-bold);
  letter-spacing: .15px;
  text-align: center;
}

.post-image-cropper-modal__hint {
  margin: -8px 0 0;
  color: #808080;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.post-image-cropper-modal__stage {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #1a1a1a;
}

.post-image-cropper-modal__stage img {
  display: block;
  max-width: 100%;
}

.post-image-cropper-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.post-image-cropper-modal__actions .button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.post-image-cropper-modal__busy {
  align-items: center;
  gap: 8px;
}

.post-image-cropper-modal__busy:not([hidden]) {
  display: inline-flex;
}

.post-image-cropper-modal__spinner {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: white;
  border-radius: 50%;
  animation: compose-image-upload-spin .8s linear infinite;
}

.avatar-cropper-error {
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(215, 25, 47, .2);
  border-radius: 8px;
  background: #fdf1f2;
  text-align: left;
}

.avatar-cropper-error:not([hidden]) {
  display: flex;
  min-width: 280px;
}

.avatar-cropper-error__icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--red, #d7192f);
  color: white;
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.avatar-cropper-error strong {
  display: block;
  color: var(--red, #666);
  font-size: 12px;
  line-height: 20px;
  font-weight: var(--font-weight-semibold);
}

.avatar-cropper-error p {
  margin: 2px 0 0;
  color: var(--red, #888);
  font-size: 11px;
  line-height: 18px;
}

.form-stack {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 4px;
}

.field span {
  color: var(--text);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-sm-spacing);
}

.field--no-label>span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-md-spacing);
  outline: 0;
}

.field input,
.field select {
  height: 56px;
  padding: 0 16px;
}

.field textarea {
  min-height: 118px;
  padding: 16px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #808080;
  opacity: 1;
}

.field__error,
.login-field__error {
  display: none;
  margin-top: 4px;
  align-items: center;
  gap: 8px;
  color: #cf142d;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-sm-spacing);
}

.field__error i,
.login-field__error i {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid #cf142d;
  border-radius: 50%;
}

.field__error i::before,
.login-field__error i::before {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 2px;
  height: 7px;
  border-radius: 999px;
  background: #cf142d;
  content: "";
  transform: translateX(-50%);
}

.field__error i::after,
.login-field__error i::after {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #cf142d;
  content: "";
  transform: translateX(-50%);
}

.field__error span,
.login-form .login-field__error span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: #cf142d;
  white-space: nowrap;
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea,
.login-field.is-error input {
  border-color: #cf142d;
  color: #cf142d;
}

.field.is-error input::placeholder,
.field.is-error textarea::placeholder,
.login-field.is-error input::placeholder {
  color: #cf142d;
}

.field.is-error .field__error,
.login-field.is-error .login-field__error {
  display: flex;
}

.profile-edit .field input,
.profile-edit .field textarea {
  color: var(--text);
}

.field-row {
  display: grid;
  gap: 12px;
  align-items: end;
}

.field-row--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.register-page .field-row--two .field--no-label {
  padding-top: calc(var(--type-text-sm-line) + 4px);
}

.personal-details-page .field-row--two .field--no-label,
.profile-view-modal .field-row--two .field--no-label {
  padding-top: calc(var(--type-text-sm-line) + 4px);
}

.field-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-row--birth {
  margin-bottom: -8px;
}

.field-row__error {
  display: flex;
  margin-top: -4px;
  margin-bottom: 4px;
}

.field-with-note {
  display: grid;
  gap: 8px;
}

.field-with-note p {
  color: var(--text);
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-xs-spacing);
}

.field-with-note a {
  color: var(--pink);
  text-decoration: none;
}

.profile-edit__actions {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.profile-view-modal {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: white;
  box-shadow: 0 20px 24px -4px rgba(10, 13, 18, .08), 0 8px 8px -4px rgba(10, 13, 18, .03), 0 3px 3px -1.5px rgba(10, 13, 18, .04);
}

.profile-view-modal::backdrop {
  background: rgba(0, 0, 0, .25);
  opacity: .9;
}

.profile-view-modal__form {
  display: flex;
  max-height: calc(100dvh - 32px);
  flex-direction: column;
}

.profile-view-modal__header {
  position: relative;
  display: flex;
  min-height: 76px;
  padding: 20px 64px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.profile-view-modal__header h2 {
  color: var(--text);
  font-size: 20px;
  line-height: 25px;
  font-weight: var(--font-weight-bold);
  letter-spacing: .15px;
  text-align: center;
}

.profile-view-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 8px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #808080;
  cursor: pointer;
}

.profile-view-modal__close:hover {
  background: #f5f5f5;
}

.profile-view-modal__close svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.profile-view-modal__body {
  display: grid;
  gap: 28px;
  padding: 24px;
  overflow: auto;
}

.profile-view-modal__body .profile-edit__avatar-wrap {
  margin-inline: 0;
  justify-self: center;
}

.profile-view-modal__actions {
  display: flex;
  padding: 16px 24px 24px;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.profile-view-modal__actions .button {
  min-width: 112px;
}

.profile-about-modal .field textarea {
  min-height: 180px;
}

.profile-about-modal__location {
  display: grid;
  gap: 24px;
}

.profile-about-modal__location h3 {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 26px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .15px;
}

.profile-about-location-field {
  gap: 4px;
}

.profile-about-location-field>span:first-child {
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .15px;
}

.profile-about-location-field__control {
  position: relative;
  display: block;
  width: 100%;
}

.profile-about-location-field__control input {
  height: 48px;
  padding: 0 48px 0 16px;
  border-color: #ccc;
  border-radius: 10px;
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--font-weight-regular);
  letter-spacing: .15px;
}

.profile-about-location-field__control img {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
  transform: translateY(-50%);
}

.profile-about-country-field__control {
  position: relative;
  display: block;
}

.profile-about-country-field__control .inline-spinner {
  position: absolute;
  z-index: 2;
  top: calc(50% - 7px);
  right: 16px;
  color: var(--pink);
}

.profile-about-country-field__control .gratitude-custom-select__toggle {
  height: 48px;
  border-color: #ccc;
  border-radius: 10px;
  color: #333;
}

.profile-about-country-field__control .gratitude-custom-select__value {
  font-weight: var(--font-weight-regular);
}

.profile-city-select__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 3px -1.5px rgba(10, 13, 18, .04), 0 8px 8px -4px rgba(10, 13, 18, .03);
  scrollbar-width: thin;
  scrollbar-color: #808080 #f9f9f9;
}

.profile-city-select__menu:not([hidden]) {
  display: grid;
}

.profile-city-select__menu::-webkit-scrollbar {
  width: 14px;
}

.profile-city-select__menu::-webkit-scrollbar-track {
  border-left: 1px solid #dedede;
  background: #f9f9f9;
}

.profile-city-select__menu::-webkit-scrollbar-thumb {
  border: 4px solid #f9f9f9;
  border-radius: 8px;
  background: #808080;
}

.profile-city-select__option {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #f2f2f2;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--font-weight-regular);
  letter-spacing: .15px;
  text-align: left;
  cursor: pointer;
}

.profile-city-select__option:last-child {
  border-bottom: 0;
}

.profile-city-select__option:hover {
  background: #fafafa;
}

.profile-city-select__option.is-match {
  background: var(--pink-soft);
  color: var(--pink);
  font-weight: var(--font-weight-semibold);
}

.profile-about-hobby-select {
  position: relative;
  display: grid;
  gap: 8px;
}

.profile-about-hobby-select__trigger {
  display: flex;
  width: 100%;
  min-height: 56px;
  padding: 8px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.profile-about-hobby-select.is-open .profile-about-hobby-select__trigger {
  border-color: #ccc;
}

.profile-about-hobby-select__chips {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.profile-about-hobby-select__placeholder {
  color: #808080;
  font-size: 14px;
  line-height: 22px;
}

.profile-about-hobby-select__trigger .profile-about-hobby-select__placeholder {
  color: #808080;
  font-weight: var(--font-weight-regular);
}

.profile-about-hobby-select__chip {
  display: inline-flex;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 60px;
  background: #fdf2f7;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .15px;
}

.profile-about-hobby-select__trigger .profile-about-hobby-select__chip {
  color: #c63c76;
  font-weight: var(--font-weight-medium);
}

.profile-about-hobby-select__chip img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.profile-about-hobby-select__arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  transition: transform .2s ease;
}

.profile-about-hobby-select:not(.is-open) .profile-about-hobby-select__arrow {
  transform: rotate(180deg);
}

.profile-about-hobby-select__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  width: 100%;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 3px -1.5px rgba(10, 13, 18, .04), 0 8px 8px -4px rgba(10, 13, 18, .03);
  scrollbar-width: thin;
  scrollbar-color: #808080 #f9f9f9;
}

.profile-about-hobby-select.is-open .profile-about-hobby-select__menu {
  display: grid;
}

.profile-about-hobby-select__add {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid #dedede;
}

.profile-about-hobby-select__add input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--font-weight-regular);
}

.profile-about-hobby-select__add input:focus {
  outline: none;
  border-color: var(--pink);
}

.profile-about-hobby-select__add button {
  display: flex;
  flex: 0 0 auto;
  height: 40px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pink);
  border-radius: 8px;
  background: #fff;
  color: var(--pink);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}

.profile-about-hobby-select__add button:hover {
  background: #fdf2f7;
}

.profile-about-hobby-select__menu::-webkit-scrollbar {
  width: 14px;
}

.profile-about-hobby-select__menu::-webkit-scrollbar-track {
  border-left: 1px solid #dedede;
  background: #f9f9f9;
}

.profile-about-hobby-select__menu::-webkit-scrollbar-thumb {
  border: 4px solid #f9f9f9;
  border-radius: 8px;
  background: #808080;
}

.profile-about-hobby-select__option {
  display: flex;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  align-items: center;
  gap: 32px;
  border: 0;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 16px;
  line-height: 26px;
  font-weight: var(--font-weight-regular);
  letter-spacing: .15px;
  text-align: left;
  cursor: pointer;
}

.profile-about-hobby-select__option:hover,
.profile-about-hobby-select__option.is-hovered {
  background: #fafafa;
}

.profile-about-hobby-select__option.is-selected,
.profile-about-hobby-select__option:has(input:checked) {
  background: #fdf2f7;
  color: #333;
}

.profile-about-hobby-select__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.profile-about-hobby-select__option-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url("../images/icon-sort-checkbox-empty.svg") center / contain no-repeat;
}

.profile-about-hobby-select__option input:checked+.profile-about-hobby-select__option-icon {
  background-image: url("../images/icon-sort-checkbox-checked.svg");
}

.profile-about-hobby-select__pending {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: normal;
  white-space: nowrap;
}

.personal-details-page .profile-edit__success {
  margin: 16px 0 4px;
  padding: 12px 16px;
  border: 1px solid #a7d8c2;
  border-radius: 10px;
  background: #eaf8f1;
  color: var(--green);
  font-weight: var(--font-weight-semibold);
}

.security-form__actions {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.change-password-page .security-form__success {
  margin: -16px 0 -16px;
  padding: 12px 16px;
  border: 1px solid #a7d8c2;
  border-radius: 10px;
  background: #eaf8f1;
  color: var(--green);
  font-weight: var(--font-weight-semibold);
}

.delete-flow__actions {
  display: grid;
  gap: 16px;
}

.policy-page__content {
  display: grid;
  margin-top: 36px;
  gap: 28px;
}

.policy-page h1 {
  color: var(--text);
  font-size: var(--type-display-md-size);
  line-height: var(--type-display-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-display-md-spacing);
}

/* Legal pages (privacy, terms, safety & wellbeing): compact document text that
   matches the design. Lines stack tightly, headings are plain text in the same
   size as the body, and a blank line separates sections. */
.policy-page__text {
  display: block;
  color: #4d4d4d;
  font-size: var(--type-text-md-size);
  line-height: 24px;
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-md-spacing);
}

.policy-page__text p,
.policy-page__text li,
.policy-page__text dd,
.policy-page__text dt,
.policy-page__text h2,
.policy-page__text h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.policy-page__text h2 {
  margin-top: 24px;
}

.policy-page__text ul {
  margin: 0;
  padding-left: 22px;
  list-style: disc;
}

.policy-page__text strong {
  font-weight: inherit;
}

.policy-page__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.policy-page__meta {
  margin: 0;
}

.policy-page__meta div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.policy-page__meta dt::after {
  content: ":";
}

.policy-page__text address {
  font-style: normal;
}

.wellness-page {
  display: grid;
  gap: 0;
}

.wellness-page__hero {
  display: grid;
  gap: 11px;
  margin-top: 36px;
  margin-bottom: 40px;
}

.wellness-page h1 {
  color: var(--text);
  font-size: var(--type-display-md-size);
  line-height: var(--type-display-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-display-md-spacing);
}

.wellness-page__hero p {
  color: var(--muted);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--type-text-md-spacing);
}

.wellness-contact {
  display: flex;
  margin-bottom: 80px;
  gap: 33px;
  align-items: flex-start;
}

.wellness-contact__item {
  display: grid;
  width: 148px;
  gap: 12px;
}

.wellness-contact__icon {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 14px;
  place-items: center;
  border-radius: 12px;
  background: #fdf2f7;
}

.wellness-contact__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.wellness-contact__item h2 {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-sm-spacing);
}

.wellness-contact__item a {
  color: var(--muted);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-sm-spacing);
  text-decoration: none;
}

.wellness-form {
  display: grid;
  gap: 28px;
}

.wellness-form>h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--type-display-sm-size);
  line-height: var(--type-display-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-display-md-spacing);
}

.wellness-form__fields {
  display: grid;
  gap: 9px;
}

.wellness-form .field input {
  height: 48px;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
}

.wellness-form .field textarea {
  min-height: 240px;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
}

.video-feed {
  display: grid;
  padding: 24px;
  gap: 24px;
}

.video-feed__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-feed__back {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.video-feed__back svg {
  width: 12px;
  height: 20px;
}

.video-feed h1 {
  color: var(--text);
  font-size: var(--type-display-xs-size);
  line-height: var(--type-display-xs-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-display-xs-spacing);
}

.video-card {
  display: grid;
  gap: 16px;
}

.video-card+.video-card {
  padding-top: 8px;
}

.video-card__author {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.video-card__author img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}

.video-card__author div {
  min-width: 0;
}

.video-card__author strong {
  display: block;
  color: var(--text);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-text-md-spacing);
}

.video-card__author p {
  color: var(--muted);
  font-size: var(--type-text-sm-size);
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-card__author time {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-xs-spacing);
}

.video-card__copy {
  color: #1a1a1a;
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  letter-spacing: var(--type-text-md-spacing);
}

.video-player-frame {
  overflow: hidden;
  background: #111;
}

.video-player-frame>img {
  display: block;
  width: 100%;
  height: 221px;
  object-fit: cover;
}

.video-player-frame__bar {
  display: flex;
  height: 36px;
  padding: 0 14px;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: white;
}

.video-player-frame__bar button {
  display: grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
}

.video-player-frame__bar button img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.video-player-frame__bar button span {
  color: white;
  font-size: 15px;
  line-height: 1;
}

.video-player-frame__progress {
  position: relative;
  height: 3px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
}

.video-player-frame__progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 36%;
  border-radius: inherit;
  background: white;
}

.video-player-frame__bar small {
  font-size: 10px;
  white-space: nowrap;
}

.video-player-frame__icons {
  font-size: 14px;
  white-space: nowrap;
}

.video-view-page .video-player-frame--functional {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-view-page .video-player-frame--functional iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-view-page .video-player-frame--functional>.plyr {
  width: 100%;
  height: 100%;
  max-width: 100%;
  --plyr-color-main: #eb3f8d;
}

.video-view-page .video-player-frame--functional .plyr__video-wrapper {
  width: 100%;
  height: 100%;
}

.video-view-page .video-player-frame--functional .plyr__video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.video-view-page .video-player-frame--functional .plyr__poster {
  background-size: cover;
  background-position: center;
}

.login-page {
  background: var(--white);
}

.login-shell {
  min-height: 952px;
  background: var(--white);
}

.login-layout {
  position: relative;
  display: grid;
  min-height: 952px;
  grid-template-columns: 1fr 1fr;
}

.login-layout__visual {
  position: relative;
  min-height: 952px;
  background: var(--white);
}

.login-layout__logo {
  position: absolute;
  z-index: 4;
  top: 28px;
  left: clamp(32px, 12.5vw, 240px);
  display: grid;
  width: 117px;
  height: 60px;
  place-items: center;
}

.login-layout__logo img {
  width: 117px;
  height: 60px;
  object-fit: contain;
}

.login-layout__form-panel {
  display: flex;
  min-height: 952px;
  padding: 120px 48px;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--pink);
  background: var(--white);
}

.login-form {
  display: grid;
  width: min(540px, 100%);
  gap: 70px;
}

.login-form__intro {
  display: grid;
  gap: 11px;
}

.login-form__intro h1 {
  color: var(--text);
  font-size: var(--type-display-md-size);
  line-height: var(--type-display-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-display-md-spacing);
}

.login-form__intro p {
  color: var(--muted);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-md-spacing);
}

.login-form__status {
  margin: -42px 0 -28px;
  padding: 12px 16px;
  border: 1px solid #a7d8c2;
  border-radius: 10px;
  background: #eaf8f1;
  color: var(--green);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
}

.login-form__main {
  display: grid;
  gap: 40px;
}

.login-form__fields {
  display: grid;
  gap: 16px;
}

.login-field {
  position: relative;
}

.login-form .field--no-label>span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.login-password-field {
  position: relative;
}

.login-password-field input {
  padding-right: 52px;
}

.login-password-field button {
  position: absolute;
  top: 18px;
  right: 16px;
  display: grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.login-password-field button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.security-form .login-password-field button {
  top: 40px;
}

.login-form__actions {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.login-form__actions a {
  color: var(--text);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--type-text-md-spacing);
  text-align: center;
  text-decoration: none;
}

.login-form__create {
  text-decoration: none;
}

.admin-login-page {
  min-height: 100vh;
  background: var(--white);
}

.admin-login-shell {
  min-height: 100vh;
  background: var(--white);
}

.admin-login-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--white);
}

.admin-login-marketing {
  position: relative;
  min-height: 100vh;
  overflow: visible;
  padding: 30px;
  background: linear-gradient(180deg, #E9468B 21.24%, #F187B4 132.54%);
  color: var(--white);
}

.admin-login-marketing__logo {
  display: inline-flex;
  width: 189px;
  height: 95px;
  align-items: center;
  justify-content: center;
}

.admin-login-marketing__logo img {
  width: 134px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.admin-login-marketing__content {
  display: grid;
  width: min(526px, 100%);
  gap: 44px;
  margin: clamp(56px, 10.6vw, 110px) auto 0;
}

.admin-login-marketing__copy {
  display: grid;
  gap: 8px;
}

.admin-login-marketing__copy h1 {
  color: var(--white);
  font-size: var(--type-display-md-size);
  line-height: var(--type-display-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-display-md-spacing);
}

.admin-login-marketing__copy p,
.admin-login-marketing__help {
  color: #fafafa;
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-md-spacing);
}

.admin-login-marketing__help {
  text-align: center;
}

.admin-login-marketing__help strong {
  font-weight: var(--font-weight-semibold);
}

.admin-login-preview {
  position: relative;
  width: 100%;
  height: 418px;
}

.admin-login-preview__item {
  position: absolute;
  display: block;
  overflow: visible;
  object-fit: cover;
  border: 4px solid #e9e9e9;
  border-radius: 8px;
}

.admin-login-preview__item--announcement {
  top: 0;
  left: 0;
  width: 71.5%;
  height: 275px;
}

.admin-login-preview__item--dashboard {
  right: 0;
  bottom: 0;
  width: 72%;
  height: 274px;
  box-shadow: 0 5px 28px rgba(0, 0, 0, .14);
}

.admin-login-form-panel {
  display: flex;
  min-height: 100vh;
  padding: 120px 48px;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.admin-login-form {
  width: min(540px, 100%);
}

.admin-login-password-prompt {
  width: min(470px, 100%);
  gap: 36px;
}

.admin-login-form__intro h2 {
  color: var(--text);
  font-size: var(--type-display-sm-size);
  line-height: var(--type-display-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0;
}

.admin-login-password-prompt .login-form__main {
  gap: 54px;
}

.admin-login-password-prompt .login-form__fields {
  gap: 16px;
}

.admin-login-password-prompt .login-form__actions {
  gap: 35px;
  justify-items: stretch;
}

.admin-login-password-prompt .login-form__actions .button {
  min-height: 52px;
}

.admin-login-form__forgot {
  justify-self: end;
  color: var(--pink);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: .25px;
  text-decoration: none;
}

.admin-login-password-field.is-error input {
  border-color: #ec1235;
  color: #ec1235;
}

.admin-login-password-field.is-error input::placeholder {
  color: #ec1235;
}

.admin-login-password-field .login-field__error {
  margin-top: 4px;
  gap: 8px;
  color: #ec1235;
}

.admin-login-password-field .login-field__error i {
  width: 18px;
  height: 18px;
  border-color: #ec1235;
}

.admin-login-password-field .login-field__error i::before,
.admin-login-password-field .login-field__error i::after {
  background: #ec1235;
}

.admin-login-password-field .login-field__error span {
  color: #ec1235;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
}

.register-page {
  background: var(--white);
}

.register-shell {
  display: grid;
  min-height: calc(100vh - 70px);
  padding: 80px 24px 96px;
  place-items: start center;
  background: var(--white);
}

.register-card {
  display: grid;
  width: min(470px, 100%);
  gap: 36px;
}

.register-card__back {
  width: 24px;
  height: 24px;
}

.register-card__back svg {
  width: 24px;
  height: 24px;
}

.register-card__intro {
  display: grid;
  gap: 11px;
}

.register-card__intro h1 {
  color: var(--text);
  font-size: var(--type-display-md-size);
  line-height: var(--type-display-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-display-md-spacing);
}

.register-card__intro p {
  max-width: 100%;
  color: var(--muted);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-md-spacing);
}

.register-form {
  display: grid;
  gap: 28px;
}

.register-form__fields {
  display: grid;
  gap: 16px;
}

.register-form .field--no-label>span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.field select {
  width: 100%;
  height: 56px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  appearance: none;
  background-color: var(--white);
  background-image: url("../images/icon-dropdown.svg");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 12px 7px;
  color: #808080;
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-md-spacing);
}

.field select:focus {
  border-color: var(--pink);
  outline: 3px solid rgba(233, 70, 139, .14);
}

.register-email-note p {
  color: var(--text);
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-xs-spacing);
}

.register-password-field {
  position: relative;
}

.register-password-field input {
  padding-right: 52px;
}

.register-password-field button {
  position: absolute;
  right: 16px;
  top: 42px;
  display: grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.register-password-field button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.register-consent {
  display: flex;
  gap: 11px;
  align-items: center;
}

.register-consent input {
  width: 24px;
  height: 24px;
  margin: 0;
  flex: 0 0 24px;
  accent-color: var(--pink);
  cursor: pointer;
}

.register-consent span {
  color: var(--text);
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-xs-spacing);
}

.register-page .register-consent.is-error input {
  outline: 2px solid #cf142d;
  outline-offset: 2px;
}

.register-page .register-consent__error {
  display: flex;
  margin-top: -12px;
}

.register-form__actions {
  display: grid;
  gap: 16px;
}

.register-form__actions a {
  text-decoration: none;
}

.login-collage {
  position: absolute;
  top: 177px;
  left: 50%;
  width: 460px;
  height: 682px;
  transform: translateX(-50%);
}

.login-collage img {
  position: absolute;
  display: block;
  object-fit: cover;
}

.login-collage__portrait {
  top: 0;
  right: 0;
  width: 284px;
  height: 377px;
  border: 1px solid #ccdde7;
  border-radius: 24px;
}

.login-collage__group {
  top: 137px;
  left: 0;
  width: 277px;
  height: 273px;
  border-radius: 24px;
}

.login-collage__landscape {
  top: 329px;
  left: 92px;
  width: 242px;
  height: 353px;
  border-radius: 24px;
}

.login-collage__avatar {
  top: 373px;
  right: 17px;
  width: 222px;
  height: 222px;
  border-radius: 50%;
}

.login-collage__like {
  top: 398px;
  right: 0;
  width: 40px;
  height: 40px;
  transform: rotate(-20.16deg);
  object-fit: contain;
}

.login-collage__comment {
  top: 431px;
  left: 34px;
  width: 34px;
  height: 34px;
  transform: rotate(-26.67deg);
  object-fit: contain;
}

.security-form__forgot {
  color: var(--text);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--type-text-md-spacing);
  text-align: center;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 52px;
  width: 100%;
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  font-size: var(--type-button-md-size);
  line-height: var(--type-button-md-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--type-button-spacing);
  cursor: pointer;
}

.button--primary {
  border: 1px solid var(--pink);
  background: var(--pink);
  color: var(--white);
}

.button--outline {
  border: 1px solid var(--pink);
  background: var(--white);
  color: var(--pink);
  font-size: var(--type-button-lg-size);
  line-height: var(--type-button-lg-line);
}

.site-footer {
  min-height: 70px;
  border-top: 1px solid #f5d0d5;
  background: white;
}

.site-footer .container {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 80px;
  color: #4d4d4d;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  min-height: 34px;
  padding: 7px 16px;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .25px;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  border: 1px solid var(--pink);
  background: var(--pink);
  color: white;
}

.btn--ghost {
  border: 1px solid var(--pink);
  background: white;
  color: var(--pink);
}

.gratitude-wall-page .nav-icon[aria-label="Home"] {
  color: #4d4d4d;
}

.gratitude-wall-page .nav-icon[aria-label="Home"] img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(0%) saturate(0%) hue-rotate(179deg) brightness(90%) contrast(87%);
}

.gratitude-wall-page .nav-icon[aria-label="Home"]::after {
  content: none;
}

.gratitude-wall-page .nav-icon--tree {
  color: var(--pink);
}

.gratitude-wall-page .nav-icon--tree img {
  filter: brightness(0) saturate(100%) invert(43%) sepia(86%) saturate(1747%) hue-rotate(302deg) brightness(96%) contrast(90%);
}

.gratitude-wall-page .nav-icon--tree::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.5px;
  background: var(--pink);
  content: "";
}

.gratitude-wall {
  display: grid;
  padding: 28px 24px 48px;
  grid-template-columns: minmax(0, 955px) minmax(360px, 469px);
  gap: 16px;
}

.gratitude-wall__main,
.gratitude-wall__sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.gratitude-hero {
  position: relative;
  min-height: 600px;
  padding: 70px 43px;
  border-radius: 28px;
}

.gratitude-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.gratitude-hero__copy,
.gratitude-hero__stats {
  position: relative;
  z-index: 1;
}

.gratitude-hero__copy {
  display: grid;
  width: min(542px, 100%);
  gap: 16px;
}

.gratitude-hero h1 {
  font-size: var(--type-display-lg-size);
  line-height: var(--type-display-lg-line);
  letter-spacing: var(--type-display-lg-spacing);
}

.gratitude-hero p {
  color: #333;
  font-size: var(--type-text-lg-size);
  line-height: var(--type-text-lg-line);
}

.gratitude-hero__stats {
  display: grid;
  width: 300px;
  margin-top: 16px;
  gap: 16px;
}

.gratitude-stat {
  display: flex;
  min-height: 98px;
  padding: 24px;
  align-items: center;
  gap: 12px;
  border: 1px solid #ccc;
  border-radius: 16px;
  background: white;
}

.gratitude-stat__icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  flex: 0 0 56px;
  border-radius: 50%;
  background: #f7c6ef;
}

.gratitude-stat__icon--blue {
  background: #a6dcfb;
}

.gratitude-stat__icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.gratitude-stat strong {
  display: block;
  color: #333;
  font-size: 24px;
  line-height: 30px;
}

.gratitude-stat span:not(.gratitude-stat__icon) {
  display: block;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.gratitude-form {
  display: grid;
  min-height: 467px;
  padding: 30px 43px 33px;
  gap: 24px;
  overflow: visible;
  border-color: var(--line);
  border-radius: 28px;
}

.gratitude-form h2,
.gratitude-progress h2,
.recent-gratitude h2 {
  font-size: 24px;
  line-height: 30px;
}

.gratitude-field {
  display: grid;
  gap: 4px;
}

.gratitude-field--textarea {
  position: relative;
}

.gratitude-field textarea,
.gratitude-field select,
.recent-gratitude__tools input,
.recent-gratitude__tools select {
  width: 100%;
  border: 1px solid #ccc;
  background: white;
  color: #333;
  outline: 0;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .15px;
}

.gratitude-field textarea {
  min-height: 140px;
  padding: 15px 22px 34px;
  resize: vertical;
  border-radius: 16px;
}

.gratitude-field textarea::placeholder,
.gratitude-field select,
.recent-gratitude__tools input::placeholder,
.recent-gratitude__tools select {
  color: #808080;
}

.gratitude-field small {
  position: absolute;
  right: 22px;
  bottom: 15px;
  color: #808080;
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
}

.gratitude-field--select span {
  color: #333;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .15px;
}

.gratitude-field select {
  height: 40px;
  padding: 10px 48px 10px 16px;
  border-radius: 8px;
  appearance: none;
  background-image: url("../images/icon-gratitude-select-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px 20px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}

.has-custom-select {
  position: relative;
  overflow: visible;
}

.gratitude-native-select {
  display: none;
}

.gratitude-custom-select {
  position: relative;
  width: 100%;
  z-index: 1;
}

.gratitude-custom-select.is-open {
  z-index: 60;
}

.gratitude-custom-select__toggle {
  display: flex;
  width: 100%;
  height: 48px;
  padding: 0 12px 0 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #999;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: .15px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(10, 13, 18, .05);
}

.gratitude-custom-select__toggle:focus,
.gratitude-custom-select.is-open .gratitude-custom-select__toggle {
  border-color: var(--pink);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(233, 70, 139, .12);
}

.gratitude-custom-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gratitude-custom-select__toggle img {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.gratitude-custom-select__menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: min(100%, 152px);
  max-height: min(288px, calc(100dvh - 32px));
  padding: 0;
  overflow-y: auto;
  border: 1px solid #e9eaeb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.gratitude-custom-select__menu::-webkit-scrollbar {
  width: 6px;
}

.gratitude-custom-select__menu::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(21, 21, 21, .15);
}

.gratitude-custom-select.is-open .gratitude-custom-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gratitude-custom-select__menu button {
  display: flex;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  border: 0;
  background: #fff;
  color: #333;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.gratitude-custom-select__menu button:hover,
.gratitude-custom-select__menu button.is-selected {
  background: #fef8f9;
}

.gratitude-custom-select.is-open .gratitude-custom-select__menu {
  width: 100%;
}

.recent-gratitude__tools select {
  height: 48px;
  padding: 0 44px 0 16px;
  border-radius: 8px;
  appearance: none;
  background-image: url("../images/icon-gratitude-sort-down.svg");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 24px 24px;
  color: #999;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}

.gratitude-form__privacy {
  display: flex;
  gap: 36px;
  align-items: center;
}

.gratitude-form__privacy label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4d4d4d;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.gratitude-form__privacy input {
  width: 16px;
  height: 16px;
  accent-color: var(--pink);
}

.gratitude-form__actions {
  display: flex;
  align-self: end;
  justify-content: flex-end;
  gap: 16px;
}

.gratitude-progress,
.recent-gratitude {
  padding: 24px;
  border-radius: 28px;
}

.gratitude-progress {
  min-height: 175px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.gratitude-progress__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 35px;
  gap: 11px;
  align-items: center;
}

.gratitude-progress__track {
  height: 16px;
  overflow: hidden;
  border-radius: 30px;
  background: #fafafa;
}

.gratitude-progress__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #00833e;
}

.gratitude-progress strong,
.gratitude-progress p {
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.recent-gratitude {
  display: grid;
  gap: 30px;
  padding: 28px 24px 14px;
  border-color: #ccc;
}

.recent-gratitude__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.recent-gratitude__header a {
  color: #5b90b0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .4px;
  text-decoration: underline;
  text-underline-position: from-font;
}

.recent-gratitude__tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 95px;
  gap: 8px;
  align-items: end;
}

.recent-gratitude__tools label {
  display: grid;
  gap: 6px;
}

.recent-gratitude__tools label>span:not(.sr-only) {
  color: #333;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.recent-gratitude__tools input {
  height: 48px;
  padding: 0 48px 0 16px;
  border-radius: 8px;
  background-image: url("../images/icon-search.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px 20px;
}

.recent-gratitude__sort {
  position: relative;
  align-self: end;
}

.recent-gratitude__sort-trigger {
  display: flex;
  width: 95px;
  height: 48px;
  padding: 0 8px 0 16px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: #999;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.recent-gratitude__sort-trigger img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.recent-gratitude__sort-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: none;
  width: 236px;
  padding: 8px 10px;
  flex-direction: column;
  gap: 16px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px 2px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .3);
}

.recent-gratitude__sort.is-open .recent-gratitude__sort-popover {
  display: flex;
}

.recent-gratitude__sort-popover h3 {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .15px;
}

.recent-gratitude__sort-options {
  display: grid;
  width: 100%;
}

.recent-gratitude__sort-options button {
  display: flex;
  width: 100%;
  height: 40px;
  padding: 0 16px;
  align-items: center;
  gap: 16px;
  border: 0;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.recent-gratitude__sort-options button.is-selected,
.recent-gratitude__sort-options button:hover {
  background: #fafafa;
  font-weight: 600;
  letter-spacing: .15px;
}

.recent-gratitude__sort-options button img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.recent-gratitude__sort-actions {
  display: flex;
  width: 100%;
  gap: 4px;
}

.recent-gratitude__sort-actions button {
  display: flex;
  min-width: 0;
  min-height: 34px;
  padding: 8px 16px;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.recent-gratitude__sort-clear {
  border: 1px solid #e9468b;
  background: #fff;
  color: #e9468b;
}

.recent-gratitude__sort-save {
  border: 1px solid #e9468b;
  background: #e9468b;
  color: #fff;
}

.recent-gratitude__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.recent-gratitude__chips button,
.gratitude-chip {
  display: inline-flex;
  height: 22px;
  padding: 6px 10px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 60px;
  background: #edf3f7;
  color: #666;
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
  cursor: pointer;
}

.recent-gratitude__chips button.is-active {
  background: #1a1a1a;
  color: white;
}

.recent-gratitude__list {
  display: grid;
  gap: 16px;
  max-height: 605px;
  overflow: auto;
  padding-right: 4px;
}

.gratitude-note {
  display: flex;
  padding: 24px;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  cursor: pointer;
}

.gratitude-note:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.gratitude-note__avatar {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  flex: 0 0 72px;
  border-radius: 50%;
  background: #e3f7d6;
}

.gratitude-note__avatar--pink {
  background: #f9bff1;
}

.gratitude-note__avatar--blue {
  background: #a6dcfb;
}

.gratitude-note__avatar--kindness {
  background: #f8dfe2;
}

.gratitude-note__avatar>img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.gratitude-note__body {
  display: grid;
  min-width: 0;
  flex: 1;
  align-content: start;
  grid-template-rows: auto auto auto;
  gap: 14px;
}

.gratitude-note__top {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
}

.gratitude-note__top p {
  max-width: 216px;
  margin: 0;
  color: #000;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
}

.post__comments-submit {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #0087d9;
  cursor: pointer;
}

.post__comments-submit svg {
  display: none;
}

.post__comments-submit img {
  display: none;
}

.post__comments-submit::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  background: url('/assets/images/icon-paper-plane.svg') center / contain no-repeat;
}

.post__comments-submit:disabled {
  cursor: wait;
  opacity: .6;
}

.post__comments-emoji {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 560px) {
  .post__commentform {
    gap: 6px;
    padding-right: 12px;
    padding-left: 12px;
  }
}

.post__comment-form {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px 40px;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
}

.post__comment-form>img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.post__comment-form input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 90px;
  background: #fff;
  color: #333;
}

.post__comment-form button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pink);
  cursor: pointer;
}

.post__comment-form button:first-of-type {
  font-size: 0;
  background: transparent url('/assets/images/icon-paper-plane.svg') center / 32px 32px no-repeat;
}

.post__comment-form button:last-child {
  font-size: 0;
  background: transparent url('/assets/images/icon-smiley-large.svg') center / 40px 40px no-repeat;
}

.comment-emoji-picker {
  position: absolute;
  right: 0;
  bottom: 44px;
  z-index: 10;
  display: grid;
  width: 220px;
  max-height: 190px;
  padding: 10px;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.comment-emoji-picker button {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.comment-emoji-picker button:hover,
.comment-emoji-picker button:focus-visible {
  background: #fff0f6;
  outline: 2px solid var(--pink);
  outline-offset: -1px;
}

.gratitude-chip {
  flex: 0 0 auto;
  cursor: default;
}

.gratitude-chip--new {
  display: flex;
  height: 22px;
  padding: 6px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 60px;
  background: #d8d3ff;
  color: #1e02f7;
  font-size: 10px;
}

.gratitude-chip--wellness {
  display: flex;
  height: 22px;
  padding: 6px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 60px;
  background: #edf6f1;
  color: #006f35;
  font-size: 10px;
}

.gratitude-chip--happiness {
  display: flex;
  height: 22px;
  padding: 6px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 60px;
  background: #fff4e6;
  color: #e07d03;
  font-size: 10px;
}

.gratitude-chip--kindness {
  display: flex;
  height: 22px;
  padding: 6px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 60px;
  background: rgba(247, 2, 71, .2);
  color: #f70247;
  font-size: 10px;
}

.gratitude-note__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .25px;
}

.gratitude-note__meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.gratitude-note__meta img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.gratitude-note__actions {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 25px;
  margin-top: 0;
}

.gratitude-note__actions>span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.gratitude-note__icon {
  position: relative;
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
}

.gratitude-note__icon--heart {
  background: #fdf2f7;
}

.gratitude-note__icon--care {
  background: #edf3f7;
}

.gratitude-note__icon::before {
  font-size: 13px;
  line-height: 1;
}

.gratitude-note__icon--heart::before {
  width: 16px;
  height: 16px;
  background: url("../images/icon-gratitude-note-like-outline.svg") center / contain no-repeat;
  content: "";
}

.gratitude-note__reaction.is-active .gratitude-note__icon--heart::before {
  background-image: url("../images/icon-gratitude-note-like-filled.svg");
}

.gratitude-note__icon--care::before {
  width: 16px;
  height: 16px;
  background: url("../images/icon-gratitude-care.svg") center / contain no-repeat;
  content: "";
}

.gratitude-note__actions button {
  grid-column: 4;
  justify-self: end;
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gratitude-note__actions button img,
.gratitude-note__actions svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: #666;
}

.all-gratitude-page {
  background: #fafafa;
}

[data-functional-gratitude] .gratitude-form__error {
  position: static;
  right: auto;
  bottom: auto;
  color: #c62828;
  font-size: 12px;
  line-height: 16px;
}

[data-functional-gratitude] .recent-gratitude__chips button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

[data-functional-gratitude] .gratitude-note__meta a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: inherit;
  text-decoration: none;
}

[data-functional-gratitude] .gratitude-note__reaction {
  display: inline-flex;
  width: auto;
  height: auto;
  padding: 0;
  align-items: center;
  justify-self: start;
  grid-column: auto;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #666;
  font: inherit;
  cursor: pointer;
}

[data-functional-gratitude] .gratitude-note__reaction.is-active {
  color: var(--pink);
}

[data-functional-gratitude] .gratitude-note__reaction:disabled,
[data-functional-gratitude] .gratitude-note__actions>button:disabled {
  cursor: wait;
  opacity: .6;
}

[data-functional-gratitude] .gratitude-note__actions>button.is-active img {
  filter: invert(47%) sepia(75%) saturate(2184%) hue-rotate(302deg) brightness(96%) contrast(88%);
}

[data-functional-gratitude] .gratitude-wall__empty {
  margin: 0;
  padding: 24px;
  color: #666;
  text-align: center;
}

[data-functional-gratitude] .gratitude-wall__load-more {
  justify-self: center;
  margin-top: -14px;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: var(--pink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

[data-functional-gratitude] .gratitude-wall__load-more:disabled {
  cursor: wait;
  opacity: .6;
}

[data-functional-gratitude-all] .gratitude-add-form__body>label:first-child {
  display: grid;
  gap: 4px;
}

[data-functional-gratitude-all] .gratitude-form__error {
  position: static;
  color: #c62828;
  font-size: 12px;
  line-height: 16px;
}

[data-functional-gratitude-all] .all-gratitude__chips button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

[data-functional-gratitude-all] .all-gratitude__load-more {
  display: block;
  margin: 24px auto 0;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: var(--pink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

[data-functional-gratitude-all] .all-gratitude__load-more:disabled {
  cursor: wait;
  opacity: .6;
}

.all-gratitude {
  padding-top: 28px;
  padding-bottom: 56px;
}

.all-gratitude__header {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.all-gratitude__title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.all-gratitude__back {
  display: grid;
  width: 24px;
  height: 44px;
  place-items: center;
  flex: 0 0 24px;
}

.all-gratitude__back img {
  width: 12px;
  height: 24px;
  object-fit: contain;
}

.all-gratitude__header h1 {
  margin: 0;
  color: #333;
  font-size: 34px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: .25px;
}

.all-gratitude__header p {
  margin-top: 8px;
  color: #333;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: .15px;
}

.all-gratitude__add {
  display: inline-flex;
  min-height: 42px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 60px;
  background: var(--pink);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.gratitude-add-modal {
  width: min(552px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 24px -4px rgba(10, 13, 18, .08), 0 8px 8px -4px rgba(10, 13, 18, .03), 0 3px 3px -1.5px rgba(10, 13, 18, .04);
}

.gratitude-add-modal::backdrop {
  background: rgba(0, 0, 0, .25);
  opacity: .9;
}

.gratitude-add-form {
  display: flex;
  margin: 0;
  flex-direction: column;
  overflow: visible;
}

.gratitude-add-form__header {
  position: relative;
  display: flex;
  min-height: 74px;
  padding: 24px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.gratitude-add-form__header h2 {
  color: #333;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: .15px;
  text-align: center;
}

.gratitude-add-form__close {
  position: absolute;
  top: 15px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 8px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #808080;
  cursor: pointer;
}

.gratitude-add-form__close:hover {
  background: #f5f5f5;
}

.gratitude-add-form__close svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.gratitude-add-form__body {
  display: grid;
  padding: 28px 28px 24px;
  gap: 20px;
  overflow: visible;
}

.gratitude-add-form__body textarea {
  width: 100%;
  height: 164px;
  padding: 16px;
  resize: none;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline-color: var(--pink);
  background: #fff;
  color: #333;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
}

.gratitude-add-form__body textarea::placeholder {
  color: #808080;
  opacity: 1;
}

.gratitude-add-form__category {
  position: relative;
  display: grid;
  gap: 4px;
  overflow: visible;
}

.gratitude-add-form__category span {
  color: #333;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .15px;
}

.gratitude-add-form__category select {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 16px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 13, 18, .05);
  color: #808080;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: .15px;
  cursor: pointer;
}

.gratitude-add-form__category>img {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.gratitude-add-form__privacy {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 40px;
  border: 0;
}

.gratitude-add-form__privacy label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
  cursor: pointer;
}

.gratitude-add-form__privacy input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--pink);
  cursor: pointer;
}

.gratitude-add-form__actions {
  display: flex;
  padding: 24px 28px;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.gratitude-add-form__cancel {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pink);
  border-radius: 60px;
  background: #fff;
  color: var(--pink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.all-gratitude__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 16px;
  align-items: start;
}

.all-gratitude__panel {
  min-width: 0;
  min-height: 760px;
  padding: 27px 24px 30px;
  border: 1px solid #ccc;
  border-radius: 28px;
  background: #fff;
}

.all-gratitude__filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 16px;
  align-items: end;
}

.all-gratitude__topic {
  display: grid;
  gap: 4px;
}

.all-gratitude__topic span {
  color: #333;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .15px;
}

.all-gratitude__topic input,
.all-gratitude__sort>button {
  width: 100%;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: .15px;
}

.all-gratitude__topic input {
  padding: 0 16px;
  outline: 0;
}

.all-gratitude__topic input::placeholder {
  color: #808080;
  opacity: 1;
}

.all-gratitude__sort {
  position: relative;
}

.all-gratitude__sort>button {
  display: flex;
  padding: 0 14px;
  align-items: center;
  justify-content: space-between;
  color: #808080;
  cursor: pointer;
}

.all-gratitude__sort>button img {
  width: 24px;
  height: 24px;
}

.all-gratitude__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.all-gratitude__chips button {
  display: inline-flex;
  min-height: 28px;
  padding: 6px 16px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 60px;
  background: #edf3f7;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.all-gratitude__chips button.is-active {
  background: #1a1a1a;
  color: #fff;
}

.all-gratitude__list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.all-gratitude-note {
  display: flex;
  min-height: 130px;
  padding: 24px;
  gap: 24px;
  border: 1px solid #e9eaeb;
  border-radius: 28px;
  background: #fff;
  cursor: pointer;
}

.all-gratitude-note:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.all-gratitude-note__body {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 10px;
}

.all-gratitude-note__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: start;
}

.all-gratitude-note__top p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #000;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
}

.all-gratitude-note .gratitude-note__meta {
  max-width: 610px;
}

.all-gratitude-note .gratitude-note__actions {
  width: 100%;
  max-width: none;
}

.all-gratitude__sidebar {
  display: grid;
  gap: 16px;
}

.all-gratitude-summary,
.all-gratitude-impact {
  padding: 40px 24px 24px;
  border-radius: 28px;
}

.all-gratitude-summary h2,
.all-gratitude-impact h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: .15px;
}

.all-gratitude-summary__list {
  display: grid;
  gap: 6px;
  margin-top: 24px;
}

.all-gratitude-summary__row {
  display: flex;
  min-height: 40px;
  padding: 8px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 12px;
  color: #666;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: .15px;
}

/* The rows are buttons that filter the notes by category. */
button.all-gratitude-summary__row {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

button.all-gratitude-summary__row:not(.is-active):hover,
button.all-gratitude-summary__row:not(.is-active):focus-visible {
  background: #f5f6f7;
}

.all-gratitude-summary__row.is-active {
  background: #edf6f1;
  color: #006f35;
  font-weight: 600;
}

.all-gratitude-summary__row span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 19px;
}

.all-gratitude-summary__row img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.all-gratitude-summary__row strong {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
}

.all-gratitude-impact {
  display: grid;
  gap: 16px;
}

.all-gratitude-impact div {
  display: grid;
  gap: 0;
}

.all-gratitude-impact strong {
  color: #1a1a1a;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
}

.all-gratitude-impact span {
  color: #808080;
  font-size: 16px;
  line-height: 30px;
  font-weight: 500;
}

.all-gratitude-impact__track {
  height: 16px;
  overflow: hidden;
  border-radius: 30px;
  background: #fafafa;
}

.all-gratitude-impact__track span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: 30px;
  background: #00833e;
}

.all-gratitude-quote {
  min-height: 160px;
  padding: 24px 24px 24px 55px;
  border: 1px solid #edf6f1;
  border-radius: 28px;
  background: #edf6f1;
  color: #1a1a1a;
}

.all-gratitude-quote>span {
  display: block;
  width: 24px;
  height: 24px;
  margin-left: -31px;
}

.all-gratitude-quote>span img {
  display: block;
  width: 24px;
  height: 24px;
}

.all-gratitude-quote p {
  max-width: 205px;
  margin-top: 8px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: .15px;
}

.all-gratitude-quote small {
  display: block;
  margin-top: 3px;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
}

/* Admin dashboard */
.admin-page {
  min-width: 320px;
  background: #f6f6f8;
  color: #1a1a1a;
}

.admin-page img {
  max-width: 100%;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 320px minmax(0, 1fr);
  background: #f6f6f8;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  padding-bottom: 28px;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, .15);
}

.admin-sidebar__logo {
  display: flex;
  height: 90px;
  padding: 16px 140px 16px 30px;
  align-items: center;
}

.admin-sidebar__logo img {
  display: block;
  width: 150px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.admin-sidebar__top {
  min-height: 0;
  overflow-y: auto;
}

.admin-sidebar__nav {
  display: grid;
  gap: 0;
}

.admin-sidebar__bottom {
  display: grid;
  gap: 34px;
}

.admin-sidebar__copyright {
  padding-inline: 36px 24px;
  color: #333;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .15px;
}

.admin-menu-group__title {
  padding: 10px 16px 2px;
  color: #777;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.admin-menu-item {
  display: flex;
  min-height: 52px;
  padding: 12px 16px;
  align-items: center;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: .15px;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}

.admin-menu-item.is-active,
.admin-menu-item:hover {
  background: #e9468b;
  color: #fff;
}

.admin-menu-item__badge {
  min-width: 22px;
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 11px;
  background: #e9468b;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.admin-menu-item.is-active .admin-menu-item__badge,
.admin-menu-item:hover .admin-menu-item__badge {
  background: #fff;
  color: #e9468b;
}

.admin-menu-item__icon {
  position: relative;
  display: grid;
  width: 56px;
  height: 24px;
  padding-right: 32px;
  place-items: center start;
  flex: 0 0 56px;
}

.admin-menu-item__icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(0%) sepia(5%) saturate(4%) hue-rotate(52deg) brightness(98%) contrast(80%);
}

.admin-menu-item.is-active .admin-menu-item__icon img,
.admin-menu-item:hover .admin-menu-item__icon img {
  filter: brightness(0) invert(1);
}

.admin-main {
  min-width: 0;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  height: 80px;
  padding: 13px 40px 13px 28px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9eaeb;
  background: #fff;
}

.admin-search {
  display: flex;
  width: 265px;
  min-height: 44px;
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #ccc;
  border-radius: 90px;
  background: #fff;
}

.admin-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
}

.admin-search input::placeholder {
  color: #4d4d4d;
  opacity: 1;
}

.admin-search img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.admin-account {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-notification-wrap {
  position: relative;
}

.admin-notification {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 8px;
  place-items: center;
  border: 0;
  border-radius: 18px;
  background: #edf3f7;
  cursor: pointer;
}

.admin-notification img {
  width: 16px;
  height: 16px;
}

.admin-notification-dropdown {
  position: absolute;
  z-index: 45;
  top: calc(100% + 18px);
  right: -20px;
  display: flex;
  width: 376px;
  max-width: calc(100vw - 48px);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.admin-notification-wrap.is-open .admin-notification-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.admin-notification-wrap.is-open .admin-notification {
  background: #eaf6ff;
}

.admin-notification-item {
  display: grid;
  width: 100%;
  padding: 20px;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid #e9eaeb;
  text-decoration: none;
  box-sizing: border-box;
}

.admin-notification-item:hover {
  background: #fafafa;
}

.admin-notification-item__icon {
  display: grid;
  width: 20px;
  height: 24px;
  padding-top: 4px;
  place-items: center;
  box-sizing: border-box;
}

.admin-notification-item__icon svg,
.admin-notification-item__icon img {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.admin-notification-item__icon--pink {
  color: #e9468b;
}

.admin-notification-item__icon--blue {
  color: #0087d4;
}

.admin-notification-item__icon--green {
  color: #17b26a;
}

.admin-notification-item__icon--red {
  color: #f04438;
}

.admin-notification-item__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
}

.admin-notification-item__body time {
  margin-top: 12px;
  color: #4d4d4d;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .15px;
}

.admin-notification-dropdown__view {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  color: #1e02f7;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .15px;
  text-decoration: none;
}

.admin-notification-dropdown__view:hover {
  background: #fafafa;
}

.admin-account__button {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
}

.admin-account__avatar {
  width: 40px;
  height: 40px;
  border-radius: 64px;
  object-fit: cover;
}

.admin-account__button span {
  font-size: 14px;
  line-height: 20px;
}

.admin-account__chevron {
  width: 14px;
  height: 8px;
}

.admin-account-dropdown {
  position: absolute;
  z-index: 40;
  top: calc(100% + 20px);
  right: 0;
  display: flex;
  width: 228px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e9eaeb;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.admin-account.is-open .admin-account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.admin-account-dropdown__item {
  display: flex;
  height: 56px;
  padding: 0 22px;
  align-items: center;
  gap: 16px;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
}

.admin-account-dropdown__item.is-active,
.admin-account-dropdown__item:hover {
  background: #fafafa;
}

.admin-account-dropdown__item svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: #888;
}

.admin-account-dropdown__item span {
  min-width: 0;
  flex: 1;
}

.admin-dashboard {
  padding: 32px 40px 28px 28px;
}

.admin-dashboard-view[hidden] {
  display: none !important;
}

.admin-dashboard__heading {
  display: flex;
  margin-bottom: 28px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.admin-dashboard__heading h1 {
  color: #1a1a1a;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -1px;
  font-weight: 700;
}

.admin-dashboard__heading p {
  width: min(570px, 100%);
  margin-top: 6px;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .25px;
}

.admin-announcement-view {
  display: grid;
  gap: 24px;
  align-content: start;
}

.admin-media-view {
  display: grid;
  gap: 24px;
  align-content: start;
}

.admin-wellness-view {
  display: grid;
  gap: 24px;
  align-content: start;
}

.admin-data-monitoring-view {
  display: grid;
  gap: 16px;
  align-content: start;
}

.admin-media__heading {
  margin-bottom: 0;
}

.admin-announcement__heading {
  margin-bottom: 0;
}

.admin-announcement-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 328px;
  gap: 16px;
  align-items: start;
}

.admin-announcement-panel,
.admin-announcement-calendar {
  display: grid;
  padding: 24px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  align-content: start;
}

.admin-announcement-panel {
  min-height: 660px;
}

.admin-announcement-panel h2,
.admin-announcement-calendar h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-announcement-tabs {
  margin-top: 12px;
  gap: 40px;
}

.admin-announcement-list {
  display: grid;
  gap: 16px;
}

.admin-announcement-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 160px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
}

.admin-announcement-card__image {
  width: 100%;
  height: 100%;
  min-height: 160px;
  border-radius: 16px 0 0 16px;
  object-fit: cover;
}

.admin-announcement-card__content {
  display: grid;
  padding: 28px 24px 24px;
  gap: 8px;
  align-content: start;
}

.admin-announcement-card h3 {
  margin: 0;
  color: #333;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-announcement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-announcement-tags span {
  display: inline-flex;
  min-height: 26px;
  padding: 5px 12px;
  align-items: center;
  justify-content: center;
  border-radius: 44px;
  background: #fceff0;
  color: #e9468b;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .25px;
}

.admin-announcement-meta {
  display: grid;
  padding-top: 6px;
  gap: 8px;
}

.admin-announcement-meta p {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 9px;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: -.25px;
}

.admin-announcement-meta img,
.admin-announcement-meta__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
  color: #666;
  font-size: 16px;
  line-height: 16px;
  text-align: center;
}

.admin-announcement-meta__icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.admin-announcement-card__menu-wrap {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
}

.admin-announcement-card__menu-toggle {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 13, 18, .05);
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.admin-announcement-card__menu-toggle span {
  display: block;
  margin-top: -5px;
  color: inherit;
  font-size: 24px;
  line-height: 1;
}

.admin-announcement-card__menu-toggle:hover,
.admin-announcement-card__menu-toggle[aria-expanded="true"],
.admin-announcement-card__menu-toggle:focus-visible {
  background: #fef8f9;
  color: var(--pink);
  outline: 0;
}

.admin-announcement-card__menu {
  position: absolute;
  z-index: 20;
  top: 36px;
  right: 0;
  display: grid;
  min-width: 150px;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 13, 18, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.admin-announcement-card__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.admin-announcement-card__menu button {
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.admin-announcement-card__menu button:hover,
.admin-announcement-card__menu button:focus-visible {
  background: #fff0f6;
  color: var(--pink);
  outline: 0;
}

.admin-page[data-admin-functional-dashboard] .admin-announcement-filter-loading,
.admin-page[data-admin-functional-dashboard] .admin-form-loading,
.admin-page[data-admin-functional-dashboard] .admin-form-success {
  color: #e9468b;
  font-size: 14px;
  line-height: 20px;
}

.admin-page[data-admin-functional-dashboard] .admin-announcement-filter-loading,
.admin-page[data-admin-functional-dashboard] .admin-form-loading {
  margin-top: 12px;
}

.admin-page[data-admin-functional-dashboard] .admin-form-error {
  color: #c62828;
  font-size: 12px;
  line-height: 16px;
}

.admin-page[data-admin-functional-dashboard] .admin-announcement-upload__preview {
  width: 100%;
  max-height: 180px;
  margin-top: 8px;
  border-radius: 12px;
  object-fit: cover;
}

.admin-announcement-pagination {
  margin-top: 32px;
}

.admin-announcement-create-view {
  display: grid;
  gap: 16px;
  align-content: start;
}

.admin-announcement-create-layout {
  display: grid;
  grid-template-columns: minmax(360px, 518px) minmax(360px, 517px);
  gap: 16px;
  align-items: start;
}

.admin-announcement-create-card,
.admin-announcement-drafts {
  display: grid;
  min-height: 835px;
  padding: 24px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  align-content: start;
}

.admin-announcement-create-card h1,
.admin-announcement-drafts h2 {
  margin: 0 0 16px;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-announcement-form {
  display: grid;
  gap: 16px;
  width: 100%;
}

.admin-announcement-form__row {
  display: grid;
  /* Two columns when there is room, stacked when the form is narrow. */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.admin-announcement-form__row .admin-announcement-field {
  min-width: 0;
}

.admin-site-content__image-size {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.admin-site-content__image-size legend {
  padding: 0 8px 0 0;
  font-weight: 600;
}

@media (max-width: 720px) {
  .admin-site-content__image-size {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-announcement-field {
  display: grid;
  gap: 4px;
}

.admin-announcement-field span,
.admin-announcement-topics legend {
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-announcement-upload>span:first-child {
  color: #333;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-announcement-field input,
.admin-announcement-field select,
.admin-announcement-field textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: .15px;
  outline: 0;
  box-sizing: border-box;
}

.admin-announcement-field input,
.admin-announcement-field select {
  height: 56px;
  padding: 16px;
}

.admin-announcement-field select {
  padding-right: 48px;
  appearance: none;
  background-image: url("../images/admin/icon-angle-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px 20px;
  cursor: pointer;
}

.admin-announcement-form__row .admin-announcement-field input:not([type="datetime-local"]) {
  padding-right: 48px;
  background-image: url("../images/admin/icon-select-chevron-gray.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 8px;
}

/* Native date/time pickers bring their own icon, so no chevron or extra padding. */
.admin-announcement-field input[type="datetime-local"] {
  min-width: 0;
  padding-right: 12px;
  font-size: 15px;
}

.admin-announcement-field textarea {
  min-height: 128px;
  padding: 14px 16px;
  resize: vertical;
}

.admin-announcement-field input::placeholder,
.admin-announcement-field textarea::placeholder {
  color: #808080;
}

.admin-site-content-form {
  gap: 32px;
}

.admin-site-content-form [data-content-tab-panel]:not([hidden]) {
  display: grid;
  gap: 32px;
}

.admin-site-content__section h2 {
  margin: 0 0 16px;
  color: #1a1a1a;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-announcement-upload {
  display: grid;
  gap: 4px;
}

.admin-announcement-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.admin-announcement-upload__box {
  display: flex;
  min-height: 72px;
  padding: 16px 16px 16px 20px;
  align-items: center;
  gap: 16px;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.admin-announcement-upload__icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 24px;
}

.admin-announcement-upload__copy {
  display: block;
  min-width: 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.admin-announcement-upload__copy strong {
  color: #333;
  font-weight: 600;
}

.admin-announcement-upload__copy small {
  display: block;
  margin-top: 4px;
  color: #808080;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: -.25px;
}

.admin-announcement-topics {
  display: grid;
  padding: 0;
  margin: 0;
  border: 0;
}

.admin-announcement-topics__selected {
  display: flex;
  min-height: 84px;
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.admin-announcement-topics__selected button {
  display: inline-flex;
  min-height: 28px;
  padding: 6px 16px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 60px;
  background: #edf3f7;
  color: #666;
  font-family: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.admin-announcement-topics__available {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
  padding-bottom: 8px;
}

.admin-announcement-topics__available--divided {
  padding-top: 16px;
  border-top: 1px solid #e9eaeb;
}

.admin-announcement-topics__selected button span {
  display: inline-flex;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(102, 102, 102, .15);
  font-size: 10px;
  line-height: 1;
}

.admin-announcement-topics__available button {
  display: inline-flex;
  min-height: 28px;
  padding: 6px 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9eaeb;
  border-radius: 60px;
  background: #fff;
  color: #666;
  font-family: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.admin-form-hint {
  margin: 0;
  color: #808080;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: .25px;
}

.admin-announcement-form__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.admin-announcement-form__actions .admin-details-button {
  width: 100%;
}

.admin-announcement-drafts__list {
  display: grid;
  gap: 15px;
}

.admin-announcement-draft-card {
  display: grid;
  grid-template-columns: 167px minmax(0, 1fr);
  min-height: 186px;
  overflow: hidden;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
}

button.admin-announcement-draft-card {
  width: 100%;
  padding: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-announcement-draft-card>img {
  width: 100%;
  height: 130px;
  margin-block: auto;
  object-fit: cover;
}

.admin-announcement-draft-card>div {
  display: grid;
  padding: 20px 16px 20px 24px;
  gap: 8px;
  align-content: start;
}

.admin-announcement-draft-card h3 {
  max-width: 184px;
  margin: 0;
  color: #333;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-announcement-draft-card .admin-announcement-tags {
  gap: 6px;
}

.admin-announcement-draft-card .admin-announcement-meta {
  padding-top: 0;
}

.admin-announcement-drafts__pagination {
  align-self: end;
  justify-self: end;
  margin-top: 307px;
}

.admin-announcement-calendar {
  gap: 10px;
}

.admin-calendar-widget {
  display: grid;
  width: 100%;
  margin-top: 6px;
  padding: 20px 16px;
  gap: 12px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 27.8px rgba(0, 0, 0, .08);
}

.admin-calendar-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-calendar-widget__header button {
  display: inline-grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid #e9468b;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.admin-calendar-widget__header button:last-child img {
  transform: rotate(180deg);
}

.admin-calendar-widget__header img {
  width: 16px;
  height: 16px;
}

.admin-calendar-widget__header div {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #4d4d4d;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-calendar-widget__date {
  min-height: 34px;
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #333;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .15px;
}

.admin-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px 0;
}

.admin-calendar-grid strong,
.admin-calendar-grid span,
.admin-calendar-grid button {
  display: grid;
  width: 40px;
  height: 40px;
  margin-inline: auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  font-family: inherit;
}

.admin-calendar-grid button {
  cursor: pointer;
}

.admin-calendar-grid button:hover {
  background: #fef9fc;
  color: #e9468b;
}

.admin-calendar-grid strong {
  color: #666;
  font-weight: 500;
  letter-spacing: .15px;
}

.admin-calendar-grid .is-muted {
  color: #999;
}

.admin-calendar-grid .is-active {
  background: #e9468b;
  color: #fff;
  font-weight: 500;
  letter-spacing: .15px;
}

.admin-calendar-grid .is-soft {
  background: #f7edf3;
  color: #808080;
}

.admin-calendar-event {
  display: grid;
  margin-top: 8px;
  padding: 16px;
  gap: 6px;
  border-left: 4px solid #e9468b;
  border-radius: 0 6px 6px 0;
  background: #fef9fc;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 1px 1.5px rgba(0, 0, 0, .15);
}

.admin-calendar-event h3,
.admin-calendar-event p {
  margin: 0;
  font-size: 14px;
}

.admin-calendar-event h3 {
  color: #1a1a1a;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-calendar-event p {
  color: #808080;
  line-height: 20px;
  font-weight: 400;
}

.admin-calendar-event.is-muted {
  opacity: .72;
}

.admin-add-button {
  display: inline-flex;
  min-width: 132px;
  min-height: 42px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #e9468b;
  border-radius: 60px;
  background: #e9468b;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.admin-add-button span {
  font-size: 18px;
  line-height: 1;
}

.admin-add-menu {
  position: relative;
  display: inline-flex;
}

.admin-add-popover {
  position: absolute;
  z-index: 40;
  top: calc(100% + 16px);
  right: 0;
  display: flex;
  width: 252px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e9eaeb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.admin-add-menu.is-open .admin-add-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.admin-add-popover__item {
  display: flex;
  min-height: 48px;
  padding: 12px 22px;
  align-items: center;
  gap: 16px;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-decoration: none;
}

.admin-add-popover__item--highlight,
.admin-add-popover__item:hover {
  background: #fef8f9;
}

.admin-add-popover__item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.admin-dashboard__grid {
  display: grid;
  grid-template-columns: minmax(360px, 456px) minmax(520px, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-dashboard__left,
.admin-dashboard__right {
  display: grid;
  gap: 16px;
}

.admin-notifications-view {
  display: grid;
  gap: 16px;
}

.admin-details-view,
.admin-change-password-view,
.admin-forgot-password-view,
.admin-password-reset-sent-view,
.admin-user-management-view,
.admin-gratitude-tree-view,
.admin-user-profile-view,
.admin-user-status-view {
  display: grid;
  gap: 16px;
}

.admin-user-management-view {
  align-content: start;
}

.admin-user-management__heading {
  display: grid;
  max-width: 806px;
  gap: 8px;
}

.admin-user-management__heading h1 {
  margin: 0;
  color: #1a1a1a;
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: 0;
}

.admin-user-management__heading p {
  margin: 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.admin-users-panel {
  display: grid;
  min-height: 640px;
  padding: 24px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  align-content: start;
}

.admin-page[data-admin-functional-dashboard] .admin-users-panel {
  position: relative;
}

.admin-page[data-admin-functional-dashboard] .admin-users-filter-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, .78);
  color: #666;
  font-size: 14px;
  pointer-events: all;
}

.admin-page[data-admin-functional-dashboard] .admin-users-filter-loading__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #f6bfd7;
  border-top-color: #e9468b;
  border-radius: 50%;
  animation: admin-users-filter-spin .7s linear infinite;
}

@keyframes admin-users-filter-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-users-tabs {
  display: flex;
  min-height: 48px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e9eaeb;
  gap: 28px;
  align-items: flex-end;
}

.admin-users-tabs button {
  position: relative;
  min-height: 48px;
  padding: 11px 8px 13px;
  border: 0;
  background: transparent;
  color: #808080;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
  cursor: pointer;
}

.admin-users-tabs button.is-active {
  color: #e9468b;
}

.admin-users-tabs button.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #e9468b;
  content: "";
}

.admin-users-toolbar {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-users-search {
  position: relative;
  display: block;
  width: 267px;
}

.admin-users-search input {
  width: 100%;
  height: 48px;
  padding: 14px 48px 14px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  outline: 0;
}

.admin-users-search input::placeholder {
  color: #808080;
}

.admin-users-search img {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}

.admin-users-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-users-actions button {
  display: inline-flex;
  min-height: 48px;
  padding: 13px 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #ccc;
  border-radius: 60px;
  background: #fff;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  cursor: pointer;
}

.admin-users-actions img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.admin-users-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-users-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
}

.admin-users-table th {
  height: 52px;
  padding: 14px 16px;
  background: #eff8ff;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: .15px;
  text-align: left;
  white-space: nowrap;
}

.admin-users-table td {
  height: 52px;
  padding: 10px 16px;
  border-bottom: 1px solid #e9eaeb;
  color: #1a1a1a;
  font-weight: 400;
  white-space: nowrap;
  vertical-align: middle;
}

.admin-users-table th:first-child,
.admin-users-table td:first-child {
  width: 230px;
}

.admin-users-table th:nth-child(2),
.admin-users-table td:nth-child(2) {
  width: 140px;
}

.admin-users-table th:nth-child(3),
.admin-users-table td:nth-child(3) {
  width: 180px;
}

.admin-gratitude-table {
  min-width: 900px;
}

.admin-gratitude-table th:first-child,
.admin-gratitude-table td:first-child {
  width: 220px;
}

.admin-gratitude-table th:nth-child(2),
.admin-gratitude-table td:nth-child(2) {
  width: 180px;
}

.admin-gratitude-table th:nth-child(3),
.admin-gratitude-table td:nth-child(3) {
  width: 310px;
  white-space: normal;
}

.admin-gratitude-table th:nth-child(4),
.admin-gratitude-table td:nth-child(4) {
  width: 140px;
}

.admin-gratitude-table th:nth-child(5),
.admin-gratitude-table td:nth-child(5) {
  width: 88px;
  text-align: center;
}

.admin-gratitude-table td:nth-child(5) .admin-table-edit {
  margin-inline: auto;
}

.admin-gratitude-chip {
  display: inline-flex;
  height: 22px;
  padding: 6px 10px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 60px;
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.admin-gratitude-chip--new {
  background: #d8d3ff;
  color: #1e02f7;
}

.admin-gratitude-chip--wellness {
  background: #edf6f1;
  color: #006f35;
}

.admin-gratitude-chip--happiness {
  background: #fff4e6;
  color: #e07d03;
}

.admin-gratitude-chip--kindness {
  background: rgba(247, 2, 71, .2);
  color: #f70247;
}

.admin-media-panel {
  min-height: 640px;
}

.admin-media-table {
  min-width: 980px;
}

.admin-media-table th:first-child,
.admin-media-table td:first-child {
  width: 124px;
}

.admin-media-table th:nth-child(2),
.admin-media-table td:nth-child(2) {
  width: 310px;
  white-space: normal;
}

.admin-media-table th:nth-child(3),
.admin-media-table td:nth-child(3) {
  width: 180px;
  white-space: normal;
}

.admin-media-table th:nth-child(4),
.admin-media-table td:nth-child(4) {
  width: 170px;
  white-space: normal;
}

.admin-media-table th:nth-child(5),
.admin-media-table td:nth-child(5) {
  width: 120px;
}

.admin-media-table th:nth-child(6),
.admin-media-table td:nth-child(6) {
  width: 88px;
  text-align: center;
}

.admin-media-table td:nth-child(6) .admin-table-edit {
  margin-inline: auto;
}

/* Icon-only row actions (edit, publish) sit side by side, centred in the cell. */
.admin-table-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.admin-media-table td:nth-child(6) .admin-table-actions .admin-table-edit {
  margin: 0;
}

.admin-table-edit:disabled {
  opacity: .3;
  cursor: default;
}

/* Hidden Media sub categories page. */
.admin-media-categories__rename {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-media-categories__rename input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font: inherit;
}

.admin-media-categories-table td:nth-child(n+3):nth-child(-n+5),
.admin-media-categories-table th:nth-child(n+3):nth-child(-n+5) {
  text-align: center;
}

.admin-media-categories-table .admin-table-actions {
  justify-content: center;
}

/* Links in posts: pending until an admin approves them (see Link review). */
.post-link {
  overflow-wrap: anywhere;
}

.post-link--pending {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a.post-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* A member's own post whose image is waiting for review (see Image review): dimmed, with a chip over the image. */
.post--under-review {
  isolation: isolate;
}

.post--under-review::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  content: "";
  pointer-events: none;
}

.post--under-review .post__category-badge {
  z-index: 3;
}

.post__media-review {
  position: relative;
}

.post__review-label {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: inline-flex;
  padding: 8px 16px;
  align-items: center;
  gap: 10px;
  border-radius: 60px;
  background: #fef0c7;
  color: #F79009;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: .15px;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.post__review-label--rejected {
  color: #cf142d;
}

.post__review-label img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* Admin Link review: long URLs must wrap, not stretch the table. */
.admin-post-link-review__url {
  overflow-wrap: anywhere;
  word-break: break-all;
}

.admin-post-link-review-table td,
.admin-post-image-review-table td {
  vertical-align: top;
}

/* Compact row buttons (Hide/Show, rename Save/Cancel) instead of the large form pills. */
.admin-media-categories-table .admin-details-button {
  width: auto;
  min-width: 0;
  min-height: 36px;
  padding: 6px 16px;
  font-size: 13px;
  line-height: 18px;
}

.admin-media-stack {
  position: relative;
  display: inline-flex;
  width: 67px;
  height: 32px;
  margin-left: 0;
  vertical-align: middle;
}

.admin-media-stack img {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  border: 2px solid #e9468b;
  border-radius: 50%;
  object-fit: cover;
  transform: translateY(-50%);
}

.admin-media-stack img:nth-child(1) {
  left: 0;
  z-index: 3;
}

.admin-media-stack img:nth-child(2) {
  left: 18px;
  z-index: 2;
}

.admin-media-stack img:nth-child(3) {
  left: 36px;
  z-index: 1;
}

.admin-media-empty {
  display: inline-block;
  min-width: 67px;
  color: #1a1a1a;
}

.admin-media-cover {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}

.admin-announcement-upload__filename {
  margin: 6px 0 0;
  font-size: 13px;
  color: #4d4d4d;
}

.admin-wellness-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 16px;
}

.admin-wellness-stat {
  position: relative;
  display: grid;
  min-height: 140px;
  padding: 24px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  align-content: start;
}

.admin-wellness-stat a {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #fef2f7;
}

.admin-wellness-stat a img {
  width: 20px;
  height: 20px;
}

.admin-wellness-stat h2,
.admin-wellness-stat p {
  margin: 0;
}

.admin-wellness-stat h2 {
  color: #1a1a1a;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-wellness-stat strong {
  margin-top: 12px;
  color: #1a1a1a;
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: 0;
}

.admin-wellness-stat p {
  color: #808080;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.admin-wellness-panel {
  min-height: 580px;
}

.admin-wellness-table {
  min-width: 900px;
}

.admin-wellness-table th:first-child,
.admin-wellness-table td:first-child {
  width: 230px;
}

.admin-wellness-table th:nth-child(2),
.admin-wellness-table td:nth-child(2) {
  width: 180px;
}

.admin-wellness-table th:nth-child(3),
.admin-wellness-table td:nth-child(3) {
  width: 300px;
  white-space: normal;
}

.admin-wellness-table th:nth-child(4),
.admin-wellness-table td:nth-child(4) {
  width: 160px;
}

.admin-wellness-table th:nth-child(5),
.admin-wellness-table td:nth-child(5) {
  width: 88px;
  text-align: center;
}

.admin-wellness-table td:nth-child(5) .admin-table-edit {
  margin-inline: auto;
}

.admin-page[data-admin-functional-dashboard] [data-admin-wellness-support] .admin-wellness-table td:nth-child(4) {
  white-space: normal;
}

.admin-page[data-admin-functional-dashboard] [data-admin-wellness-support] .admin-wellness-table td:nth-child(4) small {
  display: block;
  margin-top: 4px;
  color: #808080;
  font-size: 11px;
  line-height: 16px;
}

.admin-page[data-admin-functional-dashboard] [data-admin-wellness-support] .admin-status--new {
  background: #fff4df;
  color: #9a6a00;
}

.admin-page[data-admin-functional-dashboard] [data-admin-wellness-support] .admin-status--pending {
  background: #edf3f7;
  color: #26708c;
}

.admin-page[data-admin-functional-dashboard] .admin-wellness-request-message p {
  margin: 0;
  color: #4d4d4d;
  white-space: pre-wrap;
}

.admin-page[data-admin-functional-dashboard] .admin-wellness-request-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-page[data-admin-functional-dashboard] .admin-wellness-request-actions .admin-data-submit {
  width: auto;
  min-width: 160px;
  padding-inline: 24px;
}

.admin-page[data-admin-functional-dashboard] .admin-data-submit--secondary {
  border: 1px solid #e9468b;
  background: #fff;
  color: #e9468b;
}

.admin-page[data-admin-functional-dashboard] .admin-wellness-request-resolved {
  color: #26708c;
  font-weight: 600;
}

.admin-data-monitoring-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.admin-data-monitoring-stat {
  display: grid;
  min-height: 140px;
  padding: 24px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  align-content: start;
}

.admin-data-monitoring-stat h2,
.admin-data-monitoring-stat p {
  margin: 0;
}

.admin-data-monitoring-stat h2 {
  color: #1a1a1a;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-data-monitoring-stat strong {
  margin-top: 12px;
  color: #1a1a1a;
  font-size: 34px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: .25px;
}

.admin-data-monitoring-stat p {
  color: #808080;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.admin-data-monitoring-panel {
  min-height: 620px;
}

.admin-data-monitoring-table {
  min-width: 1050px;
}

.admin-data-monitoring-table th:first-child,
.admin-data-monitoring-table td:first-child {
  width: 144px;
}

.admin-data-monitoring-table th:nth-child(2),
.admin-data-monitoring-table td:nth-child(2) {
  width: 310px;
  white-space: normal;
}

.admin-data-monitoring-table th:nth-child(3),
.admin-data-monitoring-table td:nth-child(3) {
  width: 180px;
}

.admin-data-monitoring-table th:nth-child(4),
.admin-data-monitoring-table td:nth-child(4) {
  width: 170px;
}

.admin-data-monitoring-table th:nth-child(5),
.admin-data-monitoring-table td:nth-child(5) {
  width: 120px;
}

.admin-data-monitoring-table th:nth-child(6),
.admin-data-monitoring-table td:nth-child(6) {
  width: 78px;
  text-align: center;
}

.admin-data-monitoring-table td:nth-child(6) .admin-table-edit {
  margin-inline: auto;
}

.admin-data-post-view {
  display: grid;
  gap: 16px;
  align-content: start;
}

.admin-data-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 708px) 330px;
  gap: 16px;
  align-items: start;
}

.admin-data-post-card,
.admin-data-user-card,
.admin-data-action-card {
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
}

.admin-data-post-card {
  display: grid;
  gap: 28px;
  padding: 24px 34px 24px 24px;
}

.admin-data-post-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.admin-data-post-header h1 {
  margin: 0;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-data-post-header p {
  display: flex;
  flex-wrap: wrap;
  margin: 8px 0 0;
  gap: 10px 24px;
  color: #808080;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .25px;
}

.admin-data-post-header p span+span {
  position: relative;
}

.admin-data-post-header p span+span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -13px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.admin-data-post-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-data-post-nav button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.admin-data-post-nav button:first-child img {
  transform: rotate(0deg);
}

.admin-data-post-nav button:last-child img {
  transform: rotate(180deg);
}

.admin-data-post-nav img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.admin-data-post-preview {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.admin-data-post-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  min-width: 120px;
  height: 30px;
  padding: 0 15px 0 28px;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 17px 50%);
  background: #e9468b;
  color: #fff;
}

.admin-data-post-badge span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .25px;
}

.admin-data-post-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.admin-data-post-author {
  display: flex;
  min-height: 113px;
  padding: 24px;
  gap: 9px;
  align-items: flex-start;
}

.admin-data-post-author>img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-data-post-author div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-data-post-author strong {
  color: #333;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: .15px;
}

.admin-data-post-author span {
  overflow: hidden;
  color: #666;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: .15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-data-post-author small {
  color: #666;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .25px;
}

.admin-data-post-image {
  display: block;
  width: 100%;
  height: 404px;
  object-fit: cover;
}

.admin-data-post-copy {
  margin: 0;
  padding: 16px 24px 8px;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: .15px;
}

.admin-data-post-meta {
  display: flex;
  padding: 12px 24px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid #ccc;
}

.admin-data-post-meta small {
  color: #4d4d4d;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .25px;
  white-space: nowrap;
}

.admin-data-post-reactions {
  position: relative;
  display: inline-grid;
  width: 58px;
  height: 24px;
}

.admin-data-post-reaction {
  position: absolute;
  top: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
}

.admin-data-post-reaction svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.admin-data-post-reaction--like {
  left: 0;
  z-index: 3;
  background: #cf142d;
}

.admin-data-post-reaction--comment {
  left: 17px;
  z-index: 2;
  background: #00833e;
}

.admin-data-post-reaction--share {
  left: 34px;
  z-index: 1;
  background: #025486;
}

.admin-data-post-sidebar {
  display: grid;
  width: 330px;
  gap: 16px;
  align-content: start;
}

.admin-data-user-card {
  display: grid;
  padding: 24px;
  gap: 24px;
}

.admin-data-user-card h2,
.admin-data-action-card h2,
.admin-data-action-card>p {
  margin: 0;
}

.admin-data-user-card h2,
.admin-data-action-card h2 {
  color: #1a1a1a;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-data-user-card__body {
  display: grid;
  gap: 16px;
}

.admin-data-user-card__body>img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-data-user-card__body div {
  display: grid;
  gap: 8px;
}

.admin-data-user-card__body strong {
  color: #1a1a1a;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-data-user-card__body p {
  margin: 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.admin-data-user-card__body button,
.admin-data-user-card__body a {
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e9468b;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
}

.admin-data-action-card {
  display: grid;
  padding: 24px;
  gap: 8px;
}

.admin-data-action-card>p {
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.admin-data-action-form {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.admin-data-action-options {
  display: grid;
  gap: 8px;
}

.admin-data-action-option {
  display: flex;
  padding: 0;
  gap: 8px;
  align-items: flex-start;
  border-radius: 8px;
  color: #333;
  letter-spacing: .15px;
  cursor: pointer;
}

.admin-data-action-option.is-selected {
  background: transparent;
}

.admin-data-action-option input,
.admin-data-notify input {
  width: 20px;
  height: 20px;
  accent-color: #e9468b;
}

.admin-data-action-option span {
  display: grid;
  gap: 2px;
}

.admin-data-action-option strong {
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-data-action-option em {
  color: #4d4d4d;
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.admin-data-report-panel {
  display: grid;
  gap: 16px;
}

.admin-data-report-select,
.admin-data-note {
  display: grid;
  gap: 4px;
}

.admin-data-report-select>span,
.admin-data-note>span {
  color: #333;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-data-report-select select {
  width: 100%;
  height: 40px;
  padding: 0 38px 0 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  color: #808080;
  font: 400 13px/18px "Plus Jakarta Sans", sans-serif;
  letter-spacing: .15px;
}

.admin-data-notify {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.admin-data-notify span {
  display: grid;
  gap: 4px;
  color: #333;
}

.admin-data-notify strong {
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-data-notify em {
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .25px;
}

.admin-data-note textarea {
  min-height: 116px;
  resize: vertical;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
  color: #333;
  font: 400 14px/22px "Plus Jakarta Sans", sans-serif;
  letter-spacing: .15px;
}

.admin-data-note textarea::placeholder {
  color: #333;
}

.admin-data-submit {
  align-self: end;
  width: 100%;
  min-height: 52px;
  padding: 16px 24px;
  border: 0;
  border-radius: 60px;
  background: #e9468b;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.admin-avatar-stack {
  display: inline-flex;
  width: 67px;
  height: 32px;
  align-items: center;
  vertical-align: middle;
}

.admin-avatar-stack img {
  width: 32px;
  height: 32px;
  border: 2px solid #e9468b;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.admin-avatar-stack img+img {
  margin-left: -14px;
}

.admin-checkbox {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  border: 1.5px solid #808080;
  border-radius: 3px;
  vertical-align: middle;
  box-sizing: border-box;
}

/* Real checkbox for selectable rows: the drawn box above stays the visual. */
.admin-checkbox-control {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}

.admin-checkbox-input {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-checkbox-input:checked + .admin-checkbox {
  border-color: transparent;
  background: url("../images/icon-sort-checkbox-checked.svg") center / contain no-repeat;
}

.admin-checkbox-input:focus-visible + .admin-checkbox {
  outline: 2px solid #e9468b;
  outline-offset: 2px;
}

.admin-checkbox-input:disabled,
.admin-checkbox-input:disabled + .admin-checkbox {
  cursor: not-allowed;
  opacity: .4;
}

.admin-users-actions .admin-users-actions__delete {
  border-color: #e9468b;
  color: #e9468b;
}

.admin-user-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-user-cell img {
  width: 32px;
  height: 32px;
  border: 2px solid #e9468b;
  border-radius: 50%;
  object-fit: cover;
}

.admin-table-edit {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-table-edit img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.admin-users-pagination {
  display: flex;
  margin-top: 32px;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.admin-users-pagination button {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #808080;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
}

.admin-users-pagination button:first-child,
.admin-users-pagination button:last-child {
  min-width: 40px;
  width: 40px;
  padding: 0;
  border: 1px solid #e9468b;
  color: #e9468b;
}

.admin-users-pagination button:first-child img,
.admin-users-pagination button:last-child img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.admin-users-pagination button:last-child img {
  transform: rotate(180deg);
}

.admin-users-pagination button.is-active {
  background: #fef9fc;
  color: #c63c76;
}

.admin-users-pagination span {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  color: #808080;
}

.admin-user-profile-panel {
  display: grid;
  min-height: 640px;
  padding: 24px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  gap: 24px;
  align-content: start;
}

.admin-user-profile__header {
  display: flex;
  padding-bottom: 24px;
  border-bottom: 1px solid #e9eaeb;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-user-profile__identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-user-profile__identity>img {
  width: 72px;
  height: 72px;
  border: 2px solid #e9468b;
  border-radius: 50%;
  object-fit: cover;
}

.admin-user-profile__identity h1 {
  margin: 0;
  color: #1a1a1a;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
}

.admin-user-profile__identity p {
  margin: 4px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
}

.admin-user-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-user-profile-card {
  display: grid;
  padding: 20px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  gap: 18px;
}

.admin-user-profile-card h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-user-detail-list {
  display: grid;
  margin: 0;
  gap: 14px;
}

.admin-user-detail-list div {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-user-detail-list dt {
  color: #808080;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.admin-user-detail-list dd {
  margin: 0;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.admin-user-profile-card--wide {
  width: 100%;
}

.admin-user-activity-list {
  display: grid;
  gap: 16px;
}

.admin-user-activity-list article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.admin-user-activity-list__dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #e9468b;
  flex: 0 0 auto;
}

.admin-user-activity-list p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.admin-user-activity-list time {
  display: block;
  margin-top: 2px;
  color: #808080;
  font-size: 12px;
  line-height: 16px;
}

.admin-user-profile__actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
}

.admin-user-detail-layout {
  display: grid;
  gap: 16px;
}

.admin-user-summary-card {
  display: flex;
  min-height: 172px;
  padding: 24px 58px 24px 24px;
  align-items: center;
  gap: 44px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
}

.admin-user-summary-card__avatar {
  position: relative;
  width: 120px;
  height: 120px;
  flex: 0 0 auto;
}

.admin-user-summary-card__avatar>img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-user-summary-card__avatar-edit {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #e9eaeb;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.admin-user-summary-card__avatar-edit img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.admin-user-summary-card h1 {
  margin: 0;
  color: #1a1a1a;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
}

.admin-user-summary-card p {
  max-width: 499px;
  margin: 8px 0 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.admin-user-detail-card {
  display: grid;
  padding: 24px 24px 40px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
  gap: 24px;
}

.admin-user-detail-card h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-user-detail-table {
  display: grid;
  width: 100%;
}

.admin-user-detail-row {
  display: grid;
  min-height: 52px;
  padding-left: 16px;
  grid-template-columns: minmax(220px, 320px) 24px minmax(220px, 400px) minmax(20px, 1fr);
  align-items: center;
  border-bottom: 1px solid #e9eaeb;
}

.admin-user-detail-row>span,
.admin-user-detail-row>b,
.admin-user-detail-row>strong {
  display: block;
  padding: 14px 10px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .15px;
}

.admin-user-detail-row>span {
  color: #808080;
  font-weight: 500;
}

.admin-user-detail-row>b {
  color: #1a1a1a;
  font-weight: 500;
}

.admin-user-detail-row>strong {
  color: #1a1a1a;
  font-weight: 500;
}

.admin-user-detail-row .admin-status--active {
  background: #fdf2f7;
  color: #e9468b;
}

.admin-user-detail-edit,
.admin-user-detail-arrow {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  justify-self: end;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-user-detail-edit img,
.admin-user-detail-arrow img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.admin-user-detail-row--chips {
  align-items: start;
}

.admin-user-detail-chips {
  display: flex;
  max-width: 400px;
  padding: 14px 10px;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-user-detail-chips em {
  display: inline-flex;
  min-height: 28px;
  padding: 6px 16px;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  background: #edf3f7;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: .25px;
  white-space: nowrap;
}

.admin-user-status-card {
  padding-bottom: 40px;
}

.admin-user-status-card--reason {
  gap: 28px;
}

.admin-user-status-row {
  grid-template-columns: minmax(220px, 320px) 24px minmax(203px, 400px) minmax(20px, 1fr);
}

.admin-status-select {
  position: relative;
  display: block;
  width: 203px;
  margin: 0 10px;
}

.admin-status-select__button {
  display: flex;
  width: 100%;
  height: 54px;
  padding: 16px 48px 16px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  outline: 0;
  cursor: pointer;
}

.admin-status-select__button img {
  position: absolute;
  right: 22px;
  width: 14px;
  height: 8px;
  object-fit: contain;
  pointer-events: none;
}

.admin-status-select__menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  display: flex;
  width: 203px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e9eaeb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.admin-status-select.is-open .admin-status-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.admin-status-select__menu button {
  display: flex;
  width: 100%;
  height: 48px;
  padding: 14px 22px;
  align-items: center;
  border: 0;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.admin-status-select__menu button.is-highlighted,
.admin-status-select__menu button:hover {
  background: #fef8f9;
}

.admin-user-status-row--reason {
  min-height: 127px;
  align-items: start;
}

.admin-user-status-row--reason textarea {
  width: min(400px, 100%);
  min-height: 118px;
  padding: 14px 10px;
  border: 0;
  resize: vertical;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: .15px;
  outline: 0;
}

.admin-user-status-row--reason textarea::placeholder {
  color: #808080;
}

.admin-user-status-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: .15px;
}

.admin-breadcrumbs button,
.admin-breadcrumbs a {
  border: 0;
  padding: 0;
  background: transparent;
  color: #999;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.admin-breadcrumbs button:hover,
.admin-breadcrumbs a:hover {
  color: #666;
}

.admin-breadcrumbs strong {
  color: #c63c76;
  font-weight: 600;
}

.admin-notifications-panel {
  display: flex;
  min-height: 803px;
  padding: 24px 40px 40px 24px;
  flex-direction: column;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
}

.admin-notifications-panel__header {
  display: grid;
  width: min(806px, 100%);
  gap: 8px;
}

.admin-notifications-panel__header h1 {
  margin: 0;
  color: #1a1a1a;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: 0;
}

.admin-notifications-panel__header p {
  margin: 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.admin-notifications-tabs {
  display: flex;
  width: min(806px, 100%);
  margin-top: 18px;
  overflow-x: auto;
  border-bottom: 1px solid #e9eaeb;
}

.admin-notifications-tabs button {
  display: flex;
  width: 100px;
  min-width: 100px;
  height: 48px;
  padding: 11px 8px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #808080;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
  cursor: pointer;
}

.admin-notifications-tabs button:nth-child(4) {
  min-width: 128px;
}

.admin-notifications-tabs button:nth-child(5) {
  min-width: 132px;
}

.admin-notifications-tabs button.is-active {
  border-bottom-color: #e9468b;
  color: #e9468b;
}

.admin-notifications-list {
  width: min(988px, 100%);
}

.admin-notification-row {
  display: grid;
  width: 100%;
  padding: 20px;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid #e9eaeb;
  background: #fff;
  box-sizing: border-box;
}

.admin-notification-row__icon {
  display: grid;
  width: 20px;
  height: 24px;
  padding-top: 4px;
  place-items: center;
  box-sizing: border-box;
}

.admin-notification-row__icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.admin-notification-row__content {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.admin-notification-row__content p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.admin-notification-row__content time {
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .15px;
}

/* Admin notifications: rows open what they are about, and the unread ones are tinted. */
.admin-notification-row {
  cursor: pointer;
}

.admin-notification-row:hover,
.admin-notification-row:focus-visible,
.admin-notification-item:hover {
  background: #fafafa;
}

.admin-notification-row.is-unread,
.admin-notification-item.is-unread {
  background: #fff7fb;
}

.admin-notification-row.is-unread:hover,
.admin-notification-item.is-unread:hover {
  background: #ffeef6;
}

.admin-notification-row.is-unread .admin-notification-row__content p,
.admin-notification-item.is-unread .admin-notification-item__body>span {
  color: #333;
  font-weight: 600;
}

.admin-notifications-empty {
  margin: 0;
  padding: 32px 20px;
  color: #808080;
  font-size: 14px;
  line-height: 20px;
}
.admin-pagination {
  display: flex;
  margin-top: auto;
  align-self: flex-end;
  align-items: center;
  gap: 8px;
}

.admin-pagination button,
.admin-pagination span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: #808080;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
}

.admin-pagination button {
  cursor: pointer;
}

.admin-pagination button[aria-label] {
  border: 1px solid #e9468b;
  color: #e9468b;
  font-size: 24px;
  line-height: 1;
}

.admin-pagination button.is-active {
  background: #fef9fc;
  color: #c63c76;
}

.admin-details-panel {
  min-height: 782px;
  padding: 24px 222px 196px 24px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
}

.admin-details-panel__header {
  display: grid;
  width: min(806px, 100%);
  gap: 8px;
  margin-bottom: 36px;
}

.admin-details-panel__header h1 {
  margin: 0;
  color: #1a1a1a;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: 0;
}

.admin-details-panel__header p {
  margin: 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.admin-details-form {
  display: grid;
  width: min(470px, 100%);
  gap: 16px;
}

.admin-details-field-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.admin-details-field {
  display: grid;
  gap: 4px;
}

.admin-details-field span {
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-details-field--no-label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.admin-details-field input,
.admin-details-field select {
  width: 100%;
  height: 56px;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: .15px;
  outline: 0;
  box-sizing: border-box;
}

.admin-details-field input::placeholder,
.admin-details-field select {
  color: #808080;
}

.admin-details-field select {
  padding-right: 48px;
  appearance: none;
  background-image: url("../images/admin/icon-angle-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px 20px;
}

.admin-details-form__actions {
  display: flex;
  margin-top: 24px;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
}

.admin-details-button {
  display: inline-flex;
  min-height: 52px;
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 60px;
  font-weight: 500;
  cursor: pointer;
}

.admin-details-button--outline {
  border: 1px solid #e9468b;
  background: #fff;
  color: #e9468b;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: .25px;
}

.admin-details-button--primary {
  border: 1px solid #e9468b;
  background: #e9468b;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .25px;
}

.admin-password-panel {
  padding-right: 24px;
}

.admin-password-form {
  gap: 20px;
}

.admin-password-field {
  position: relative;
}

.admin-password-field input {
  padding-right: 52px;
}

.admin-password-field button {
  position: absolute;
  right: 16px;
  bottom: 18px;
  display: grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-password-field button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.admin-password-form__actions {
  display: grid;
  width: 100%;
  gap: 20px;
  margin-top: 20px;
  justify-items: center;
}

.admin-password-form__actions .admin-details-button {
  width: 100%;
}

.admin-password-form__actions a {
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
  text-decoration: none;
}

.admin-forgot-password__header {
  margin-bottom: 28px;
}

.admin-forgot-password-form {
  gap: 32px;
}

.admin-forgot-password-form .admin-details-button {
  width: 100%;
}

.admin-reset-sent__header {
  margin-bottom: 36px;
}

.admin-reset-sent__actions {
  width: min(340px, 100%);
}

.admin-reset-sent__actions .admin-details-button {
  width: 100%;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-stat-card,
.admin-progress-card,
.admin-support-card,
.admin-event-card,
.admin-table-card,
.admin-chart-card {
  border: 1px solid #e9eaeb;
  background: #fff;
}

.admin-stat-card {
  position: relative;
  display: flex;
  min-height: 138px;
  padding: 24px;
  justify-content: space-between;
  border-radius: 16px;
}

.admin-stat-card h2,
.admin-progress-card h2,
.admin-support-card h2,
.admin-event-card h2,
.admin-table-card h2,
.admin-chart-card h2 {
  color: #1a1a1a;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-stat-card h2 {
  font-size: 16px;
  line-height: 22px;
}

.admin-stat-card strong,
.admin-support-card strong {
  display: block;
  margin-top: 10px;
  color: #1a1a1a;
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  letter-spacing: -1px;
}

.admin-stat-card p,
.admin-support-card p,
.admin-progress-card p,
.admin-event-card p {
  margin-top: 2px;
  color: #808080;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .15px;
}

.admin-stat-card a,
.admin-support-card a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: 0 0 36px;
  border-radius: 50%;
  background: #fdf2f7;
  color: #e9468b;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.admin-stat-card a img,
.admin-support-card a img {
  width: 20px;
  height: 20px;
  display: block;
}

.admin-progress-card {
  min-height: 154px;
  padding: 24px;
  border-radius: 28px;
}

.admin-progress-card__row {
  display: grid;
  margin-top: 22px;
  grid-template-columns: minmax(0, 310px) 35px;
  align-items: center;
  gap: 11px;
}

.admin-progress-card__track {
  height: 16px;
  overflow: hidden;
  border-radius: 30px;
  background: #fafafa;
}

.admin-progress-card__track span {
  display: block;
  height: 100%;
  border-radius: 30px;
  background: #00833e;
}

.admin-progress-card__row strong {
  color: #333;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: .15px;
}

.admin-progress-card p {
  width: 199px;
  margin-top: 8px;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
}

.admin-mini-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.admin-support-card,
.admin-event-card {
  min-height: 238px;
  padding: 24px;
  border-radius: 16px;
}

.admin-support-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #edf6f1;
}

.admin-support-card strong {
  margin-top: 12px;
}

.admin-support-card p {
  width: 172px;
  margin-top: 0;
  color: #808080;
}

.admin-support-card a {
  margin-top: auto;
  align-self: flex-end;
  background: #fff;
  color: #00833e;
}

.admin-event-card p {
  margin-top: 18px;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
}

.admin-event-card button {
  display: inline-flex;
  min-height: 34px;
  margin-top: 20px;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9468b;
  border-radius: 60px;
  background: #e9468b;
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: .25px;
  cursor: pointer;
}

.admin-table-card {
  min-height: 403px;
  padding: 24px 24px 20px;
  border-radius: 28px;
}

.admin-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
}

.admin-table-card table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.admin-table-card th,
.admin-table-card td {
  height: 52px;
  padding: 10px;
  border-bottom: 1px solid #e9eaeb;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  white-space: nowrap;
}

.admin-table-card th {
  font-weight: 600;
}

.admin-table-card td {
  font-weight: 400;
}

.admin-status {
  display: inline-flex;
  min-height: 28px;
  padding: 6px 16px;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .25px;
}

.admin-status--active {
  background: #dcfae6;
  color: #079455;
}

.admin-status--disabled {
  background: #eee;
  color: #808080;
}

.admin-status--inactive {
  background: #fef0c7;
  color: #dc6803;
}

.admin-status--deactivate {
  background: #fee4e2;
  color: #d92d20;
}

.admin-status--open {
  background: #fef0c7;
  color: #dc6803;
}

.admin-status--dismissed {
  background: #eee;
  color: #808080;
}

.admin-status--actioned {
  background: #fee4e2;
  color: #d92d20;
}

.admin-chart-card {
  min-height: 301px;
  padding: 24px 70px 24px 24px;
  border-radius: 16px;
}

.admin-chart-card__content {
  display: flex;
  margin-top: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.admin-chart {
  position: relative;
  display: grid;
  width: 344px;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: 160px 20px;
  column-gap: 9px;
  row-gap: 8px;
}

.admin-chart__axis {
  display: flex;
  height: 160px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  color: #464646;
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
}

.admin-chart__bars {
  display: flex;
  height: 160px;
  align-items: end;
  gap: 18px;
}

.admin-chart__bar {
  position: relative;
  display: flex;
  width: 28px;
  height: var(--total);
  align-items: end;
  border-radius: 4px;
  background: #fdf2f7;
}

.admin-chart__bar span {
  display: block;
  width: 100%;
  height: var(--engagement);
  border-radius: 4px;
  background: #f6b5d1;
}

.admin-chart__days {
  display: flex;
  grid-column: 2;
  justify-content: space-between;
  color: #464646;
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
}

.admin-chart-legend {
  display: grid;
  width: 100px;
  gap: 10px;
  justify-items: end;
  color: #333;
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
}

.admin-chart-legend p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.admin-chart-legend__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.admin-chart-legend__dot--total {
  background: #fdf2f7;
}

.admin-chart-legend__dot--engagement {
  background: #f6b5d1;
}

.admin-chart-legend small {
  display: block;
  color: #333;
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
}

.onboarding-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--white);
}

.onboarding-shell {
  flex: 1 0 auto;
  min-height: calc(100vh - 70px);
  background: var(--white);
}

.welcome-onboarding {
  display: grid;
  width: 100%;
  max-width: 470px;
  padding-top: 128px;
  margin-left: calc(33.33% + 85px);
  gap: 36px;
}

/* Below this width the fixed left offset pushes the card off-centre, so centre it. */
@media (max-width: 1280px) {
  .welcome-onboarding {
    padding-right: 24px;
    padding-left: 24px;
    margin-right: auto;
    margin-left: auto;
  }
}

.welcome-onboarding__back {
  width: 24px;
  height: 24px;
  margin-bottom: 0;
}

.welcome-onboarding__content {
  display: grid;
  gap: 28px;
}

.welcome-onboarding__intro {
  display: grid;
  gap: 11px;
}

.welcome-onboarding__intro h1 {
  color: var(--text);
  font-size: var(--type-display-md-size);
  line-height: var(--type-display-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-display-md-spacing);
}

.welcome-onboarding__intro p {
  color: var(--muted);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-md-spacing);
}

.welcome-onboarding__actions {
  display: grid;
  gap: 16px;
}

.welcome-onboarding__actions a {
  text-decoration: none;
}

.forgot-password-page .onboarding-shell {
  min-height: 100vh;
}

.forgot-password-card {
  padding-top: 80px;
}

.forgot-password-card__content {
  gap: 28px;
}

.forgot-password-form {
  display: grid;
  gap: 28px;
}

.forgot-password-form .field input {
  height: 48px;
  border-radius: 8px;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
}

.password-reset-sent-card .button {
  margin-top: 0;
  text-decoration: none;
}

.password-reset-sent-card .welcome-onboarding__intro p {
  max-width: 100%;
}

.personalize-onboarding__content {
  gap: 28px;
}

.personalize-form {
  display: grid;
  width: 100%;
  gap: 40px;
}

.personalize-form__body {
  display: grid;
  gap: 20px;
}

.personalize-form[data-multi-chip-form]:not(.is-other-selected) .personalize-form__body>.field {
  display: none;
}

.personalize-form.is-other-selected .personalize-form__body>.field input {
  border-color: var(--pink);
}

.purpose-selected {
  display: flex;
  min-height: 44px;
  padding-bottom: 16px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.purpose-selected:empty {
  display: none;
}

.purpose-selected__chip {
  display: flex;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 60px;
  background: #edf3f7;
  color: var(--muted);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
  cursor: pointer;
}

.purpose-selected__chip img {
  display: block;
  width: 14px;
  height: 14px;
}

.purpose-chips {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.purpose-chip {
  display: flex;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 60px;
  background: #edf3f7;
  color: var(--muted);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
  cursor: pointer;
}

.purpose-chip[hidden] {
  display: none !important;
}

.purpose-chip.is-selected {
  box-shadow: inset 0 0 0 1px var(--pink);
}

.mood-onboarding__content {
  gap: 40px;
}

.mood-onboarding__main {
  display: grid;
  gap: 28px;
}

.mood-form-step {
  gap: 40px;
}

.mood-radio-list {
  display: grid;
  width: max-content;
  min-width: 125px;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.mood-radio {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--type-text-sm-spacing);
  cursor: pointer;
  white-space: nowrap;
}

.mood-radio-list.is-error .field__error {
  display: flex;
}

.mood-radio input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--pink);
  cursor: pointer;
}

.scan-qr-page {
  background: var(--white);
}

.scan-qr-shell {
  min-height: calc(100vh - 70px);
  background: var(--white);
}

.scan-qr-layout {
  display: grid;
  min-height: calc(100vh - 70px);
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
}

.scan-qr-panel {
  display: flex;
  width: min(100%, 950px);
  padding: 28px clamp(24px, 12.5vw, 240px) 64px;
  flex-direction: column;
  align-items: flex-start;
}

.scan-qr-logo {
  display: grid;
  width: 117px;
  height: 60px;
  margin-bottom: 60px;
  place-items: center;
}

.scan-qr-logo img {
  width: 117px;
  height: 60px;
  object-fit: contain;
}

.scan-qr-copy {
  display: grid;
  width: min(470px, 100%);
  gap: 11px;
  margin-bottom: 36px;
}

.scan-qr-copy h1 {
  color: var(--text);
  font-size: var(--type-display-lg-size);
  line-height: var(--type-display-lg-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-display-lg-spacing);
}

.scan-qr-copy p {
  color: var(--muted);
  font-size: var(--type-text-lg-size);
  line-height: var(--type-text-lg-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-lg-spacing);
}

.journal-help-card {
  display: flex;
  width: min(470px, 100%);
  margin-bottom: 28px;
  padding: 20px 24px;
  gap: 16px;
  align-items: flex-start;
  border-radius: 16px;
  background: #fdf2f7;
}

.journal-help-card__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  font-size: 22px;
  line-height: 1;
  font-weight: var(--font-weight-semibold);
}

.journal-help-card__icon svg {
  width: 20px;
  height: 20px;
}

.journal-help-card h3 {
  margin: 0 0 8px;
  color: black;
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-text-md-spacing);
}

.journal-help-card p {
  color: black;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--type-text-sm-spacing);
}

.scan-qr-scan {
  width: min(470px, 100%);
  margin-bottom: 40px;
}

.journal-camera {
  width: min(470px, 100%);
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.journal-camera[hidden] {
  display: none !important;
}

.journal-camera__reader,
.journal-camera__reader>div,
.journal-camera__reader>div>div,
.journal-camera__reader [id$="__scan_region"] {
  width: 100% !important;
  overflow: hidden;
}

.journal-camera__reader video,
.journal-camera__reader [id$="__scan_region"] video {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.journal-camera [data-journal-camera-close] {
  justify-self: start;
  margin-top: 16px;
}

.scan-qr-divider {
  display: flex;
  width: min(470px, 100%);
  margin-bottom: 40px;
  gap: 8px;
  align-items: center;
}

.scan-qr-divider span {
  height: 1px;
  flex: 1;
  background: #e6e6e6;
}

.scan-qr-divider strong {
  color: var(--muted);
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-xs-spacing);
}

.admin-qr-modal-backdrop {
  display: flex;
  position: fixed;
  z-index: 50;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 17, 20, .5);
}

.admin-qr-modal {
  display: grid;
  width: min(420px, 100%);
  max-height: calc(100vh - 48px);
  padding: 24px;
  overflow-y: auto;
  gap: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(10, 13, 18, .24);
}

.admin-qr-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-qr-modal__header h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.admin-qr-modal__close {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f4f4f5;
  color: #666;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.admin-qr-modal__close:hover {
  background: #eee;
  color: #1a1a1a;
}

.admin-qr-modal svg {
  width: 100%;
  height: auto;
}

.journal-code-form {
  display: grid;
  width: min(392px, 100%);
  margin-inline: auto;
  gap: 24px;
  align-self: flex-start;
}

.journal-code-form__intro {
  display: grid;
  gap: 4px;
}

.journal-code-form__intro h2 {
  color: var(--text);
  font-size: var(--type-text-md-size);
  line-height: var(--type-text-md-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-md-spacing);
}

.journal-code-form__intro p {
  color: var(--text);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-xs-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--type-text-xs-spacing);
}

.journal-code-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
}

.journal-code-inputs input {
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #808080;
  background: white;
  font-size: 13px;
  line-height: 18px;
  font-weight: var(--font-weight-regular);
  letter-spacing: .15px;
  text-align: center;
}

.journal-code-inputs input:focus {
  border-color: var(--pink);
  color: var(--text);
  outline: 3px solid rgba(233, 70, 139, .14);
}

.journal-code-form__submit {
  width: 100%;
  margin-top: 4px;
}

.scan-qr-page .journal-code-confirmation {
  width: min(440px, calc(100% - 32px));
  max-width: 440px;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 64px rgba(16, 24, 40, .22);
}

.scan-qr-page .journal-code-confirmation[open] {
  display: block;
}

.scan-qr-page .journal-code-confirmation::backdrop {
  background: rgba(0, 0, 0, .25);
  opacity: .9;
}

.scan-qr-page .journal-code-confirmation__surface {
  position: relative;
  display: grid;
  padding: 36px 32px 32px;
  gap: 16px;
  text-align: center;
}

.scan-qr-page .journal-code-confirmation__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.scan-qr-page .journal-code-confirmation__close:hover,
.scan-qr-page .journal-code-confirmation__close:focus-visible {
  background: #f5f5f5;
  color: var(--text);
}

.scan-qr-page .journal-code-confirmation__close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.scan-qr-page .journal-code-confirmation__icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 4px auto 0;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pink);
}

.scan-qr-page .journal-code-confirmation__icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.scan-qr-page .journal-code-confirmation h2,
.scan-qr-page .journal-code-confirmation p {
  margin: 0;
}

.scan-qr-page .journal-code-confirmation h2 {
  color: var(--text);
  font-size: 24px;
  line-height: 1.25;
  font-weight: var(--font-weight-bold);
}

.scan-qr-page .journal-code-confirmation p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.scan-qr-page .journal-code-confirmation__label {
  margin: 0;
  color: var(--text);
  font-weight: var(--font-weight-semibold);
}

.scan-qr-page .journal-code-confirmation__actions {
  display: grid;
  margin-top: 8px;
  gap: 10px;
}

.scan-qr-page .journal-code-confirmation__actions .button {
  width: 100%;
}

.scan-qr-page .journal-code-confirmation__back {
  color: var(--muted);
}

@media (max-width: 600px) {
  .scan-qr-page .journal-code-confirmation {
    width: calc(100% - 24px);
  }

  .scan-qr-page .journal-code-confirmation__surface {
    padding: 34px 20px 24px;
  }

  .scan-qr-page .journal-code-confirmation h2 {
    font-size: 21px;
  }
}

.journal-buy-card {
  display: grid;
  width: min(470px, 100%);
  margin-top: 40px;
  padding: 20px;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid #fda29b;
  border-radius: 12px;
  background: #fef3f2;
}

.journal-buy-card__icon {
  display: block;
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

.journal-buy-card__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.journal-buy-card h2 {
  color: #4d4d4d;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-sm-spacing);
}

.journal-buy-card p {
  color: var(--muted);
  font-size: var(--type-text-sm-size);
  line-height: 20px;
  font-weight: var(--font-weight-regular);
}

.journal-buy-card a {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: var(--pink);
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--type-text-sm-spacing);
  text-decoration: none;
  white-space: nowrap;
}

.journal-buy-card a span,
.journal-buy-card a span svg {
  display: block;
  width: 18px;
  height: 18px;
}

.scan-qr-preview {
  position: relative;
  display: flex;
  min-height: calc(100vh - 70px);
  padding: 122px clamp(32px, 10.4vw, 200px) 72px;
  flex-direction: column;
  justify-content: space-between;
  background: #fef9fc;
}

.scan-qr-preview__artworks {
  padding:20px;
}

.scan-qr-preview__covers {
  border-radius:30px;
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.3);
  overflow:hidden;
  margin-bottom:30px;
}

.scan-qr-cover,
.scan-qr-guide-card {
  max-width:100%;
  display:block;
  margin:0;
}


.scan-qr-preview__label {
  display: flex;
  width: min(540px, 100%);
  margin-inline: auto;
  gap: 8px;
  align-items: center;
}

.scan-qr-preview__label span {
  height: 1px;
  flex: 1;
  background: #f5d0d5;
}

.scan-qr-preview__label strong {
  color: var(--pink);
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--type-text-xs-spacing);
  white-space: nowrap;
}

.scan-qr-benefits {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scan-qr-benefits article {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: black;
}

.scan-qr-benefits__icon {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--pink);
}

.scan-qr-benefits__icon--gem svg {
  display: block;
  width: 20px;
  height: 20px;
}

.scan-qr-benefits__icon--shield svg {
  display: block;
  width: 20px;
  height: 20px;
}

.scan-qr-benefits__icon--setup svg {
  display: block;
  width: 20px;
  height: 20px;
}

.scan-qr-benefits h2 {
  margin: 0 0 6px;
  font-size: var(--type-text-sm-size);
  line-height: var(--type-text-sm-line);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--type-text-sm-spacing);
}

.scan-qr-benefits p {
  font-size: var(--type-text-xs-size);
  line-height: var(--type-text-xs-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: .5px;
}

@media (max-width: 1487px) {
  .feed-layout {
    grid-template-columns: 300px minmax(650px, 1fr) minmax(240px, min(350px, calc(100% - 982px)));
  }

  .search-results-layout {
    grid-template-columns: 300px minmax(0, 1fr) 350px;
  }

  .story {
    min-width: 165px;
  }
}

@media (max-width: 1280px) {
  .feed-layout {
    grid-template-columns: minmax(240px, 360px) minmax(480px, 650px);
    justify-content: center;
  }

  .feed-layout__side {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    gap: 16px;
    align-content: start;
    min-width: 0;
  }

  .feed-layout__side+.feed-layout__main {
    grid-column: 2;
    grid-row: 1;
  }

  .feed-layout__side .feed-layout__left,
  .feed-layout__side .feed-layout__right {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
  }


  .search-results-layout {
    grid-template-columns: minmax(240px, 320px) minmax(480px, 1fr);
  }

  .search-results__right {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
}

/* The announcement page keeps its right column beside the feed while there is room for three columns; narrower, it stacks like the feed. */
@media (min-width: 1101px) and (max-width: 1280px) {
  .community-announcement-page .feed-layout {
    grid-template-columns: minmax(0, 1fr) 650px minmax(0, 1fr);
  }

  .community-announcement-page .feed-layout__side {
    display: contents;
  }

  .community-announcement-page .feed-layout__left {
    grid-column: 1;
    grid-row: 1;
  }

  .community-announcement-page .feed-layout__side+.feed-layout__main {
    grid-column: 2;
    grid-row: 1;
  }

  .community-announcement-page .feed-layout__right {
    grid-column: 3;
    grid-row: 1;
  }
}
@media (max-width: 1180px) {
  .landing-hero__content {
    gap: 48px;
  }

  .landing-showcase {
    width: 350px;
    grid-template-columns: 260px 74px;
    grid-template-rows: 346px 24px;
  }

  .landing-showcase__main {
    width: 260px;
    height: 346px;
  }

  .landing-showcase__thumbs,
  .landing-showcase__thumbs img {
    width: 74px;
  }

  .landing-showcase__thumbs img {
    height: 112px;
  }

  .feed-layout {
    grid-template-columns: minmax(240px, 360px) minmax(480px, 650px);
    justify-content: center;
  }

  .feed-layout__side {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    gap: 16px;
    align-content: start;
    min-width: 0;
  }

  .feed-layout__side+.feed-layout__main {
    grid-column: 2;
    grid-row: 1;
  }

  .feed-layout__side .feed-layout__left,
  .feed-layout__side .feed-layout__right {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
  }



  .community-announcement-page .feed-layout {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: 24px;
  }

  .view-profile-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .view-profile-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .connections-layout {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  }

  .connections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connections-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .connections-toolbar {
    width: 100%;
    flex-wrap: wrap;
  }

  .connections-search {
    flex: 1 1 260px;
  }

  .login-collage {
    width: 380px;
    transform: translateX(-50%) scale(.82);
    transform-origin: top center;
  }

  .login-layout__form-panel {
    padding-inline: 32px;
  }

  .admin-login-form-panel {
    padding-inline: 32px;
  }

  .admin-login-marketing__content {
    width: min(480px, 100%);
  }

  .admin-login-preview {
    height: 382px;
  }

  .admin-login-preview__item--announcement,
  .admin-login-preview__item--dashboard {
    height: 252px;
  }

  .scan-qr-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
  }

  .scan-qr-benefits {
    grid-template-columns: 1fr;
  }

  .scan-qr-panel {
    padding-inline: clamp(24px, 6vw, 64px);
  }

  .scan-qr-preview {
    min-height: auto;
    padding: 48px 24px;
    justify-content: flex-start;
    gap: 40px;
  }

  .gratitude-wall {
    grid-template-columns: 1fr;
  }

  .gratitude-wall__sidebar {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }

  .recent-gratitude__list {
    max-height: 480px;
  }

  .all-gratitude__layout {
    grid-template-columns: 1fr;
  }

  .all-gratitude__sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .all-gratitude-quote {
    grid-column: 1 / -1;
  }

  .admin-shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .admin-sidebar__logo {
    padding-right: 80px;
  }

  .admin-dashboard__grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard__right {
    grid-row: auto;
  }

  .admin-chart-card {
    padding-right: 24px;
  }

  .admin-chart-card__content {
    justify-content: flex-start;
  }

  .admin-announcement-layout {
    grid-template-columns: 1fr;
  }

  .admin-announcement-create-layout {
    grid-template-columns: 1fr;
  }

  .admin-announcement-create-card,
  .admin-announcement-drafts {
    min-height: auto;
  }

  .admin-announcement-drafts__pagination {
    margin-top: 32px;
  }

  .admin-announcement-calendar {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .admin-announcement-calendar h2,
  .admin-calendar-widget {
    grid-column: 1 / -1;
  }

  .admin-wellness-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-data-monitoring-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-data-post-layout {
    grid-template-columns: 1fr;
  }

  .admin-data-post-sidebar {
    width: min(100%, 708px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-data-user-card,
  .admin-data-action-card {
    max-width: 708px;
  }
}

@media (max-width: 820px) {
  body {
    background: #fafafa;
  }

  .login-page {
    overflow-x: hidden;
    background: white;
  }

  .login-shell {
    min-height: auto;
  }

  .login-layout {
    display: flex;
    width: 100%;
    min-height: auto;
    overflow: hidden;
    flex-direction: column;
  }

  .login-layout__visual {
    display: flex;
    min-height: auto;
    padding: 0 24px 56px;
    order: 2;
    justify-content: center;
  }

  .login-layout__form-panel {
    width: 100%;
    min-height: auto;
    padding: 28px 24px 40px;
    order: 1;
    border-left: 0;
    border-top: 0;
  }

  .login-layout__logo {
    position: relative;
    top: auto;
    left: auto;
    order: 0;
    margin: 24px 24px 22px;
  }

  .login-form {
    width: 100%;
    max-width: none;
    gap: 48px;
  }

  .login-form__intro h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .login-collage {
    position: relative;
    top: auto;
    left: auto;
    transform: scale(.74);
    transform-origin: top center;
  }

  .admin-login-layout {
    grid-template-columns: 1fr;
  }

  .admin-login-marketing {
    min-height: auto;
    padding: 24px;
    order: 2;
  }

  .admin-login-marketing__logo {
    width: 128px;
    height: 56px;
  }

  .admin-login-marketing__logo img {
    width: 112px;
  }

  .admin-login-marketing__content {
    gap: 32px;
    margin: 40px auto 16px;
  }

  .admin-login-marketing__copy h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .admin-login-preview {
    height: min(390px, 72vw);
  }

  .admin-login-preview__item {
    border-width: 3px;
  }

  .admin-login-preview__item--announcement,
  .admin-login-preview__item--dashboard {
    height: min(252px, 48vw);
  }

  .admin-login-form-panel {
    min-height: auto;
    padding: 56px 24px 48px;
    order: 1;
  }

  .admin-login-form__intro h2 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .register-shell {
    padding: 48px 24px 72px;
  }

  .register-card {
    gap: 28px;
  }

  .register-card__intro h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .register-form {
    gap: 24px;
  }

  .onboarding-shell {
    display: flex;
    min-height: calc(100vh - 64px);
    align-items: center;
    justify-content: center;
  }

  .welcome-onboarding {
    width: 100%;
    max-width: 470px;
    padding: 56px 24px 72px;
    margin: 0 auto;
  }

  .personalize-onboarding {
    align-content: center;
  }

  .welcome-onboarding__intro h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .scan-qr-layout {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .scan-qr-panel {
    width: 100%;
    padding: 24px;
  }

  .scan-qr-logo {
    width: 94px;
    height: 48px;
    margin-bottom: 40px;
  }

  .scan-qr-logo img {
    width: 94px;
    height: 48px;
  }

  .scan-qr-copy h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .journal-code-form {
    width: 100%;
    max-width: 392px;
    margin-inline: 0;
  }

  .journal-code-inputs {
    justify-content: space-between;
    gap: 6px;
  }

  .journal-code-inputs input {
    width: min(40px, 10.5vw);
    padding-inline: 6px;
  }

  .journal-buy-card {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .journal-buy-card a {
    grid-column: 2;
  }

  .scan-qr-preview {
    min-height: 360px;
    padding: 56px 24px 48px;
    gap: 120px;
  }

  .scan-qr-preview__artworks {
    width: 100%;
    max-width: 618px;
  }

  .scan-qr-benefits {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    gap: 20px;
  }

  .landing-page {
    background: white;
  }

  .landing-hero {
    min-height: auto;
  }

  .landing-hero__inner {
    width: 100%;
    max-width: 1440px;
    min-height: calc(100vh - 64px);
    padding: 24px 24px 56px;
    grid-template-rows: 48px 1fr;
  }

  .landing-hero__content {
    flex-direction: column;
    gap: 48px;
  }

  .landing-hero h1 {
    font-size: var(--type-display-md-size);
    line-height: var(--type-display-md-line);
    letter-spacing: var(--type-display-md-spacing);
  }

  .landing-hero__description {
    font-size: var(--type-text-md-size);
    line-height: var(--type-text-md-line);
  }

  .landing-showcase {
    width: min(100%, 434px);
    grid-template-columns: minmax(0, 1fr) 93px;
    grid-template-rows: auto 24px;
  }

  .landing-showcase__main {
    width: 100%;
    height: auto;
    aspect-ratio: 325 / 432;
  }

  .landing-showcase__thumbs,
  .landing-showcase__thumbs img {
    width: 93px;
  }

  .landing-showcase__thumbs img {
    height: calc((100% - 12px) / 3);
    min-height: 100px;
  }

  .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: 24px;
  }

  .site-header {
    position: relative;
    height: 137px;
  }

  .site-header--account {
    height: 80px;
  }

  .nav {
    position: relative;
    height: 73px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .nav--account {
    height: 80px;
    justify-content: space-between;
    gap: 16px;
  }

  .nav__brand {
    gap: 0;
  }

  .logo,
  .logo img {
    width: 38px;
    height: 39px;
  }

  .search {
    position: absolute;
    top: 77px;
    left: 0;
    display: flex;
    width: 100%;
    height: 48px;
  }

  .header-search {
    position: absolute;
    top: 77px;
    left: 0;
    width: 100%;
  }

  .header-search .search {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 48px);
    height: 48px;
    margin: 0 auto;
  }

  .search-history {
    position: relative;
    margin: 0 auto;
    width: calc(100% - 48px);
  }

  .search input::placeholder {
    color: #808080;
  }

  .search img {
    display: block;
  }

  .nav__links {
    gap: 0;
  }

  .nav-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .nav-icon img {
    width: 24px;
    height: 24px;
  }


  .notification-dropdown {
    right: -92px;
    width: min(360px, calc(100vw - 48px));
  }

  .account {
    min-height: 44px;
    margin-left: 24px;
    gap: 6px;
  }

  .account .account__avatar {
    width: 40px;
    height: 40px;
  }

  .account__label {
    display: flex;
    font-weight: 600;
  }

  .account-page .logo,
  .account-page .logo img {
    width: 38px;
    height: 39px;
  }

  .account-page .account {
    margin-left: 12px;
  }

  .account-page .nav-icon--tree {
    display: grid;
  }

  .account-main {
    min-height: calc(100vh - 144px);
    padding: 32px 24px 48px;
  }

  .account-main--compact {
    padding-top: 32px;
  }

  .profile-edit h1 {
    margin-bottom: 32px;
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .security-form h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .delete-flow h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .policy-page h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .wellness-page h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .wellness-page {
    gap: 0;
  }

  .security-form__intro {
    margin-bottom: 32px;
  }

  .feed-layout {
    display: flex;
    width: 100%;
    padding: 12px 24px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .search-results-layout {
    display: flex;
    width: 100%;
    padding: 12px 24px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .search-results__left,
  .search-results__main,
  .search-results__right {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 16px;
  }

  .search-results__left {
    order: 1;
  }

  .search-results__main {
    order: 2;
  }

  .search-results__right {
    order: 3;
    grid-template-columns: 1fr;
  }

  .search-results__right .side-card {
    order: initial;
  }

  .search-results-layout .card {
    min-width: 0;
    width: 100%;
  }

  .community-announcement-page .feed-layout {
    width: 100%;
    max-width: 1440px;
    padding-top: 16px;
    padding-inline: 24px;
    padding-bottom: 32px;
    margin: 0 auto;
  }

  .feed-layout__side,
  .feed-layout__left,
  .feed-layout__main,
  .feed-layout__right {
    display: contents;
  }

  .feed-layout>*,
  .feed-layout .card,
  .feed-layout .stories {
    min-width: 0;
    width: 100%;
  }

  .feed-layout__right .side-card {
    padding: 24px;
  }

  .profile-card {
    order: 1;
  }

  /* The profile card is not shown on the mobile feed (same as the Community page). */
  .feed-layout .profile-card {
    display: none;
  }

  .composer {
    order: 3;
  }

  .compose-modal {
    order: 3;
  }

  .stories {
    order: 4;
  }

  .community-announcement-feed {
    order: 4;
  }

  .feed-sort-filter {
    order: 5;
  }

  .post {
    order: 6;
  }

  /* After the posts: "Load more", then the Lookout card, then the right-hand cards. */
  .feed-load-more {
    order: 7;
  }

  .feed-load-more__trigger {
    width: auto;
    height: auto;
    padding: 12px 16px;
    color: var(--pink);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .feed-load-more__link {
    display: inline;
  }

  .feed-layout__left .card-pad {
    order: 8;
  }

  .feed-layout__right .side-card:first-child {
    order: 9;
  }

  .feed-layout__right .side-card:last-child {
    order: 10;
  }

  .view-profile-layout {
    display: flex;
    padding-top: 12px;
    flex-direction: column;
    gap: 16px;
  }

  .view-profile-main {
    order: 1;
    width: 100%;
  }

  .view-profile-sidebar {
    display: contents;
  }

  .view-profile-sidebar .side-card:first-child {
    order: 2;
  }

  .view-profile-sidebar .side-card:last-child {
    order: 3;
  }

  .profile-view-hero__info {
    align-items: flex-start;
  }

  .profile-view-hero__avatar {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }

  .people-list .person:nth-child(n+3) {
    display: none;
  }

  .composer {
    min-height: 100px;
    padding: 16px;
    gap: 8px;
  }

  /* On phones the name is left out (it only fits for short names); it is still in the button's accessible label. */
  .composer__input-name {
    display: none;
  }

  /* One line only: anything still too long is cut with an ellipsis instead of wrapping over three lines. */
  .composer__input {
    height: 44px;
    padding-inline: 16px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .composer__photo,
  .composer__photo img {
    width: 24px;
    height: 24px;
  }

  .composer__photo {
    flex-basis: 24px;
  }

  .stories {
    height: 300px;
  }

  .story {
    min-width: 190px;
    flex: 0 0 190px;
  }

  .stories__control {
    width: 48px;
    height: 48px;
  }

  .stories__control img {
    width: 24px;
    height: 24px;
  }

  .post__image {
    height: auto;
    max-height: 480px;
  }

  .community-announcement-feed {
    padding: 0 0 24px;
  }

  .community-announcement-page .side-card {
    padding: 24px;
  }

  .side-card {
    width: 100%;
  }

  .admin-announcement-panel,
  .admin-announcement-calendar {
    padding: 20px;
  }

  .admin-announcement-calendar {
    grid-template-columns: 1fr;
  }

  .admin-announcement-card {
    grid-template-columns: 1fr;
  }

  .admin-announcement-card__image {
    height: 180px;
    border-radius: 16px 16px 0 0;
  }

  .admin-announcement-card__content {
    padding: 20px;
  }

  .admin-announcement-create-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-announcement-create-card,
  .admin-announcement-drafts {
    padding: 20px;
  }

  .admin-announcement-form__row,
  .admin-announcement-form__actions,
  .admin-announcement-draft-card {
    grid-template-columns: 1fr;
  }

  .admin-announcement-draft-card>img {
    height: 180px;
    margin: 0;
  }

  .admin-announcement-draft-card>div {
    padding: 20px;
  }

  .admin-announcement-tabs {
    gap: 24px;
    overflow-x: auto;
  }

  .admin-wellness-stats {
    grid-template-columns: 1fr;
  }

  .admin-data-monitoring-stats {
    grid-template-columns: 1fr;
  }

  .admin-wellness-stat {
    min-height: 120px;
  }

  .admin-data-monitoring-stat {
    min-height: 120px;
  }

  .admin-calendar-grid strong,
  .admin-calendar-grid span,
  .admin-calendar-grid button {
    width: 36px;
    height: 36px;
  }

  .connections-layout {
    display: flex;
    padding-top: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .connections-sidebar {
    display: contents;
  }

  .connections-layout .profile-card {
    display: none;
  }

  .feelings-watch {
    order: 2;
    width: 100%;
  }

  .connections-panel {
    order: 1;
    width: 100%;
  }

  .connections-panel__header {
    min-height: auto;
    padding: 20px;
  }

  .connections-grid {
    padding: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gratitude-wall {
    display: flex;
    padding-top: 12px;
    flex-direction: column;
    gap: 16px;
  }

  .gratitude-wall__sidebar {
    grid-template-columns: 1fr;
  }

  .gratitude-hero {
    min-height: 540px;
    padding: 40px 28px;
  }

  .gratitude-hero h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .gratitude-hero p {
    font-size: var(--type-text-md-size);
    line-height: var(--type-text-md-line);
  }

  .gratitude-form {
    min-height: auto;
    padding: 28px;
  }

  .recent-gratitude__list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .all-gratitude {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .all-gratitude__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .all-gratitude__header h1 {
    font-size: var(--type-display-sm-size);
    line-height: var(--type-display-sm-line);
  }

  .all-gratitude__header p {
    font-size: var(--type-text-md-size);
    line-height: var(--type-text-md-line);
  }

  .all-gratitude__add {
    align-self: flex-start;
  }

  .all-gratitude__panel {
    min-height: auto;
    padding: 20px;
  }

  .all-gratitude__filters {
    grid-template-columns: 1fr;
  }

  .all-gratitude-note {
    gap: 16px;
    padding: 20px;
  }

  .all-gratitude-note__top {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .all-gratitude-note__top p,
  .all-gratitude-note .gratitude-note__meta,
  .all-gratitude-note .gratitude-note__actions {
    max-width: none;
  }

  .all-gratitude__sidebar {
    grid-template-columns: 1fr;
  }

  .site-footer {
    min-height: 64px;
  }

  .site-footer .container {
    min-height: 64px;
    padding: 20px 24px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    font-size: 10px;
    text-align: center;
    white-space: normal;
  }

  .site-footer a {
    order: 1;
  }

  .site-footer span {
    width: 100%;
    order: 2;
  }

  .admin-shell {
    display: flex;
    flex-direction: column;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
    padding-bottom: 0;
  }

  .admin-sidebar__top {
    display: grid;
    gap: 0;
  }

  .admin-sidebar__logo {
    height: 76px;
    padding: 16px 24px;
  }

  .admin-sidebar__nav {
    display: flex;
    overflow-x: auto;
  }

  .admin-menu-item {
    min-width: max-content;
  }

  .admin-menu-group {
    display: contents;
  }

  .admin-menu-group__title {
    display: none;
  }

  .admin-sidebar__bottom {
    display: none;
  }

  .admin-header {
    position: relative;
    height: auto;
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .admin-search {
    width: 100%;
    order: 2;
  }

  .admin-account {
    width: 100%;
    justify-content: flex-end;
  }

  .admin-dashboard {
    padding: 24px;
  }

  .admin-notifications-panel {
    min-height: auto;
    padding: 20px;
  }

  .admin-details-panel {
    min-height: auto;
    padding: 20px;
  }

  .admin-user-management__heading h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .admin-users-panel {
    padding: 20px;
  }

  .admin-users-toolbar {
    flex-wrap: wrap;
  }

  .admin-users-search {
    width: min(100%, 320px);
  }

  .admin-users-tabs {
    overflow-x: auto;
    gap: 20px;
  }

  .admin-users-pagination {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .admin-data-post-card,
  .admin-data-user-card,
  .admin-data-action-card {
    padding: 20px;
  }

  .admin-data-post-sidebar {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .admin-data-post-header {
    flex-wrap: wrap;
  }

  .admin-data-post-author {
    min-height: auto;
    padding: 20px;
    padding-right: 130px;
  }

  .admin-data-post-author span {
    white-space: normal;
  }

  .admin-data-post-image {
    height: 260px;
  }

  .admin-data-post-copy,
  .admin-data-post-meta {
    padding-inline: 20px;
  }

  .admin-data-post-meta {
    flex-wrap: wrap;
  }

  .admin-data-post-meta small {
    white-space: normal;
  }

  .admin-user-profile-panel {
    padding: 20px;
  }

  .admin-user-profile__header,
  .admin-user-profile__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .admin-user-profile__grid {
    grid-template-columns: 1fr;
  }

  .admin-user-detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admin-user-summary-card {
    padding: 20px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .admin-user-detail-card {
    padding: 20px;
  }

  .admin-user-detail-row {
    padding: 12px 0;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .admin-user-detail-row>span,
  .admin-user-detail-row>b,
  .admin-user-detail-row>strong,
  .admin-user-detail-chips {
    padding: 0;
  }

  .admin-user-detail-row>b {
    display: none;
  }

  .admin-user-detail-edit,
  .admin-user-detail-arrow {
    width: 40px;
    height: 40px;
    justify-self: start;
  }

  .admin-user-detail-chips {
    max-width: 100%;
    margin-top: 6px;
  }

  .admin-status-select {
    width: min(100%, 240px);
    margin: 6px 0 0;
  }

  .admin-user-status-row--reason textarea {
    width: 100%;
    padding: 8px 0 0;
  }

  .admin-user-status-actions {
    flex-wrap: wrap;
  }

  .admin-details-panel__header p {
    white-space: normal;
  }

  .admin-details-field-group {
    grid-template-columns: 1fr;
  }

  .admin-details-field--no-label span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .admin-details-form__actions {
    flex-wrap: wrap;
  }

  .admin-notifications-tabs {
    width: 100%;
  }

  .admin-notification-row {
    padding: 18px 0;
  }

  .admin-pagination {
    margin-top: 32px;
    align-self: flex-start;
    flex-wrap: wrap;
  }

  .admin-dashboard__heading {
    flex-direction: column;
  }

  .admin-dashboard__heading h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .admin-dashboard__grid,
  .admin-stats,
  .admin-mini-cards {
    grid-template-columns: 1fr;
  }

  .admin-chart-card__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-chart {
    width: min(344px, 100%);
    overflow-x: auto;
  }

  .admin-chart-legend {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .login-layout__visual {
    padding-bottom: 22px;
    overflow: hidden;
  }

  .login-layout__logo,
  .login-layout__logo img {
    width: 94px;
    height: 48px;
  }

  .login-layout__logo {
    margin-bottom: 22px;
  }

  .login-collage {
    width: 460px;
    height: 682px;
    margin: -4px auto -210px;
    transform: scale(.58);
  }

  .login-layout__form-panel {
    padding: 24px 24px 36px;
  }

  .login-form {
    gap: 40px;
  }

  .admin-login-marketing {
    padding: 20px;
  }

  .admin-login-marketing__content {
    gap: 28px;
    margin-top: 28px;
  }

  .admin-login-preview {
    height: 300px;
  }

  .admin-login-preview__item--announcement {
    width: 78%;
    height: 190px;
  }

  .admin-login-preview__item--dashboard {
    width: 78%;
    height: 190px;
  }

  .admin-login-form-panel {
    padding: 40px 20px;
  }

  .admin-login-form {
    gap: 40px;
  }

  .landing-hero__logo,
  .landing-hero__logo,
  .landing-hero__logo img {
    width: 94px;
    height: 48px;
  }

  .landing-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-button {
    width: 100%;
  }

  .landing-social-proof {
    align-items: center;
  }

  .landing-social-proof p {
    width: auto;
  }

  .landing-showcase {
    grid-template-columns: 1fr;
  }

  .landing-showcase__thumbs {
    display: none;
  }

  .landing-showcase__dots {
    grid-column: 1;
  }

  .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: 24px;
  }

  .search-results-page .search-filter-card {
    padding: 20px;
  }

  .search-results-page .search-filter-card__types {
    margin: 16px -20px -20px;
  }

  .search-results-page .search-filter-card__type {
    padding-inline: 20px;
  }

  .community-announcement-page .feed-layout {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: 24px;
  }

  .account-page .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: 12px;
  }

  .account-page .logo,
  .account-page .logo img {
    width: 38px;
    height: 39px;
  }

  .account-page .nav__links {
    gap: 0;
  }

  .account-page .nav-icon {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  .account-page .notification-dropdown {
    right: -88px;
  }

  .account-page .account {
    margin-left: 4px;
  }

  .account-page .account .account__avatar {
    width: 32px;
    height: 32px;
  }

  .account-page .account__label {
    font-size: 12px;
  }

  .profile-edit__back {
    margin-bottom: 0;
  }

  .field-row--two,
  .field-row--three {
    grid-template-columns: 1fr;
  }

  .personal-details-page .field-row--two .field--no-label,
  .profile-view-modal .field-row--two .field--no-label {
    padding-top: 0;
  }

  .wellness-contact {
    flex-direction: column;
    gap: 20px;
  }

  .wellness-contact__item {
    width: 100%;
  }

  .field--no-label>span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .login-form .field--no-label>span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .nav-icon img {
    width: 20px;
    height: 20px;
  }

  .account .account__avatar {
    width: 40px;
    height: 40px;
  }

  .profile-card {
    min-height: 385px;
  }

  .profile-card__body {
    padding-inline: 24px;
  }

  .post__actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .post__actions button {
    font-size: 12px;
  }

  .post__actions button img {
    width: 18px;
    height: 18px;
    margin-right: 3px;
  }

  .profile-view-hero__cover {
    height: 120px;
  }

  .profile-view-hero__info {
    flex-direction: column;
  }

  .profile-view-details-grid {
    gap: 20px;
  }

  .profile-view-composer {
    padding: 14px;
    gap: 8px;
  }

  .profile-view-composer>img:first-child,
  .profile-view-post header>img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .profile-view-composer>img:not(:first-child) {
    width: 22px;
    height: 22px;
  }

  .profile-view-tabs {
    gap: 20px;
  }

  .profile-view-post__meta {
    align-items: center;
    flex-direction: row;
    gap: 18px;
  }

  .profile-view-connections__header {
    flex-direction: column;
  }

  .profile-view-connections__tools {
    width: 100%;
    flex-wrap: wrap;
  }

  .profile-view-connections__search {
    width: 100%;
    flex: 1 1 100%;
  }

  .profile-view-connections__tools>button {
    flex: 1 1 0;
    justify-content: center;
  }

  .profile-view-connections__grid {
    grid-template-columns: 1fr;
  }

  .profile-view-pagination {
    justify-content: center;
    flex-wrap: wrap;
  }

  .connections-toolbar {
    align-items: stretch;
  }

  .connections-search {
    width: 100%;
    flex-basis: 100%;
  }

  .connections-toolbar button {
    flex: 1 1 0;
    justify-content: center;
  }

  .connections-layout {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 24px 32px;
  }

  .connections-sidebar {
    display: contents;
  }

  .connections-panel {
    order: 1;
    border-radius: 16px;
  }

  .connections-panel__header {
    padding: 24px;
    gap: 20px;
  }

  .connections-panel__title h1 {
    font-size: 20px;
    line-height: 25px;
    letter-spacing: .15px;
  }

  .connections-toolbar {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    gap: 8px;
  }

  .connections-search {
    width: 100%;
    height: 44px;
    flex-basis: auto;
  }

  .connections-toolbar button {
    width: 44px;
    height: 44px;
    padding: 0;
    flex: 0 0 44px;
    justify-content: center;
    border-radius: 50%;
  }

  .connections-toolbar button img,
  .connections-sort-icon {
    width: 16px;
    height: 16px;
  }

  .connections-toolbar button .connections-icon-label {
    display: none;
  }

  .connections-popovers {
    top: 118px;
    right: 16px;
    left: 16px;
  }

  .connections-popover {
    width: 100%;
    padding: 8px 10px;
  }

  .connections-popover h2 {
    margin-bottom: 0;
  }

  .connections-choice {
    height: 40px;
    padding: 0 16px;
  }

  /* Filter and Sort open as a full-screen panel with a back arrow on mobile. */
  .connections-layout--filters-open {
    min-height: 0;
    padding: 16px 24px 20px;
  }

  .connections-layout--filters-open .connections-sidebar,
  .connections-layout--filters-open .connections-grid,
  .connections-layout--filters-open .connections-pagination {
    display: none;
  }

  .connections-layout--filters-open .connections-panel {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .connections-layout--filters-open .connections-panel__header {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .connections-layout--filters-open .connections-panel__title,
  .connections-layout--filters-open .connections-toolbar {
    display: none;
  }

  .connections-layout--filters-open .connections-popovers {
    position: static;
    width: 100%;
    padding: 0;
  }

  .connections-layout--filters-open .connections-popover {
    width: 100%;
    min-height: 0;
    max-height: calc(100dvh - 160px);
    padding: 0;
    gap: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: none;
  }

  .connections-layout--filters-open #connections-filter-popover {
    min-height: 0;
    max-height: calc(100dvh - 160px);
    padding: 0;
  }

  .connections-layout--filters-open #connections-filter-popover>.connections-popover__header,
  .connections-layout--filters-open #connections-filter-popover>.connections-popover__section,
  .connections-layout--filters-open #connections-filter-popover>.connections-popover__actions {
    width: 100%;
  }

  .connections-layout--filters-open .connections-popover__header {
    display: flex;
    width: 100%;
    min-height: 72px;
    padding: 0 24px;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--line);
  }

  .connections-layout--filters-open .connections-popover__header h2 {
    margin: 0;
    color: #333;
    font-size: 20px;
    line-height: 25px;
    font-weight: var(--font-weight-bold);
    letter-spacing: .15px;
  }

  .connections-layout--filters-open .connections-popover__back {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .connections-layout--filters-open .connections-popover__back img {
    display: block;
    width: 24px;
    height: 24px;
  }

  .connections-layout--filters-open .connections-popover>.connections-popover__section {
    width: 100%;
    padding: 0 20px;
  }

  .connections-layout--filters-open .connections-popover__header+.connections-popover__section {
    margin-top: 8px;
  }

  .connections-layout--filters-open .connections-choice:has(input:checked) {
    background: #fff;
  }

  .connections-layout--filters-open .connections-popover>.connections-popover__actions {
    width: 100%;
    margin-top: auto;
    padding: 0 20px 20px;
  }

  .connections-grid {
    padding: 16px 20px 0;
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .connection-card {
    min-height: 90px;
    padding: 16px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
  }

  .connection-card__avatar {
    position: static;
    width: 60px;
    height: 60px;
    margin: 0;
    flex: 0 0 60px;
  }

  .connection-card__body {
    min-height: 0;
    min-width: 0;
    padding: 0;
    justify-items: start;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
  }

  .connection-card__name {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .connection-card__name strong {
    display: block;
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
  }

  .connection-pill {
    min-height: 22px;
    padding: 2px 8px;
    flex: 0 0 auto;
  }

  .connection-feeling {
    max-width: 100%;
    color: #808080;
    font-weight: var(--font-weight-medium);
  }

  .connection-feeling span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .connection-card p {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-line-clamp: unset;
  }

  .connections-pagination {
    display: flex;
    padding: 16px 20px 0;
    align-items: center;
    gap: 6px;
    overflow: hidden;
  }

  .connections-pagination button,
  .connections-pagination span {
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    line-height: 20px;
    font-weight: var(--font-weight-medium);
    letter-spacing: .15px;
  }

  .connections-pagination button {
    cursor: pointer;
  }

  .connections-pagination button:disabled {
    color: #b3b3b3;
    cursor: default;
  }

  .connections-pagination .is-active {
    background: var(--line);
  }

  .announcement div {
    min-width: 0;
  }

  .announcement p {
    overflow-wrap: anywhere;
  }

  .search-results-page .search-results__group-card {
    padding: 0;
    border: 0;

  }
}

.profile-cover-modal {
  width: min(386px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 24px -4px rgba(10, 13, 18, .08), 0 8px 8px -4px rgba(10, 13, 18, .03);
}

.profile-cover-modal::backdrop {
  background: rgba(0, 0, 0, .25);
  opacity: .9;
}

.profile-cover-modal__form {
  margin: 0;
}

.profile-cover-modal__header {
  position: relative;
  display: flex;
  min-height: 59px;
  padding: 16px 20px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.profile-cover-modal__header h2 {
  margin: 0;
  color: #333;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

.profile-cover-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #999;
  cursor: pointer;
}

.profile-cover-modal__close span {
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.profile-cover-modal__close:hover {
  background: #f5f5f5;
}

.profile-cover-modal__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.profile-cover-modal__preview-wrap {
  width: 100%;
  height: 162px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.profile-cover-modal__preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-cover-modal__picker {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 20px;
}

.profile-cover-modal__picker h2 {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: .15px;
}

.profile-cover-modal__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 65px;
  gap: 10px;
}

.profile-cover-modal__tile {
  display: flex;
  width: 100%;
  height: 65px;
  padding: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.profile-cover-modal__tile:hover,
.profile-cover-modal__tile:focus-visible {
  border-color: var(--pink);
  outline: 2px solid rgba(233, 70, 139, .2);
  outline-offset: 1px;
}

.profile-cover-modal__tile.is-selected {
  border: 2px solid var(--pink);
}

.profile-cover-modal__tile>img:not([src$="icon-upload-filled.svg"]) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-cover-modal__upload {
  flex-direction: column;
  gap: 4px;
  border-color: var(--line);
  background: #edf3f7;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}

.profile-cover-modal__upload>img {
  width: 14px;
  height: 14px;
}

.profile-cover-modal__upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.profile-cover-modal__actions {
  display: flex;
  padding: 16px 20px 20px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.profile-cover-modal__actions button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--pink);
  border-radius: 22px;
  font: inherit;
  cursor: pointer;
}

.profile-cover-modal__cancel {
  background: #fff;
  color: var(--pink);
}

.profile-cover-modal__update {
  background: var(--pink);
  color: #fff;
}

.index-cover-message {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  padding: 16px;
  place-items: center;
}

.index-cover-message__backdrop {
  position: absolute;
  inset: 0;
  opacity: .9;
  background: rgba(0, 0, 0, .25);
}

.index-cover-message__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(344px, calc(100vw - 32px));
  min-width: 480px;
  max-height: min(430px, calc(100dvh - 32px));
  overflow: hidden;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 24px -4px rgba(10, 13, 18, .08), 0 8px 8px -4px rgba(10, 13, 18, .03);
}

.index-cover-message__header {
  position: relative;
  display: flex;
  min-height: 74px;
  padding: 24px 56px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.index-cover-message__header h1 {
  color: #333;
  width: 100%;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: .15px;
  text-align: center;
}

.index-cover-message__close {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #999;
  transform: translateY(-50%);
  cursor: pointer;
}

.index-cover-message__close img {
  display: block;
  width: 24px;
  height: 24px;
}

.index-cover-message__close:hover {
  background: #f5f5f5;
}

.index-cover-message__body {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  text-align: left;
}

.index-cover-message__body p {
  max-width: none;
  color: #666;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: .15px;
}

.index-cover-message__question {
  color: #333 !important;
  font-size: 18px !important;
  line-height: 28px !important;
  font-weight: 500 !important;
}

.index-cover-message__copy {
  color: #808080 !important;
}

.index-cover-message__actions {
  display: flex;
  min-height: 84px;
  padding: 20px 24px 24px;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.index-cover-message__actions button {
  min-width: 0;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--pink);
  border-radius: 60px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.index-cover-message__cancel {
  background: #fff;
  color: var(--pink);
}

.index-cover-message__continue {
  background: var(--pink);
  color: #fff;
}

.index-cover-message__continue:hover {
  background: #d9387c;
}

@media (max-width: 520px) {
  .index-cover-message__dialog {
    width: calc(100vw - 32px);
    min-width: 0;
    max-width: calc(100vw - 32px);
  }
}

.profile-cover-review-modal {
  width: min(480px, calc(100% - 32px));
  box-shadow: none;
}

.profile-cover-review-modal__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-cover-review-modal__header-content {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  padding: 24px;
  flex-direction: column;
  align-items: center;
}

.profile-cover-review-modal__header-content h2 {
  width: 100%;
  margin: 0;
  padding: 0 32px;
  color: #333;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: .15px;
  text-align: center;
}

.profile-cover-review-modal__divider {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.profile-cover-review-modal__body {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  padding: 24px;
  flex-direction: column;
  align-items: center;
}

.profile-cover-review-modal__content {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  padding: 16px 24px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.profile-cover-review-modal__icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.profile-cover-review-modal__content h3 {
  margin: 0;
  color: #333;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: .15px;
}

.profile-cover-review-modal__content p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

@media (max-width: 380px) {
  .site-header>.container {
    padding-inline: 16px;
  }

  .nav {
    gap: 8px;
  }

  .nav__brand {
    min-width: 38px;
    flex: 0 0 38px;
  }

  .nav__links {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: space-between;
  }

  .nav-icon {
    width: 34px;
    height: 36px;
    padding: 7px;
    flex: 0 0 34px;
  }

  .nav-icon img {
    width: 20px;
    height: 20px;
  }

  .notification-menu {
    flex: 0 0 34px;
  }

  .account {
    min-height: 36px;
    margin-left: 4px;
    gap: 4px;
  }

  .account .account__avatar {
    width: 32px;
    height: 32px;
  }

  .account__label {
    gap: 2px;
    font-size: 12px;
  }

  .account .account__chevron {
    width: 8px;
  }

  .site-footer {
    width: 100%;
  }

  .site-footer .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
    gap: 10px 16px;
  }
}

/* Mobile header: logo, the primary icons centred, "Me" on the right and the search on its own row below. */
@media (max-width: 820px) {
  .site-header:not(.site-header--account) {
    height: auto;
  }

  .site-header:not(.site-header--account)>.container.nav {
    display: flex;
    height: auto;
    padding: 20px 24px;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-header:not(.site-header--account) .nav__brand {
    display: contents;
  }

  .site-header:not(.site-header--account) .logo {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    order: 1;
  }

  .site-header:not(.site-header--account) .logo img {
    width: 32px;
    height: 32px;
  }

  .site-header:not(.site-header--account) .nav__links {
    min-width: 0;
    flex: 1 1 0;
    padding-right: 86px;
    order: 2;
    justify-content: center;
    gap: 8px;
  }

  .site-header:not(.site-header--account) .nav-icon {
    width: 32px;
    height: 32px;
    padding: 4px;
    flex: 0 0 32px;
  }

  .site-header:not(.site-header--account) .nav-icon img {
    width: 24px;
    height: 24px;
  }

  .site-header:not(.site-header--account) .nav-icon--tree {
    display: grid;
  }

  .site-header:not(.site-header--account) .notification-menu {
    flex: 0 0 32px;
  }

  /* The notifications panel opens as a full-width sheet under the whole header, not hanging off the bell. */
  .site-header:not(.site-header--account) .notification-menu {
    position: static;
  }

  .site-header:not(.site-header--account) .notification-dropdown {
    top: calc(100% + 8px);
    right: 24px;
    left: 24px;
    width: auto;
  }

  .site-header:not(.site-header--account) .profile-menu {
    position: absolute;
    top: 20px;
    right: 24px;
  }

  .site-header:not(.site-header--account) .account {
    min-height: 32px;
    margin-left: 0;
    gap: 4px;
    white-space: nowrap;
  }

  .site-header:not(.site-header--account) .account .account__avatar {
    width: 32px;
    height: 32px;
  }

  .site-header:not(.site-header--account) .account__label {
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
  }

  .site-header:not(.site-header--account) .header-search {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    flex: 0 0 100%;
    order: 3;
  }

  .site-header:not(.site-header--account) .header-search .search {
    width: 100%;
    height: 44px;
    margin: 0;
  }

  /* The recent-searches panel floats under the field; it must not take up room in the header while closed. */
  .site-header:not(.site-header--account) .search-history {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 400px) {
  .site-header:not(.site-header--account)>.container.nav {
    padding-inline: 16px;
    gap: 8px;
  }

  .site-header:not(.site-header--account) .nav__links {
    padding-right: 80px;
    gap: 8px;
  }

  .site-header:not(.site-header--account) .nav-icon,
  .site-header:not(.site-header--account) .notification-menu {
    width: 30px;
    flex-basis: 30px;
  }

  .site-header:not(.site-header--account) .profile-menu {
    right: 16px;
  }

  .site-header:not(.site-header--account) .notification-dropdown {
    right: 16px;
    left: 16px;
  }
}

@media (max-width: 350px) {
  .site-header:not(.site-header--account) .nav__links {
    gap: 4px;
  }
}

/* Gratitude wall on phones: the tree stays visible beside a narrow text column and compact stat cards,
   and each note reads text, author, category, then actions. */
@media (max-width: 520px) {
  .gratitude-hero {
    min-height: 365px;
    margin-inline: -24px;
    padding: 36px 24px;
  }

  .gratitude-hero__image {
    object-position: right center;
  }

  .gratitude-hero__copy {
    width: 52%;
    gap: 12px;
  }

  .gratitude-hero h1 {
    font-size: 24px;
    line-height: 30px;
  }

  .gratitude-hero p {
    font-size: 11px;
    line-height: 14px;
  }

  .gratitude-hero__stats {
    width: 136px;
    margin-top: 8px;
    gap: 10px;
  }

  .gratitude-stat {
    min-height: 50px;
    padding: 8px;
    gap: 8px;
    border-radius: 12px;
  }

  .gratitude-stat__icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .gratitude-stat__icon img {
    width: 14px;
    height: 14px;
  }

  .gratitude-stat strong {
    font-size: 14px;
    line-height: 18px;
  }

  .gratitude-stat span:not(.gratitude-stat__icon) {
    font-size: 9px;
    line-height: 12px;
    font-weight: 500;
  }

  .gratitude-note {
    padding: 20px;
    gap: 12px;
  }

  .gratitude-note__avatar {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .gratitude-note__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* The text and the category chip become separate rows of the body so the chip can sit under the author. */
  .gratitude-note__top {
    display: contents;
  }

  .gratitude-note__top p {
    max-width: none;
    order: 1;
  }

  .gratitude-note__meta {
    order: 2;
  }

  .gratitude-note__top .gratitude-chip {
    order: 3;
    align-self: flex-start;
  }

  .gratitude-note__actions {
    order: 4;
  }
}

/* Task board (kanban). Colors, radius and type reuse the admin's existing values. */
.admin-kanban {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 8px;
  overflow-x: auto;
}

.admin-kanban__column {
  display: grid;
  flex: 0 0 300px;
  min-height: 160px;
  padding: 16px;
  gap: 12px;
  align-content: start;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #f6f6f8;
}

.admin-kanban__column--new {
  background: transparent;
  border-style: dashed;
}

.admin-kanban__column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-kanban__column-header h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}

.admin-kanban__column-rename {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-kanban__column-rename input {
  flex: 1 1 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font: inherit;
}

.admin-kanban__empty {
  margin: 0;
  color: #808080;
  font-size: 12px;
  line-height: 16px;
}

.admin-kanban__count {
  margin-left: 6px;
  color: #808080;
  font-size: 12px;
  font-weight: 500;
}

.admin-kanban__cards {
  display: grid;
  min-height: 24px;
  gap: 8px;
  align-content: start;
}

.admin-kanban__card {
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  background: #fff;
  cursor: grab;
}

.admin-kanban__card button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  cursor: inherit;
  overflow-wrap: anywhere;
}

.admin-kanban__card:hover {
  border-color: #e9468b;
}

.admin-kanban__add {
  display: grid;
  gap: 8px;
}

.admin-kanban__add input {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font: inherit;
}

.admin-qr-modal--wide {
  width: min(560px, 100%);
}

.admin-kanban__chips,
.admin-kanban__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.admin-kanban__chips {
  margin-bottom: 6px;
}

.admin-kanban__meta {
  margin-top: 8px;
}

.admin-kanban__chip {
  min-height: 22px;
  padding: 2px 10px;
}

.admin-kanban__assignees {
  color: #808080;
  font-size: 12px;
  line-height: 16px;
}

.admin-kanban__fieldset {
  display: grid;
  margin: 0;
  padding: 12px 16px;
  gap: 8px;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
}

.admin-kanban__fieldset legend {
  padding: 0 6px;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
}

.admin-kanban__option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.admin-kanban__option label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-kanban__new-label {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-kanban__new-label input,
.admin-kanban__new-label select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font: inherit;
}

.admin-kanban__new-label input {
  flex: 1 1 140px;
  min-width: 0;
}

.admin-kanban__done {
  color: #808080;
  text-decoration: line-through;
}

.admin-kanban__comment {
  display: grid;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e9eaeb;
}

.admin-kanban__comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.admin-kanban__comment-head .admin-table-edit {
  margin-left: auto;
}

/* A comment is Markdown too, but a typed line break stays a line break. */
.admin-kanban__comment .admin-kanban__markdown p {
  white-space: pre-line;
}

/* The card opens wide, like Trello: details on the left, comments on the right. */
.admin-qr-modal--board {
  width: min(1000px, 100%);
}

.admin-kanban__card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-kanban__card-side {
  position: sticky;
  top: 0;
}

@media (max-width: 800px) {
  .admin-kanban__card-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-kanban__card-side {
    position: static;
  }
}

/* Buttons that sit on the same row as a 40px field are 40px tall too (the default button is 52px). */
.admin-kanban__new-label .admin-details-button,
.admin-kanban__add .admin-details-button,
.admin-kanban__column-rename .admin-details-button {
  height: 40px;
  min-height: 40px;
  padding: 0 20px;
}

.admin-kanban__new-label {
  align-items: center;
}

/* Rendered Markdown (card description). */
.admin-kanban__markdown {
  color: #1a1a1a;
  font-size: 14px;
  line-height: 22px;
  overflow-wrap: anywhere;
}

.admin-kanban__markdown > :first-child {
  margin-top: 0;
}

.admin-kanban__markdown > :last-child {
  margin-bottom: 0;
}

.admin-kanban__markdown p,
.admin-kanban__markdown ul,
.admin-kanban__markdown ol,
.admin-kanban__markdown blockquote,
.admin-kanban__markdown pre,
.admin-kanban__markdown table {
  margin: 0 0 10px;
}

.admin-kanban__markdown h1,
.admin-kanban__markdown h2,
.admin-kanban__markdown h3,
.admin-kanban__markdown h4 {
  margin: 14px 0 6px;
  color: #1a1a1a;
  font-weight: 600;
  line-height: 24px;
}

.admin-kanban__markdown h1 { font-size: 20px; }
.admin-kanban__markdown h2 { font-size: 18px; }
.admin-kanban__markdown h3,
.admin-kanban__markdown h4 { font-size: 16px; }

.admin-kanban__markdown ul { padding-left: 22px; list-style: disc; }
.admin-kanban__markdown ol { padding-left: 22px; list-style: decimal; }

.admin-kanban__markdown a {
  color: #c63c76;
  text-decoration: underline;
}

.admin-kanban__markdown blockquote {
  padding-left: 12px;
  border-left: 3px solid #e9eaeb;
  color: #666;
}

.admin-kanban__markdown code {
  padding: 1px 5px;
  border-radius: 6px;
  background: #f6f6f8;
  font-size: 13px;
}

.admin-kanban__markdown pre {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f6f8;
  overflow-x: auto;
}

.admin-kanban__markdown pre code {
  padding: 0;
  background: transparent;
}

.admin-kanban__markdown table {
  border-collapse: collapse;
}

.admin-kanban__markdown th,
.admin-kanban__markdown td {
  padding: 4px 10px;
  border: 1px solid #e9eaeb;
  text-align: left;
}

.admin-kanban__markdown hr {
  margin: 12px 0;
  border: 0;
  border-top: 1px solid #e9eaeb;
}

/* Card description, Trello style: rendered text with an Edit button; clicking it opens the field. */
.admin-kanban__description-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-kanban__description-head .admin-details-button,
.admin-kanban__description-actions .admin-details-button {
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
}

.admin-kanban__description-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-kanban__help {
  margin-left: auto;
}

.admin-kanban__help-list {
  margin: 0;
  padding-left: 20px;
  color: #666;
  font-size: 13px;
  line-height: 22px;
  list-style: disc;
}

.admin-kanban__description-view {
  padding: 6px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  cursor: pointer;
}

.admin-kanban__description-view:hover {
  background: #f6f6f8;
}

.admin-kanban__description-placeholder {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #f6f6f8;
  color: #666;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.admin-kanban__description-placeholder:hover {
  background: #eee;
}

.admin-kanban__card-side .admin-details-button {
  white-space: nowrap;
}

/* Guided tour: the welcome card (a .mood-modal dialog) and the driver.js bubbles. */
.tour-welcome__body {
  display: grid;
  padding: 16px 16px 28px;
  gap: 12px;
}

.tour-welcome__image {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  background: #f6f6f8;
}

.tour-welcome__image img {
  display: block;
  width: 100%;
  height: auto;
}

.tour-welcome__body h2 {
  margin: 0;
  padding-inline: 8px;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.tour-welcome__body p {
  margin: 0;
  padding-inline: 8px;
  color: #666;
  font-size: 14px;
  line-height: 22px;
}

.tour-welcome__actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.tour-welcome__actions .primary-button {
  min-width: 170px;
  padding: 12px 28px;
}

/* The tour bubbles: a white card with the step text and plain text buttons (Previous / Next), like the design. */
.driver-popover.how-tour {
  min-width: 312px;
  max-width: 312px;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(10, 13, 18, .18);
  font-family: inherit;
}

.driver-popover.how-tour .driver-popover-arrow {
  display: none;
}

.driver-popover.how-tour .driver-popover-title {
  margin: 0 0 8px;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.driver-popover.how-tour .driver-popover-description {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
}

.driver-popover.how-tour .driver-popover-footer {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
  align-items: center;
  gap: 8px;
}

.driver-popover.how-tour .driver-popover-progress-text {
  flex: 1 0 100%;
  color: #808080;
  font-size: 14px;
  line-height: 20px;
}

.driver-popover.how-tour .driver-popover-navigation-btns {
  margin-left: auto;
  gap: 4px;
}

.driver-popover.how-tour .driver-popover-footer button {
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: #e9468b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-shadow: none;
  cursor: pointer;
}

.driver-popover.how-tour .driver-popover-footer button:hover {
  background: transparent;
  text-decoration: underline;
}

.driver-popover.how-tour .driver-popover-footer button:disabled,
.driver-popover.how-tour .driver-popover-footer .driver-popover-btn-disabled {
  opacity: .4;
  pointer-events: none;
}

/* The "Me" menu held open while the tour points at it, and the invisible box the tour highlights around it. */
.profile-menu.tour-open .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
}

[data-tour-box] {
  pointer-events: none;
}
/* Feed side card: Recent gratitude notes (compact version of the gratitude wall notes; shares their avatar, chip and icon styles). */
.side-gratitude__list {
  display: grid;
  gap: 20px;
}

.side-gratitude__note {
  display: flex;
  gap: 12px;
  cursor: pointer;
}

.side-gratitude__note .gratitude-note__avatar {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.side-gratitude__body {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 8px;
}

.side-gratitude__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.side-gratitude__top p {
  min-width: 0;
  margin: 0;
  color: #000;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.side-gratitude__top .gratitude-chip {
  flex: none;
}

.side-gratitude__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 12px;
  line-height: 16px;
}

.side-gratitude__meta img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.side-gratitude__meta strong {
  color: #000;
  font-weight: 600;
}

.side-gratitude__reactions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.side-gratitude__reactions span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.side-gratitude__all {
  display: block;
  margin-top: 24px;
  color: var(--pink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-align: center;
}
.side-gratitude__reactions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.side-gratitude__reactions button:disabled {
  opacity: .6;
}

.side-gratitude__reactions .gratitude-note__reaction.is-active .gratitude-note__icon--heart::before {
  background-image: url("../images/icon-gratitude-note-like-filled.svg");
}
/* Admin > Reports */
[x-cloak] {
  display: none !important;
}

.admin-reports-list {
  min-width: 860px;
}

.admin-reports-list th:first-child,
.admin-reports-list td:first-child {
  width: 300px;
}

.admin-reports-list th:nth-child(2),
.admin-reports-list td:nth-child(2) {
  width: 200px;
}

.admin-reports-list th:nth-child(3),
.admin-reports-list td:nth-child(3) {
  width: 140px;
}

.admin-reports-list td {
  height: 72px;
}

.admin-reports-item {
  display: grid;
  max-width: 280px;
  gap: 2px;
}

.admin-reports-item strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
}

.admin-reports-item small {
  color: #666;
  font-size: 14px;
  line-height: 20px;
}

.admin-reports-item__alert {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  vertical-align: -2px;
}

.admin-reports-popover {
  position: relative;
}

.admin-reports-popover__menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 200px;
  padding: 12px;
  gap: 10px;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  text-align: left;
}

.admin-reports-popover--row .admin-reports-popover__menu {
  top: 100%;
  min-width: 120px;
  padding: 6px;
  gap: 0;
}

.admin-reports-popover__menu h3 {
  margin: 0;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.admin-reports-popover__menu label {
  display: grid;
  gap: 4px;
  color: #666;
  font-size: 12px;
}

.admin-reports-popover__menu select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 14px;
}

.admin-reports-popover__menu p {
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 16px;
}

.admin-reports-popover__actions {
  display: flex;
  justify-content: flex-end;
}

/* A tick-box row in a popover (the same box as the table checkboxes). */
.admin-reports-popover__menu label.admin-reports-popover__check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.admin-reports-popover__check .admin-checkbox {
  flex: none;
}

.admin-users-actions .admin-reports-popover__menu button,
.admin-reports-popover__option {
  min-height: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}

.admin-reports-popover__option:hover,
.admin-reports-popover__option.is-selected {
  background: #fdf2f7;
  color: #e9468b;
}

.admin-reports-notice {
  display: flex;
  margin: 24px 0;
  padding: 16px 20px;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid #fda29b;
  border-radius: 8px;
  background: #fef3f2;
}

.admin-reports-notice img {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
}

.admin-reports-notice strong {
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.admin-reports-notice p {
  margin: 2px 0 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
}

.admin-reports-detail {
  display: grid;
  gap: 16px;
}

.admin-reports-detail__owner {
  display: grid;
  margin: 0;
  gap: 2px;
}

.admin-reports-detail__owner span {
  color: #666;
  font-size: 14px;
}

.admin-reports-detail blockquote {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid #e9468b;
  background: #f9fafb;
  color: #333;
  font-size: 14px;
  line-height: 22px;
  overflow-wrap: anywhere;
}

.admin-reports-detail__table {
  min-width: 560px;
}

.admin-reports-detail__table td {
  white-space: normal;
}

.admin-reports-detail__details {
  max-width: 220px;
  overflow-wrap: anywhere;
}
/* Reports: sizes and weights measured from the design (Plus Jakarta Sans). */
.admin-reports-view .admin-user-management__heading h1 {
  font-size: 34px;
  line-height: 42px;
  font-weight: 500;
  letter-spacing: .15px;
}

.admin-reports-view .admin-user-management__heading p {
  max-width: 580px;
  letter-spacing: 0;
}

.admin-reports-view .admin-users-search input {
  font-size: 13px;
  letter-spacing: .15px;
}

.admin-reports-list td,
.admin-reports-item small {
  letter-spacing: 0;
}

.admin-reports-notice strong {
  color: #4d4d4d;
}

.admin-reports-notice p {
  color: #666;
  letter-spacing: 0;
}
.admin-reports-item strong {
  font-weight: 500;
}

.admin-reports-list th:nth-child(n+3),
.admin-reports-list td:nth-child(n+3) {
  text-align: center;
}
/* Reports table: the design's columns (a tick box, then item, reporter, date, status, last updated, action). */
.admin-reports-list {
  min-width: 860px;
  table-layout: fixed;
}

.admin-reports-list col:nth-child(1) { width: 29%; }
.admin-reports-list col:nth-child(2) { width: 18.5%; }
.admin-reports-list col:nth-child(3) { width: 16.4%; }
.admin-reports-list col:nth-child(4) { width: 12.8%; }
.admin-reports-list col:nth-child(5) { width: 16.5%; }
.admin-reports-list col:nth-child(6) { width: 6.8%; }

.admin-reports-list th,
.admin-reports-list td {
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-reports-list td:first-child {
  display: table-cell;
}

.admin-reports-list td:first-child .admin-checkbox-control,
.admin-reports-list td:first-child .admin-reports-item {
  display: inline-block;
  vertical-align: middle;
}

.admin-reports-list td:first-child .admin-reports-item {
  display: inline-grid;
  max-width: calc(100% - 36px);
}

.admin-reports-list td:first-child .admin-checkbox {
  margin-right: 8px;
}

.admin-reports-list th:first-child .admin-checkbox {
  margin-right: 12px;
}
.admin-reports-list th:first-child,
.admin-reports-list td:first-child,
.admin-reports-list th:nth-child(2),
.admin-reports-list td:nth-child(2),
.admin-reports-list th:nth-child(3),
.admin-reports-list td:nth-child(3) {
  width: auto;
}
.admin-reports-list th:nth-child(4),
.admin-reports-list td:nth-child(4) {
  padding-right: 0;
  padding-left: 0;
  overflow: visible;
}

.admin-reports-list th:nth-child(6),
.admin-reports-list td:nth-child(6) {
  padding-right: 0;
  padding-left: 0;
  overflow: visible;
}
/* Tick box measured from the design: 20px, 4px corners, a 1.5px #808080 line (one solid pixel, one half-tone). */
.admin-reports-list .admin-checkbox {
  border: 1px solid #808080;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .5);
}

.admin-reports-list .admin-checkbox-input:checked + .admin-checkbox {
  border-color: transparent;
  box-shadow: none;
}

.admin-reports-list td:first-child .admin-checkbox {
  margin-right: 6px;
}

.admin-reports-list th:first-child .admin-checkbox {
  margin-right: 12px;
}

.admin-reports-list th:first-child .admin-checkbox-control {
  position: relative;
  top: -2px;
}
/* Row actions: three horizontal dots and a small "View" card, as in the design. */
.admin-reports-dots {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-reports-dots img {
  width: 20px;
  height: 4px;
}

.admin-reports-popover--row .admin-reports-popover__menu {
  position: fixed;
  z-index: 50;
  right: auto;
  display: block;
  width: 121px;
  min-width: 0;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .22);
}

.admin-reports-popover--row .admin-reports-popover__option {
  width: 100%;
  height: 100%;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
}
/* Announcement form: several dates, and tags. */
.admin-announcement-dates,
.admin-announcement-tag-field {
  display: grid;
  gap: 10px;
}

.admin-announcement-dates__title,
.admin-announcement-tag-field__title {
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: .15px;
}

.admin-announcement-dates__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-announcement-dates__row .admin-announcement-field {
  min-width: 0;
}

.admin-announcement-field input[type="date"],
.admin-announcement-field input[type="time"] {
  min-width: 0;
  padding-right: 12px;
  font-size: 15px;
}

.admin-announcement-dates__remove {
  width: 40px;
  height: 56px;
  border: 0;
  background: transparent;
  color: #808080;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.admin-announcement-dates__remove:hover {
  color: #e9468b;
}

.admin-announcement-dates .admin-details-button {
  justify-self: start;
}

.admin-announcement-dates__hint {
  color: #666;
  font-size: 12px;
  line-height: 16px;
}

.admin-announcement-tag-field__input {
  width: 100%;
  height: 56px;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: .15px;
  outline: 0;
  box-sizing: border-box;
}

.admin-announcement-tag-field .admin-announcement-tags button {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

/* The three fields of a day wrap onto a second line when the form is narrow; the remove button sits at the top right. */
.admin-announcement-dates__row {
  position: relative;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: start;
  padding-right: 36px;
}

.admin-announcement-dates__remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  font-size: 22px;
}
/* An announcement's text keeps the line breaks the admin typed (Location:, Timing:...). */
.community-event-card__body > p {
  white-space: pre-line;
}
/* The date and the times of a day: a little smaller so "10/22/2026" and its calendar icon fit in the narrow column. */
.admin-announcement-dates__row .admin-announcement-field input[type="date"],
.admin-announcement-dates__row .admin-announcement-field input[type="time"] {
  padding-left: 12px;
  padding-right: 8px;
  font-size: 14px;
}
/* One row = a start and an end, each a date and a time. */
.admin-announcement-dates__row {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding-right: 0;
  padding: 12px;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
}

.admin-announcement-dates__day {
  grid-column: 1 / -1;
  color: #333;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.admin-announcement-dates__remove {
  top: 6px;
  right: 8px;
}

.admin-announcement-dates__row .admin-announcement-field input[type="datetime-local"] {
  padding-left: 12px;
  padding-right: 8px;
  font-size: 14px;
}
/* Admin > Journal codes (measured from the design) */
.admin-journal-codes__heading h1 {
  font-size: 34px;
  line-height: 42px;
  font-weight: 500;
  letter-spacing: .25px;
}

.admin-journal-codes__heading p {
  width: auto;
  max-width: 680px;
  margin-top: 4px;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
}

.admin-journal-codes__heading p a {
  color: #1570ef;
  text-decoration: underline;
}

.admin-journal-codes__buttons {
  display: flex;
  flex: none;
  gap: 12px;
  align-items: flex-start;
}

.admin-journal-codes__buttons .admin-add-button,
.admin-journal-import-button {
  min-width: 131px;
  height: 45px;
  min-height: 45px;
  padding: 0 20px;
  gap: 11px;
}

.admin-journal-import-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9468b;
  border-radius: 60px;
  background: #fff;
  color: #e9468b;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.admin-journal-import-button img {
  width: 18px;
  height: 17px;
}

.admin-journal-codes-panel {
  grid-template-rows: auto auto 1fr auto;
  min-height: 728px;
}

.admin-journal-codes__tabs {
  gap: 6px;
}

.admin-journal-codes__tabs button {
  padding-right: 43px;
  padding-left: 43px;
}

.admin-journal-codes-view .admin-users-search input {
  font-size: 13px;
  letter-spacing: .15px;
}

.admin-journal-list {
  min-width: 860px;
  table-layout: fixed;
}

.admin-journal-list col:nth-child(1) { width: 23.4%; }
.admin-journal-list col:nth-child(2) { width: 12.8%; }
.admin-journal-list col:nth-child(3) { width: 11%; }
.admin-journal-list col:nth-child(4) { width: 16.8%; }
.admin-journal-list col:nth-child(5) { width: 11%; }
.admin-journal-list col:nth-child(6) { width: 13.8%; }
.admin-journal-list col:nth-child(7) { width: 11.2%; }

.admin-journal-list th,
.admin-journal-list td {
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
}

.admin-journal-list th {
  height: 56px;
  letter-spacing: .15px;
}

.admin-journal-list td {
  height: 68px;
}

.admin-journal-list th:nth-child(n+2):not(:nth-child(4)),
.admin-journal-list td:nth-child(n+2):not(:nth-child(4)) {
  padding-right: 6px;
  padding-left: 6px;
  overflow: visible;
  text-align: center;
}

.admin-journal-list th:nth-child(4),
.admin-journal-list td:nth-child(4) {
  text-align: left;
}

.admin-journal-label {
  display: inline-grid;
  max-width: calc(100% - 36px);
  vertical-align: middle;
}

.admin-journal-label strong {
  overflow: hidden;
  font-weight: 500;
  letter-spacing: .15px;
  text-overflow: ellipsis;
}

.admin-journal-label small {
  overflow: hidden;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
}

.admin-status--redeemed {
  background: #e9eaeb;
  color: #666;
}

.admin-journal-qr-button {
  height: 34px;
  padding: 0 16px;
  border: 1px solid #e9468b;
  border-radius: 60px;
  background: #fff;
  color: #e9468b;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  cursor: pointer;
}

.admin-journal-qr-button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.admin-journal-codes__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-journal-codes__footer p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

/* The tick boxes, as in Reports: 20px, 4px corners, a 1.5px line. */
.admin-journal-list .admin-checkbox {
  border: 1px solid #808080;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .5);
}

.admin-journal-list .admin-checkbox-input:checked + .admin-checkbox {
  border-color: transparent;
  box-shadow: none;
}

.admin-journal-list th:first-child .admin-checkbox-control {
  position: relative;
  top: -2px;
}
.admin-journal-list th:first-child,
.admin-journal-list td:first-child,
.admin-journal-list th:nth-child(2),
.admin-journal-list td:nth-child(2),
.admin-journal-list th:nth-child(3),
.admin-journal-list td:nth-child(3) {
  width: auto;
}
/* Vertical rhythm from the design: 40px tabs, search and buttons, 16px gaps, 56px header, 68px rows. */
.admin-journal-codes__heading {
  align-items: center;
  margin-bottom: 10px;
}

.admin-journal-codes__buttons {
  align-items: center;
}

.admin-journal-import-button {
  padding: 0 19px;
}

.admin-journal-codes__tabs {
  min-height: 40px;
  margin-bottom: 16px;
}

.admin-journal-codes__tabs button {
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 10px;
}

.admin-journal-codes-view .admin-users-toolbar {
  margin-bottom: 16px;
}

.admin-journal-codes-view .admin-users-search input,
.admin-journal-codes-view .admin-users-actions button {
  height: 40px;
  min-height: 40px;
}

.admin-journal-codes-view .admin-users-actions button {
  padding-top: 0;
  padding-bottom: 0;
}
.admin-journal-list th:first-child,
.admin-journal-list td:first-child {
  padding-right: 0;
}

.admin-journal-list td:first-child .admin-journal-label {
  max-width: calc(100% - 32px);
}

.admin-journal-codes-panel {
  padding-bottom: 18px;
}

.admin-journal-codes__footer {
  align-self: end;
}

.admin-journal-codes__footer .admin-users-pagination {
  margin-top: 0;
}
/* Admin > Reports > Report Summary (measured from the design) */
.admin-reports-notice {
  gap: 20px;
}

.report-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 339px;
  gap: 16px;
  align-items: start;
}

.report-detail__main,
.report-detail__side {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.report-card {
  padding: 24px;
  border: 1px solid #e9eaeb;
  border-radius: 16px;
  background: #fff;
}

.report-card h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: .25px;
}

.report-thread {
  display: grid;
  gap: 16px;
  margin-top: 13px;
}

.report-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.report-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #e9468b;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  object-fit: cover;
}

.report-message__bubble {
  min-width: 0;
  flex: 1;
  padding: 16px 14px 12px;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  background: #fafafa;
}

.report-message.is-reported .report-message__bubble {
  border-color: #f5d0d5;
  background: #fef3f2;
}

.report-message__bubble header {
  display: flex;
  margin-bottom: 7px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.report-message__bubble header strong {
  color: #1a1a1a;
  font-weight: 500;
  letter-spacing: .15px;
}

.report-message__bubble p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.report-message__bubble small {
  display: block;
  margin-top: 5px;
  color: #b42318;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .25px;
}

.report-reason {
  display: flex;
  margin-top: 16px;
  padding: 22px 20px 18px;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid #fec84b;
  border-radius: 8px;
  background: #fffaeb;
}

.report-reason img {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
}

.report-reason strong {
  display: block;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .25px;
}

.report-reason p {
  margin: 5px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.report-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.report-summary__header p {
  margin: 2px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.report-summary__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 311px;
  margin-top: 16px;
  gap: 24px;
  align-items: start;
}

.report-summary__columns h3 {
  margin: 0 0 10px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}

.report-reporters {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 15px;
  list-style: none;
}

.report-reporters li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.report-reporters strong {
  display: block;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
  overflow-wrap: anywhere;
}

.report-reporters span:not(.report-avatar) {
  display: block;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.report-item {
  display: flex;
  height: 40px;
  margin: 0;
  padding: 0 13px;
  align-items: center;
  border-radius: 8px;
  background: #fafafa;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .25px;
}

.report-summary__columns + .admin-reports-notice {
  margin: 18px 0 0;
}

.report-action__hint {
  margin: 2px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.report-action {
  display: grid;
  margin-top: 17px;
  gap: 16px;
}

.report-action__note {
  display: grid;
  gap: 4px;
}

.report-action__note > span,
.report-action__recorded > span {
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .15px;
}

.report-action__note textarea {
  width: 100%;
  height: 74px;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .15px;
  outline: 0;
  resize: vertical;
  box-sizing: border-box;
}

.report-action__note textarea::placeholder {
  color: #808080;
}

.report-action__warning {
  display: flex;
  padding: 16px 20px;
  gap: 20px;
  align-items: center;
  border: 1px solid #fda29b;
  border-radius: 8px;
  background: #fef3f2;
}

.report-action__warning img {
  width: 20px;
  height: 20px;
  flex: none;
}

.report-action__warning p {
  margin: 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: .25px;
}

.report-action__primary,
.report-action__secondary {
  display: inline-flex;
  width: 100%;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9468b;
  border-radius: 60px;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .25px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.report-action__primary {
  background: #e9468b;
  color: #fff;
}

.report-action__secondary {
  background: #fff;
  color: #e9468b;
}

.report-action__primary:disabled,
.report-action__secondary:disabled {
  opacity: .6;
  cursor: wait;
}

.report-action__small {
  margin: -4px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .25px;
}

.report-action__recorded {
  display: grid;
  margin: 17px 0;
  gap: 4px;
}

.report-action__recorded p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.report-card .report-action__secondary {
  margin-top: 16px;
}

.report-meta {
  padding: 17px 16px;
}

.report-meta dl {
  display: grid;
  margin: 0;
  gap: 9px;
}

.report-meta dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.report-meta dt {
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.report-meta dd {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

@media (max-width: 1100px) {
  .report-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-summary__columns {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Report Summary: pixel adjustments from measuring the render against the design. */
.report-detail__main,
.report-detail__side {
  gap: 17px;
}

.report-detail {
  gap: 17px;
}

.report-card {
  padding: 23px;
}

.report-thread {
  gap: 17px;
  margin-top: 12px;
}

.report-message__bubble {
  padding-bottom: 11px;
}

.report-reason {
  margin-top: 17px;
  padding-bottom: 17px;
}

.admin-reports-notice {
  padding: 22px 20px 18px;
}

.admin-reports-notice p {
  margin-top: 3px;
}

.report-action__warning {
  padding: 19px 20px;
}

.report-action__primary,
.report-action__secondary {
  margin-top: 1px;
}

.report-action__note textarea {
  resize: none;
}

.report-card .report-action__secondary {
  margin-top: 1px;
}

.report-card > .report-action__secondary {
  margin-top: 16px;
}

.report-meta {
  padding: 16px;
}
/* Second pass: the gaps are 16px (the design's coordinates are inclusive), the rest to the pixel. */
.report-detail,
.report-detail__main,
.report-detail__side {
  gap: 16px;
}

.report-thread {
  gap: 16px;
  margin-top: 13px;
}

.report-reason {
  margin-top: 16px;
}

.report-message__bubble small {
  margin-top: 6px;
}

.report-action__primary,
.report-action__secondary,
.report-card .report-action__secondary {
  margin-top: 0;
}

.report-card > .report-action__secondary {
  margin-top: 16px;
}

.admin-reports-notice p {
  margin-top: 2px;
}

.report-reporters {
  gap: 15.5px;
}

.report-summary__columns > div:first-child h3 {
  margin-bottom: 11px;
}

.report-summary__columns > div:last-child h3 {
  margin-bottom: 9px;
}
/* The View item is a link now: it must look exactly like the button it replaced. */
a.admin-reports-popover__option {
  display: flex;
  align-items: center;
  color: #1a1a1a;
  text-decoration: none;
  box-sizing: border-box;
}

.admin-reports-popover--row .admin-reports-popover__menu a.admin-reports-popover__option {
  width: 100%;
  height: 100%;
  padding: 0 22px;
  font-size: 14px;
  line-height: 20px;
}

a.admin-reports-popover__option:hover,
a.admin-reports-popover__option:focus-visible {
  background: #fdf2f7;
  color: #e9468b;
  outline: 0;
}

.admin-reports-dots:focus-visible {
  border-radius: 8px;
  outline: 2px solid #e9468b;
  outline-offset: 0;
}
/* Admin > Link review (measured from the design) */
.admin-link-review__heading h1 {
  font-size: 34px;
  line-height: 42px;
  font-weight: 500;
  letter-spacing: .25px;
}

.admin-link-review__heading p {
  max-width: 640px;
  margin-top: 4px;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
}

.admin-link-review-panel {
  grid-template-rows: auto auto 1fr auto;
  min-height: 728px;
  padding-bottom: 18px;
}

.admin-link-review__tabs {
  min-height: 40px;
  margin-bottom: 16px;
  gap: 0;
}

.admin-link-review__tabs button {
  min-height: 40px;
  padding: 8px 26px 10px;
}

.admin-link-review__tabs button:first-child {
  padding-right: 42px;
  padding-left: 42px;
}

.admin-link-review-panel .admin-users-toolbar {
  margin-bottom: 16px;
}

.admin-link-review__search {
  width: 320px;
}

.admin-link-review-panel .admin-users-search input,
.admin-link-review-panel .admin-users-actions button {
  height: 40px;
  min-height: 40px;
}

.admin-link-review-panel .admin-users-search input {
  font-size: 13px;
  letter-spacing: .15px;
}

.admin-link-review-panel .admin-users-actions button {
  padding-top: 0;
  padding-bottom: 0;
}

.admin-link-list {
  min-width: 860px;
  table-layout: fixed;
}

.admin-link-list col:nth-child(1) { width: 30.5%; }
.admin-link-list col:nth-child(2) { width: 37.8%; }
.admin-link-list col:nth-child(3) { width: 12%; }
.admin-link-list col:nth-child(4) { width: 11.9%; }
.admin-link-list col:nth-child(5) { width: 7.8%; }

.admin-link-list th,
.admin-link-list td {
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
}

.admin-link-list th {
  height: 56px;
  letter-spacing: .15px;
}

.admin-link-list td {
  height: 84px;
}

.admin-link-list th:first-child,
.admin-link-list td:first-child {
  padding-right: 0;
}

.admin-link-list th:nth-child(n+3),
.admin-link-list td:nth-child(n+3) {
  padding-right: 6px;
  padding-left: 6px;
  overflow: visible;
  text-align: center;
}

.admin-link-account {
  display: inline-grid;
  max-width: calc(100% - 32px);
  vertical-align: middle;
}

.admin-link-account strong {
  overflow: hidden;
  font-weight: 500;
  letter-spacing: .15px;
  text-overflow: ellipsis;
}

.admin-link-account small {
  overflow: hidden;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
}

.admin-link-url {
  display: block;
  overflow: hidden;
  color: #1570ef;
  text-decoration: underline;
  text-overflow: ellipsis;
}

.admin-status--muted {
  background: #e9eaeb;
  color: #666;
}

.admin-link-review__footer {
  display: flex;
  align-self: end;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-link-review__footer p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.admin-link-review__footer .admin-users-pagination {
  margin-top: 0;
}

/* The row menu has several items: each is 48px tall and the card grows with them. */
.admin-reports-popover--list .admin-reports-popover__menu {
  display: block;
  width: 122px;
  height: auto;
  overflow: hidden;
  padding: 0;
}

.admin-reports-popover--list .admin-reports-popover__option {
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  padding: 0 22px;
  border-radius: 0;
  font-size: 14px;
}

.admin-reports-popover--list .admin-reports-popover__option:hover {
  background: #fdf2f7;
  color: #1a1a1a;
}

.admin-link-list .admin-checkbox {
  border: 1px solid #808080;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .5);
}

.admin-link-list .admin-checkbox-input:checked + .admin-checkbox {
  border-color: transparent;
  box-shadow: none;
}

.admin-link-list th:first-child .admin-checkbox-control {
  position: relative;
  top: -2px;
}

.admin-link-detail {
  display: grid;
  gap: 12px;
}

.admin-link-detail dl {
  display: grid;
  margin: 0;
  gap: 8px;
}

.admin-link-detail dl > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
}

.admin-link-detail dt {
  color: #666;
  font-size: 14px;
}

.admin-link-detail dd {
  margin: 0;
  color: #1a1a1a;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.admin-link-detail h3 {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.admin-link-detail blockquote {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid #e9468b;
  background: #f9fafb;
  color: #333;
  font-size: 14px;
  line-height: 22px;
  overflow-wrap: anywhere;
}

.admin-link-detail .admin-link-url {
  display: inline;
}
/* Admin > Link review > one link (reuses the Report Summary cards) */
.link-post__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.link-post__header time {
  color: #808080;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.link-post__author {
  display: flex;
  margin-top: 15px;
  gap: 12px;
  align-items: center;
}

.link-post__author strong {
  display: block;
  color: #333;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: .15px;
}

.link-post__author span:not(.report-avatar) {
  display: block;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .15px;
}

.link-post__author b {
  margin-left: 6px;
  font-size: 18px;
  font-weight: 400;
}

.link-post__body {
  margin: 17px 0 0;
  color: #1a1a1a;
  font-size: 15px;
  line-height: 23px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.link-post__body a {
  color: #1570ef;
  text-decoration: underline;
}

.link-post__reactions {
  display: flex;
  margin-top: 18px;
  gap: 26px;
  align-items: center;
}

.link-post__reactions span {
  color: #4d4d4d;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .25px;
}

.admin-link-detail-view .report-action {
  margin-top: 17px;
}
/* Second pass for the link screen: only the name and feeling are text blocks, the avatar keeps its own box. */
.link-post__author span:not(.report-avatar) {
  display: block;
}

.link-post__author span.report-avatar {
  display: grid;
}

.link-post__reactions {
  height: 22px;
  margin-top: 17px;
}

.link-post__reactions .post__reaction-summary-icons {
  display: flex;
  align-items: center;
}
/* The View item is a link inside a menu of several items: it is a full 48px row like the buttons above it. */
.admin-reports-popover--list .admin-reports-popover__menu a.admin-reports-popover__option,
.admin-reports-popover--list .admin-reports-popover__menu button.admin-reports-popover__option {
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  padding: 0 22px;
  border-radius: 0;
  font-size: 14px;
  line-height: 20px;
  box-sizing: border-box;
}

.admin-reports-popover--list .admin-reports-popover__menu a.admin-reports-popover__option:hover,
.admin-reports-popover--list .admin-reports-popover__menu a.admin-reports-popover__option:focus-visible {
  background: #fdf2f7;
  color: #1a1a1a;
}
/* Admin > Cover photo moderation: "Cover image from HIC" (measured from the design) */
.admin-cover-moderation__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.admin-cover-moderation__heading h1 {
  font-size: 34px;
  line-height: 42px;
  font-weight: 500;
  letter-spacing: .25px;
}

.admin-cover-moderation__heading p {
  max-width: 580px;
  margin-top: 4px;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
}

.admin-cover-moderation__upload {
  min-width: 123px;
  height: 45px;
  min-height: 45px;
  flex: none;
  padding: 0 20px;
}

.admin-cover-moderation-panel {
  grid-template-rows: auto auto 1fr auto;
  min-height: 722px;
  padding-bottom: 18px;
}

.admin-cover-moderation__tabs {
  min-height: 40px;
  margin-bottom: 16px;
  padding-left: 16px;
  gap: 5px;
}

.admin-cover-moderation__tabs button {
  min-height: 40px;
  padding: 8px 26px 10px;
}

.admin-cover-moderation__tabs button:first-child {
  min-width: 90px;
}

.admin-cover-moderation-view .admin-users-toolbar {
  margin-bottom: 16px;
}

.admin-cover-moderation-view .admin-users-search {
  width: 234px;
}

.admin-cover-moderation-view .admin-users-search input,
.admin-cover-moderation-view .admin-users-actions button {
  height: 40px;
  min-height: 40px;
}

.admin-cover-moderation-view .admin-users-search input {
  font-size: 13px;
  letter-spacing: .15px;
}

.admin-cover-moderation-view .admin-users-actions button {
  padding-top: 0;
  padding-bottom: 0;
}

.admin-cover-list {
  min-width: 860px;
  table-layout: fixed;
}

.admin-cover-list col:nth-child(1) { width: 15.3%; }
.admin-cover-list col:nth-child(2) { width: 28.5%; }
.admin-cover-list col:nth-child(3) { width: 18.5%; }
.admin-cover-list col:nth-child(4) { width: 12%; }
.admin-cover-list col:nth-child(5) { width: 17.9%; }
.admin-cover-list col:nth-child(6) { width: 7.8%; }

.admin-cover-list th,
.admin-cover-list td {
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
}

.admin-cover-list th {
  height: 56px;
  letter-spacing: .15px;
}

.admin-cover-list td {
  height: 77px;
}

.admin-cover-list th:first-child,
.admin-cover-list td:first-child {
  padding-right: 0;
  overflow: visible;
}

.admin-cover-list th:nth-child(n+4),
.admin-cover-list td:nth-child(n+4) {
  padding-right: 6px;
  padding-left: 6px;
  overflow: visible;
  text-align: center;
}

.admin-cover-list td:first-child .admin-checkbox {
  margin-right: 17px;
}

.admin-cover-thumb {
  display: inline-block;
  width: 97px;
  height: 37px;
  border-radius: 4px;
  vertical-align: middle;
  object-fit: cover;
}

.admin-cover-moderation__pagination {
  align-self: end;
  margin-top: 0;
}

.admin-cover-list .admin-checkbox {
  border: 1px solid #808080;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .5);
}

.admin-cover-list .admin-checkbox-input:checked + .admin-checkbox {
  border-color: transparent;
  box-shadow: none;
}

.admin-cover-list th:first-child .admin-checkbox-control {
  position: relative;
  top: -2px;
}

/* Cover moderation: second pass from measuring the render against the design. */
.admin-cover-moderation__heading {
  align-items: center;
}

.admin-cover-moderation__tabs {
  min-height: 47px;
  margin-bottom: 17px;
}

.admin-cover-moderation__tabs button {
  min-height: 47px;
  padding-top: 11px;
  padding-bottom: 13px;
}

.admin-cover-moderation__tabs button:first-child {
  min-width: 0;
  margin-right: 17px;
}

.admin-cover-moderation-view .admin-users-toolbar {
  margin-bottom: 28px;
}

.admin-cover-list td:first-child .admin-checkbox {
  margin-right: 15px;
}
/* Admin > Hobby moderation: "Hobby submissions" (read from the design) */
.admin-hobby-moderation__heading h1,
.admin-hobby-detail-view h1 {
  font-size: 34px;
  line-height: 42px;
  font-weight: 500;
  letter-spacing: .25px;
}

.admin-hobby-moderation__heading p {
  max-width: 670px;
  margin-top: 4px;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
}

.admin-hobby-moderation-panel {
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 729px;
  padding-bottom: 18px;
}

.admin-hobby-moderation__tabs {
  min-height: 40px;
  margin-bottom: 17px;
  gap: 12px;
}

.admin-hobby-moderation__tabs button {
  min-height: 40px;
  padding: 8px 23px 10px;
}

.admin-hobby-moderation-panel .admin-users-toolbar {
  margin-bottom: 16px;
}

.admin-hobby-moderation-panel .admin-users-search {
  width: 234px;
}

.admin-hobby-moderation-panel .admin-users-search input,
.admin-hobby-moderation-panel .admin-users-actions button {
  height: 40px;
  min-height: 40px;
}

.admin-hobby-moderation-panel .admin-users-search input {
  font-size: 13px;
  letter-spacing: .15px;
}

.admin-hobby-moderation-panel .admin-users-actions button {
  padding-top: 0;
  padding-bottom: 0;
}

.admin-hobby-list {
  min-width: 860px;
  table-layout: fixed;
}

.admin-hobby-list col:nth-child(1) { width: 28.9%; }
.admin-hobby-list col:nth-child(2) { width: 36.1%; }
.admin-hobby-list col:nth-child(3) { width: 12.4%; }
.admin-hobby-list col:nth-child(4) { width: 14.9%; }
.admin-hobby-list col:nth-child(5) { width: 7.8%; }

.admin-hobby-list th,
.admin-hobby-list td {
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
}

.admin-hobby-list th {
  height: 56px;
  letter-spacing: .15px;
}

.admin-hobby-list td {
  height: 56px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.admin-hobby-list th:first-child,
.admin-hobby-list td:first-child {
  padding-right: 0;
}

.admin-hobby-list th:nth-child(n+4),
.admin-hobby-list td:nth-child(n+4) {
  padding-right: 6px;
  padding-left: 6px;
  overflow: visible;
  text-align: center;
}

.admin-hobby-name {
  display: inline-grid;
  max-width: calc(100% - 32px);
  vertical-align: middle;
}

.admin-hobby-name strong {
  overflow: hidden;
  font-weight: 500;
  letter-spacing: .15px;
  text-overflow: ellipsis;
}

.admin-hobby-name__alert {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  vertical-align: -2px;
}

.admin-hobby-name small {
  color: #666;
  font-size: 14px;
  line-height: 20px;
}

.admin-hobby-notice {
  display: flex;
  margin: 13px 12px 0;
  padding: 22px 20px 18px;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid #84caff;
  border-radius: 8px;
  background: #eff8ff;
}

.admin-hobby-notice img {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
}

.admin-hobby-notice strong {
  display: block;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .25px;
}

.admin-hobby-notice p {
  margin: 2px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.admin-hobby-notice p:only-child {
  margin: 0;
}

.admin-hobby-moderation__footer {
  display: flex;
  margin-top: 24px;
  align-self: end;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-hobby-moderation__footer p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.admin-hobby-moderation__footer .admin-users-pagination {
  margin-top: 0;
}

.admin-hobby-list .admin-checkbox {
  border: 1px solid #808080;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .5);
}

.admin-hobby-list .admin-checkbox-input:checked + .admin-checkbox {
  border-color: transparent;
  box-shadow: none;
}

.admin-hobby-list th:first-child .admin-checkbox-control {
  position: relative;
  top: -2px;
}

/* The hobby screen: the two cards on the left and the decision on the right (the right column reuses the report cards). */
.hobby-review__columns {
  display: grid;
  grid-template-columns: 332px minmax(0, 1fr);
  margin-top: 20px;
  gap: 24px;
  align-items: start;
}

.hobby-review__columns h3 {
  margin: 0 0 6px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}

.hobby-review__name {
  margin: 8px 0 0;
  color: #1a1a1a;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: .25px;
}

.hobby-review__name--small {
  font-size: 14px;
}

.hobby-person {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hobby-person strong {
  display: block;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: .15px;
  overflow-wrap: anywhere;
}

.hobby-person span span,
.hobby-person div span,
.hobby-person small {
  display: block;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.hobby-merge {
  padding: 0;
  overflow: hidden;
}

.hobby-merge__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e9eaeb;
}

.hobby-merge__tabs button {
  height: 50px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #808080;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .15px;
  cursor: pointer;
}

.hobby-merge__tabs button.is-active {
  margin-bottom: -1px;
  border-bottom-color: #e9468b;
  color: #e9468b;
}

.hobby-merge__body {
  padding: 24px 23px 23px;
}

.hobby-merge__hint {
  margin: 2px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.hobby-merge__search {
  position: relative;
  display: block;
  margin-top: 17px;
}

.hobby-merge__search input {
  width: 100%;
  height: 40px;
  padding: 0 48px 0 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: .15px;
  outline: 0;
  box-sizing: border-box;
}

.hobby-merge__search img {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}

.hobby-merge__head,
.hobby-merge__list li {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 24px;
  padding-left: 32px;
}

.hobby-merge__head {
  margin-top: 17px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  padding-left: 40px;
}

.hobby-merge__list {
  display: grid;
  max-height: 335px;
  margin: 8px 0 0;
  padding: 0 8px 0 0;
  gap: 16px;
  overflow-y: auto;
  list-style: none;
}

.hobby-merge__list li {
  position: relative;
  align-items: center;
  min-height: 45px;
}

.hobby-merge__list li .admin-checkbox-control {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
}

.hobby-merge__list .admin-checkbox {
  margin: 0;
  border: 1px solid #808080;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .5);
}

.hobby-merge__list .admin-checkbox-input:checked + .admin-checkbox {
  border-color: transparent;
  box-shadow: none;
}

.hobby-merge__name {
  display: flex;
  height: 45px;
  padding: 0 12px;
  align-items: center;
  border-radius: 8px;
  background: #fafafa;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .15px;
}

.hobby-merge__empty {
  display: block !important;
  padding-left: 0 !important;
  color: #666;
  font-size: 14px;
}

.hobby-merge .admin-hobby-notice {
  margin: 20px 0 0;
  padding: 20px;
}

.hobby-merge__button {
  display: inline-flex;
  width: 100%;
  height: 44px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 60px;
  background: #e9468b;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
}

.hobby-merge__button:disabled {
  opacity: .25;
  cursor: not-allowed;
}
/* Admin > Cover photo moderation: approve/reject dialogs, "Upload new" page, and the cover's own screen (reuses .report-* cards and the feed's .profile-card) */
.cover-dialog {
  width: min(480px, 100%);
  gap: 16px;
}

.cover-dialog h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.cover-dialog > p {
  margin: 0;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 22px;
}

.cover-dialog__info {
  margin: 0;
}

.cover-dialog__field {
  display: grid;
  gap: 6px;
}

.cover-dialog__field > span,
.cover-upload__preview h3 {
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.cover-dialog__field select {
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d5d7da;
  border-radius: 8px;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  font-size: 14px;
}

.cover-dialog__field select:disabled {
  background: #f5f5f5;
  color: #808080;
  cursor: not-allowed;
}

.cover-dialog__notify {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  cursor: pointer;
}

.cover-dialog__notify .admin-checkbox {
  flex: none;
  margin-top: 1px;
}

.cover-dialog__notify strong {
  display: block;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.cover-dialog__notify small {
  display: block;
  color: #666;
  font-size: 13px;
  line-height: 18px;
}

.cover-dialog__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.cover-upload {
  align-items: start;
}

.cover-upload__form {
  display: grid;
  gap: 20px;
}

.cover-upload__drop {
  justify-content: center;
  border-style: dashed;
  text-align: center;
}

.cover-upload__preview {
  display: grid;
  gap: 8px;
}

.cover-upload__preview h3 {
  margin: 0;
}

.cover-upload__actions {
  display: grid;
  gap: 12px;
}

.cover-preview {
  max-width: 100%;
  margin: 0;
}

.cover-current {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cover-current li {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 5 / 2;
  background: #f4f4f5;
}

.cover-current li.is-draft img {
  opacity: .5;
}

.cover-current img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-current__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 26, 26, .7);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.cover-current__replace {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  padding: 6px;
  place-items: center;
  background: rgba(26, 26, 26, .6);
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  opacity: 0;
  cursor: pointer;
  transition: opacity .15s;
}

.cover-current li:hover .cover-current__replace,
.cover-current li:focus-within .cover-current__replace {
  opacity: 1;
}

.cover-current__replace input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cover-view__header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cover-view__arrows {
  display: flex;
  gap: 8px;
}

.cover-view__arrows a,
.cover-view__arrows span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #d5d7da;
  border-radius: 8px;
  background: #fff;
}

.cover-view__arrows span {
  opacity: .4;
}

.cover-view__arrows > :first-child img {
  transform: rotate(180deg);
}

.cover-action__radio {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.cover-action__radio input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #e9468b;
}

.cover-action__radio input:disabled + span {
  color: #808080;
}

/* Cover view page: matched to the design (round arrows, dotted meta line, pink Pending radio, select chevron, cards not stretched) */
.admin-cover-detail-view .report-detail {
  align-items: start;
}

.cover-view__header h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.cover-view__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 16px;
}

.cover-view__meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #666;
}

.cover-view__arrows a,
.cover-view__arrows span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.cover-view__arrows a img,
.cover-view__arrows span img {
  width: 14px;
  height: 14px;
}

.cover-view__arrows > :first-child img {
  transform: none;
}

.cover-view__arrows > :last-child img {
  transform: rotate(180deg);
}

.cover-preview {
  box-shadow: none;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  overflow: hidden;
}

.cover-dialog__field select {
  appearance: none;
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23808080' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}

.cover-dialog__field select:disabled {
  background-color: #fff;
  color: #b3b3b3;
}

/* Cover "Upload new" page: matched to the design (two equal cards, left-aligned drop box with cloud icon, side by side buttons, 3-up image grid) */
.cover-upload {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cover-upload .report-card h2 {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.cover-upload__form .admin-announcement-field input {
  height: 48px;
  border-radius: 8px;
}

.cover-upload__drop {
  justify-content: flex-start;
  min-height: 72px;
  gap: 12px;
  border-style: solid;
  text-align: left;
}

.cover-upload__drop > img {
  width: 24px;
  height: 24px;
  flex: none;
}

.cover-upload__actions {
  grid-template-columns: 1fr 1fr;
}

.cover-upload__actions .report-action__primary,
.cover-upload__actions .report-action__secondary {
  cursor: pointer;
}

.cover-upload__actions .report-action__primary:disabled {
  border-color: #f9c6dc;
  background: #f9c6dc;
  opacity: 1;
  cursor: not-allowed;
}

.cover-upload__actions .report-action__secondary:disabled {
  border-color: #f9c6dc;
  color: #f4a9c8;
  opacity: 1;
  cursor: not-allowed;
}

.cover-current {
  gap: 12px;
}

.cover-current li {
  overflow: visible;
  aspect-ratio: 151 / 81;
  background: none;
}

.cover-current img {
  border-radius: 6px;
}

.cover-current__remove {
  top: -4px;
  right: -4px;
  z-index: 1;
  width: 20px;
  height: 20px;
  border: 1px solid #d5d7da;
  background: #fff;
  color: #333;
  font-size: 14px;
}

.cover-current__replace {
  inset: 0;
  align-content: center;
  border-radius: 6px;
  background: rgba(26, 26, 26, .55);
  font-size: 14px;
  line-height: 20px;
}

/* Upload new: the preview sits above the drop box, and its cover is the short banner of the design */
.cover-upload__preview .profile-card__cover {
  height: 136px;
  object-fit: cover;
}

/* Replace default image dialog (header with close, body, footer with Cancel / Update image) */
.cover-replace {
  width: min(480px, 100%);
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.cover-replace__header {
  position: relative;
  padding: 24px 56px 20px;
  border-bottom: 1px solid #e9eaeb;
  text-align: center;
}

.cover-replace__header h2 {
  margin: 0;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.cover-replace__close {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: #666;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cover-replace__body {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.cover-replace__body h3 {
  margin: 0 0 -8px;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.cover-replace__body p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 22px;
}

.cover-replace__body p strong {
  color: #333;
  font-weight: 600;
}

.cover-replace__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #e9eaeb;
}

.cover-replace__footer .report-action__primary,
.cover-replace__footer .report-action__secondary {
  width: auto;
  min-width: 88px;
  padding: 0 20px;
}

.cover-replace__footer .report-action__primary:disabled {
  border-color: #f9c6dc;
  background: #f9c6dc;
  opacity: 1;
  cursor: not-allowed;
}

.cover-current__replace {
  border: 0;
  font-family: inherit;
}

/* Replace default image dialog: success state */
.cover-replace__done {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 48px 32px 56px;
  text-align: center;
}

.cover-replace__done img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.cover-replace__done h3 {
  margin: 0;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}

.cover-replace__done p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 22px;
}

/* Current default images: the remove button is the same white circle, the same distance from each tile's corner */
.cover-current .cover-current__remove {
  display: flex;
  top: 6px;
  right: 6px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0 0 1px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(10, 13, 18, .25);
  color: #333;
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
}

/* Remove button sits on the tile's corner like the design (centre about 7px in from the top and right edges) */
.cover-current .cover-current__remove {
  top: -3px;
  right: -3px;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(10, 13, 18, .3);
}

/* Delete image from HIC dialog: the picture being deleted */
.cover-replace__image {
  display: block;
  width: 100%;
  height: 140px;
  border-radius: 8px;
  object-fit: cover;
}

/* Cover moderation heading: Upload new sits at the far right, in line with the panel's edge */
.admin-cover-moderation__heading {
  width: 100%;
}

.admin-cover-moderation__heading > div {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-cover-moderation__heading .admin-cover-moderation__upload {
  margin-left: auto;
}

/* The remove cross is the supplied 9px grey icon, centred in the white circle */
.cover-current .cover-current__remove {
  padding: 0;
}

.cover-current .cover-current__remove img {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 0;
  object-fit: contain;
}

/* The shared heading is capped at 806px; the cover heading spans the whole page so Upload new reaches the right edge */
.admin-user-management__heading.admin-cover-moderation__heading {
  max-width: none;
}

/* Gratitude tree: a category without its own colour in the design (Gratitude, Learnings, Family...) uses the neutral admin pill */
.admin-gratitude-chip--other {
  background: #e9eaeb;
  color: #666;
}

/* Gratitude tree: tick boxes, the same as Link review, Cover photo and Hobby moderation */
.admin-gratitude-table th:first-child,
.admin-gratitude-table td:first-child {
  width: 260px;
}

.admin-gratitude-table .admin-checkbox {
  border: 1px solid #808080;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .5);
}

.admin-gratitude-table .admin-checkbox-input:checked + .admin-checkbox {
  border-color: transparent;
  box-shadow: none;
}

.admin-gratitude-table th:first-child .admin-checkbox-control {
  position: relative;
  top: -2px;
}

/* Gratitude tree: the two action buttons (edit, disable/enable) sit side by side on one line */
.admin-gratitude-table th:nth-child(6),
.admin-gratitude-table td:nth-child(6) {
  width: 100px;
  white-space: nowrap;
}

.admin-gratitude-table td:nth-child(6) .admin-table-edit {
  display: inline-grid;
  vertical-align: middle;
}

.admin-gratitude-table td:nth-child(6) .admin-table-edit + .admin-table-edit {
  margin-left: 4px;
}

/* Gratitude tree Filter and Sort popovers: the choice rows and Clear / Save buttons of the Connections sort popover, inside the admin popover */
.admin-gratitude-popover {
  width: 260px;
  padding: 16px;
  gap: 12px;
}

.admin-gratitude-popover h3 {
  font-size: 16px;
  line-height: 24px;
}

.admin-gratitude-popover h4 {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}

.admin-gratitude-popover .connections-popover__section {
  gap: 4px;
}

.admin-gratitude-popover .connections-choice-list {
  margin: 0 -16px;
}

.admin-gratitude-popover .connections-choice {
  display: flex;
  gap: 16px;
  color: #1a1a1a;
  font-size: 14px;
}

.admin-gratitude-popover .connections-popover__actions {
  position: static;
  padding-top: 0;
}

.admin-gratitude-popover .connections-popover__actions button {
  min-height: 40px;
  border-radius: 60px;
  font-size: 14px;
}

.admin-users-actions .admin-gratitude-popover .connections-popover__actions .connections-popover__clear {
  border: 1px solid #e9468b;
  background: #fff;
  color: #e9468b;
}

.admin-users-actions .admin-gratitude-popover .connections-popover__actions .connections-popover__save {
  border: 1px solid #e9468b;
  background: #e9468b;
  color: #fff;
}

/* Gratitude tree: Add New in the heading, the Add new page, and the Drafts list (reuses the cover Upload new layout and the wall's category icons) */
.admin-user-management__heading.admin-gratitude-tree__heading {
  display: flex;
  max-width: none;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.admin-gratitude-tree__heading > div {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.admin-gratitude-tree__heading .admin-add-button {
  flex: none;
}

.gratitude-add .admin-announcement-field textarea {
  min-height: 128px;
  border-radius: 8px;
}

.gratitude-add .admin-announcement-field select {
  height: 56px;
  border-radius: 8px;
}

.gratitude-add__actions {
  margin-top: 24px;
}

.gratitude-add__actions .report-action__primary,
.gratitude-add__actions .report-action__secondary {
  height: 54px;
}

.gratitude-drafts {
  display: grid;
  gap: 20px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.gratitude-drafts li {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e9eaeb;
  border-radius: 24px;
  background: #fff;
}

.gratitude-drafts__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gratitude-drafts .gratitude-note__avatar {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.gratitude-drafts .gratitude-note__avatar > img {
  width: 16px;
  height: 16px;
}

.gratitude-drafts p {
  margin: 0;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 22px;
}

.gratitude-drafts__publish {
  justify-self: start;
  height: 34px;
  padding: 0 16px;
  border: 1px solid #e9468b;
  border-radius: 60px;
  background: #fff;
  color: #e9468b;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.gratitude-drafts__empty {
  padding: 24px;
  border: 0;
  color: #666;
  text-align: center;
}

/* Gratitude tree > one note: the Gratitude note and User details cards reuse the User management detail card and rows */
.gratitude-detail {
  display: grid;
  gap: 16px;
}

.admin-user-detail-row.admin-user-detail-row--wide {
  grid-template-columns: minmax(220px, 320px) 24px minmax(0, 1fr);
}

.admin-user-detail-row--wide > strong {
  font-weight: 400;
}

.gratitude-detail__note {
  display: grid;
  gap: 12px;
}

.gratitude-detail__action {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: #e9468b;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
  cursor: pointer;
}

.gratitude-detail__select,
.gratitude-detail__reason {
  width: 100%;
  max-width: 420px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-size: 14px;
}

.gratitude-detail__select {
  max-width: 160px;
  cursor: pointer;
}

.gratitude-detail__reason::placeholder {
  color: #808080;
}

.gratitude-detail__reason {
  padding: 0;
  max-width: none;
  outline: 0;
}

.gratitude-detail__actions {
  display: flex;
  margin-top: 24px;
  gap: 12px;
}

.gratitude-detail__actions .report-action__primary,
.gratitude-detail__actions .report-action__secondary {
  width: auto;
  min-width: 90px;
  padding: 0 20px;
}

/* Gratitude note: Action sits on its own line under the note (the shared row rule makes the value a block, so the button is a block too) */
.admin-user-detail-row > strong.gratitude-detail__note .gratitude-detail__action {
  display: block;
  margin-top: 12px;
}

/* Gratitude note rows: the label and the colon line up with the first line of the value */
.admin-user-detail-row.admin-user-detail-row--wide {
  align-items: start;
}

/* The shared custom dropdown (gratitude-custom-select, built by app.js) inside the admin screens */
.admin-custom-select {
  position: relative;
}

.admin-custom-select .gratitude-custom-select__toggle {
  color: #1a1a1a;
}

.gratitude-add .admin-custom-select .gratitude-custom-select__toggle {
  height: 56px;
}

.gratitude-detail .admin-custom-select .gratitude-custom-select {
  max-width: 200px;
}

.gratitude-detail .admin-custom-select .gratitude-custom-select__toggle {
  height: 40px;
}

.gratitude-detail .admin-custom-select .gratitude-custom-select__menu button {
  height: 40px;
  min-height: 40px;
}

/* Gratitude note: the label and colon centre on the note text alone; Action is its own row below, so it does not move them */
.admin-user-detail-row.admin-user-detail-row--wide {
  align-items: center;
}

.admin-user-detail-row.admin-user-detail-row--joined {
  border-bottom: 0;
}

.admin-user-detail-row.gratitude-detail__action-row {
  min-height: 0;
}

.gratitude-detail__action-row > span,
.gratitude-detail__action-row > b,
.gratitude-detail__action-row > strong {
  padding-top: 0;
}

.admin-user-detail-row > strong.gratitude-detail__note .gratitude-detail__action,
.gratitude-detail__action-row .gratitude-detail__action {
  display: block;
  margin-top: 0;
}

/* Image review: the cover moderation list, with the post's image as the thumbnail and its text under the author */
.admin-image-list .admin-cover-thumb.admin-image-thumb {
  width: 97px;
  height: 56px;
}

.admin-image-by {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-image-by strong {
  overflow: hidden;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-image-by small {
  overflow: hidden;
  color: #808080;
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Image review > one image: the post as the preview (author, text, image); the rest reuses the cover view page */
.image-preview {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  background: #fff;
}

.image-preview header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.image-preview header strong {
  color: #1a1a1a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.image-preview__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.image-preview p {
  margin: 0;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 22px;
}

.image-preview__image {
  display: block;
  width: 100%;
  max-height: 420px;
  border-radius: 8px;
  object-fit: contain;
  background: #f5f5f5;
}

/* Announcement dates: "Add another date" is a + button at the right of the title, its label shown as a popover on hover or focus */
.admin-announcement-dates__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-announcement-dates__add {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid #e9468b;
  border-radius: 50%;
  background: #fff;
  color: #e9468b;
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.admin-announcement-dates__add:hover,
.admin-announcement-dates__add:focus-visible {
  background: #fdf2f7;
}

.admin-announcement-dates__tip {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: calc(100% + 8px);
  padding: 6px 10px;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .12s ease;
}

.admin-announcement-dates__add:hover .admin-announcement-dates__tip,
.admin-announcement-dates__add:focus-visible .admin-announcement-dates__tip {
  opacity: 1;
  visibility: visible;
}

/* Admin users: the Role dropdown in the table uses the shared custom dropdown; the wrap lets its list open over the panel */
.admin-users-table-wrap.admin-users-table-wrap--menus {
  overflow: visible;
}

.admin-role-select {
  position: relative;
  width: 200px;
}

.admin-role-select .gratitude-custom-select__toggle {
  height: 40px;
  font-size: 14px;
}

.admin-role-select .gratitude-custom-select__menu button {
  height: 40px;
  min-height: 40px;
}
