/* Ejaaba 2021 refinement: only user profiles and their editing form.
   Restore the original clean overview (no repeated tab bar under stats),
   show legitimately earned badges, and use concise vintage question rows. */
.classic-member-profile.is-overview-view .ejabat-profile-main>.ejabat-profile-tabs,
.classic-member-profile.is-overview-view .ejabat-profile-main>.ejabat-tab-body,
.classic-member-profile.is-overview-view .ejabat-profile-main>.ejabat-level-line,
.classic-member-profile.is-overview-view .ejabat-profile-extras,
.classic-member-profile .ejabat-self-edit-shortcut{
 display:none!important;
}
.classic-member-profile:not([data-profile-active-tab="about"]) .ejabat-profile-extras{
 display:none!important;
}
.classic-member-profile .ejabat-profile-heading h1{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;
}
.classic-member-profile .ejabat-secondary-name{
 color:#393939!important;font-weight:normal!important;
 font-size:inherit!important;white-space:normal;unicode-bidi:isolate;
}
.classic-member-profile .ejabat-canonical-name{unicode-bidi:isolate}
.classic-member-profile .ejabat-earned-badges{
 display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
 gap:4px 6px;padding:3px 4px 2px;margin:2px 0 4px;
}
.classic-member-profile .ejabat-earned-badges>a,
.classic-member-profile .ejabat-earned-badges>span{
 display:inline-flex;align-items:center;gap:3px;
 font-family:Tahoma,Arial,sans-serif;font-size:10px;line-height:1.5;
 padding:2px 6px;border:1px solid #d4dfed;background:#f6f8fd;
 color:#396c9f;text-decoration:none;border-radius:2px;
}
.classic-member-profile .ejabat-earned-badges>.ejabat-earned-level{
 border-color:#acc4ec;background:#e9f0fc;color:#245f9e;
}
.classic-member-profile .ejabat-earned-badges>.ejabat-earned-staff{
 border-color:#c5b679;background:#f9f6e9;color:#80621a;
}
.classic-member-profile .ejabat-earned-badges>.ejabat-earned-verified{
 border-color:#c7dcbf;background:#f6fbf1;color:#488043;
}
.classic-member-profile .ejabat-earned-badges>.ejabat-badges-more{
 background:#fff;border-color:#dfe5ef;font-weight:normal;
}
.classic-member-profile .ejabat-earned-badges svg{
 width:12px;height:12px;stroke:currentColor;
}
.classic-member-profile.is-section-view .ejabat-earned-badges{
 padding:0;margin:1px 0;
}
.classic-member-profile.is-section-view .ejabat-earned-badges>.ejabat-earned-badge{
 display:none!important;
}
.classic-member-profile.is-section-view .ejabat-earned-badges>a,
.classic-member-profile.is-section-view .ejabat-earned-badges>span{
 font-size:9px;padding:1px 4px;
}
.classic-member-profile .ejabat-heritage-question-row{
 display:flex;flex-direction:row;align-items:flex-start;gap:5px;
 background:#fff;border-bottom:1px solid #e1e4e8!important;
 padding:8px 4px 7px!important;min-height:0!important;
}
.classic-member-profile .ejabat-heritage-question-row:nth-of-type(even){
 background:#fcfcfd;
}
.classic-member-profile .ejabat-question-list-icon{
 flex:0 0 20px;display:inline-flex;align-items:center;justify-content:center;
 margin-top:2px;color:#6a7785;
}
.classic-member-profile .ejabat-question-list-icon svg{
 width:18px;height:18px;stroke-width:1.8;
}
.classic-member-profile .ejabat-heritage-question-row .ejabat-profile-item-main{
 flex:1;min-width:0;width:auto;
}
.classic-member-profile .ejabat-heritage-question-head{
 display:flex;align-items:baseline;gap:4px 8px;flex-wrap:wrap;
 line-height:1.55;padding:0;
}
.classic-member-profile .ejabat-heritage-question-head>a{
 color:#2e6eb2!important;font-weight:normal!important;
 font-size:14px!important;line-height:1.5!important;text-decoration:none;
 overflow-wrap:anywhere;
}
.classic-member-profile .ejabat-heritage-question-head>a:hover{text-decoration:underline}
.classic-member-profile .ejabat-heritage-label{
 display:inline-flex;align-items:center;border:1px solid #d9dce3;
 color:#6f829a;background:#f5f6fa;padding:0 4px;
 font-size:10px;line-height:1.5;white-space:nowrap;
}
.classic-member-profile .ejabat-heritage-label.accepted{
 border-color:#c9dcc7;background:#f5faf4;color:#3a853e;
}
.classic-member-profile .ejabat-heritage-question-numbers{
 display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;
 gap:4px 12px;padding:2px 0;font-size:10px;color:#90949b;
 line-height:1.35;
}
.classic-member-profile .ejabat-heritage-question-numbers>span{
 display:inline-flex;align-items:center;gap:3px;
}
.classic-member-profile .ejabat-heritage-question-numbers svg{
 width:12px;height:12px;stroke:#87909c;flex:0 0 12px;
}
.classic-member-profile .ejabat-heritage-question-foot{
 display:flex;align-items:baseline;justify-content:space-between;
 flex-wrap:wrap;gap:3px 8px;
}
.classic-member-profile .ejabat-heritage-question-foot a{
 font-size:11px;line-height:1.5;text-decoration:none;
}
.classic-member-profile .ejabat-heritage-question-foot .ejabat-heritage-question-category{
 color:#367f43;
}
.classic-member-profile .ejabat-heritage-question-foot .ejabat-heritage-question-author{
 display:inline-flex;gap:3px;align-items:center;color:#3579b4;
}
.classic-member-profile .ejabat-heritage-question-author svg{
 width:14px;height:14px;
}
.ejabat-fixed-name-field{
 display:flex;flex-direction:column;gap:4px;margin:0 0 12px;
 padding:8px 9px;border:1px solid #dbe4f2;background:#f9fbfe;
 color:#536d8a;font:normal 12px/1.7 Tahoma,Arial,sans-serif;
}
.ejabat-fixed-name-field strong{font-size:12px;color:#315d87}
.ejabat-fixed-name-field output{
 color:#333;font-size:15px;font-weight:bold;
}
.ejabat-fixed-name-field small{color:#7c8a99;font-size:10px}
@media(max-width:610px){
 .classic-member-profile .ejabat-earned-badges{gap:3px 5px}
 .classic-member-profile .ejabat-earned-badges>a,
 .classic-member-profile .ejabat-earned-badges>span{font-size:9px;padding:1px 4px}
 .classic-member-profile .ejabat-heritage-question-head>a{font-size:13px!important}
 .classic-member-profile .ejabat-heritage-question-numbers{gap:4px 9px}
 .classic-member-profile .ejabat-heritage-question-row{padding:6px 4px!important}
}

/* Badge pictograms are compact, like the original Ejaaba header ribbons. */
.classic-member-profile .ejabat-earned-badges>.ejabat-earned-badge,
.classic-member-profile .ejabat-earned-badges>.ejabat-badges-more{
 padding:2px 5px!important;min-width:18px;justify-content:center;white-space:nowrap;
}
.classic-member-profile .ejabat-heritage-question-foot .ejabat-heritage-question-author{
 max-width:240px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
