.ps-dev-body {
  background: #020915;
  color: #f1f7ff;
}

.ps-dev-body a {
  color: #77c9ff;
}

.ps-dev-suite {
  margin: 1rem auto;
  color: #f1f7ff;
  padding: 1rem clamp(0.5rem, 2vw, 1.5rem);
}

.ps-view {
  display: none;
}

.ps-view.active {
  display: block;
}

.ps-dev-toolbar {
  background: #08162a;
  color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.25rem;
}

.ps-dev-toolbar .ps-toolbar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.ps-dev-toolbar label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.ps-dev-toolbar input[type="text"],
.ps-dev-toolbar input[type="number"],
.ps-dev-toolbar select {
  width: 100%;
  background: #041026;
  color: #f1f7ff;
  border: 1px solid #1c355b;
  border-radius: 0.25rem;
  padding: 0.35rem 0.5rem;
}

.ps-dev-toolbar input[type="file"] {
  color: #f1f7ff;
}

.ps-toolbar-actions button {
  margin-right: 0.5rem;
}

.ps-pointer-manual {
  display: none;
  gap: 0.5rem;
}

.ps-pointer-manual.active {
  display: flex;
}

.ps-editor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ps-editor-col {
  flex: 1 1 400px;
  min-height: 24rem;
}

.ps-editor-col h3 {
  margin-bottom: 0.5rem;
}

#javascriptEditor,
#jsonEditor {
  border: 1px solid #203450;
  min-height: 24rem;
  background: #030e1a;
  color: #f1f7ff;
  border-radius: 0.3rem;
}

.ps-console-panel {
  margin-top: 1.5rem;
  border: 1px solid #2b3f5c;
  border-radius: 0.5rem;
  background: #050c16;
  color: #d6f0ff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.ps-console-header {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #14253a;
  align-items: center;
}

.ps-console-body {
  margin: 0;
  padding: 1rem;
  min-height: 8rem;
  max-height: 18rem;
  overflow-y: auto;
  font-size: 0.85rem;
}

.ps-console-body .log-entry {
  margin: 0 0 0.5rem 0;
}

.ps-console-body .log-entry .label {
  text-transform: uppercase;
  font-weight: bold;
  margin-right: 0.5rem;
}

.ps-console-body .log-entry.send .label {
  color: #8be3ff;
}

.ps-console-body .log-entry.recv .label {
  color: #a0ffa4;
}

.ps-console-body .log-entry.error .label {
  color: #ff8b8b;
}

.ps-queue-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.ps-queue-status span {
  font-weight: bold;
}

.ps-top-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.95rem;
  color: #d5e6ff;
  gap: 0.5rem;
}

@media (max-width: 960px) {
  .ps-dev-toolbar .ps-toolbar-grid {
    flex-direction: column;
  }
  .ps-editor-grid {
    flex-direction: column;
  }
}
