.teme { display: flex; flex-wrap: wrap; gap: 8px 20px; flex: 1 1 0; min-width: 0; }
.teme .bifa { font-size: 15px; }
#exercitiu .corp .text-enunt { font-size: 17px; }
.figura svg { max-width: min(100%, 320px); }
.grila .optiune { min-width: 0; }
.grila .optiune > span:last-child { min-width: 0; overflow-x: auto; overflow-y: hidden; }
.optiune[aria-pressed="true"] { border-color: var(--mov); background: var(--mov-fundal); box-shadow: inset 0 0 0 1px var(--mov); }
.rezolvare { margin-top: 12px; border-left: 3px solid var(--mov); background: var(--mov-fundal); border-radius: 0 8px 8px 0; padding: 10px 14px; min-width: 0; }
.rezolvare[hidden] { display: none; }
.rezolvare .pasi { margin-top: 4px; }
.rezolvare .rezultat { background: #fff; }
.fisa-lista .corp .meta { margin-bottom: 4px; }
.fisa-lista .corp .actiuni { margin-top: 8px; gap: 8px; }
.fisa-lista .corp .buton-mic { margin-top: 0; }
.sectiune h2 { margin: 0 0 10px; font-size: 18px; }
.fisa-control .buton, .fisa-control .buton-2 { font-size: 16px; padding: 8px 14px; }
.test-sus { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; background: #fff; border-bottom: 1px solid var(--linie); padding: 10px 0; margin-top: 12px; font-size: 15px; }
.test-sus[hidden], .scor[hidden] { display: none; }
.test-sus .buton { margin-left: auto; font-size: 16px; padding: 7px 14px; }
.ceas { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--mov-inchis); }
.ceas.depasit { color: var(--rosu); }
.progres { color: var(--sters); }
.scor { margin: 14px 0 6px; border-left: 3px solid var(--mov); background: var(--mov-fundal); border-radius: 0 8px 8px 0; padding: 12px 16px; min-width: 0; }
.scor-mare { margin: 6px 0; font-size: 18px; font-weight: 600; }
.greseli h2 { margin: 18px 0 6px; font-size: 18px; color: var(--mov-inchis); }
.greseala { background: #fff; border: 1px solid var(--linie); border-radius: 8px; padding: 10px 14px; margin: 10px 0; min-width: 0; }
.greseala .sim-titlu { margin-top: 0; }
@media (max-width: 600px) {
  .fisa-control .buton, .fisa-control .buton-2 { flex: 1 1 calc(50% - 10px); }
  .test-sus .buton { margin-left: 0; flex: 1 1 100%; }
  .grila { grid-template-columns: 1fr 1fr; }
}
@media print {
  .ft-item .corp .meta { display: none; }
  .ft-item .figura svg { max-width: 220px; }
  .ft-barem-rand .ft-txt .katex-display { display: inline-block; margin: 0 4px; }
  .ft-barem-rand .ft-txt em { font-style: normal; font-weight: 600; color: var(--mov-inchis); }
}
