/* RooboCloud console - shared helpers for the module pages */

.rc-w240 { width: 240px; }
.rc-w320 { width: 320px; }
.rc-spacer { flex: 1 1 auto; }
.mono { font-family: Consolas, Monaco, 'Courier New', monospace; }

.rc-json {
  margin: 0;
  padding: 12px;
  background: #f7f8fa;
  border: 1px solid #ebeef5;
  border-radius: 6px;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #303133;
  max-height: 360px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* tiny bar chart used by the statistics page */
.rc-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 116px;
  padding: 6px 2px;
  overflow-x: auto;
}
.rc-chart-item {
  flex: 1 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.rc-bar {
  width: 100%;
  max-width: 26px;
  min-height: 2px;
  background: linear-gradient(180deg, #66b1ff, #409eff);
  border-radius: 3px 3px 0 0;
}
.rc-chart-label { margin-top: 4px; font-size: 10px; color: #a8abb2; white-space: nowrap; }

@media (max-width: 575px) {
  .rc-w240, .rc-w320 { width: 100%; }
}
