body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.5;
  color: #222;
}

h1 { font-size: 1.5rem; }
h2 { font-size: 1.1rem; margin-top: 1.5rem; }

#status {
  padding: 0.5rem 0.75rem;
  background: #f3f3f3;
  border-left: 3px solid #888;
  margin: 1rem 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
}

.controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

button {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

button:disabled { cursor: not-allowed; opacity: 0.5; }

table {
  border-collapse: collapse;
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
}

th, td {
  text-align: left;
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid #eee;
}

th { background: #fafafa; }

#e2e {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.2rem;
  padding: 0.5rem 0.75rem;
  background: #eef7ee;
  border-left: 3px solid #2a8a2a;
}

#result {
  background: #f7f7f7;
  padding: 0.5rem 0.75rem;
  overflow: auto;
  font-size: 0.85rem;
}

.muted { color: #888; font-size: 0.85rem; }
