.themeDisclosure {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  margin: 14px 0;
  padding: 14px;
}
.themeDisclosure strong {
  flex: 1;
}
.themeSwatch {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid #8885;
}
.themeChevron {
  font-size: 22px;
  line-height: 1;
}
.preferencePanel h2 {
  font-size: 22px;
}
.priorityEdit {
  width: 100%;
  margin: 0;
}
.prioritySummary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
}
.priorityWheel {
  width: 112px;
  height: 112px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.priorityWheel span {
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: var(--panel, #202020);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}
html[data-theme='light'] .priorityWheel span {
  background: white;
  color: #222;
}
.priorityLegend {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 10px;
}
.priorityLegend div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.priorityLegend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}
.priorityLegend strong {
  flex: 1;
}
.prioritySlider {
  margin: 16px 0;
}
.prioritySlider input[type='range'] {
  height: 28px;
  accent-color: var(--priorityColor);
  touch-action: pan-y;
  appearance: none;
  background: transparent;
}
.prioritySlider input::-webkit-slider-runnable-track {
  height: 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--priorityColor) 45%, transparent);
}
.prioritySlider input::-webkit-slider-thumb {
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--priorityColor);
  border: 2px solid white;
  margin-top: -5.5px;
}
.prioritySlider input::-moz-range-track {
  height: 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--priorityColor) 45%, transparent);
}
.prioritySlider input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--priorityColor);
  border: 2px solid white;
}
.priorityControls {
  animation: priorityOpen 0.22s ease-out;
}
@keyframes priorityOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .priorityControls {
    animation: none;
  }
}
