@import "tailwindcss";

/* Prose styles for markdown instructions */
.prose h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a4731;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a4731;
  margin-bottom: 0.4rem;
}
.prose p {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #374151;
}
.prose strong {
  font-weight: 700;
  color: #111827;
}
.prose code {
  background: #e8f5e9;
  color: #1b5e20;
  padding: 0.1rem 0.3rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
  font-family: 'Fira Code', 'Courier New', monospace;
}
.prose pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 0.75rem 0;
  font-size: 0.8rem;
  line-height: 1.6;
}
.prose pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.prose ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
}
.prose ol {
  list-style-type: decimal;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
}
.prose li {
  margin-bottom: 0.2rem;
  color: #374151;
}
.prose hr {
  border-color: #d1fae5;
  margin: 0.75rem 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin: 0.75rem 0;
}
.prose th {
  background: #d1fae5;
  padding: 0.4rem 0.6rem;
  text-align: left;
  font-weight: 600;
}
.prose td {
  padding: 0.3rem 0.6rem;
  border-bottom: 1px solid #e5e7eb;
}

/* CodeMirror full height */
[data-editor-target="host"] .cm-editor {
  height: 100%;
}
[data-editor-target="host"] .cm-scroller {
  overflow: auto;
}
