.admin-dev-dock {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
}
.admin-dev-dock__toggle {
  border: 1px solid #334155;
  background: #0f172a;
  color: #f8fafc;
  padding: 0.5rem 0.85rem;
  border-radius: 0.375rem;
  cursor: pointer;
}
.admin-dev-dock__panel {
  margin-top: 0.5rem;
  width: min(28rem, calc(100vw - 2rem));
  max-height: min(70vh, 36rem);
  overflow: auto;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.admin-dev-dock__header h2 {
  margin: 0;
  font-size: 1rem;
}
.admin-dev-dock__hint,
.admin-dev-dock__status {
  margin: 0.35rem 0;
  color: #94a3b8;
  font-size: 0.75rem;
}
.admin-dev-dock__ai-act {
  margin: 0.35rem 0;
  color: #cbd5e1;
  font-size: 0.7rem;
  line-height: 1.35;
  border: 1px solid #334155;
  border-radius: 0.25rem;
  padding: 0.4rem 0.5rem;
  background: #020617;
}
.admin-dev-dock__gate-error {
  margin: 0.35rem 0;
  color: #fecaca;
  font-size: 0.8rem;
}
.admin-dev-dock__messages {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 12rem;
  overflow: auto;
  margin: 0.5rem 0;
}
.admin-dev-dock__msg {
  padding: 0.35rem 0.5rem;
  border-radius: 0.25rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.admin-dev-dock__msg--user {
  background: #1e293b;
}
.admin-dev-dock__msg--assistant {
  background: #172554;
}
.admin-dev-dock__msg--error {
  background: #450a0a;
  color: #fecaca;
}
.admin-dev-dock__label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.5rem 0;
}
.admin-dev-dock__input,
.admin-dev-dock__patch {
  width: 100%;
  box-sizing: border-box;
  background: #020617;
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 0.25rem;
  padding: 0.4rem;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
}
.admin-dev-dock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.admin-dev-dock__actions button {
  border: 1px solid #475569;
  background: #1e293b;
  color: #f8fafc;
  border-radius: 0.25rem;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}
.admin-dev-dock__actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
