button,
input,
select,
textarea {
  font: inherit;
}

button {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

button:hover {
  background: var(--panel);
}

button:disabled {
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

label {
  display: block;
  margin: 0.7rem 0 0.25rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.demo-panel {
  margin: 1.5rem 0;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0 0.75rem;
}

.demo-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 400;
}

.demo-check input {
  width: auto;
}

.demo-status {
  display: block;
  margin: 0.75rem 0;
  padding: 0.5rem;
  border: 1px solid var(--line);
  background: var(--panel);
}
