.rma-fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(100px, 1fr); gap: 12px; }
.rma-fields label, .rma-threshold label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rma-fields select { width: 100%; }
.rma-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0; }
.rma-current { padding-top: 12px; font-size: 14px; }
.rma-current strong { font-size: 24px; font-variant-numeric: tabular-nums; margin-left: 10px; }
.rma-threshold { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 18px 0 8px; }
.rma-threshold input { width: 160px; }
.rma-threshold button { background: var(--text-main, #eef0f3); color: var(--bg-core, #101217); font-weight: 650; }
.rma-tests { border-top: 1px solid var(--line, #454b56); padding-top: 14px; margin-top: 20px; }
.rma-tests summary { cursor: pointer; }
[data-rma-status] { overflow-wrap: anywhere; }
[data-rma-status][data-error="true"] { color: var(--down, #f6465d); }
@media (max-width: 640px) {
  .rma-fields { grid-template-columns: minmax(0, 1fr); }
  .rma-threshold { display: grid; grid-template-columns: 90px minmax(0, 1fr); }
  .rma-threshold input { width: 100%; }
  .rma-threshold button { grid-column: 1 / -1; }
}
