/* Style for design doc. */

body {
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.3;
  color: #222;
}

h2,
h3,
ul,
ol,
p {
  max-width: 70ch;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.25em;
}

p {
  margin-bottom: 1em;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  background-color: #f4f4f4;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9em;
}

pre {
  background-color: #f4f4f4;
  padding: 1em;
  border-radius: 5px;
  overflow-x: auto;
  line-height: 1.4;
}

pre code {
  background-color: transparent;
  padding: 0;
}

blockquote {
  margin-left: 0;
  padding-left: 1.5em;
  border-left: 4px solid #ddd;
  color: #666;
  font-style: italic;
}

ul,
ol {
  padding-left: 2em;
}

img {
  max-width: 100%;
  height: auto;
}

/* Table styling */
table {
  border-collapse: collapse;
  margin: 1.5em 0;
  width: auto;
  max-width: 100%;
}

th,
td {
  border: 1px solid #ddd;
  padding: 0.75em 1em;
  text-align: left;
}

th {
  background-color: #f4f4f4;
  font-weight: 600;
  color: #222;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 1.5rem 1rem;
  }
}
