/* Shared member-app introduction; scoped to leave existing sections untouched. */
.member-app {
  --app-ink: #333b2b;
  --app-muted: #68715f;
  --app-line: #cbd0c1;
  padding: 100px 7% 86px;
  background: #f4f1e9;
  color: var(--app-ink);
  scroll-margin-top: 24px;
}
.member-app *, .member-app *::before, .member-app *::after { box-sizing: border-box; }
.member-app [hidden] { display: none !important; }
.member-app__inner { max-width: 1100px; margin: 0 auto; }
.member-app__heading { max-width: 780px; margin-bottom: 48px; }
.member-app__eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12px/1.5 var(--sans); letter-spacing: 2px; margin: 0 0 24px; }
.member-app__eyebrow::before { content: ''; width: 23px; height: 1px; background: currentColor; }
.member-app__heading h2 { margin: 0; color: var(--app-ink); font: 400 var(--section-title-size, 48px)/1.5 var(--serif); letter-spacing: -.055em; }
.member-app__lead { margin: 22px 0 0; color: var(--app-muted); font: 400 16px/1.95 var(--sans); letter-spacing: -.025em; }
.member-app__lead strong { color: var(--app-ink); font-weight: 600; }
.member-app__experience { display: grid; grid-template-columns: 1fr 1.08fr; gap: 60px; align-items: center; }
.member-app__tabs { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.member-app__tab { position: relative; display: grid; grid-template-columns: 35px 1fr 25px; align-items: start; gap: 8px; width: 100%; padding: 27px 0; border: 0; border-top: 1px solid var(--app-line); background: transparent; text-align: left; color: #77806e; }
.member-app__tab:last-child { border-bottom: 1px solid var(--app-line); }
.member-app__tab:focus-visible { outline: 2px solid #525e45; outline-offset: 5px; }
.member-app__number { font: 400 14px/1.6 var(--serif); padding-top: 2px; }
.member-app__tab-name { display: block; font: 600 12px/1.6 var(--sans); margin: 0 0 9px; letter-spacing: .02em; }
.member-app__tab-title { display: block; font: 400 24px/1.55 var(--serif); letter-spacing: -.05em; }
.member-app__tab-arrow { font: 300 24px/1.2 var(--sans); margin-top: 29px; opacity: .4; transition: transform .2s, opacity .2s; }
.member-app__tab[aria-selected='true'] { color: var(--app-ink); }
.member-app__tab[aria-selected='true'] .member-app__number { color: #525e45; }
.member-app__tab[aria-selected='true'] .member-app__tab-arrow { opacity: 1; transform: translateX(3px); }
.member-app__tab[aria-selected='true']::before { content: ''; position: absolute; width: 40px; height: 3px; background: #525e45; top: -2px; left: 0; }
.member-app__tab:hover { color: var(--app-ink); }
.member-app__panel { min-width: 0; }
.member-app__panels { touch-action: pan-y pinch-zoom; }
.member-app__panel:focus-visible { outline: 2px solid #525e45; outline-offset: 8px; }
.member-app__stage { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; padding: 35px 28px; overflow: hidden; background: #e3e7dc; border: 1px solid #d9dfd0; }
.member-app__stage::before { content: ''; position: absolute; z-index: -1; width: 430px; height: 430px; left: 50%; top: 66px; transform: translateX(-50%); border: 1px solid #c5cfb9; border-radius: 50%; }
.member-app__stage::after { content: ''; position: absolute; z-index: -1; width: 370px; height: 370px; left: 50%; top: 96px; transform: translateX(-50%); border: 1px solid #d0d8c7; border-radius: 50%; }

/* Mobile app structure mirrors the source app's header, feed/cards and navigation.
   Names map to user-approved display aliases; all fixture values remain examples. */
.member-app__phone { --screen-scale: .69230769; position: relative; width: 290px; flex: 0 0 290px; height: calc(880px * var(--screen-scale) + 20px); padding: 8px; border: 1px solid #c5c7be; border-radius: 30px; background: #fff; box-shadow: 0 18px 42px #35432b20; }
.member-app__screen { position: relative; height: 100%; overflow: hidden; border: 1px solid #eeece7; border-radius: 23px; background: #faf8f3; }
.app-view { position: absolute; width: 390px; height: 880px; transform: scale(var(--screen-scale)); transform-origin: top left; color: #2d302b; background: #faf8f3; font: 400 16px/1.5 var(--sans); letter-spacing: -.3px; text-align: left; }
.app-view svg { width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
.app-view p { margin: 0; word-break: normal; }
.app-view__header { height: 64px; display: flex; align-items: center; gap: 20px; padding: 0 22px; border-bottom: 1px solid #e5e3de; }
.app-view__header > b { flex: 1; font: 650 23px/1.3 var(--sans); }
.app-view__action { display: flex; align-items: center; gap: 6px; background: #363d33; color: #fffef8; border-radius: 7px; padding: 14px 13px; font-size: 12px; font-weight: 600; }
.app-view__action svg { width: 16px; height: 16px; flex-basis: 16px; }
.app-view__action--light { background: #fffefa; border: 1px solid #dedbd5; color: #34382f; }
.app-view__bell { position: relative; }
.app-view__bell::after { content: ''; position: absolute; top: 0; right: 1px; width: 5px; height: 5px; border-radius: 50%; background: #cf8e74; }
.app-view__body { height: 744px; overflow: hidden; padding: 17px 22px 0; }
.app-view__tools { display: flex; gap: 8px; }
.app-view__search { display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 11px 13px; border: 1px solid #d9d7ce; border-radius: 9px; background: #fffefa; color: #777b70; font-size: 15px; }
.app-view__tools .app-view__search { flex: 1; }
.app-view__mybooks { display: flex; gap: 5px; align-items: center; font-size: 11px; border: 1px solid #d9d7ce; border-radius: 8px; padding: 10px; background: #fffefa; }
.app-view__mybooks svg { width: 15px; height: 15px; flex-basis: 15px; }
.app-view__tabs { display: flex; align-items: center; gap: 27px; min-height: 46px; border-bottom: 1px solid #d9d9d0; font-size: 13px; color: #777b70; }
.app-view__tools + .app-view__tabs { margin-top: 10px; }
.app-view__tabs > b { position: relative; display: flex; gap: 5px; align-items: center; align-self: stretch; font-weight: 650; color: #343b2e; }
.app-view__tabs > b::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #343b2e; }
.app-view__tabs small { margin-left: auto; font-size: 11px; }
.app-view__tabs i { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #394235; color: #fff; font-style: normal; font-size: 10px; }
.app-view__post { padding: 23px 0 21px; border-bottom: 1px solid #e0ded7; }
.app-view__author { display: flex; align-items: center; gap: 12px; margin: 0 5px 20px; }
.app-view__avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 15px; color: #58616a; background: #d2dfe5; }
.app-view__avatar--sand { background: #ded5c7; color: #655e52; }
.app-view__author > div { flex: 1; }
.app-view__author b { display: block; font-size: 14px; font-weight: 650; }
.app-view__author small { display: block; color: #858579; font-size: 11px; margin-top: 3px; }
.app-view__author time { color: #888d80; font-size: 11px; }
.app-view__book { display: flex; gap: 20px; align-items: center; }
.app-view__book img { display: block; width: 70px; height: 109px; flex: 0 0 70px; object-fit: contain; border-radius: 2px; }
.app-view__book > div { min-width: 0; flex: 1; }
.app-view__book small { display: block; color: #727768; font-size: 10px; margin-bottom: 5px; }
.app-view__book b { display: block; font: 650 17px/1.6 var(--sans); letter-spacing: -.5px; word-break: keep-all; }
.app-view__book span { display: block; font-size: 12px; color: #7d8175; margin-top: 5px; }
.app-view__book em { display: block; width: max-content; margin-top: 7px; padding: 1px 7px; border-radius: 4px; color: #8a723e; background: #eee6d1; font-size: 11px; font-style: normal; }
.app-view__book > svg { width: 16px; height: 16px; flex-basis: 16px; color: #898a80; }
.app-view .app-view__post-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 19px; color: #52594b; font: 400 15px/1.9 var(--sans); letter-spacing: -.25px; }
.app-view__post-actions { display: flex; align-items: center; gap: 22px; margin-top: 26px; color: #7e8773; font-size: 12px; }
.app-view__post-actions > span, .app-view__post-actions > b { display: flex; gap: 10px; align-items: center; }
.app-view__post-actions > b { margin-left: auto; color: #4e5844; font-weight: 600; gap: 4px; }
.app-view__post-actions > b svg { width: 13px; height: 13px; flex-basis: 13px; }
.app-view__chips { display: flex; gap: 7px; margin-top: 14px; }
.app-view__chips > * { min-width: 50px; text-align: center; padding: 9px 12px; border: 1px solid #dedcd3; border-radius: 5px; font-size: 12px; color: #777c70; background: #fffefa; }
.app-view__chips b { background: #363d33; color: #fff; border-color: #363d33; font-weight: 500; }
.app-view__date-label { display: flex; gap: 6px; align-items: center; margin-top: 19px; font-size: 12px; }
.app-view__date-label svg { width: 15px; height: 15px; flex-basis: 15px; }
.app-view__dates { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 6px; padding: 4px; background: #eeede7; border: 1px solid #e4e2dc; border-radius: 10px; text-align: center; font-size: 11px; }
.app-view__dates > * { padding: 13px 0; }
.app-view__dates b { color: #fff; background: #363d33; border-radius: 6px; font-weight: 500; }
.app-view .app-view__count { margin: 16px 0 24px; color: #929689; font-size: 11px; }
.app-view__photo { position: relative; height: 223px; overflow: hidden; border-radius: 7px; }
.app-view__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.app-view__photo > span { position: absolute; left: 12px; top: 12px; background: #fffef8; padding: 7px 9px; border-radius: 3px; font-size: 11px; }
.app-view__meeting-content { padding: 16px 0 24px; }
.app-view__meeting-content > small { display: block; color: #7a8170; font-size: 11px; }
.app-view__meeting-content > b { display: block; margin: 8px 0 12px; font: 450 23px/1.5 var(--serif); letter-spacing: -.5px; }
.app-view__date, .app-view__cost { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.app-view__date { font-weight: 650; }
.app-view__date svg, .app-view__cost svg { width: 15px; height: 15px; flex-basis: 15px; }
.app-view .app-view__cost { margin-top: 6px; color: #7b8273; }
.app-view .app-view__question { margin-top: 17px; color: #7f8678; font-size: 13px; line-height: 1.6; }
.app-view__meeting-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-size: 11px; color: #7c8373; }
.app-view__meeting-bottom > span { display: flex; gap: 4px; align-items: center; }
.app-view__meeting-bottom .app-view__avatar { width: 26px; height: 26px; flex-basis: 26px; font-size: 10px; }
.app-view__meeting-bottom b { color: #3e4737; font-size: 14px; font-weight: 500; }
.app-view__friend-search { margin-top: 24px; }
.app-view__friend { display: flex; align-items: center; gap: 11px; padding: 21px 6px; border-bottom: 1px solid #d9d9d0; }
.app-view__friend > div { flex: 1; min-width: 0; }
.app-view__friend b { display: block; font-size: 16px; font-weight: 650; }
.app-view__friend small { display: block; margin-top: 6px; font-size: 11px; color: #808778; }
.app-view__message { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #eeeee7; color: #59654e; }
.app-view__friend-note { display: flex; gap: 12px; margin-top: 27px; background: #f0eee7; padding: 19px; border-radius: 12px; color: #919588; }
.app-view__friend-note svg { color: #59654e; margin-top: 1px; }
.app-view__friend-note p { font: 400 11px/1.9 var(--sans); }
.app-view__invite { display: flex; align-items: center; gap: 13px; background: #fffefa; padding: 21px 17px; margin-top: 24px; }
.app-view__invite > div { flex: 1; }
.app-view__invite b { display: block; color: #59634e; font-weight: 650; }
.app-view__invite small { display: block; margin-top: 5px; font-size: 11px; color: #989c8f; }
.app-view__nav { position: absolute; bottom: 0; left: 0; right: 0; height: 72px; display: grid; grid-template-columns: repeat(5,1fr); padding: 6px 8px; background: #fffefa; border-top: 1px solid #e2e1d8; }
.app-view__nav > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #7c8571; }
.app-view__nav svg { width: 22px; height: 22px; }
.app-view__nav small { font-size: 11px; white-space: nowrap; }
.app-view__nav .is-active { color: #35412d; font-weight: 650; }
.app-view__nav .is-active svg { box-sizing: content-box; padding: 4px 10px; margin: -4px -10px; background: #e7ebdb; border-radius: 9px; stroke-width: 2; }
.member-app__explanation { padding-top: 23px; min-height: 121px; }
.member-app__explanation h3 { margin: 0 0 9px; color: var(--app-ink); font: 600 18px/1.5 var(--sans); letter-spacing: -.035em; }
.member-app__explanation p { margin: 0; color: var(--app-muted); font: 400 14px/1.85 var(--sans); letter-spacing: -.015em; }
@media (max-width: 1000px) {
  .member-app__experience { gap: 34px; grid-template-columns: 1fr 1fr; }
  .member-app__tab-title { font-size: 21px; }
  .member-app__stage { padding-inline: 16px; }
}
@media (max-width: 700px) {
  .member-app { padding: 65px 24px 54px; scroll-margin-top: 0; }
  .member-app__heading { margin-bottom: 30px; }
  .member-app__eyebrow { font-size: 11px; margin-bottom: 20px; }
  .member-app__heading h2 { font-size: clamp(27px, 7.7vw, 32px); line-height: 1.6; letter-spacing: -.058em; }
  .member-app__lead { font-size: 14px; margin-top: 18px; line-height: 1.9; }
  .member-app__lead br { display: none; }
  .member-app__experience { display: block; }
  .member-app__tabs { flex-direction: row; margin-bottom: 22px; border-bottom: 1px solid var(--app-line); gap: 0; }
  .member-app__tab { display: flex; gap: 7px; justify-content: center; align-items: center; padding: 15px 2px; width: 33.333%; border: 0; color: #79806f; }
  .member-app__tab:last-child { border: 0; }
  .member-app__tab-name { font-size: 14px; margin: 0; font-weight: 500; }
  .member-app__number { font-size: 10px; padding: 0; }
  .member-app__tab-title, .member-app__tab-arrow { display: none; }
  .member-app__tab[aria-selected='true'] { background: #e6e9de; }
  .member-app__tab[aria-selected='true'] .member-app__tab-name { font-weight: 700; }
  .member-app__tab[aria-selected='true']::before { top: auto; bottom: -1px; width: 100%; height: 2px; }
  .member-app__stage { padding: 26px 12px; }
  .member-app__phone { --screen-scale: .63076923; width: 266px; flex-basis: 266px; }
  .member-app__explanation { padding-top: 22px; min-height: 139px; }
  .member-app__explanation h3 { font-size: 20px; font-weight: 500; line-height: 1.55; letter-spacing: -.045em; }
  .member-app__explanation p { font-size: 14px; line-height: 1.9; }
}
@media (max-width: 359px) {
  .member-app { padding-inline: 20px; }
  .member-app__phone { --screen-scale: .57948718; width: 246px; flex-basis: 246px; }
  .member-app__heading h2 { font-size: 25px; }
}
@media (min-width: 701px) and (max-width: 800px) {
  .member-app__phone { --screen-scale: .57948718; width: 246px; flex-basis: 246px; }
}
@media (max-width: 335px) {
  .member-app__phone { --screen-scale: .52820513; width: 226px; flex-basis: 226px; }
}
@media (prefers-reduced-motion: reduce) {
  .member-app__tab-arrow { transition: none; }
}
