/* PRDNA Home + Discover — vertical feeds with compact horizontal suggestion rails. */
#tab-home.acct-home-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
}
#tab-home.acct-home-panel.hidden { display: none !important; }
#tab-home .acct-home-shell {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  flex-direction: column;
  background: var(--acct-shell, #f7faf8);
}
body.mg-home-active #mainNav,
body.mg-home-active #acctPortalsBtn,
body.mg-home-active #navLogout,
body.mg-home-active #accountHeader,
body.mg-home-active #dashSearchBar,
body.mg-home-active #acctTabsTop { display: none !important; pointer-events: none !important; }
body.mg-home-active main { overflow: hidden; }
body.mg-home-active #tab-home.acct-home-panel:not(.hidden) {
  position: fixed !important;
  top: env(safe-area-inset-top, 0px);
  right: 0;
  bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  left: 0;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  z-index: 15;
  display: flex !important;
}
#tab-home .acct-home-status-rail {
  flex: 0 0 auto;
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 8px 12px 4px;
}
#tab-home .acct-home-status-rail[hidden] { display: none !important; }
#tab-home .acct-home-status-rail-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
#tab-home .acct-home-status-rail-row::-webkit-scrollbar { display: none; }
#tab-home .acct-home-status-chip {
  flex: 0 0 70px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: pointer;
}
#tab-home .acct-home-status-chip .acct-suggestion-avatar {
  width: 52px;
  height: 52px;
  margin: 0 auto 5px;
  box-shadow: 0 0 0 2px #00a854;
}
#tab-home .acct-home-status-chip strong {
  display: block;
  overflow: hidden;
  color: #17372c;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#tab-home .acct-home-status-viewer {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  background: #0b1220;
}
#tab-home .acct-home-status-viewer[hidden] { display: none !important; }
#tab-home .acct-home-status-viewer-card,
#tab-home .acct-home-status-story {
  width: 100%;
  min-height: 100%;
  max-height: none;
  overflow: auto;
  padding: 0;
  border-radius: 0;
  background: #0b1220;
  color: #f8fafc;
}
#tab-home .acct-home-status-viewer-card img,
#tab-home .acct-home-status-story-media img { display: block; width: 100%; height: auto; margin: 0; }
#tab-home .acct-home-status-viewer-card button,
#tab-home .acct-home-status-story-bar button {
  min-height: 44px;
  margin: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 800;
}
#tab-home .acct-feed-control-row,
#tab-discover .acct-feed-control-row {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  min-height: 46px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  pointer-events: none;
  flex-wrap: nowrap;
}
#tab-home .acct-feed-control-row {
  position: relative;
  flex: 0 0 auto;
  top: auto;
}
#tab-discover .acct-feed-control-row {
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  gap: 0;
  padding: 2px 2px;
}
#tab-discover .acct-feed-control-action {
  width: 28px;
  height: 28px;
}
.acct-feed-control-action {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #17372c;
  font: 800 24px/1 system-ui, sans-serif;
  text-shadow: 0 1px 2px rgba(255, 255, 255, .9);
  cursor: pointer;
  pointer-events: auto;
}
.acct-feed-control-action.is-create { color: #00a854; font-size: 28px; }
.acct-feed-control-action:focus-visible { outline: 2px solid #00a854; outline-offset: 1px; }
#tab-home .acct-home-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 0 0 auto;
  min-width: 0;
  pointer-events: auto;
}
#tab-home .acct-home-tabs button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}
#tab-home .acct-home-tabs button.is-on { color: #008744; box-shadow: inset 0 -2px 0 #00a854; }
#tab-home .acct-home-feed {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 24px;
}
#tab-home .acct-home-feed[hidden] { display: none !important; }
#tab-home .acct-home-empty {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 44px 20px;
  color: #5b726a;
  text-align: center;
  font-size: 14px;
}
#tab-home .acct-home-empty strong,
#tab-home .acct-home-empty span { display: block; }
#tab-home .acct-home-empty span { margin-top: 5px; }
#tab-home .acct-feed-card,
#tab-home .acct-suggestion-module {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 12px 14px 14px;
  border-bottom: 1px solid rgba(15, 41, 31, .12);
  background: #fff;
  color: #0f291f;
}
#tab-home .acct-feed-card { overflow: hidden; }
#tab-home .acct-feed-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
#tab-home .acct-feed-avatar,
#tab-home .acct-feed-identity-copy { border: 0; background: transparent; padding: 0; color: inherit; text-align: left; cursor: pointer; }
#tab-home .acct-feed-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border-radius: 50%;
  background: #dff3e9;
  color: #08783f;
  font-weight: 850;
}
#tab-home .acct-feed-avatar img,
#tab-home .acct-suggestion-avatar img { width: 100%; height: 100%; object-fit: cover; }
#tab-home .acct-feed-identity-copy { min-width: 0; flex: 1 1 auto; }
#tab-home .acct-feed-identity-copy strong,
#tab-home .acct-feed-identity-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tab-home .acct-feed-identity-copy strong { font-size: 14px; }
#tab-home .acct-feed-identity-copy span { margin-top: 1px; color: #657970; font-size: 11px; }
#tab-home .acct-feed-copy { margin: 9px 0; color: #17372c; font-size: 14px; line-height: 1.42; white-space: pre-wrap; }
#tab-home .acct-feed-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  max-height: 420px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 12px;
  background: #edf3f0;
}
#tab-home .acct-feed-media-grid[data-count="1"] { grid-template-columns: 1fr; }
#tab-home .acct-feed-media-grid img { display: block; width: 100%; height: clamp(180px, 54vw, 360px); min-width: 0; object-fit: contain; background: #edf3f0; }
#tab-home .acct-feed-media-grid[data-count="1"] img { height: auto; max-height: min(420px, 62vh); object-fit: contain; }
#tab-home .acct-feed-media-grid:not([data-count="1"]) img { height: clamp(140px, 32vw, 250px); }
#tab-home .acct-feed-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 11px; }
#tab-home .acct-feed-actions button {
  min-height: 38px;
  border: 1px solid rgba(15, 41, 31, .14);
  border-radius: 999px;
  background: #f4f7f5;
  color: #0f291f;
  padding: 0 16px;
  font-weight: 750;
}
#tab-home .acct-feed-actions--post { display: none; }
#tab-home .acct-suggestion-module { padding: 14px; background: #f7faf8; }
#tab-home .acct-suggestion-module > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#tab-home .acct-suggestion-module > header strong { font-size: 13px; }
#tab-home .acct-suggestion-module > header span { color: #657970; font-size: 10px; }
#tab-home .acct-suggestion-rail { display: flex; gap: 9px; margin-top: 10px; padding-bottom: 4px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
#tab-home .acct-suggestion-rail::-webkit-scrollbar { display: none; }
#tab-home .acct-suggestion { flex: 0 0 132px; min-width: 0; scroll-snap-align: start; border: 1px solid rgba(15, 41, 31, .12); border-radius: 14px; background: #fff; padding: 10px; text-align: center; }
#tab-home .acct-suggestion-main,
#tab-home .acct-suggestion-follow { width: 100%; border: 0; background: transparent; color: inherit; cursor: pointer; }
#tab-home .acct-suggestion-avatar { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 7px; overflow: hidden; border-radius: 50%; background: #dff3e9; color: #08783f; font-weight: 850; }
#tab-home .acct-suggestion-main strong,
#tab-home .acct-suggestion-main span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tab-home .acct-suggestion-main strong { font-size: 12px; }
#tab-home .acct-suggestion-main span { margin-top: 2px; color: #657970; font-size: 10px; }
#tab-home .acct-suggestion-follow { min-height: 32px; margin-top: 8px; border-radius: 9px; background: #00a854; color: #fff; font-size: 11px; font-weight: 800; }
#tab-home .acct-following-strip {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 10px 14px;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 41, 31, .12);
  background: #f7faf8;
}
#tab-home .acct-following-strip > div { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
#tab-home .acct-following-strip > div::-webkit-scrollbar { display: none; }
#tab-home .acct-following-identity {
  flex: 0 0 70px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: pointer;
}
#tab-home .acct-following-identity .acct-suggestion-avatar { width: 48px; height: 48px; margin-bottom: 5px; }
#tab-home .acct-following-identity strong { display: block; overflow: hidden; color: #17372c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
body.app-theme-dark #tab-home .acct-home-shell { background: #111827; }
body.app-theme-dark #tab-home .acct-feed-control-row,
body.app-theme-dark #tab-discover .acct-feed-control-row { background: transparent; border-color: transparent; }
body.app-theme-dark .acct-feed-control-action { color: #f8fafc; }
body.app-theme-dark .acct-feed-control-action.is-create { color: #00d46a; }
body.app-theme-dark .acct-feed-control-action,
body.app-theme-dark #tab-discover .acct-disc-cats .acct-info-tab { text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
body.app-theme-dark #tab-home .acct-home-empty { color: #94a3b8; }
body.app-theme-dark #tab-home .acct-feed-card,
body.app-theme-dark #tab-home .acct-suggestion,
body.app-theme-dark #tab-home .acct-suggestion-module,
body.app-theme-dark #tab-home .acct-following-strip { background: #1f2937; color: #f8fafc; border-color: #374151; }
body.app-theme-dark #tab-home .acct-feed-copy { color: #e5ece9; }
body.app-theme-dark #tab-home .acct-feed-identity-copy span,
body.app-theme-dark #tab-home .acct-suggestion-main span,
body.app-theme-dark #tab-home .acct-suggestion-module > header span { color: #94a3b8; }
body.app-theme-dark #tab-home .acct-feed-media-grid,
body.app-theme-dark #tab-home .acct-feed-media-grid img { background: #111827; }
body.app-theme-dark #tab-home .acct-following-identity strong,
body.app-theme-dark #tab-home .acct-home-status-chip strong { color: #e5ece9; }
@media (min-width: 768px) {
  body.mg-home-active #tab-home.acct-home-panel:not(.hidden) { top: 0 !important; bottom: 0 !important; left: var(--pardna-rail-w, 76px) !important; }
  #tab-home .acct-feed-card,
  #tab-home .acct-suggestion-module { border-right: 1px solid rgba(15,41,31,.1); border-left: 1px solid rgba(15,41,31,.1); }
}

#tab-discover.acct-disc-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
}
#tab-discover.acct-disc-panel.hidden {
  display: none !important;
}
#tab-discover .acct-disc-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

/* Discover drops PRDNA / Portals / Sign out. The two tab rows are the chrome. */
body.mg-discover-active #mainNav,
body.mg-discover-active #acctPortalsBtn,
body.mg-discover-active #navLogout {
  display: none !important;
  pointer-events: none !important;
}
body.mg-discover-active #accountHeader,
body.mg-discover-active #dashSearchBar,
body.mg-discover-active #acctTabsTop {
  display: none !important;
}
body.mg-discover-active main {
  overflow: hidden;
}
body.mg-discover-active #installBanner {
  display: none !important;
}

html body.pardna-authed.mg-discover-active:not(.app-theme-dark),
html body.mg-discover-active:not(.app-theme-dark) {
  --acct-shell-fade: none;
  background: #e6ece9 !important;
  background-color: #e6ece9 !important;
  background-image: none !important;
}

body.mg-discover-active #tab-discover.acct-disc-panel:not(.hidden) {
  position: fixed !important;
  top: env(safe-area-inset-top, 0px);
  right: 0;
  bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  left: 0;
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  z-index: 15;
  display: flex !important;
  flex-direction: column;
  background-image: none;
  background-color: #e6ece9;
  background-attachment: fixed;
}
@media (min-width: 768px) {
  body.mg-discover-active #tab-discover.acct-disc-panel:not(.hidden) {
    top: 0 !important;
    bottom: 0 !important;
    left: var(--pardna-rail-w, 76px) !important;
  }
}

#tab-discover .acct-disc-overlay {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  pointer-events: auto;
}
#tab-discover .acct-disc-cats,
#tab-discover .acct-disc-biz-subs {
  display: flex;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow-x: auto;
  flex: 0 0 auto;
  scrollbar-width: none;
}
#tab-discover .acct-disc-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  flex-wrap: nowrap;
  pointer-events: auto;
}
#tab-discover .acct-disc-cats::-webkit-scrollbar { display: none; }
#tab-discover .acct-disc-biz-subs[hidden] {
  display: none !important;
}
#tab-discover .acct-disc-cats .acct-info-tab {
  flex: 0 0 auto;
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 9px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1f3a32;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
  cursor: pointer;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  text-shadow: none;
}
#tab-discover .acct-disc-cats .acct-info-tab.is-on {
  background: transparent;
  color: #0f766e;
  box-shadow: inset 0 -2px 0 #0f766e;
}
#tab-discover .acct-disc-biz-subs .acct-info-tab {
  flex: 0 0 auto;
  min-width: max-content;
  min-height: 32px;
  background: #eef2f1;
  border: 0;
  border-radius: 999px;
  color: #33473f;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.15;
  padding: 7px 10px;
  cursor: pointer;
  white-space: nowrap;
}
#tab-discover .acct-disc-biz-subs .acct-info-tab.is-on {
  background: #00a854;
  color: #fff;
  box-shadow: none;
}

#tab-discover .acct-disc-pane {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#tab-discover .acct-disc-pane[hidden] { display: none !important; }
#tab-discover .acct-disc-people-toolbar {
  flex: 0 0 auto;
  padding: 60px 14px 10px;
}
#tab-discover .acct-disc-people-toolbar strong,
#tab-discover .acct-disc-people-toolbar span { display: block; }
#tab-discover .acct-disc-people-toolbar span { margin: 3px 0 10px; color: #5b726a; font-size: 12px; }
#tab-discover .acct-disc-people-toolbar input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid rgba(15, 41, 31, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #0f291f;
  padding: 0 14px;
  font: inherit;
}
#tab-discover .acct-disc-people-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 14px 24px;
  -webkit-overflow-scrolling: touch;
}
#tab-discover .acct-disc-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #eef3f0;
}
#tab-discover .acct-disc-person-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
#tab-discover .acct-disc-person-photo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border-radius: 50%;
  background: #128C7E;
  color: #fff;
  font-weight: 800;
}
#tab-discover .acct-disc-person-photo img { width: 100%; height: 100%; object-fit: cover; }
#tab-discover .acct-disc-person-copy { min-width: 0; }
#tab-discover .acct-disc-person-copy strong,
#tab-discover .acct-disc-person-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tab-discover .acct-disc-person-copy strong { color: #0f291f; }
#tab-discover .acct-disc-person-copy span { margin-top: 2px; color: #5b726a; font-size: 12px; }
#tab-discover .acct-disc-person-actions { display: flex; gap: 6px; flex: 0 0 auto; }
#tab-discover .acct-disc-person-actions button {
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  padding: 0 10px;
  font-weight: 800;
  cursor: pointer;
  background: #e4ebe7;
  color: #0f291f;
}
#tab-discover .acct-disc-person-actions [data-person-message] { background: #00A854; color: #fff; }
#tab-discover .acct-disc-person-actions button:disabled { opacity: .55; cursor: default; }
#tab-discover .acct-disc-tile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#tab-discover .acct-disc-empty {
  padding: 112px 20px 48px;
  text-align: center;
  color: #5b726a;
  font-size: 14px;
}
#tab-discover .acct-disc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 104px 14px 24px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}
#tab-discover .acct-disc-grid[hidden] { display: none !important; }
#tab-discover .acct-disc-tile {
  border: 0;
  border-radius: 14px;
  background: #eef3f0;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  padding: 0;
}
#tab-discover .acct-disc-tile-cover {
  height: 96px;
  background: linear-gradient(180deg, #128C7E 0%, #d7e8e2 100%);
  background-size: cover;
  background-position: center;
}
#tab-discover .acct-disc-tile-copy {
  padding: 8px 10px 10px;
}
#tab-discover .acct-disc-tile-copy strong {
  display: block;
  font-size: 13px;
  color: #0f291f;
}
#tab-discover .acct-disc-tile-copy span {
  display: block;
  font-size: 11px;
  color: #5b726a;
  margin-top: 2px;
}
body.app-theme-dark #tab-discover.acct-disc-panel:not(.hidden),
body.app-theme-dark.mg-discover-active #tab-discover.acct-disc-panel:not(.hidden) {
  background: #111827;
}
body.app-theme-dark #tab-discover .acct-disc-tile,
body.app-theme-dark #tab-discover .acct-disc-person { background: #1f2937; }
body.app-theme-dark #tab-discover .acct-disc-tile-copy strong,
body.app-theme-dark #tab-discover .acct-disc-person-copy strong { color: #f8fafc; }
body.app-theme-dark #tab-discover .acct-disc-people-toolbar input { background: #1f2937; color: #f8fafc; }
body.app-theme-dark #tab-discover .acct-disc-overlay { background: transparent; border-color: transparent; }
body.app-theme-dark #tab-discover .acct-disc-cats .acct-info-tab { background: transparent; color: #cbd5e1; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
body.app-theme-dark #tab-discover .acct-disc-cats .acct-info-tab.is-on { background: transparent; color: #f8fafc; box-shadow: inset 0 -2px 0 #2aa89a; }
@media (max-width: 520px) {
  #tab-discover .acct-disc-person { align-items: stretch; flex-direction: column; }
  #tab-discover .acct-disc-person-actions { padding-left: 62px; }
  #tab-discover .acct-disc-person-actions button { flex: 1 1 0; }
}

/* HOME-DISCOVER-S2 — identity-first Business feed; media stays bounded. */
#tab-discover .acct-disc-feed {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 0 28px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}
#tab-discover .acct-feed-card {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 12px 14px 14px;
  border-bottom: 1px solid rgba(15, 41, 31, 0.12);
  background: #fff;
  color: #0f291f;
  overflow: hidden;
}
#tab-discover .acct-feed-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
#tab-discover .acct-feed-avatar,
#tab-discover .acct-feed-identity-copy {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
#tab-discover .acct-feed-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border-radius: 50%;
  background: #dff3e9;
  color: #08783f;
  font-weight: 850;
}
#tab-discover .acct-feed-avatar img,
#tab-discover .acct-suggestion-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#tab-discover .acct-feed-identity-copy { min-width: 0; flex: 1 1 auto; }
#tab-discover .acct-feed-identity-copy strong,
#tab-discover .acct-feed-identity-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#tab-discover .acct-feed-identity-copy strong { font-size: 14px; }
#tab-discover .acct-feed-identity-copy span { margin-top: 1px; color: #657970; font-size: 11px; }
#tab-discover .acct-feed-copy {
  margin: 9px 0;
  color: #17372c;
  font-size: 14px;
  line-height: 1.42;
  white-space: pre-wrap;
}
#tab-discover .acct-feed-chip {
  display: inline-flex;
  width: fit-content;
  margin: 8px 0 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e2f6ec;
  color: #08783f;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
#tab-discover .acct-feed-meta { margin: 8px 0 0; color: #657970; font-size: 12px; }
#tab-discover .acct-feed-media,
#tab-discover .acct-feed-media-grid {
  width: 100%;
  max-height: 420px;
  margin-top: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #edf3f0;
  padding: 0;
}
#tab-discover .acct-feed-media { display: block; cursor: pointer; }
#tab-discover .acct-feed-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #edf3f0;
}
#tab-discover .acct-feed-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}
#tab-discover .acct-feed-media-grid[data-count="1"] { grid-template-columns: 1fr; }
#tab-discover .acct-feed-media-grid img {
  display: block;
  width: 100%;
  height: clamp(180px, 54vw, 360px);
  min-width: 0;
  object-fit: contain;
  background: #edf3f0;
}
#tab-discover .acct-feed-media-grid[data-count="1"] img { height: auto; max-height: min(420px, 62vh); object-fit: contain; }
#tab-discover .acct-feed-media-grid:not([data-count="1"]) img { height: clamp(140px, 32vw, 250px); }
#tab-discover .acct-feed-actions {
  display: flex;
  gap: 8px;
  margin-top: 11px;
}
#tab-discover .acct-feed-actions button {
  min-height: 38px;
  border: 1px solid rgba(15, 41, 31, 0.14);
  border-radius: 999px;
  background: #f4f7f5;
  color: #0f291f;
  padding: 0 16px;
  font-weight: 750;
  cursor: pointer;
}
#tab-discover .acct-feed-actions [data-discover-message] { background: #00a854; border-color: #00a854; color: #fff; }
#tab-discover .acct-feed-actions--post { display: none; }
#tab-discover .acct-suggestion-module {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 14px;
  border-bottom: 1px solid rgba(15, 41, 31, 0.12);
  background: #f7faf8;
}
#tab-discover .acct-suggestion-module > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#tab-discover .acct-suggestion-module > header strong { font-size: 13px; }
#tab-discover .acct-suggestion-module > header span { color: #657970; font-size: 10px; }
#tab-discover .acct-suggestion-rail {
  display: flex;
  gap: 9px;
  margin-top: 10px;
  padding-bottom: 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
#tab-discover .acct-suggestion-rail::-webkit-scrollbar { display: none; }
#tab-discover .acct-suggestion {
  flex: 0 0 132px;
  min-width: 0;
  scroll-snap-align: start;
  border: 1px solid rgba(15, 41, 31, 0.12);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  text-align: center;
}
#tab-discover .acct-suggestion-main,
#tab-discover .acct-suggestion-follow {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
#tab-discover .acct-suggestion-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 7px;
  overflow: hidden;
  border-radius: 50%;
  background: #dff3e9;
  color: #08783f;
  font-weight: 850;
}
#tab-discover .acct-suggestion-main strong,
#tab-discover .acct-suggestion-main span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tab-discover .acct-suggestion-main strong { font-size: 12px; }
#tab-discover .acct-suggestion-main span { margin-top: 2px; color: #657970; font-size: 10px; }
#tab-discover .acct-suggestion-follow {
  min-height: 32px;
  margin-top: 8px;
  border-radius: 9px;
  background: #00a854;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
#tab-discover .acct-disc-empty strong,
#tab-discover .acct-disc-empty span { display: block; }
#tab-discover .acct-disc-empty span { margin-top: 5px; }
body.app-theme-dark #tab-discover .acct-feed-card,
body.app-theme-dark #tab-discover .acct-suggestion,
body.app-theme-dark #tab-discover .acct-suggestion-module { background: #1f2937; color: #f8fafc; border-color: #374151; }
body.app-theme-dark #tab-discover .acct-feed-copy { color: #e5ece9; }
body.app-theme-dark #tab-discover .acct-feed-chip { background: rgba(0, 212, 106, .14); color: #5ef0a7; }
body.app-theme-dark #tab-discover .acct-feed-identity-copy span,
body.app-theme-dark #tab-discover .acct-feed-meta,
body.app-theme-dark #tab-discover .acct-suggestion-main span,
body.app-theme-dark #tab-discover .acct-suggestion-module > header span { color: #94a3b8; }
body.app-theme-dark #tab-discover .acct-feed-media,
body.app-theme-dark #tab-discover .acct-feed-media img,
body.app-theme-dark #tab-discover .acct-feed-media-grid,
body.app-theme-dark #tab-discover .acct-feed-media-grid img { background: #111827; }
@media (min-width: 768px) {
  #tab-discover .acct-feed-card,
  #tab-discover .acct-suggestion-module { border-right: 1px solid rgba(15,41,31,.1); border-left: 1px solid rgba(15,41,31,.1); }
}

.acct-feed-dialog[hidden] { display: none !important; }
.acct-feed-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  overflow-y: auto;
  padding: max(70px, calc(env(safe-area-inset-top, 0px) + 28px)) 16px 32px;
  background: rgba(3, 12, 9, .52);
}
.acct-feed-dialog-card {
  width: min(100%, 560px);
  overflow: hidden;
  border: 1px solid rgba(15, 41, 31, .12);
  border-radius: 18px;
  background: #fff;
  color: #0f291f;
  box-shadow: 0 22px 58px rgba(3, 12, 9, .28);
}
.acct-feed-dialog-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid rgba(15, 41, 31, .1);
}
.acct-feed-dialog-card > header strong,
.acct-feed-dialog-card > header span { display: block; }
.acct-feed-dialog-card > header strong { font-size: 17px; }
.acct-feed-dialog-card > header span { margin-top: 2px; color: #657970; font-size: 11px; }
.acct-feed-dialog-card > header button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 50%;
  background: #eef3f0;
  color: #33473f;
  font-size: 22px;
  cursor: pointer;
}
.acct-feed-dialog form { display: grid; gap: 12px; padding: 16px; }
.acct-feed-dialog input[type="search"],
.acct-feed-dialog textarea,
.acct-feed-file {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 41, 31, .16);
  border-radius: 13px;
  background: #f7faf8;
  color: #0f291f;
  font: inherit;
}
.acct-feed-dialog input[type="search"] { min-height: 46px; padding: 0 13px; }
.acct-feed-dialog textarea { min-height: 128px; resize: vertical; padding: 12px 13px; }
.acct-feed-file { display: grid; gap: 8px; padding: 12px 13px; color: #657970; font-size: 12px; }
.acct-feed-dialog form > button[type="submit"] {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #00a854;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}
.acct-feed-dialog form > button[type="submit"]:disabled { opacity: .55; cursor: default; }
.acct-feed-search-results { display: grid; gap: 8px; padding: 0 16px 16px; }
.acct-feed-search-results p { margin: 0; color: #657970; font-size: 13px; }
.acct-feed-search-results button {
  display: grid;
  gap: 2px;
  width: 100%;
  border: 1px solid rgba(15, 41, 31, .12);
  border-radius: 12px;
  background: #f7faf8;
  color: #0f291f;
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
}
.acct-feed-search-results button span { color: #657970; font-size: 11px; }
.acct-feed-form-status { min-height: 18px; margin: 0; color: #b42318; font-size: 12px; }
body.app-theme-dark .acct-feed-dialog-card { background: #101b22; color: #f8fafc; border-color: rgba(255,255,255,.12); }
body.app-theme-dark .acct-feed-dialog-card > header { border-color: rgba(255,255,255,.1); }
body.app-theme-dark .acct-feed-dialog-card > header span,
body.app-theme-dark .acct-feed-search-results p,
body.app-theme-dark .acct-feed-search-results button span,
body.app-theme-dark .acct-feed-file { color: #94a3b8; }
body.app-theme-dark .acct-feed-dialog input[type="search"],
body.app-theme-dark .acct-feed-dialog textarea,
body.app-theme-dark .acct-feed-file,
body.app-theme-dark .acct-feed-search-results button,
body.app-theme-dark .acct-feed-dialog-card > header button { background: #18242b; color: #f8fafc; border-color: rgba(255,255,255,.12); }
@media (max-width: 520px) {
  #tab-home .acct-feed-media-grid[data-count="1"] img,
  #tab-discover .acct-feed-media-grid[data-count="1"] img { max-height: min(390px, 56vh); }
}

#acctDiscoverMarketplaceStoresFeed,
#acctDiscoverMarketplaceFeed { display: none !important; }

/* Discover visual projections — catalogue cards + Marketplace Products mechanics. */
#acctDiscoverBizFeed .cc-cat-heading { margin-top: 8px; }
#acctDiscoverBizFeed .cc-cat-list { padding-bottom: 12px; }
#acctDiscoverLifestyleFeed .prdna-mkt-search {
  margin: 0 12px 10px;
}
#acctDiscoverLifestyleFeed .acct-life-filters {
  padding: 0 12px 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
}
#acctDiscoverBizFeed .acct-disc-filters,
#acctDiscoverLifestyleFeed .acct-disc-filters {
  display: flex;
  grid-template-columns: none;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding: 6px 12px 10px;
  -webkit-overflow-scrolling: touch;
}
#acctDiscoverBizFeed .acct-disc-filters .prdna-mkt-cat,
#acctDiscoverLifestyleFeed .acct-disc-filters .prdna-mkt-cat {
  flex: 0 0 auto;
  flex-direction: row;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 41, 31, .08);
  font-size: 12px;
  white-space: nowrap;
}
#acctDiscoverBizFeed .acct-disc-filters .prdna-mkt-cat.is-on,
#acctDiscoverLifestyleFeed .acct-disc-filters .prdna-mkt-cat.is-on {
  outline: 2px solid #0f766e;
  color: #0f766e;
}
body.app-theme-dark #acctDiscoverBizFeed .acct-disc-filters .prdna-mkt-cat,
body.app-theme-dark #acctDiscoverLifestyleFeed .acct-disc-filters .prdna-mkt-cat {
  background: #1f2937;
  color: #e2e8f0;
  box-shadow: none;
}
body.app-theme-dark #acctDiscoverBizFeed .acct-disc-filters .prdna-mkt-cat.is-on,
body.app-theme-dark #acctDiscoverLifestyleFeed .acct-disc-filters .prdna-mkt-cat.is-on {
  outline-color: #2dd4bf;
  color: #5eead4;
}
#acctDiscoverLifestyleFeed .acct-life-highlights h3,
#acctDiscoverLifestyleFeed .acct-life-highlights {
  padding-left: 0;
}
#acctDiscoverLifestyleFeed .acct-life-highlights .cc-cat-featured-scroll {
  padding-left: 12px;
  padding-right: 12px;
}

.acct-life-provider-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 12px 24px;
}
.acct-disc-provider-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #eef3f0;
  border: 1px solid #c5d4ce;
}
body.app-theme-dark .acct-disc-provider-card {
  background: #1f2937;
  border-color: #374151;
}
[data-prdna-media="broken"] {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 48px;
  background: #e8f3ec;
  color: #657970;
  font-weight: 700;
}
body.app-theme-dark [data-prdna-media="broken"] { background: #111827; color: #9ca3af; }
.acct-disc-provider-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: #d7e8e2;
  overflow: hidden;
  cursor: pointer;
}
body.app-theme-dark .acct-disc-provider-media { background: #111827; }
.acct-disc-provider-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.acct-disc-provider-media span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 64px;
  font-weight: 800;
  color: #0f766e;
}
.acct-disc-provider-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 14px;
}
.acct-disc-provider-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.acct-disc-provider-copy strong {
  font-size: 16px;
  color: #0f291f;
}
.acct-disc-provider-copy span {
  font-size: 12px;
  color: #5b726a;
}
body.app-theme-dark .acct-disc-provider-copy strong { color: #f8fafc; }
body.app-theme-dark .acct-disc-provider-copy span { color: #94a3b8; }

.acct-life-explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 4px 12px 28px;
}
.acct-life-explore-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #eef3f0;
  border: 1px solid #c5d4ce;
}
.acct-life-explore-card.is-wide { grid-column: 1 / -1; }
body.app-theme-dark .acct-life-explore-card {
  background: #1f2937;
  border-color: #374151;
}
.acct-life-explore-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: #d7e8e2;
  overflow: hidden;
  cursor: pointer;
}
.acct-life-explore-card.is-wide .acct-life-explore-media { aspect-ratio: 16 / 10; }
body.app-theme-dark .acct-life-explore-media { background: #111827; }
.acct-life-explore-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.acct-life-explore-media:not(:has(img)) {
  aspect-ratio: auto;
  min-height: 0;
  background: transparent;
}
.acct-life-explore-media em {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.88);
  color: #f8fafc;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.acct-life-explore-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 12px;
}
.acct-life-explore-body strong {
  font-size: 14px;
  color: #0f291f;
  line-height: 1.25;
}
.acct-life-explore-body span {
  font-size: 12px;
  color: #5b726a;
}
body.app-theme-dark .acct-life-explore-body strong { color: #f8fafc; }
body.app-theme-dark .acct-life-explore-body span { color: #94a3b8; }

.acct-life-featured {
  overflow: hidden;
}
.acct-life-featured-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d7e8e2;
}
body.app-theme-dark .acct-life-featured-media { background: #111827; }
.acct-life-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.acct-life-featured-copy {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.35;
}

.acct-disc-biz-directory {
  padding: 8px 0 0;
}
.acct-disc-biz-directory > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 16px 10px;
}
.acct-disc-biz-directory > header strong {
  font-size: 16px;
  color: #0f291f;
}
.acct-disc-biz-directory > header span {
  font-size: 12px;
  color: #5b726a;
}
body.app-theme-dark .acct-disc-biz-directory > header strong { color: #f8fafc; }
body.app-theme-dark .acct-disc-biz-directory > header span { color: #94a3b8; }
.acct-disc-biz-directory-grid {
  padding-top: 0;
}

/* Businesses | Services | Posts and Lifestyle Providers | Explore | Featured reuse Marketplace underline tabs.
   Wrapperless: padding clears the floating rows. No header box, blur, or slab. */
#acctDiscoverCatBusiness,
#acctDiscoverCatLifestyle {
  position: relative;
  background: transparent;
  background-image: none;
}
#acctDiscoverCatBusiness .acct-disc-subs,
#acctDiscoverCatLifestyle .acct-disc-subs {
  position: absolute;
  top: 46px;
  right: 0;
  left: 0;
  z-index: 5;
  display: grid !important;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0 8px;
  pointer-events: auto;
  white-space: nowrap;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
#acctDiscoverCatBusiness .acct-disc-subs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#acctDiscoverCatLifestyle .acct-disc-subs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#acctDiscoverCatBusiness .acct-disc-subs .acct-info-tab,
#acctDiscoverCatLifestyle .acct-disc-subs .acct-info-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #355a54;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  pointer-events: auto;
}
#acctDiscoverCatBusiness .acct-disc-subs .acct-info-tab.is-on,
#acctDiscoverCatLifestyle .acct-disc-subs .acct-info-tab.is-on {
  color: #0f766e;
  box-shadow: inset 0 -2px 0 #0f766e;
}
#acctDiscoverCatBusiness .acct-disc-feed,
#acctDiscoverCatLifestyle .acct-disc-feed {
  padding: 88px 0 28px;
}
body.app-theme-dark #acctDiscoverCatBusiness .acct-disc-subs .acct-info-tab,
body.app-theme-dark #acctDiscoverCatLifestyle .acct-disc-subs .acct-info-tab { color: #cbd5e1; }
body.app-theme-dark #acctDiscoverCatBusiness .acct-disc-subs .acct-info-tab.is-on,
body.app-theme-dark #acctDiscoverCatLifestyle .acct-disc-subs .acct-info-tab.is-on {
  color: #f8fafc;
  box-shadow: inset 0 -2px 0 #2aa89a;
}

/* Compact Like / Comment / Repost / Share / Save — one bar, no giant Save pill. */
#tab-home .acct-feed-engage,
#tab-discover .acct-feed-engage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}
#tab-home .acct-feed-engage button,
#tab-discover .acct-feed-engage button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 28px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #355a54;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.1;
  cursor: pointer;
}
#tab-home .acct-feed-engage button.is-on,
#tab-discover .acct-feed-engage button.is-on { color: #0f766e; font-weight: 800; }
#tab-home .acct-feed-comments,
#tab-discover .acct-feed-comments {
  margin-top: 8px;
  padding: 0;
  background: transparent;
}
#tab-home .acct-feed-comments[hidden],
#tab-discover .acct-feed-comments[hidden] { display: none !important; }
#tab-home .acct-feed-comments-list,
#tab-discover .acct-feed-comments-list { display: grid; gap: 6px; }
#tab-home .acct-feed-comment,
#tab-discover .acct-feed-comment {
  margin: 0;
  color: #17372c;
  font-size: 12px;
  line-height: 1.35;
}
#tab-home .acct-feed-comment strong,
#tab-discover .acct-feed-comment strong { margin-right: 6px; }
#tab-home .acct-feed-comment-form,
#tab-discover .acct-feed-comment-form {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
#tab-home .acct-feed-comment-form input,
#tab-discover .acct-feed-comment-form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(15, 41, 31, .16);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
}
#tab-home .acct-feed-comment-form button,
#tab-discover .acct-feed-comment-form button {
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #0f766e;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
body.app-theme-dark #tab-home .acct-feed-engage button,
body.app-theme-dark #tab-discover .acct-feed-engage button { color: #94a3b8; }
body.app-theme-dark #tab-home .acct-feed-engage button.is-on,
body.app-theme-dark #tab-discover .acct-feed-engage button.is-on { color: #2aa89a; }
body.app-theme-dark #tab-home .acct-feed-comment,
body.app-theme-dark #tab-discover .acct-feed-comment { color: #e2e8f0; }
body.app-theme-dark #tab-home .acct-feed-comment-form input,
body.app-theme-dark #tab-discover .acct-feed-comment-form input {
  border-bottom-color: #374151;
  color: #f8fafc;
}

