.developer-live-refresh {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  color: var(--text-secondary); font-size: 12px; min-height: 34px;
}
.developer-live-refresh .switch { flex: 0 0 auto; }
.runtime-monitor { display: grid; gap: 22px; min-width: 0; }
.runtime-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--text-muted); font-size: 12px; }
.runtime-toolbar .is-error { color: #f1a8a7; }
.runtime-metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr));
  gap: 0; border-block: 1px solid var(--border);
}
.runtime-metrics article {
  display: grid; grid-template-rows: minmax(19px, auto) 38px minmax(36px, auto) 38px;
  align-content: start; min-width: 0; padding: 13px 12px 7px; border-inline-start: 1px solid var(--border);
}
.runtime-metrics article > span, .runtime-metrics article > small {
  font-size: 12px; color: var(--text-muted); overflow-wrap: anywhere;
}
.runtime-metrics article > strong { align-self: center; color: var(--text-primary); font-size: 22px; font-variant-numeric: tabular-nums; }
.runtime-metrics svg { width: 100%; height: 38px; color: #7baef7; overflow: visible; }
.runtime-metrics article:nth-child(4) svg { color: #64d3b1; }
.runtime-chart-grid { stroke: #273546; fill: none; }
.runtime-metrics polyline { fill: none; stroke: currentColor; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.runtime-metrics circle { fill: currentColor; }
.runtime-streams { display: grid; grid-template-columns: minmax(275px, .8fr) minmax(0, 1.5fr); align-items: start; gap: 20px; }
.runtime-streams section { min-width: 0; border-top: 1px solid var(--border); }
.runtime-streams header { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 12px 0; color: var(--text-secondary); }
.runtime-streams h2 { margin: 0; font-size: 15px; color: var(--text-primary); }
.runtime-streams header .state-badge { margin-inline-start: auto; }
.runtime-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; }
.runtime-table-wrap table { width: 100%; min-width: 0; border-collapse: collapse; text-align: start; font-size: 12px; }
.workspace .runtime-table-wrap :is(th, td) { text-align: start; padding: 9px 10px; overflow-wrap: anywhere; font-size: 12px; letter-spacing: 0; }
.runtime-table-wrap thead { color: var(--text-muted); background: var(--background-secondary); }
.runtime-table-wrap tbody tr { border-top: 1px solid var(--border); }
.runtime-table-wrap tbody th { font-weight: 650; color: var(--text-primary); text-transform: none; letter-spacing: 0; }
.runtime-table-wrap tbody th small { display: block; margin-top: 2px; color: var(--text-muted); font-size: 11px; font-weight: 450; }
.runtime-table-wrap td { color: var(--text-secondary); }
.runtime-table-wrap tr > :last-child { text-align: end; font-variant-numeric: tabular-nums; }
.runtime-badge { display: inline-flex; max-width: 100%; align-items: baseline; gap: 5px; font-size: 11px; color: #a9b5c4; }
.runtime-badge::before { content: ""; display: inline-block; flex: 0 0 5px; height: 5px; border-radius: 50%; background: currentColor; align-self: center; }
.runtime-badge[data-tone="ok"] { color: #75dbb6; }
.runtime-badge[data-tone="warn"] { color: #efc779; }
.runtime-empty { margin: 0; padding: 13px 0; color: var(--text-muted); font-size: 12px; }
@media (max-width: 1120px) { .runtime-streams { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) {
  .workspace .view[data-view="developer"] > .view-heading .developer-heading-tools:has(#developer-live-refresh-field:not(.hidden)) {
    position: static; grid-column: 2 / -1; grid-row: 2; justify-self: start; width: auto; max-width: 100%;
    flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 10px;
  }
}
@media (max-width: 560px) {
  .runtime-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .runtime-metrics article { grid-template-rows: minmax(19px, auto) 32px minmax(32px, auto) 25px; border-bottom: 1px solid var(--border); }
  .runtime-metrics svg { height: 25px; }
  .runtime-metrics article:last-child { grid-column: 1 / -1; grid-template-rows: 19px 32px auto; }
  .workspace .runtime-table-wrap :is(th, td) { padding: 8px 5px; font-size: 11px; }
}
