/* Shared title rhythm across mobile tabs; desktop page layouts stay independent. */
@media(max-width:700px){
 body{--mobile-page-title:22px;--mobile-page-gutter:20px}
 body.mobile-nav-ready>.site-header,body[data-auth-intent].mobile-nav-ready>header{height:68px;min-height:68px;flex-shrink:0}
 .member-body :is(.journal-main,.calendar-main,.community-main,.member-main,.tt-main){padding-top:20px;padding-left:var(--mobile-page-gutter);padding-right:var(--mobile-page-gutter)}
 .member-body :is(.journal-heading,.calendar-heading,.community-heading,.member-heading,.tt-heading){display:flex;align-items:center;justify-content:space-between;min-height:40px;gap:12px;margin:0 0 24px}
 .member-body :is(.journal-heading,.calendar-heading,.community-heading,.member-heading,.tt-heading) h1{
  min-width:0;margin:0;font-size:var(--mobile-page-title);font-weight:600;line-height:1.45;letter-spacing:-.65px;color:#443b41;word-break:keep-all;overflow-wrap:anywhere
 }
 .member-body :is(.journal-heading,.calendar-heading,.community-heading,.tt-heading)>div{min-width:0}
 .member-body :is(.new-record,.calendar-write,.tt-heading-actions .tt-button,.community-heading .write-post){
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:40px;gap:6px;padding:8px 12px;border:1px solid #e9dfe4;border-radius:10px;background:#fff;color:#89616e!important;font-size:12px!important;font-weight:500;line-height:20px;white-space:nowrap;text-decoration:none
 }
 .member-body :is(.new-record,.calendar-write,.tt-heading-actions .tt-button,.community-heading .write-post):hover{background:#fcf6f8;border-color:#dcc5ce}
 .member-body :is(.tt-heading-actions .tt-button,.community-heading .write-post) svg{width:16px;height:16px}
 .member-body .tt-heading-actions{margin:0;flex-shrink:0}
 .member-body .tt-edit-label{display:none}
 .member-body .tt-edit-short{display:inline}
 .member-body .tt-heading{margin-bottom:18px}
 .member-body .community-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 .member-body .community-heading .write-post{justify-self:start;margin:0}
 .member-body .community-heading .community-eyebrow{font-size:11px;line-height:18px;letter-spacing:0;margin:0 0 6px;color:#a17b86}
 .member-body .community-intro{font-size:12px;line-height:1.75;margin:8px 0 0;max-width:none;color:#8d7d87;overflow-wrap:anywhere}
 .member-body :is(.detail-heading,.community-detail) h1{font-size:var(--mobile-page-title);font-weight:600;line-height:1.5;letter-spacing:-.6px}
 /* The chat greeting keeps its handwritten accent and centered composition. */
 .hero #hero-title{font-size:var(--mobile-page-title);font-weight:600;line-height:1.55;letter-spacing:-.65px;color:#443b41}
}
@media(max-width:360px){
 body{--mobile-page-title:21px;--mobile-page-gutter:16px}
 .member-body :is(.journal-heading,.calendar-heading,.community-heading,.member-heading,.tt-heading){gap:10px}
 .member-body :is(.new-record,.calendar-write,.tt-heading-actions .tt-button,.community-heading .write-post){padding-inline:10px}
}
