/* Deliberately plain, and with some aggressive global rules, so it is obvious whether the host
   page's styles leak into the widget (they should not: the widget is in a Shadow DOM). */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 16px/1.6 Georgia, "Songti SC", serif;
  color: #1f2937;
  background: #fafaf9;
}

button {
  font: inherit;
  padding: 4px 14px;
  border: 2px solid #1f2937;
  background: #fde68a;
  border-radius: 0;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 120px;
}

section {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid #d6d3d1;
  background: #fff;
}

h1 {
  margin: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 0 16px 8px 0;
}

input,
select {
  font: inherit;
  padding: 2px 6px;
}

.lead,
.note {
  color: #57534e;
}

.note {
  font-size: 14px;
}

.error {
  color: #b91c1c;
}

code {
  background: #f5f5f4;
  padding: 0 4px;
}
