:root[data-studio-palette="sea"] {
  --accent: #226358;
  --tint: #def1eb;
}
:root.dark[data-studio-palette="sea"] {
  --accent: #a3dfcc;
  --tint: #25423b;
}
:root[data-studio-palette="ember"] {
  --accent: #8a4829;
  --tint: #f6e7dc;
}
:root.dark[data-studio-palette="ember"] {
  --accent: #efb995;
  --tint: #4c362e;
}
:root[data-studio-palette="mono"] {
  --accent: #434853;
  --tint: #e6e7eb;
}
:root.dark[data-studio-palette="mono"] {
  --accent: #ced3dc;
  --tint: #3a3d46;
}
:root[data-studio-size]:not([data-studio-size="100"]) :is(.note, .notes, table, .controls label, .field) {
  font-size: calc(12px * var(--studio-type-scale));
}
:root[data-studio-size]:not([data-studio-size="100"])
  :is(
    .controls select,
    .controls input,
    .field select,
    .field input,
    .field textarea,
    .button,
    .navgroup + button,
    nav button,
    .sidefoot button
  ) {
  font-size: calc(13px * var(--studio-type-scale));
}
:root[data-studio-size]:not([data-studio-size="100"]) :is(th, .eyebrow, .navgroup) {
  font-size: calc(10px * var(--studio-type-scale));
}
:root[data-studio-size]:not([data-studio-size="100"]) .cardhead p {
  font-size: calc(12px * var(--studio-type-scale));
}
:root[data-studio-size]:not([data-studio-size="100"]) h2 {
  font-size: calc(18px * var(--studio-type-scale));
}
:root[data-studio-size="125"] .sky {
  height: 316px;
}
:root[data-studio-palette="custom"] {
  --accent: var(--studio-light-accent);
}
:root.dark[data-studio-palette="custom"] {
  --accent: var(--studio-dark-accent);
}
.color-editor {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding: 9px 0 2px;
}
.color-editor summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}
.color-editor div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 7px;
  margin: 10px 0;
}
.color-editor label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.color-editor input {
  width: 30px;
  height: 25px;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
}
