:root {
  --eduloo-ts-top: calc(var(--navbar-offset, 60px) + 22px);
  --eduloo-ts-right: 14px;
  --eduloo-ts-shell-padding: 3px;
  --eduloo-ts-shell-radius: 999px;
  --eduloo-ts-size: 34px;
  --eduloo-ts-icon-size: 14px;
  --eduloo-ts-text-size: 12px;
  --eduloo-ts-border: color-mix(
    in srgb,
    var(--outline-variant) 44%,
    transparent
  );
  --eduloo-ts-border-strong: color-mix(
    in srgb,
    var(--outline) 62%,
    transparent
  );
  --eduloo-ts-shell-bg: color-mix(in srgb, var(--surface) 86%, transparent);
  --eduloo-ts-shell-shadow:
    0 14px 24px -18px color-mix(in srgb, var(--on-surface) 34%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--surface-bright) 72%, transparent);
  --eduloo-ts-btn-bg: color-mix(
    in srgb,
    var(--surface-container-low) 84%,
    transparent
  );
  --eduloo-ts-btn-bg-hover: color-mix(
    in srgb,
    var(--surface-container) 82%,
    transparent
  );
  --eduloo-ts-btn-fg: var(--on-surface-variant);
  --eduloo-ts-btn-fg-strong: var(--on-surface);
  --eduloo-ts-btn-active: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary) 90%, transparent) 0%,
    color-mix(in srgb, var(--primary-container) 84%, transparent) 56%,
    color-mix(in srgb, var(--secondary-container) 78%, transparent) 100%
  );
  --eduloo-ts-btn-active-shadow: 0 14px 24px -18px
    color-mix(in srgb, var(--primary) 54%, transparent);
  --eduloo-ts-focus: color-mix(
    in srgb,
    var(--secondary-container) 62%,
    transparent
  );
  --eduloo-pomo-shell-bg: color-mix(in srgb, var(--surface) 84%, transparent);
  --eduloo-pomo-shell-border: color-mix(
    in srgb,
    var(--primary-container) 36%,
    transparent
  );
  --eduloo-pomo-shell-shadow:
    0 18px 28px -20px color-mix(in srgb, var(--on-surface) 38%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--surface-bright) 68%, transparent);
  --eduloo-pomo-main-bg: linear-gradient(
    138deg,
    color-mix(
        in srgb,
        var(--primary-container) 54%,
        var(--surface-container-lowest) 46%
      )
      0%,
    color-mix(
        in srgb,
        var(--secondary-container) 38%,
        var(--surface-container-lowest) 62%
      )
      100%
  );
  --eduloo-pomo-main-hover: linear-gradient(
    138deg,
    color-mix(
        in srgb,
        var(--primary-container) 64%,
        var(--surface-container-lowest) 36%
      )
      0%,
    color-mix(
        in srgb,
        var(--secondary-container) 44%,
        var(--surface-container-lowest) 56%
      )
      100%
  );
  --eduloo-pomo-main-text: color-mix(
    in srgb,
    var(--on-primary-container) 80%,
    var(--on-surface) 20%
  );
  --eduloo-pomo-main-border: color-mix(
    in srgb,
    var(--primary) 34%,
    transparent
  );
  --eduloo-pomo-main-shadow: 0 12px 22px -16px
    color-mix(in srgb, var(--primary) 46%, transparent);
  --eduloo-pomo-action-bg: color-mix(
    in srgb,
    var(--surface-container-low) 88%,
    transparent
  );
  --eduloo-pomo-action-hover: color-mix(
    in srgb,
    var(--surface-container) 78%,
    transparent
  );
  --eduloo-pomo-action-text: var(--on-surface-variant);
  --eduloo-pomo-action-border: color-mix(
    in srgb,
    var(--outline-variant) 44%,
    transparent
  );
  --eduloo-pomo-focus: color-mix(
    in srgb,
    var(--primary-container) 58%,
    transparent
  );
  --eduloo-pomo-live-dot: color-mix(
    in srgb,
    var(--tertiary) 72%,
    var(--error) 28%
  );
}

body.theme-dark {
  --eduloo-ts-border: color-mix(
    in srgb,
    var(--outline-variant) 68%,
    transparent
  );
  --eduloo-ts-border-strong: color-mix(
    in srgb,
    var(--outline) 82%,
    transparent
  );
  --eduloo-ts-shell-bg: color-mix(
    in srgb,
    var(--surface-container-low) 82%,
    transparent
  );
  --eduloo-ts-shell-shadow:
    0 16px 28px -18px color-mix(in srgb, black 72%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--surface-bright) 18%, transparent);
  --eduloo-ts-btn-bg: color-mix(
    in srgb,
    var(--surface-container) 80%,
    transparent
  );
  --eduloo-ts-btn-bg-hover: color-mix(
    in srgb,
    var(--surface-container-high) 74%,
    transparent
  );
  --eduloo-ts-btn-fg: var(--on-surface-variant);
  --eduloo-ts-btn-fg-strong: var(--on-surface);
  --eduloo-ts-btn-active: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary) 84%, var(--surface-container-low) 16%) 0%,
    color-mix(in srgb, var(--primary-container) 80%, var(--primary) 20%) 56%,
    color-mix(in srgb, var(--secondary) 48%, var(--surface-container-high) 52%)
      100%
  );
  --eduloo-ts-btn-active-shadow: 0 16px 28px -20px
    color-mix(in srgb, var(--primary) 44%, black 56%);
  --eduloo-ts-focus: color-mix(
    in srgb,
    var(--secondary-container) 54%,
    transparent
  );
  --eduloo-pomo-shell-bg: color-mix(
    in srgb,
    var(--surface-container-high) 80%,
    transparent
  );
  --eduloo-pomo-shell-border: color-mix(
    in srgb,
    var(--primary-container) 44%,
    transparent
  );
  --eduloo-pomo-shell-shadow:
    0 22px 32px -22px color-mix(in srgb, black 76%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--surface-bright) 14%, transparent);
  --eduloo-pomo-main-bg: linear-gradient(
    138deg,
    color-mix(
        in srgb,
        var(--primary-container) 62%,
        var(--surface-container-highest) 38%
      )
      0%,
    color-mix(
        in srgb,
        var(--secondary-container) 42%,
        var(--surface-container-highest) 58%
      )
      100%
  );
  --eduloo-pomo-main-hover: linear-gradient(
    138deg,
    color-mix(
        in srgb,
        var(--primary-container) 70%,
        var(--surface-container-highest) 30%
      )
      0%,
    color-mix(
        in srgb,
        var(--secondary-container) 50%,
        var(--surface-container-highest) 50%
      )
      100%
  );
  --eduloo-pomo-main-text: color-mix(
    in srgb,
    var(--on-primary-container) 86%,
    var(--on-surface) 14%
  );
  --eduloo-pomo-main-border: color-mix(
    in srgb,
    var(--primary) 42%,
    transparent
  );
  --eduloo-pomo-main-shadow: 0 14px 24px -18px
    color-mix(in srgb, var(--primary) 48%, transparent);
  --eduloo-pomo-action-bg: color-mix(
    in srgb,
    var(--surface-container-high) 78%,
    transparent
  );
  --eduloo-pomo-action-hover: color-mix(
    in srgb,
    var(--surface-container-highest) 76%,
    transparent
  );
  --eduloo-pomo-action-text: color-mix(
    in srgb,
    var(--on-surface-variant) 88%,
    var(--primary-container) 12%
  );
  --eduloo-pomo-action-border: color-mix(
    in srgb,
    var(--outline-variant) 54%,
    transparent
  );
  --eduloo-pomo-focus: color-mix(
    in srgb,
    var(--primary-container) 64%,
    transparent
  );
  --eduloo-pomo-live-dot: color-mix(
    in srgb,
    var(--tertiary) 62%,
    var(--error) 38%
  );
}

body .theme-switcher {
  position: fixed !important;
  top: var(--eduloo-ts-top) !important;
  inset-inline-end: var(--eduloo-ts-right) !important;
  z-index: 20000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: var(--eduloo-ts-shell-padding) !important;
  border-radius: var(--eduloo-ts-shell-radius) !important;
  border: 1px solid var(--eduloo-ts-border) !important;
  background: var(--eduloo-ts-shell-bg) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: var(--eduloo-ts-shell-shadow) !important;
  overflow: hidden !important;
}

body .theme-switcher::before {
  content: '' !important;
  position: absolute !important;
  inset: 1px !important;
  border-radius: var(--eduloo-ts-shell-radius) !important;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--surface-bright) 60%, transparent) 0%,
    color-mix(in srgb, var(--surface-bright) 10%, transparent) 46%,
    color-mix(in srgb, var(--secondary-container) 24%, transparent) 100%
  ) !important;
  opacity: 0.9 !important;
  pointer-events: none !important;
}

body .theme-toggle-button {
  position: relative !important;
  z-index: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--eduloo-ts-size) !important;
  height: var(--eduloo-ts-size) !important;
  min-width: var(--eduloo-ts-size) !important;
  min-height: var(--eduloo-ts-size) !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  border: 1px solid var(--eduloo-ts-border) !important;
  background: var(--eduloo-ts-btn-bg) !important;
  color: var(--eduloo-ts-btn-fg) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease !important;
}

body .theme-toggle-button:hover {
  background: var(--eduloo-ts-btn-bg-hover) !important;
  border-color: var(--eduloo-ts-border-strong) !important;
  color: var(--eduloo-ts-btn-fg-strong) !important;
  transform: translateY(-1px) !important;
}

body .theme-toggle-button:active {
  transform: translateY(0) scale(0.98) !important;
}

body .theme-toggle-button:focus-visible {
  outline: 2px solid var(--eduloo-ts-focus) !important;
  outline-offset: 2px !important;
}

body.theme-light .theme-toggle-button {
  background: var(--eduloo-study-btn-primary-flat-bg) !important;
  border-color: color-mix(
    in srgb,
    var(--primary-container) 58%,
    transparent
  ) !important;
  color: var(--on-primary) !important;
  box-shadow: var(--eduloo-ts-btn-active-shadow) !important;
}

body.theme-dark .theme-toggle-button {
  background: var(--eduloo-ts-btn-active) !important;
  border-color: color-mix(
    in srgb,
    var(--primary-container) 52%,
    transparent
  ) !important;
  color: var(--on-primary) !important;
  box-shadow: var(--eduloo-ts-btn-active-shadow) !important;
}

body .theme-toggle-button .theme-icon {
  display: inline-block !important;
  line-height: 1 !important;
  font-size: var(--eduloo-ts-icon-size) !important;
}

body .theme-toggle-button .theme-icon.fa-moon {
  display: none !important;
}

body .theme-toggle-button .theme-icon.fa-sun {
  display: inline-block !important;
}

body.theme-dark .theme-toggle-button .theme-icon.fa-moon {
  display: inline-block !important;
  color: #ddafc3 !important;
}

body.theme-dark .theme-toggle-button .theme-icon.fa-sun {
  display: none !important;
}

body .theme-toggle-button .theme-icon.fa-sun {
  color: color-mix(
    in srgb,
    var(--on-primary) 92%,
    var(--tertiary-container) 8%
  ) !important;
}

body .theme-toggle-button .theme-icon.fa-moon {
  color: color-mix(
    in srgb,
    var(--on-primary) 90%,
    var(--secondary-container) 10%
  ) !important;
}

body .mobile-theme-switcher,
body .theme-switcher-mobile {
  display: block !important;
}

@media (max-width: 750px) {
  body .theme-switcher {
    display: none !important;
  }

  body .mobile-theme-switcher {
    display: block !important;
    margin-top: 10px !important;
    padding: 0 16px !important;
  }

  body .theme-switcher-mobile {
    display: block !important;
    width: 100% !important;
  }

  body .theme-toggle-button-mobile,
  body #theme-toggle-mobile {
    width: 100% !important;
    min-height: 40px !important;
    padding: 8px 12px !important;
    border-radius: 14px !important;
    border: 1px solid var(--eduloo-ts-border) !important;
    background: color-mix(
      in srgb,
      var(--surface-container-low) 84%,
      transparent
    ) !important;
    color: var(--eduloo-ts-btn-fg-strong) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: var(--eduloo-ts-text-size) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    transition:
      background 220ms ease,
      border-color 220ms ease,
      color 220ms ease,
      transform 220ms ease !important;
  }

  body .theme-toggle-button-mobile:hover,
  body #theme-toggle-mobile:hover {
    background: color-mix(
      in srgb,
      var(--surface-container) 84%,
      transparent
    ) !important;
    border-color: var(--eduloo-ts-border-strong) !important;
    color: var(--primary) !important;
    transform: translateY(-1px) !important;
  }

  body .theme-toggle-button-mobile:active,
  body #theme-toggle-mobile:active {
    transform: translateY(0) scale(0.99) !important;
  }

  body .theme-toggle-button-mobile:focus-visible,
  body #theme-toggle-mobile:focus-visible {
    outline: 2px solid var(--eduloo-ts-focus) !important;
    outline-offset: 2px !important;
  }

  body .theme-toggle-button-mobile .theme-icon,
  body #theme-toggle-mobile .theme-icon {
    font-size: 13px !important;
    line-height: 1 !important;
  }

  body .theme-toggle-button-mobile .theme-icon.fa-moon,
  body #theme-toggle-mobile .theme-icon.fa-moon {
    display: none !important;
  }

  body.theme-dark .theme-toggle-button-mobile .theme-icon.fa-moon,
  body.theme-dark #theme-toggle-mobile .theme-icon.fa-moon {
    display: inline-block !important;
  }

  body.theme-dark .theme-toggle-button-mobile .theme-icon.fa-sun,
  body.theme-dark #theme-toggle-mobile .theme-icon.fa-sun {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .theme-toggle-button,
  body .theme-toggle-button-mobile,
  body #theme-toggle-mobile {
    transition: none !important;
  }
}

body:has(.navbar-theme-switcher) > .st-floating-pomodoro,
body:has(.navbar-theme-switcher) > .theme-switcher {
  display: none !important;
}

body .st-floating-pomodoro {
  position: fixed !important;
  top: calc(
    var(--eduloo-ts-top) + var(--eduloo-ts-size) +
      var(--eduloo-ts-shell-padding) * 2 + 2px + 10px
  ) !important;
  inset-inline-end: var(--eduloo-ts-right) !important;
  z-index: 20000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 4px !important;
  border-radius: 16px !important;
  border: 1px solid var(--eduloo-pomo-shell-border) !important;
  background: var(--eduloo-pomo-shell-bg) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: var(--eduloo-pomo-shell-shadow) !important;
  overflow: visible !important;
  cursor: pointer !important;
  transition:
    padding-right 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease !important;
}

body .st-floating-pomodoro:hover,
body .st-floating-pomodoro:focus-within {
  border-color: color-mix(
    in srgb,
    var(--eduloo-pomo-shell-border) 72%,
    var(--primary) 28%
  ) !important;
  background: color-mix(
    in srgb,
    var(--eduloo-pomo-shell-bg) 88%,
    var(--surface-bright) 12%
  ) !important;
  box-shadow:
    0 20px 30px -22px color-mix(in srgb, var(--primary) 42%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--surface-bright) 54%, transparent) !important;
}

body .st-floating-pomodoro::before {
  content: '' !important;
  position: absolute !important;
  inset: 1px !important;
  border-radius: 14px !important;
  background: linear-gradient(
    138deg,
    color-mix(in srgb, var(--surface-bright) 58%, transparent) 0%,
    color-mix(in srgb, var(--surface-bright) 10%, transparent) 54%,
    color-mix(in srgb, var(--primary-container) 22%, transparent) 100%
  ) !important;
  opacity: 0.92 !important;
  pointer-events: none !important;
}

body .st-floating-pomodoro::after {
  content: '' !important;
  position: absolute !important;
  top: 8px !important;
  inset-inline-end: 8px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: var(--eduloo-pomo-live-dot) !important;
  box-shadow: 0 0 0 4px
    color-mix(in srgb, var(--eduloo-pomo-live-dot) 26%, transparent) !important;
  opacity: 0 !important;
  transform: scale(0.75) !important;
  pointer-events: none !important;
  transition:
    opacity 220ms ease,
    transform 220ms ease !important;
}

body .st-floating-pomodoro.st-navbar-pomodoro-shell--active::after {
  opacity: 1 !important;
  transform: scale(1) !important;
}

body .st-floating-pomodoro-btn {
  position: relative !important;
  z-index: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: var(--eduloo-ts-size) !important;
  height: var(--eduloo-ts-size) !important;
  min-width: var(--eduloo-ts-size) !important;
  min-height: var(--eduloo-ts-size) !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 12px !important;
  border: 1px solid var(--eduloo-pomo-main-border) !important;
  background: var(--eduloo-pomo-main-bg) !important;
  color: var(--eduloo-pomo-main-text) !important;
  box-shadow: var(--eduloo-pomo-main-shadow) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  overflow: hidden !important;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease !important;
}

body .st-floating-pomodoro .st-floating-pomodoro-btn.tooltip-wrapper,
body
  .st-floating-pomodoro
  .st-floating-pomodoro-btn.tooltip-wrapper[data-tooltip-no-icon],
body
  .st-floating-pomodoro
  .st-floating-pomodoro-btn.tooltip-wrapper.tooltip-initialized,
body
  .st-floating-pomodoro
  .st-floating-pomodoro-btn.tooltip-wrapper.tooltip-initialized[data-tooltip-no-icon] {
  cursor: pointer !important;
}

body .st-floating-pomodoro-btn:hover {
  background: linear-gradient(
    142deg,
    color-mix(
        in srgb,
        var(--primary-container) 68%,
        var(--surface-container-lowest) 32%
      )
      0%,
    color-mix(
        in srgb,
        var(--secondary-container) 52%,
        var(--surface-container-lowest) 48%
      )
      100%
  ) !important;
  border-color: color-mix(
    in srgb,
    var(--primary) 54%,
    var(--eduloo-pomo-main-border) 46%
  ) !important;
  color: color-mix(
    in srgb,
    var(--eduloo-pomo-main-text) 72%,
    var(--on-surface) 28%
  ) !important;
  box-shadow:
    0 20px 32px -22px color-mix(in srgb, var(--primary) 64%, transparent),
    0 0 0 1px color-mix(in srgb, var(--primary-container) 52%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--surface-bright) 58%, transparent) !important;
  text-decoration: none !important;
}

body .st-floating-pomodoro .st-floating-pomodoro-btn.tooltip-wrapper:hover,
body
  .st-floating-pomodoro
  .st-floating-pomodoro-btn.tooltip-wrapper.tooltip-initialized:hover {
  background: linear-gradient(
    142deg,
    color-mix(
        in srgb,
        var(--primary-container) 68%,
        var(--surface-container-lowest) 32%
      )
      0%,
    color-mix(
        in srgb,
        var(--secondary-container) 52%,
        var(--surface-container-lowest) 48%
      )
      100%
  ) !important;
  border-color: color-mix(
    in srgb,
    var(--primary) 54%,
    var(--eduloo-pomo-main-border) 46%
  ) !important;
  color: color-mix(
    in srgb,
    var(--eduloo-pomo-main-text) 72%,
    var(--on-surface) 28%
  ) !important;
  box-shadow:
    0 20px 32px -22px color-mix(in srgb, var(--primary) 64%, transparent),
    0 0 0 1px color-mix(in srgb, var(--primary-container) 52%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--surface-bright) 58%, transparent) !important;
}

body .st-floating-pomodoro-btn:active {
  transform: none !important;
}

body .st-floating-pomodoro-btn:focus-visible {
  outline: 2px solid var(--eduloo-pomo-focus) !important;
  outline-offset: 2px !important;
}

body .st-floating-pomodoro-btn .st-navbar-pomodoro-btn__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

body .st-floating-pomodoro-btn .st-navbar-pomodoro-btn__label {
  display: none !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1px !important;
}

body .st-floating-pomodoro.st-navbar-pomodoro-shell--active {
  padding-inline-end: 5px !important;
}

body
  .st-floating-pomodoro.st-navbar-pomodoro-shell--active
  .st-floating-pomodoro-btn {
  width: auto !important;
  min-width: 128px !important;
  padding: 0 14px !important;
  overflow: visible !important;
}

body
  .st-floating-pomodoro.st-navbar-pomodoro-shell--active
  .st-navbar-pomodoro-btn__label {
  display: inline-block !important;
}

body .st-floating-pomodoro .st-navbar-pomodoro-action {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  z-index: 2 !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  border: 1px solid var(--eduloo-pomo-action-border) !important;
  background: var(--eduloo-pomo-action-bg) !important;
  color: var(--eduloo-pomo-action-text) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  font-size: 11px !important;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease !important;
}

body .st-floating-pomodoro .st-navbar-pomodoro-action:hover {
  background: var(--eduloo-pomo-action-hover) !important;
  border-color: color-mix(
    in srgb,
    var(--eduloo-pomo-action-border) 74%,
    var(--primary) 26%
  ) !important;
  color: color-mix(
    in srgb,
    var(--eduloo-pomo-action-text) 74%,
    var(--on-surface) 26%
  ) !important;
  transform: translateY(-1px) !important;
}

body .st-floating-pomodoro .st-navbar-pomodoro-action:disabled {
  opacity: 0.38 !important;
  cursor: default !important;
  pointer-events: none !important;
  transform: none !important;
}

body
  .st-floating-pomodoro.st-navbar-pomodoro-shell--active.st-navbar-pomodoro-shell--expanded
  .st-navbar-pomodoro-action,
body
  .st-floating-pomodoro.st-navbar-pomodoro-shell--active:hover
  .st-navbar-pomodoro-action,
body
  .st-floating-pomodoro.st-navbar-pomodoro-shell--active:focus-within
  .st-navbar-pomodoro-action {
  display: inline-flex !important;
}

body
  .st-floating-pomodoro
  .st-navbar-pomodoro-btn--paused
  .st-navbar-pomodoro-btn__label {
  animation: st-navbar-pomodoro-paused-blink 1.2s ease-in-out infinite !important;
}

body
  .st-floating-pomodoro
  .st-navbar-pomodoro-btn--alert
  .st-navbar-pomodoro-btn__label {
  animation: st-navbar-pomodoro-paused-blink 0.7s ease-in-out infinite !important;
}

@media (max-width: 750px) {
  body .st-floating-pomodoro {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .st-floating-pomodoro,
  body .st-floating-pomodoro::after,
  body .st-floating-pomodoro-btn,
  body .st-floating-pomodoro .st-navbar-pomodoro-action {
    transition: none !important;
    animation: none !important;
  }
}
body:has(.st-floating-pomodoro) .design-helper {
  top: calc(
    var(--eduloo-ts-top) +
      (var(--eduloo-ts-size) + var(--eduloo-ts-shell-padding) * 2 + 2px) * 2 +
      20px
  ) !important;
}

body:has(.st-floating-pomodoro) .design-helper-window {
  top: calc(
    var(--eduloo-ts-top) +
      (var(--eduloo-ts-size) + var(--eduloo-ts-shell-padding) * 2 + 2px) * 2 +
      20px + 50px
  ) !important;
}

body .theme-switcher {
  display: none !important;
}

body .navbar .mobile-theme-switcher,
body .navbar .theme-switcher-mobile {
  display: flex !important;
  align-items: center !important;
}

@media (min-width: 751px) {
  body .navbar .theme-toggle-button-mobile,
  body .navbar #theme-toggle-mobile {
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 180ms ease !important;
  }

  body .navbar .theme-toggle-button-mobile:hover,
  body .navbar #theme-toggle-mobile:hover {
    background: color-mix(in srgb, var(--primary) 12%, transparent) !important;
  }

  body .navbar .theme-toggle-button-mobile > span:not(.theme-icon),
  body .navbar #theme-toggle-mobile > span:not(.theme-icon) {
    display: none !important;
  }

  body[class] .navbar .theme-toggle-button-mobile .theme-icon,
  body[class] .navbar #theme-toggle-mobile .theme-icon {
    font-size: 18px !important;
    line-height: 1 !important;
    color: var(--primary) !important;
  }

  body[class] .navbar .theme-toggle-button-mobile .theme-icon.fa-moon,
  body[class] .navbar #theme-toggle-mobile .theme-icon.fa-moon {
    display: none !important;
  }
  body[class] .navbar .theme-toggle-button-mobile .theme-icon.fa-sun,
  body[class] .navbar #theme-toggle-mobile .theme-icon.fa-sun {
    display: inline-block !important;
  }
  body.theme-dark[class] .navbar .theme-toggle-button-mobile .theme-icon.fa-sun,
  body.theme-dark[class] .navbar #theme-toggle-mobile .theme-icon.fa-sun {
    display: none !important;
  }
  body.theme-dark[class]
    .navbar
    .theme-toggle-button-mobile
    .theme-icon.fa-moon,
  body.theme-dark[class] .navbar #theme-toggle-mobile .theme-icon.fa-moon {
    display: inline-block !important;
  }
}

body[class] .theme-toggle-button .theme-icon.fa-circle-half-stroke,
body[class]
  .navbar
  .theme-toggle-button-mobile
  .theme-icon.fa-circle-half-stroke,
body[class] .navbar #theme-toggle-mobile .theme-icon.fa-circle-half-stroke {
  display: none !important;
  opacity: 0 !important;
}

body[class] .theme-toggle-button .theme-icon,
body[class] .navbar .theme-toggle-button-mobile .theme-icon,
body[class] .navbar #theme-toggle-mobile .theme-icon {
  transform: translate(-50%, -50%) !important;
}

@media (max-width: 900px) {
  body[class] .navbar .theme-toggle-button-mobile .theme-icon,
  body[class] .navbar #theme-toggle-mobile .theme-icon {
    transform: none !important;
  }
}

body[class].theme-light .theme-toggle-button .theme-icon.fa-moon,
body[class].theme-light .navbar .theme-toggle-button-mobile .theme-icon.fa-moon,
body[class].theme-light .navbar #theme-toggle-mobile .theme-icon.fa-moon {
  display: none !important;
  opacity: 0 !important;
}

body[class].theme-light .theme-toggle-button .theme-icon.fa-sun,
body[class].theme-light .navbar .theme-toggle-button-mobile .theme-icon.fa-sun,
body[class].theme-light .navbar #theme-toggle-mobile .theme-icon.fa-sun {
  display: inline-flex !important;
  opacity: 1 !important;
}

body[class].theme-dark .theme-toggle-button .theme-icon.fa-sun,
body[class].theme-dark .navbar .theme-toggle-button-mobile .theme-icon.fa-sun,
body[class].theme-dark .navbar #theme-toggle-mobile .theme-icon.fa-sun {
  display: none !important;
  opacity: 0 !important;
}

body[class].theme-dark .theme-toggle-button .theme-icon.fa-moon,
body[class].theme-dark .navbar .theme-toggle-button-mobile .theme-icon.fa-moon,
body[class].theme-dark .navbar #theme-toggle-mobile .theme-icon.fa-moon {
  display: inline-flex !important;
  opacity: 1 !important;
}
