:root {
  --panel: var(--paper);
  --action-ink: #fffdf7;
  --focus: var(--green);
  --scope-line: #748267;
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #252b24;
  --canvas: #1b201b;
  --panel: #2c332b;
  --ink: #f4f1e7;
  --muted: #bdc5b5;
  --green: #b5ceaa;
  --action-ink: #202e22;
  --sage: #3b4837;
  --clay: #e5a08b;
  --red: #e5a08b;
  --rule: #74806b;
  --focus: #b5ceaa;
  --scope-line: #829977;
  --shadow: 4px 4px 0 #080d0866;
}
button,
.button {
  color: var(--action-ink);
}
.secondary {
  color: var(--ink);
}
.quiet {
  color: var(--green);
}
.danger {
  color: var(--action-ink);
}
.danger.secondary,
.danger.quiet {
  color: var(--red);
}
:root[data-theme="dark"] dialog {
  color: var(--ink);
  background: var(--panel);
}
:root[data-theme="dark"] :where(input, select, textarea) {
  color-scheme: dark;
}
@media print {
  :root[data-theme] {
    color-scheme: light !important;
    --paper: #fffdf7;
    --canvas: #fff;
    --panel: #fff;
    --ink: #252b24;
    --green: #315b45;
    --sage: #dfe6d4;
    --muted: #59635b;
    --rule: #b9bfb2;
    --red: #9e452b;
    --action-ink: #fffdf7;
  }
}
/* Color choices use circular swatches, with a full-sized native picker target. */
input[type="color"] {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex: none;
  padding: 4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 50%;
}
input[type="color"]::-moz-color-swatch {
  border: 0;
  border-radius: 50%;
}
input[type="color"]:disabled {
  cursor: default;
}
