/* Canonical theme control for landing, app, reading routes and static HTML. */
[data-theme-control] {
  display: inline-flex;
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line, var(--mulle-line));
  border-radius: 50%;
  background: transparent;
  color: var(--tx, var(--mulle-text));
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.42s ease,
    background-color 0.48s ease,
    border-color 0.42s ease;
}
[data-theme-control]:disabled {
  visibility: hidden;
}
html [data-theme-control]:is(:hover, :focus-visible) {
  color: var(--accent, var(--mulle-brand));
  background: color-mix(in srgb, var(--tx, var(--mulle-text)) 7%, transparent);
  border-color: var(--accent, var(--mulle-brand));
}
html [data-theme-control]:focus-visible {
  outline: none;
  box-shadow: none;
}
[data-theme-glyph] {
  display: block;
  position: relative;
  width: 20px;
  height: 20px;
}
[data-theme-symbol] {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: rotate(-45deg) scale(0.55);
  transition:
    opacity 0.28s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-theme-mode='dark'] [data-theme-symbol='dark'],
[data-theme-mode='light'] [data-theme-symbol='light'],
[data-theme-mode='system'] [data-theme-symbol='system'] {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  [data-theme-control],
  [data-theme-symbol] {
    transition: none;
  }
}
