.rfc-body { flex: 1; min-height: 0; display: flex; gap: 2px; }
.rfc-body > .host { flex: 1 1 0; min-width: 0; }
.rfc-body > .host:first-child { flex: 0 0 340px; }
.sc.rfin, .sc.rfout { background: var(--face); }
.rfc-col { display: flex; flex-direction: column; padding: 6px 6px 0; }
.rows select {
  width: 100%; min-width: 0; height: 20px; padding: 0 1px; border: 0; outline: 0; background: #fff; color: inherit;
  box-shadow: var(--sunk); font: inherit; cursor: default;
}
.rows input.bad, .rows select.bad { outline: 1px solid #f00; }
.rows input:disabled, .rows select:disabled { background: var(--face); color: var(--shadow); }
.grp.off .rows > span, .grp.off .rfchk { color: var(--shadow); }
.rfchk { display: inline-flex; align-items: center; white-space: nowrap; }
.rows .rfchk { white-space: normal; }
.rows .rfchk input, .grp legend .rfchk input {
  appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 13px; height: 13px; margin: 0 4px 0 0; padding: 0;
  border: 0; background: #fff; box-shadow: var(--sunk); cursor: default;
}
.rfchk input:checked::after {
  content: ''; position: absolute; left: 3px; top: 3px; width: 7px; height: 7px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'><path d='M0 2h1v3H0zM1 3h1v3H1zM2 4h1v3H2zM3 3h1v3H3zM4 2h1v3H4zM5 1h1v3H5zM6 0h1v3H6z'/></svg>");
}
.rows .rfchk input:disabled { background: var(--face); }
.res { display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; padding-top: 2px; }
.rv { -webkit-user-select: text; user-select: text; }
.rfst span { min-width: 0; overflow: hidden; white-space: nowrap; }
.rfpl { min-width: 0; overflow: hidden; margin: 0 0 8px; border: 2px solid; border-color: var(--shadow) var(--hi) var(--hi) var(--shadow); background: #fff; line-height: 0; }
.rfpl canvas { display: block; }
@media (max-width: 700px) {
  .rfc-body { flex-direction: column; }
  .rfc-body > .host:first-child { flex: 1 1 50%; }
}
