/* Arabic readability: retain existing sizes/colors and use the bundled Cairo weights. */
body { font-weight: 600; }
:is(p, span, small, li, td, th, label, a, button, input, select, textarea, option, summary, dt, dd) {
  font-weight: 600 !important;
}
:is(strong, b, th, label, button, .btn, .table-primary, .nav-link, .tab-link) {
  font-weight: 700 !important;
}
:is(h1, h2, h3, h4, h5, h6) { font-weight: 800 !important; }
/* Scope the narrow left column to the case file; other detail layouts are unchanged. */
.case-detail-layout {
  grid-template-columns: minmax(0, 1fr) 12.5rem;
  align-items: start;
}
.case-detail-layout > :first-child { min-width: 0; }
.case-detail-layout > .case-members-panel {
  width: 100%; min-width: 0; box-sizing: border-box; padding: 14px 12px;
}
.case-members-panel h3 { font-size: 13px; }
.case-members-panel .member-list li { gap: 6px; align-items: flex-start; }
.case-members-panel .mini-avatar { flex: 0 0 auto; }
.case-members-panel .member-list li > span:last-child {
  min-width: 0; white-space: normal; overflow-wrap: anywhere;
}
.case-members-panel .member-list strong { display: block; white-space: normal; }
@media (max-width: 760px) {
  .case-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .case-detail-layout > .case-members-panel {
    max-width: 12.5rem; justify-self: end;
  }
}
