body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
  background: #0b0d10;
  color: #cbd5e1;
}

header {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

nav button {
  margin-right: 6px;
  background: #12161b;
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}

nav button:hover {
  background: #1f2937;
}

main {
  padding: 20px;
}

.mermaid {
  background: #12161b;
  border-radius: 12px;
  padding: 16px;
}

#diag {
  padding: 8px 16px;
  font-size: 12px;
  color: #9ae6b4;
}

/* Ask GPT */
#ask {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 360px;
  height: 420px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  display: none;
  flex-direction: column;
}

#ask-header {
  padding: 8px 12px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

#ask-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 13px;
  white-space: pre-wrap;
}

#ask-input {
  display: flex;
  border-top: 1px solid rgba(255,255,255,.2);
}

#ask-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: #cbd5e1;
  padding: 8px;
}

#ask-input button {
  border: none;
  background: #2563eb;
  color: white;
  padding: 0 12px;
}
