/* MishpatIL-Bench — Hebrew RTL refinements */

body {
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  letter-spacing: -0.01em;
}

/* Code blocks: keep LTR even inside RTL */
code, pre {
  direction: ltr;
  text-align: left;
  font-feature-settings: normal;
  font-family: ui-monospace, SFMono-Regular, "Menlo", "Monaco", "Cascadia Mono", monospace;
}

/* Hebrew block-quote elements should stay RTL */
blockquote {
  direction: rtl;
}

/* details/summary chevron alignment for RTL */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
details > summary::after {
  content: "↓";
  float: left;
  color: #999;
  transition: transform 0.15s;
}
details[open] > summary::after {
  transform: rotate(180deg);
}

/* Subtle table zebra for the leaderboard */
@media (max-width: 768px) {
  table {
    font-size: 0.85rem;
  }
}
