/* Plus only: original full-length member bio and inline editor, no content substitution. */
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejabat-profile-main>.ejabat-profile-social{order:1!important}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejabat-profile-main>.ejp-premium-dashboard{order:2!important}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejabat-profile-main>.archive-member-toolbar[data-profile-tabs]{order:3!important}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejabat-profile-main>.ejp-original-bio{order:4!important}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejabat-profile-main>.ejp-prestige-overview{order:5!important}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejabat-profile-main>.ejabat-classic-member-card{order:7!important}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejabat-profile-main>.ejabat-profile-weekly-best{order:8!important}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejabat-profile-main>.ejabat-classic-stats{order:9!important}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejabat-profile-main>.ejabat-heritage-overview-block{order:10!important}
body .classic-member-profile.ejp-profile-prestige .ejp-original-bio{
 display:block!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;
 margin:10px 0 12px!important;padding:16px!important;border:1px solid #d9d1be!important;
 border-radius:15px!important;background:#fffdf8!important;box-shadow:0 4px 14px #213c240d!important;
 overflow-wrap:anywhere;
}
body .classic-member-profile.ejp-profile-prestige .ejp-original-bio-head{
 display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;
 padding-bottom:10px;margin-bottom:8px;border-bottom:1px solid #e7dfce;
}
body .classic-member-profile.ejp-profile-prestige .ejp-original-bio-head h2{
 font-size:17px!important;margin:0!important;font-weight:900!important;color:#124838!important;
}
body .classic-member-profile.ejp-profile-prestige .ejp-inline-bio-edit{
 display:inline-flex;gap:5px;align-items:center;justify-content:center;
 color:#17634a;border:1px solid #c7d6c5;background:#eaf5ed;
 min-height:36px;padding:6px 13px;border-radius:10px;font-weight:800;cursor:pointer;
}
body .classic-member-profile.ejp-profile-prestige .ejp-inline-bio-edit svg{width:16px;height:16px}
body .classic-member-profile.ejp-profile-prestige .ejp-original-bio>.archive-member-bio{
 display:block!important;width:100%!important;max-width:100%!important;
 padding:4px 2px!important;min-height:75px!important;margin:0!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 font:inherit!important;line-height:1.98!important;white-space:pre-wrap!important;
}
body .classic-member-profile.ejp-profile-prestige .ejp-original-bio>.archive-member-bio :is(p,blockquote,ul,ol){
 max-width:100%;overflow-wrap:anywhere;
}
body .classic-member-profile.ejp-profile-prestige .ejp-original-bio>.ejabat-classic-empty-bio{padding:17px 5px;min-height:65px}
body .classic-member-profile.ejp-profile-prestige .ejp-bio-editor{
 display:grid;gap:10px;width:100%;box-sizing:border-box;
 margin:0!important;padding:4px 0 0!important;background:transparent!important;
}
body .classic-member-profile.ejp-profile-prestige .ejp-bio-editor[hidden]{display:none!important}
body .classic-member-profile.ejp-profile-prestige .ejp-original-bio>[data-profile-bio-render][hidden]{display:none!important}
body .classic-member-profile.ejp-profile-prestige .ejp-bio-editor>label{
 font-size:12px;font-weight:850;color:#1d5140;
}
body .classic-member-profile.ejp-profile-prestige .ejp-bio-editor textarea{
 width:100%;min-width:0;max-width:100%;box-sizing:border-box;
 min-height:160px;max-height:65vh;resize:vertical;
 padding:14px;border:1px solid #b1c8b9;border-radius:12px;
 background:#fff;color:#243b31;line-height:1.95;font:inherit;font-size:14px;text-align:right;
 box-shadow:0 0 0 2px #b7d6c522;
}
body .classic-member-profile.ejp-profile-prestige .ejp-bio-toolbar{display:flex;justify-content:flex-end;color:#6d7c72}
body .classic-member-profile.ejp-profile-prestige .ejp-bio-editor-actions{display:flex;flex-wrap:wrap;gap:8px}
body .classic-member-profile.ejp-profile-prestige .ejp-bio-editor-actions button{
 min-height:39px;padding:7px 16px;border:1px solid #bed3c0;border-radius:10px;cursor:pointer;
 color:#164934;background:#eef3ed;font-weight:800;
}
body .classic-member-profile.ejp-profile-prestige .ejp-bio-editor-actions button[type=submit]{
 background:#11523e;color:white;border-color:#11523e;
}
body .classic-member-profile.ejp-profile-prestige .ejp-bio-editor-actions button:disabled{opacity:.6;cursor:wait}
body .classic-member-profile.ejp-profile-prestige .ejp-bio-status{font-size:12px;margin:0;color:#a33e2c}
body .classic-member-profile.ejp-profile-prestige .ejp-original-bio :focus-visible{outline:3px solid #b78e4f;outline-offset:2px}
body .classic-member-profile.ejp-profile-prestige .ejp-prestige-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body .classic-member-profile.ejp-profile-prestige .ejp-prestige-overview>.ejp-featured-card{
 grid-column:1!important;grid-row:1!important;
}
body .classic-member-profile.ejp-profile-prestige .ejp-prestige-overview>.ejp-achievements-preview{
 grid-column:2!important;grid-row:1!important;
}
body .classic-member-profile.ejp-profile-prestige .ejp-prestige-overview>.ejp-expertise-preview{
 grid-column:1/-1!important;grid-row:2!important;
}
body .classic-member-profile.ejp-profile-prestige .ejp-expertise-cards{
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
@media(max-width:600px){
 body .classic-member-profile.ejp-profile-prestige .ejp-original-bio{padding:12px!important}
 body .classic-member-profile.ejp-profile-prestige .ejp-expertise-cards{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
@media(max-width:350px){
 body .classic-member-profile.ejp-profile-prestige .ejp-prestige-overview{grid-template-columns:minmax(0,1fr)!important}
 body .classic-member-profile.ejp-profile-prestige .ejp-prestige-overview>.ejp-featured-card{grid-column:1!important;grid-row:1!important}
 body .classic-member-profile.ejp-profile-prestige .ejp-prestige-overview>.ejp-achievements-preview{grid-column:1!important;grid-row:2!important}
 body .classic-member-profile.ejp-profile-prestige .ejp-prestige-overview>.ejp-expertise-preview{grid-column:1!important;grid-row:3!important}
}

/* Fix: the rich formatter preserves line breaks as raw newline characters.
   white-space:normal collapsed the original paragraphs into one dense block.
   Keep actual stored newline layout and HTML bold/link/quote semantics intact. */
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-original-bio [data-profile-bio-render] {
 white-space:pre-wrap!important;
 direction:rtl!important;
 unicode-bidi:plaintext;
 text-align:start!important;
 font-size:clamp(14px,2.65vw,16px)!important;
 line-height:2.05!important;
 letter-spacing:0!important;
 word-spacing:normal!important;
 overflow-wrap:break-word!important;
 word-break:normal!important;
 padding-block:10px 13px!important;
 padding-inline:4px!important;
}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-original-bio [data-profile-bio-render] :is(blockquote,.ejabat-rich-quote) {
 border-inline-start:3px solid #c9ae7c!important;
 background:#f7f4eb!important;
 border-radius:8px;
 padding:8px 13px!important;
 margin:9px 0!important;
 line-height:1.85!important;
 white-space:pre-wrap!important;
}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-original-bio [data-profile-bio-render] a {
 overflow-wrap:anywhere;
 text-decoration-thickness:1px;
 text-underline-offset:3px;
}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-bio-editor {
 padding:9px 0 2px!important;
 gap:12px!important;
}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-bio-editor textarea {
 font-size:clamp(14px,2.65vw,16px)!important;
 font-family:inherit!important;
 font-weight:400!important;
 line-height:2.05!important;
 letter-spacing:0!important;
 word-spacing:normal!important;
 direction:rtl!important;
 text-align:right!important;
 unicode-bidi:plaintext;
 white-space:pre-wrap!important;
 tab-size:4;
 min-height:230px!important;
 max-height:min(62vh,510px)!important;
 padding:22px 17px 18px!important;
 overflow-y:auto!important;
 overflow-x:hidden!important;
 overscroll-behavior:contain!important;
 scroll-padding-top:22px!important;
 border:1px solid #acbfae!important;
 border-radius:14px!important;
 box-shadow:0 0 0 2px #dcc3913a!important;
 background:#fffefb!important;
 -webkit-appearance:none;
 appearance:none;
}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-bio-editor textarea:focus {
 outline:2px solid #b49557!important;
 outline-offset:1px!important;
 box-shadow:0 0 0 4px #d9bb7f33!important;
}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-inline-bio-edit {
 font-size:12px!important;
 min-height:34px!important;
 padding:5px 10px!important;
}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-bio-editor-actions button {
 min-width:96px!important;
 min-height:42px!important;
 border-radius:11px!important;
}
body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-bio-toolbar {
 text-align:right;
 font-size:11px;
 line-height:1.65;
}
@media(max-width:440px) {
 body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-original-bio {
  padding:13px 14px!important;
 }
 body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-original-bio [data-profile-bio-render] {
  padding-block:9px 11px!important;
 }
 body .classic-member-profile.ejp-profile-prestige.is-overview-view .ejp-bio-editor textarea {
  min-height:230px!important;
  padding:22px 14px 20px!important;
  font-size:15px!important;
  line-height:2!important;
 }
}
