.python-select {
  width: 100%;
  padding: .6rem .75rem;
  color: var(--forest);
  border: 1px solid var(--control);
  border-radius: .35rem;
  background: #fffdf8;
  font: inherit;
}

.python-source { min-height: 16rem; }
.python-output {
  min-height: 10rem;
  max-height: 22rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  padding: .95rem;
  border-radius: .4rem;
  border: 1px solid var(--line);
  background: #f4f6ef;
  color: #172a21;
  font: 400 .9rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.python-hint summary { cursor: pointer; font-weight: 700; }
.python-hint p { margin: .45rem 0 0; }
.html-editor-actions button:disabled { cursor: default; opacity: .55; }

@media (max-width: 32rem) {
  .python-source, .python-output { font-size: 1rem; }
}
