/* Final content guards: preserve readable data without widening the page. */
.m-invite-page { grid-template-columns:minmax(0,1fr); }
.m-invite-page>* { min-width:0; }
.m-topbar-title { flex:1 1 auto; min-width:0; }
.m-topbar-tools { flex:0 0 auto; }
.m-topbar-title .m-brand { flex:0 1 auto; min-width:0; }
.m-brand img { flex:0 0 auto; }
.m-brand>span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.m-node-card>strong,.m-node-chips>span,.m-knowledge-card h2,.m-knowledge-article h1 { overflow-wrap:anywhere; }
.m-node-chips>span { min-width:0; max-width:100%; }
.m-knowledge-card>div { min-width:0; }
.m-knowledge-card>div>span { min-width:0; overflow-wrap:anywhere; }
.m-knowledge-card time { flex:0 0 auto; }
.m-referral-stats>div { min-width:0; }
.m-referral-stats strong,.m-commission-balance strong { max-width:100%; overflow-wrap:anywhere; }
.m-wallet-total>strong,.m-profile-subscription h3,.m-avatar-preview>strong,.m-avatar-preview>span { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.m-rich-html { min-width:0; max-width:100%; overflow-x:auto; }
.m-rich-html pre { max-width:100%; overflow-x:auto; white-space:pre; }
.m-rich-html pre code { overflow-wrap:normal; word-break:normal; }
.m-rich-html table { display:block; max-width:100%; overflow-x:auto; }
@media(max-width:767px) {
  .m-plan-card-heading { flex-wrap:wrap; }
  .member-app .m-plan-card h2 { flex:1 1 auto; max-width:100%; }
  .m-plan-price { flex:0 1 auto; max-width:100%; margin-left:auto; }
  .m-plan-price>strong { min-width:0; overflow-wrap:anywhere; }
  .m-plan-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .m-plan-filters button { min-width:0; padding:8px 4px; white-space:normal; line-height:1.4; }
}

@media(max-width:767px) and (max-height:600px) { .m-plan-filters button { padding-top:6px; padding-bottom:6px; } }
