.st-fs-cram-progress {
  margin: 0 auto 2px;
  border-radius: 16px;
  border: 1px solid var(--st-fs-panel-border);
  background: var(--st-fs-panel-bg);
  box-shadow: inset 0 1px 0
    color-mix(
      in srgb,
      var(--surface-container-lowest, var(--container-bg)) 44%,
      transparent
    );
}

.st-fs-cram-progress-count {
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--st-fs-accent) 44%, transparent);
  background: color-mix(in srgb, var(--st-fs-accent) 16%, transparent);
}

.st-fs-stage {
  padding-top: 70px;
}

.st-fs-deck-back {
  border-radius: 20px;
  border: 1px solid
    color-mix(in srgb, var(--st-fs-card-border) 84%, transparent);
  box-shadow: 0 16px 28px -26px
    color-mix(in srgb, var(--on-surface, var(--heading-color)) 74%, transparent);
}

.st-fs-deck-back--3 {
  width: calc(100% - 38px);
  height: 436px;
  background: color-mix(
    in srgb,
    var(--st-fs-accent) 16%,
    var(--surface-container-lowest, var(--container-bg)) 84%
  );
  transform: translateX(-50%) translateY(-34px) rotate(-2deg);
}

.st-fs-deck-back--2 {
  width: calc(100% - 26px);
  height: 444px;
  background: color-mix(
    in srgb,
    var(--st-fs-secondary) 18%,
    var(--surface-container-lowest, var(--container-bg)) 82%
  );
  transform: translateX(-50%) translateY(-23px) rotate(1.5deg);
}

.st-fs-deck-back--1 {
  width: calc(100% - 14px);
  height: 452px;
  background: color-mix(
    in srgb,
    var(--st-fs-accent) 22%,
    var(--surface-container-lowest, var(--container-bg)) 78%
  );
  transform: translateX(-50%) translateY(-12px) rotate(-0.8deg);
}

.st-fs-card {
  min-height: 460px;
  border-radius: 24px;
  border: 1px solid var(--st-fs-card-border);
  background: var(--st-fs-card-bg);
  box-shadow: var(--st-fs-card-shadow);
  padding: 26px 26px 22px;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.st-fs-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--st-fs-accent) 42%, transparent);
  box-shadow: 0 28px 52px -38px
    color-mix(in srgb, var(--st-fs-accent) 50%, transparent);
}

.st-fs-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--st-fs-accent) 54%, transparent);
}

.st-fs-card[aria-pressed='true'] {
  border-color: color-mix(in srgb, var(--st-fs-secondary) 34%, transparent);
}

.st-fs-card[aria-pressed='true']:hover {
  border-color: color-mix(in srgb, var(--st-fs-secondary) 44%, transparent);
}

.st-fs-card-face-label {
  min-height: 32px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  border: 1px solid
    color-mix(
      in srgb,
      var(--primary-container, var(--border-color)) 56%,
      transparent
    );
  background: color-mix(
    in srgb,
    var(--primary-container, var(--table-header-bg)) 58%,
    var(--surface-container-lowest, var(--container-bg)) 42%
  );
  font-size: 13px;
  letter-spacing: 0.12px;
}

.st-fs-card-face-label-text {
  font-weight: 700;
}

.st-fs-card-meta-right {
  gap: 9px;
  font-size: 15px;
  line-height: 1;
}

.st-fs-menu-btn {
  border-radius: 10px !important;
  border: 1px solid color-mix(in srgb, var(--st-fs-accent) 44%, transparent) !important;
  background: color-mix(
    in srgb,
    var(--st-fs-accent) 14%,
    transparent
  ) !important;
  color: color-mix(
    in srgb,
    var(--st-fs-accent) 76%,
    var(--heading-color) 24%
  ) !important;
}

.st-fs-menu-btn:hover,
.st-fs-menu-btn:focus-visible,
.st-fs-menu-btn:active {
  background: color-mix(
    in srgb,
    var(--st-fs-accent) 24%,
    transparent
  ) !important;
  border-color: color-mix(
    in srgb,
    var(--st-fs-accent) 62%,
    transparent
  ) !important;
  color: color-mix(
    in srgb,
    var(--st-fs-accent) 84%,
    var(--heading-color) 16%
  ) !important;
  box-shadow: 0 12px 18px -14px
    color-mix(in srgb, var(--st-fs-accent) 72%, transparent);
}

.st-fs-card-question p {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.12px;
}

.st-fs-inline-edit-answer,
.st-fs-user-answer {
  margin-top: -2px;
  border-radius: 14px;
  border: 1px solid
    color-mix(in srgb, var(--st-fs-panel-border) 88%, transparent);
  background: color-mix(
    in srgb,
    var(--surface-container-lowest, var(--container-bg)) 78%,
    var(--surface-container-low, var(--table-header-bg)) 22%
  );
  padding: 11px 13px;
}

.st-fs-card.is-editing [data-flash-study-question]:focus-visible,
.st-fs-card.is-editing [data-flash-study-edit-answer]:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--st-fs-accent) 46%, transparent);
}

.st-fs-inline-save-btn {
  border-color: color-mix(
    in srgb,
    var(--st-fs-success) 58%,
    transparent
  ) !important;
}

.st-fs-inline-save-btn:hover,
.st-fs-inline-save-btn:focus-visible {
  border-color: color-mix(
    in srgb,
    var(--st-fs-success) 76%,
    transparent
  ) !important;
}

.st-fs-card-actions-row {
  min-height: 46px;
  margin-top: 2px;
}

.st-fs-card-action-btn {
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
}

body
  .st-pane.st-pane--flashcards.st-fs-board
  .st-fs-card-action-btn.st-fs-card-action-btn--keyboard,
.st-fs-card-action-btn.st-fs-card-action-btn--keyboard {
  width: auto !important;
  min-width: 44px !important;
  height: 38px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid color-mix(in srgb, var(--st-fs-accent) 50%, transparent) !important;
  background: color-mix(
    in srgb,
    var(--st-fs-accent) 16%,
    transparent
  ) !important;
  color: color-mix(
    in srgb,
    var(--st-fs-accent) 80%,
    var(--heading-color) 20%
  ) !important;
}

body
  .st-pane.st-pane--flashcards.st-fs-board
  .st-fs-card-action-btn.st-fs-card-action-btn--keyboard
  .icon,
.st-fs-card-action-btn.st-fs-card-action-btn--keyboard .icon {
  font-size: 14px !important;
}

body
  .st-pane.st-pane--flashcards.st-fs-board
  .st-citation-btn.st-citation-btn--flash,
.st-citation-btn.st-citation-btn--flash {
  width: auto !important;
  min-width: 36px !important;
  height: 38px !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.st-citation-btn__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
  text-transform: none !important;
}

body
  .st-pane.st-pane--flashcards.st-fs-board
  .st-fs-card-meta
  .st-fs-end-session-btn,
.st-fs-card-meta .st-fs-end-session-btn.st-fs-end-session-btn {
  width: auto !important;
  min-width: 42px !important;
  height: 38px !important;
  padding: 0 14px !important;
  gap: 8px !important;
  margin: 0 auto 0 0 !important;
  order: -1 !important;
  border-radius: 12px !important;
  border: 1px solid var(--st-fs-surface-border) !important;
  background: var(--st-fs-surface) !important;
  color: color-mix(
    in srgb,
    var(--secondary) 68%,
    var(--primary) 32%
  ) !important;
}

body .st-pane.st-pane--flashcards.st-fs-board .st-fs-card-meta {
  display: flex !important;
  align-items: center !important;
}

body .st-pane.st-pane--flashcards.st-fs-board .st-fs-card-actions-row,
.st-fs-card-actions-row.st-fs-card-actions-row {
  justify-content: center !important;
}

body
  .st-pane.st-pane--flashcards.st-fs-board
  .st-fs-card-actions-row
  > :last-child,
.st-fs-card-actions-row.st-fs-card-actions-row > :last-child {
  margin-left: 0 !important;
}

.st-fs-end-session-btn__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
  text-transform: none !important;
}

.st-fs-card-action-btn__label,
.fs-m-card__kb-toggle-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
}

.fs-m-card__kb-toggle {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 12px !important;
  min-width: 44px;
  height: 38px;
}

.st-fs-card-action-btn--keyboard:hover,
.st-fs-card-action-btn--keyboard:focus-visible,
.st-fs-card-action-btn--keyboard:active {
  border-color: color-mix(
    in srgb,
    var(--st-fs-accent) 72%,
    transparent
  ) !important;
  background: color-mix(
    in srgb,
    var(--st-fs-accent) 26%,
    transparent
  ) !important;
  color: color-mix(
    in srgb,
    var(--st-fs-accent) 86%,
    var(--heading-color) 14%
  ) !important;
  box-shadow: 0 14px 20px -15px
    color-mix(in srgb, var(--st-fs-accent) 80%, transparent);
}

.st-fs-card-action-btn--keyboard.is-close {
  border-color: color-mix(
    in srgb,
    var(--st-fs-danger) 44%,
    transparent
  ) !important;
  background: color-mix(
    in srgb,
    var(--st-fs-danger) 16%,
    transparent
  ) !important;
  color: color-mix(
    in srgb,
    var(--st-fs-danger) 78%,
    var(--heading-color) 22%
  ) !important;
}

.st-fs-card-action-btn--keyboard.is-close:hover,
.st-fs-card-action-btn--keyboard.is-close:focus-visible,
.st-fs-card-action-btn--keyboard.is-close:active {
  border-color: color-mix(
    in srgb,
    var(--st-fs-danger) 68%,
    transparent
  ) !important;
  background: color-mix(
    in srgb,
    var(--st-fs-danger) 24%,
    transparent
  ) !important;
  color: color-mix(
    in srgb,
    var(--st-fs-danger) 84%,
    var(--heading-color) 16%
  ) !important;
  box-shadow: 0 14px 20px -15px
    color-mix(in srgb, var(--st-fs-danger) 76%, transparent);
}

.st-fs-card-action-btn--return {
  border-color: color-mix(
    in srgb,
    var(--border-color) 78%,
    transparent
  ) !important;
  background: color-mix(
    in srgb,
    var(--surface-container-low, var(--table-header-bg)) 70%,
    var(--surface-container-lowest, var(--container-bg)) 30%
  ) !important;
  color: var(--muted-text) !important;
}

.st-fs-card-action-btn--return:hover,
.st-fs-card-action-btn--return:focus-visible,
.st-fs-card-action-btn--return:active {
  border-color: color-mix(
    in srgb,
    var(--st-fs-accent) 38%,
    transparent
  ) !important;
  background: color-mix(
    in srgb,
    var(--surface-container-low, var(--table-header-bg)) 84%,
    var(--st-fs-accent) 16%
  ) !important;
  color: var(--heading-color) !important;
  box-shadow: 0 14px 20px -16px
    color-mix(in srgb, var(--on-surface, var(--heading-color)) 72%, transparent);
}

.st-fs-card-answer-panel {
  right: 58px;
  width: calc(100% - 58px);
  height: 48px;
  border-radius: 13px;
  border: 1px solid
    color-mix(in srgb, var(--st-fs-panel-border) 88%, transparent);
  background: var(--st-fs-panel-bg);
  box-shadow: 0 18px 26px -24px
    color-mix(in srgb, var(--on-surface, var(--heading-color)) 72%, transparent);
  transform: translateY(8px) scaleX(0.2);
}

.st-fs-card-answer-panel.is-open {
  padding-left: 8px !important;
}

.st-fs-card-answer-input {
  min-height: 38px;
  max-height: 38px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--border-color) 74%, transparent);
  background: color-mix(
    in srgb,
    var(--surface-container-lowest, var(--container-bg)) 86%,
    var(--surface-container-low, var(--table-header-bg)) 14%
  );
  font-size: 14px;
  padding: 8px 11px;
}

.st-fs-card-answer-input::placeholder {
  color: var(--muted-text);
  font-size: 13px;
}

.st-fs-card-answer-input:focus {
  border-color: color-mix(in srgb, var(--st-fs-accent) 58%, transparent);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--st-fs-accent) 26%, transparent),
    inset 0 1px 2px
      color-mix(
        in srgb,
        var(--on-surface, var(--heading-color)) 16%,
        transparent
      );
}

.st-fs-card-answer-btn {
  width: 38px;
  min-width: 38px;
  height: 38px;
  border-radius: 10px;
}

.st-fs-card-answer-btn--send {
  border-color: color-mix(
    in srgb,
    var(--st-fs-accent) 56%,
    transparent
  ) !important;
  background: color-mix(
    in srgb,
    var(--st-fs-accent) 80%,
    var(--st-fs-secondary) 20%
  ) !important;
  color: var(
    --on-primary,
    var(--surface-container-lowest, var(--container-bg))
  ) !important;
  box-shadow: 0 12px 16px -14px
    color-mix(in srgb, var(--st-fs-accent) 86%, transparent);
}

.st-fs-card-answer-btn--send:hover,
.st-fs-card-answer-btn--send:focus-visible,
.st-fs-card-answer-btn--send:active {
  border-color: color-mix(
    in srgb,
    var(--st-fs-accent) 74%,
    transparent
  ) !important;
  background: color-mix(
    in srgb,
    var(--st-fs-accent) 90%,
    var(--st-fs-secondary) 10%
  ) !important;
  box-shadow: 0 14px 20px -14px
    color-mix(in srgb, var(--st-fs-accent) 82%, transparent);
}

.st-fs-card-divider {
  background: color-mix(in srgb, var(--st-fs-panel-border) 88%, transparent);
}

.st-fs-card-hint i {
  color: color-mix(in srgb, var(--st-fs-accent) 72%, var(--muted-text) 28%);
}

.st-fs-rating-grid {
  margin-top: 8px;
  gap: 10px;
}

.st-fs-rating-grid--hidden {
  transform: translateY(-10px);
}

.st-fs-rating-col {
  gap: 7px;
}

.st-fs-rating-btn {
  min-height: 94px;
  border-radius: 16px;
  color: var(
    --on-primary,
    var(--surface-container-lowest, var(--container-bg))
  );
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: 0.06px;
  padding: 11px;
  gap: 10px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease,
    border-color 0.22s ease;
}

.st-fs-rating-btn span {
  display: inline-block;
  max-width: 96%;
  text-align: center;
}

.st-fs-rating-icon {
  font-size: 21px;
  margin-top: 4px;
}

.st-fs-rating-btn--again {
  background: linear-gradient(
    165deg,
    color-mix(
        in srgb,
        var(--st-fs-danger) 74%,
        var(--surface-container-lowest, var(--container-bg)) 26%
      )
      0%,
    color-mix(in srgb, var(--st-fs-danger) 62%, var(--st-fs-secondary) 38%) 100%
  ) !important;
}

.st-fs-rating-btn--hard {
  background: linear-gradient(
    165deg,
    color-mix(
        in srgb,
        var(--st-fs-secondary) 74%,
        var(--surface-container-lowest, var(--container-bg)) 26%
      )
      0%,
    color-mix(in srgb, var(--st-fs-secondary) 58%, var(--st-fs-accent) 42%) 100%
  ) !important;
}

.st-fs-rating-btn--good {
  background: linear-gradient(
    165deg,
    color-mix(
        in srgb,
        var(--st-fs-accent) 78%,
        var(--surface-container-lowest, var(--container-bg)) 22%
      )
      0%,
    color-mix(in srgb, var(--st-fs-accent) 62%, var(--st-fs-success) 38%) 100%
  ) !important;
}

.st-fs-rating-btn--easy {
  background: linear-gradient(
    165deg,
    color-mix(
        in srgb,
        var(--st-fs-success) 76%,
        var(--surface-container-lowest, var(--container-bg)) 24%
      )
      0%,
    color-mix(in srgb, var(--st-fs-success) 60%, var(--st-fs-accent) 40%) 100%
  ) !important;
}

.st-fs-rating-btn--again:hover,
.st-fs-rating-btn--again:focus-visible,
.st-fs-rating-btn--again:active {
  border-color: color-mix(
    in srgb,
    var(--st-fs-danger) 74%,
    transparent
  ) !important;
  box-shadow: 0 14px 22px -15px
    color-mix(in srgb, var(--st-fs-danger) 78%, transparent);
}

.st-fs-rating-btn--hard:hover,
.st-fs-rating-btn--hard:focus-visible,
.st-fs-rating-btn--hard:active {
  border-color: color-mix(
    in srgb,
    var(--st-fs-secondary) 74%,
    transparent
  ) !important;
  box-shadow: 0 14px 22px -15px
    color-mix(in srgb, var(--st-fs-secondary) 78%, transparent);
}

.st-fs-rating-btn--good:hover,
.st-fs-rating-btn--good:focus-visible,
.st-fs-rating-btn--good:active {
  border-color: color-mix(
    in srgb,
    var(--st-fs-accent) 74%,
    transparent
  ) !important;
  box-shadow: 0 14px 22px -15px
    color-mix(in srgb, var(--st-fs-accent) 78%, transparent);
}

.st-fs-rating-btn--easy:hover,
.st-fs-rating-btn--easy:focus-visible,
.st-fs-rating-btn--easy:active {
  border-color: color-mix(
    in srgb,
    var(--st-fs-success) 74%,
    transparent
  ) !important;
  box-shadow: 0 14px 22px -15px
    color-mix(in srgb, var(--st-fs-success) 78%, transparent);
}

.st-fs-rating-col p {
  text-align: center;
}

.st-quizz-party-confetti {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.18s ease;
  contain: layout style paint;
  perspective: 1200px;
}

.st-quizz-party-confetti.is-active {
  opacity: 1;
}

.st-container.st-fs-container[data-st-quizz-finished-container]:not([hidden])
  .st-quizz-party-confetti {
  opacity: 1;
}

@keyframes st-quizz-party-confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg)
      scale(0.25);
  }
  20% {
    opacity: 1;
    transform: translate3d(
        calc(var(--st-confetti-mid-x, 0px) * 0.45),
        var(--st-confetti-mid-y, -32vh),
        0
      )
      rotateX(calc(var(--st-confetti-rx, 0deg) * 0.22))
      rotateY(calc(var(--st-confetti-ry, 0deg) * 0.22))
      rotateZ(calc(var(--st-confetti-rz, 0deg) * 0.22)) scale(1);
  }
  55% {
    opacity: 0.95;
    transform: translate3d(
        calc(var(--st-confetti-mid-x, 0px) + var(--st-confetti-sway, 0px)),
        calc(var(--st-confetti-end-y, 118vh) * 0.45),
        0
      )
      rotateX(calc(var(--st-confetti-rx, 0deg) * 0.6))
      rotateY(calc(var(--st-confetti-ry, 0deg) * 0.6))
      rotateZ(calc(var(--st-confetti-rz, 0deg) * 0.6)) scale(0.96);
  }
  100% {
    opacity: 0;
    transform: translate3d(
        calc(var(--st-confetti-end-x, 0px) + var(--st-confetti-drift, 0px)),
        var(--st-confetti-end-y, 118vh),
        0
      )
      rotateX(var(--st-confetti-rx, 0deg)) rotateY(var(--st-confetti-ry, 0deg))
      rotateZ(var(--st-confetti-rz, 0deg)) scale(0.9);
  }
}

@keyframes st-quizz-party-confetti-flip {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: rotateX(180deg) rotateY(12deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-fs-board *,
  .st-fs-board *::before,
  .st-fs-board *::after {
    animation: none !important;
    transition: none !important;
  }

  .st-fs-card,
  .st-fs-card:hover,
  .st-fs-rating-btn,
  .st-fs-rating-btn:hover,
  .st-fs-stat-card,
  .st-fs-stat-card:hover,
  .st-fs-menu-btn,
  .st-fs-menu-btn:hover,
  .st-fs-card-action-btn,
  .st-fs-card-action-btn:hover {
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .st-fs-board {
    margin: 28px 0 !important;
    padding: 14px;
    border-radius: 20px;
    gap: 14px;
  }

  .st-fs-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px;
    gap: 8px;
    border-radius: 15px;
  }

  .st-fs-stat-card {
    min-height: 74px;
    border-radius: 12px;
    padding: 10px 8px;
  }

  .st-fs-stat-count {
    font-size: 24px;
  }

  .st-fs-cram-progress {
    width: 100%;
    border-radius: 14px;
  }

  .st-fs-stage {
    padding-top: 56px;
  }

  .st-fs-deck-back--3 {
    width: calc(100% - 30px);
    height: 394px;
  }

  .st-fs-deck-back--2 {
    width: calc(100% - 20px);
    height: 401px;
  }

  .st-fs-deck-back--1 {
    width: calc(100% - 10px);
    height: 408px;
  }

  .st-fs-card {
    min-height: 414px;
    border-radius: 18px;
    padding: 20px 18px 18px;
  }

  .st-fs-card-face-label {
    min-height: 30px;
    padding: 5px 12px 5px 10px;
  }

  .st-fs-card-question p {
    font-size: 25px;
  }

  .st-fs-card-hint {
    gap: 8px;
    font-size: 13px;
  }

  .st-fs-card-hint i {
    font-size: 17px;
  }

  .st-fs-card-action-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 11px !important;
  }

  .st-fs-card-answer-panel {
    right: 52px;
    width: calc(100% - 52px);
    height: 44px;
    border-radius: 11px;
    padding-right: 6px;
  }

  .st-fs-card-answer-input {
    min-height: 34px;
    max-height: 34px;
    font-size: 13px;
    border-radius: 9px;
  }

  .st-fs-card-answer-input::placeholder {
    font-size: 12px;
  }

  .st-fs-card-answer-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .st-fs-rating-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .st-fs-rating-btn {
    min-height: 84px;
    border-radius: 14px;
    font-size: 15px;
    gap: 8px;
    padding: 9px 8px;
  }

  .st-fs-rating-icon {
    font-size: 18px;
    margin-top: 2px;
  }

  .st-fs-rating-col p {
    font-size: 11px;
  }
}

@media (min-width: 901px) {
  body:has(.base-sidebar--floating-left) main.container {
    padding-left: calc(
      var(--base-sidebar-width) + var(--base-sidebar-gap) + 8px
    ) !important;
  }
}

.st-study-modal {
  background: rgba(8, 14, 28, 0.48) !important;
  backdrop-filter: blur(12px) saturate(125%);
  animation: st-study-backdrop-in 0.26s ease;
}

.st-study-modal.st-study-modal--closing {
  animation: st-study-backdrop-out 0.22s ease forwards;
  pointer-events: none;
}

.st-study-modal .modal-content {
  width: min(760px, calc(100vw - 24px)) !important;
  max-width: min(760px, calc(100vw - 24px)) !important;
  max-height: calc(100vh - 24px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}
.st-study-modal.st-study-modal--document-topics .modal-content {
  width: calc(100vw - 32px) !important;
  max-width: calc(100vw - 32px) !important;
}

.st-study-modal.st-study-modal--edit-quiz .modal-content {
  width: min(960px, calc(100vw - 24px)) !important;
  max-width: min(960px, calc(100vw - 24px)) !important;
  height: min(70vh, calc(100vh - 24px)) !important;
  max-height: calc(100vh - 100px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.st-study-modal .modal-body {
  padding: 0 !important;
  overflow: visible !important;
}

.st-study-modal--edit-quiz .modal-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.st-study-modal-body {
  width: 100%;
}

.st-study-modal--edit-quiz .st-study-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.st-study-modal .st-modal {
  margin: 0 !important;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--container-bg);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.26);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  animation: st-study-card-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.st-study-modal--edit-quiz .st-modal {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: min(70vh, calc(100vh - 24px)) !important;
}

.st-study-modal.st-study-modal--closing .st-modal {
  animation: st-study-card-out 0.24s cubic-bezier(0.4, 0, 1, 1) forwards;
}

body.theme-dark .st-study-modal .st-modal {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
}

.st-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 18px !important;
  background: var(--table-header-bg);
  border-bottom: 1px solid var(--border-color);
}

.st-modal-header h2 {
  margin: 0;
  color: var(--heading-color);
  font-size: 28px !important;
  padding: 0 !important;
  border-bottom: none !important;
  font-weight: 600 !important;
}

.st-modal-body {
  background: var(--container-bg) !important;
  padding: 0 16px;
}

.st-study-modal--edit-quiz .st-modal-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.st-modal-footer {
  background: var(--container-bg) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
}

.st-modal-footer-btn {
  width: 180px;
  min-width: 180px !important;
  min-height: 52px;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.st-modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.st-modal-form-group label {
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.st-modal-form-group input,
.st-modal-form-group textarea,
.st-modal-form-group select {
  margin: 0;
}

.st-modal-checkbox-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.st-modal-checkbox-row input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  cursor: pointer;
  border: 1.5px solid var(--border-color, #cbd5e1);
  border-radius: 4px;
  background: var(--container-bg, #fff);
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.st-modal-checkbox-row input[type='checkbox']:checked {
  border-color: var(--primary);
  background: var(--primary);
}

.st-study-modal .st-modal-checkbox-row input[type='checkbox']:checked::before {
  border-color: #fff !important;
}

/* First-upload "Loo made you a head start" popup: mascot beside the copy,
   no dead space between body and actions. */
html body .st-first-upload-done {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 4px 0 2px;
}

html body .st-first-upload-done__loo {
  width: 84px;
  height: auto;
  flex: 0 0 auto;
}

html body .st-first-upload-done__text {
  margin: 0 !important;
  line-height: 1.55;
}

/* Post-upload picker: the four generator options shown after a document
   finishes processing. */
.st-post-upload-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 6px 0 2px;
}

html body .st-post-upload-picker .st-post-upload-option {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  font-weight: 700 !important;
}

html body .st-post-upload-picker .st-post-upload-option-state {
  margin-left: auto !important;
  font-size: 12px !important;
  opacity: 0.75;
}

html body .st-post-upload-picker .st-post-upload-option--locked {
  opacity: 0.6 !important;
  filter: saturate(0.5);
}

html body .st-post-upload-picker .st-post-upload-option--trial .fa-gift {
  color: var(--tertiary) !important;
}

@media (max-width: 560px) {
  .st-post-upload-picker {
    grid-template-columns: 1fr;
  }
}

/* One-time trial notice shown inside create modals while the user spends
   their lifetime free generation (project margin reset eats alert margins). */
html body .st-modal-body .st-trial-notice {
  margin-bottom: 14px !important;
}

/* Two rule sets each draw a check glyph (::before here, a second tick via
   ::after from the base styles), which rendered a doubled checkmark. The
   ::before check is the intended one - suppress the other. */
html body .st-modal-checkbox-row input[type='checkbox']::after {
  content: none !important;
}

.st-modal-form-group .custom-dropdown {
  width: 100%;
}

body .st-study-modal--guest-import .modal-content {
  width: min(820px, calc(100vw - 24px)) !important;
  max-width: min(820px, calc(100vw - 24px)) !important;
}

body .st-study-modal--guest-import .modal-footer:not(.st-modal-footer),
body .st-study-modal--guest-import .modal-actions:not(.st-modal-footer) {
  display: none !important;
}

body .st-study-modal--guest-import .st-modal {
  gap: 0 !important;
  overflow: hidden !important;
}

body .st-study-modal--guest-import .st-modal-header {
  margin: 0 !important;
  padding: 20px 24px 14px !important;
}

body .st-study-modal--guest-import .st-modal-body {
  padding: 8px 24px 8px !important;
  gap: 14px !important;
}

body .st-study-modal--guest-import .st-modal-footer {
  margin-top: 0 !important;
  padding: 12px 24px 22px !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  background: color-mix(
    in srgb,
    var(--table-header-bg, #f1e8ee) 84%,
    var(--container-bg, #ffffff) 16%
  ) !important;
}

body .st-study-modal--guest-import .st-modal-footer .st-modal-footer-btn {
  min-width: 152px !important;
  min-height: 44px !important;
  padding: 0 18px !important;
}

body
  .st-study-modal--guest-import
  .st-modal-footer
  .st-modal-footer-btn.button-primary {
  min-width: 166px !important;
}

body .st-study-modal--guest-import .st-guest-import-intro {
  display: grid !important;
  grid-template-columns: 60px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: center !important;
  padding: 18px !important;
  border-radius: 22px !important;
  background: color-mix(
    in srgb,
    var(--table-header-bg, #f1e8ee) 74%,
    var(--container-bg, #ffffff) 26%
  ) !important;
  box-shadow: inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--border-color, rgba(126, 82, 106, 0.28)) 54%,
      transparent
    ) !important;
}

body .st-study-modal--guest-import .st-guest-import-intro__icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: color-mix(
    in srgb,
    var(--button-primary-bg, #ef5d7a) 18%,
    #ffffff 82%
  ) !important;
  color: var(--button-primary-bg, #ef5d7a) !important;
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--button-primary-bg, #ef5d7a) 26%, transparent) !important;
}

body .st-study-modal--guest-import .st-guest-import-intro__icon .icon {
  margin: 0 !important;
  font-size: 22px !important;
}

body .st-study-modal--guest-import .st-guest-import-intro__content {
  min-width: 0 !important;
}

body .st-study-modal--guest-import .st-guest-import-intro__eyebrow {
  margin: 0 0 6px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.9px !important;
  text-transform: uppercase !important;
  color: var(--muted-text, #826875) !important;
}

body .st-study-modal--guest-import .st-guest-import-intro__text {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.52 !important;
  color: var(--text-color, #4d3945) !important;
}

body .st-study-modal--guest-import .st-guest-import-summary {
  margin-top: 0 !important;
  padding: 16px !important;
  border-radius: 22px !important;
  background: color-mix(
    in srgb,
    var(--container-bg, #ffffff) 68%,
    var(--table-header-bg, #f1e8ee) 32%
  ) !important;
  box-shadow: inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--border-color, rgba(126, 82, 106, 0.28)) 54%,
      transparent
    ) !important;
}

body .st-study-modal--guest-import .st-guest-import-target {
  margin-top: 0 !important;
  padding: 14px !important;
  border-radius: 20px !important;
  background: color-mix(
    in srgb,
    var(--container-bg, #ffffff) 74%,
    var(--table-header-bg, #f1e8ee) 26%
  ) !important;
  box-shadow: inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--border-color, rgba(126, 82, 106, 0.28)) 46%,
      transparent
    ) !important;
}

body .st-study-modal--guest-import .st-guest-import-summary__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

body .st-study-modal--guest-import .st-guest-import-summary__title {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--heading-color, #3a2230) !important;
}

body .st-study-modal--guest-import .st-guest-import-summary__total {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: color-mix(
    in srgb,
    var(--button-primary-bg, #ef5d7a) 15%,
    #ffffff 85%
  ) !important;
  color: var(--button-primary-bg, #ef5d7a) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--button-primary-bg, #ef5d7a) 24%, transparent) !important;
}

body .st-study-modal--guest-import .st-guest-import-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body .st-study-modal--guest-import .st-guest-import-card {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 78px !important;
  padding: 12px 14px !important;
  border: none !important;
  border-radius: 16px !important;
  background: color-mix(
    in srgb,
    var(--container-bg, #ffffff) 86%,
    var(--table-header-bg, #f1e8ee) 14%
  ) !important;
  box-shadow: inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--border-color, rgba(126, 82, 106, 0.28)) 56%,
      transparent
    ) !important;
}

body .st-study-modal--guest-import .st-guest-import-card__icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: color-mix(
    in srgb,
    var(--table-header-bg, #f1e8ee) 72%,
    #ffffff 28%
  ) !important;
  color: color-mix(
    in srgb,
    var(--heading-color, #3a2230) 74%,
    var(--button-primary-bg, #ef5d7a) 26%
  ) !important;
}

body .st-study-modal--guest-import .st-guest-import-card__icon .icon {
  margin: 0 !important;
  font-size: 17px !important;
}

body .st-study-modal--guest-import .st-guest-import-card__content {
  min-width: 0 !important;
}

body .st-study-modal--guest-import .st-guest-import-card__label {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--heading-color, #3a2230) !important;
}

body .st-study-modal--guest-import .st-guest-import-card__meta {
  margin: 2px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: var(--muted-text, #826875) !important;
}

body .st-study-modal--guest-import .st-guest-import-card__count {
  min-width: 34px !important;
  height: 34px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: color-mix(
    in srgb,
    var(--button-primary-bg, #ef5d7a) 14%,
    #ffffff 86%
  ) !important;
  color: var(--button-primary-bg, #ef5d7a) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body .st-study-modal--guest-import .st-guest-import-target__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body
  .st-study-modal--guest-import
  .st-guest-import-target
  .st-modal-form-group {
  gap: 7px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  background: color-mix(
    in srgb,
    var(--container-bg, #ffffff) 86%,
    var(--table-header-bg, #f1e8ee) 14%
  ) !important;
  box-shadow: inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--border-color, rgba(126, 82, 106, 0.28)) 56%,
      transparent
    ) !important;
}

body
  .st-study-modal--guest-import
  .st-guest-import-target
  .st-modal-form-group
  label {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--muted-text, #826875) !important;
}

body .st-study-modal--guest-import .st-guest-import-target select,
body .st-study-modal--guest-import .st-guest-import-target .custom-dropdown,
body
  .st-study-modal--guest-import
  .st-guest-import-target
  .custom-dropdown-trigger {
  width: 100% !important;
}

body.theme-dark .st-study-modal--guest-import .st-modal-footer {
  background: color-mix(
    in srgb,
    var(--table-header-bg, #2e2531) 88%,
    var(--container-bg, #1f1923) 12%
  ) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-intro {
  background: color-mix(
    in srgb,
    var(--table-header-bg, #2d2430) 70%,
    var(--container-bg, #1d1720) 30%
  ) !important;
  box-shadow: inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--border-color, rgba(216, 180, 201, 0.24)) 66%,
      transparent
    ) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-intro__icon {
  background: color-mix(
    in srgb,
    var(--button-primary-bg, #ef5d7a) 28%,
    #1e1720 72%
  ) !important;
  color: #ffdce5 !important;
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--button-primary-bg, #ef5d7a) 42%, transparent) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-intro__eyebrow {
  color: var(--muted-text, #cfb8c5) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-intro__text {
  color: var(--text-color, #f0e6ed) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-summary,
body.theme-dark .st-study-modal--guest-import .st-guest-import-target {
  background: color-mix(
    in srgb,
    var(--container-bg, #1f1923) 78%,
    var(--table-header-bg, #2e2531) 22%
  ) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-summary {
  box-shadow: inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--border-color, rgba(216, 180, 201, 0.24)) 66%,
      transparent
    ) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-target {
  box-shadow: inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--border-color, rgba(216, 180, 201, 0.24)) 56%,
      transparent
    ) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-summary__title,
body.theme-dark .st-study-modal--guest-import .st-guest-import-card__label {
  color: var(--heading-color, #fff2f8) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-summary__total,
body.theme-dark .st-study-modal--guest-import .st-guest-import-card__count {
  background: color-mix(
    in srgb,
    var(--button-primary-bg, #ef5d7a) 28%,
    #1e1720 72%
  ) !important;
  color: #ffdce5 !important;
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--button-primary-bg, #ef5d7a) 40%, transparent) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-card,
body.theme-dark
  .st-study-modal--guest-import
  .st-guest-import-target
  .st-modal-form-group {
  background: color-mix(
    in srgb,
    var(--container-bg, #1f1923) 82%,
    var(--table-header-bg, #2e2531) 18%
  ) !important;
  box-shadow: inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--border-color, rgba(216, 180, 201, 0.24)) 64%,
      transparent
    ) !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-card__icon {
  background: color-mix(
    in srgb,
    var(--table-header-bg, #2f2531) 66%,
    #1e1720 34%
  ) !important;
  color: #ffdce5 !important;
}

body.theme-dark .st-study-modal--guest-import .st-guest-import-card__meta,
body.theme-dark
  .st-study-modal--guest-import
  .st-guest-import-target
  .st-modal-form-group
  label {
  color: var(--muted-text, #cfb8c5) !important;
}

/* Share link dialog (core .share-link-dialog component) colour overrides.
   styles.css resets `button { background:none!important; border:none!important }`
   globally, which strips the dialog buttons' fills - re-assert them with the
   eduloo coral accent. Class selectors outrank the bare `button` reset. */
.share-link-dialog__share-via {
  background: linear-gradient(
    180deg,
    var(--primary, #fb596e) 0%,
    var(--primary-dim, #ec4258) 100%
  ) !important;
  box-shadow: 0 8px 22px -8px
    color-mix(in srgb, var(--primary, #fb596e) 60%, transparent) !important;
}
.share-link-dialog__copy {
  background: #eaeef4 !important;
}
body.theme-dark .share-link-dialog__copy {
  background: rgba(255, 255, 255, 0.08) !important;
}
.share-link-dialog__copy.is-copied {
  background: color-mix(
    in srgb,
    var(--primary, #fb596e) 15%,
    transparent
  ) !important;
  color: var(--primary, #fb596e) !important;
}
.share-link-dialog__cloud {
  background: #f7f9fc !important;
  border: 1px solid rgba(18, 24, 38, 0.09) !important;
}
body.theme-dark .share-link-dialog__cloud {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
}
body.theme-dark .share-link-dialog__cloud:hover {
  background: rgba(255, 255, 255, 0.07) !important;
}
.share-link-dialog__close {
  background: rgba(18, 24, 38, 0.05) !important;
}
body.theme-dark .share-link-dialog__close {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Spacing + alignment: top-align the header so the X and icon line up with the
   title (instead of floating centered against a wrapped two-line subtitle), and
   open up the vertical rhythm between sections. */
.share-link-dialog__header {
  align-items: flex-start !important;
  margin-bottom: 20px !important;
}
.share-link-dialog__heading {
  align-items: flex-start !important;
  gap: 12px !important;
}
.share-link-dialog__subtitle {
  margin-top: 4px !important;
  line-height: 1.4 !important;
}
.share-link-dialog__close {
  margin-top: 1px !important;
}
.share-link-dialog__share-via {
  margin-top: 14px !important;
}
.share-link-dialog__divider {
  margin: 22px 0 16px !important;
}
.share-link-dialog__clouds {
  gap: 12px !important;
}
.share-link-dialog__cloud {
  padding: 16px 8px 14px !important;
}

/* Wider so long descriptions wrap comfortably. */
.share-link-dialog {
  width: 420px !important;
}
/* base_elements.css paints `input[type='text']` with its own bg + border
   (!important), which rendered a second box inside the field. Neutralise it so
   the URL field reads as a single element. The (0,2,x) selector + !important
   outranks the base `input[type='text']` (0,1,1) rule and its focus ring. */
.share-link-dialog .share-link-dialog__input,
.share-link-dialog .share-link-dialog__input:hover,
.share-link-dialog .share-link-dialog__input:focus {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 13px 0 13px 14px !important;
}
/* base_elements.css `button:hover` forces a neutral grey background + dark
   `--text-color` text (both !important) on EVERY button hover, which greyed out
   the dialog's coral/pill buttons. Re-assert each button's own hover styling -
   class + pseudo (0,2,0) outranks the bare `button:hover` (0,1,1). */
.share-link-dialog__share-via:hover {
  background: linear-gradient(
    180deg,
    var(--primary, #fb596e) 0%,
    var(--primary-dim, #ec4258) 100%
  ) !important;
  color: #fff !important;
  filter: brightness(0.94) !important;
}
.share-link-dialog__copy:hover {
  background: #eaeef4 !important;
  color: #3c4456 !important;
  filter: brightness(0.96) !important;
}
body.theme-dark .share-link-dialog__copy:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #dfe4ec !important;
  filter: none !important;
}
.share-link-dialog__copy.is-copied:hover {
  background: color-mix(
    in srgb,
    var(--primary, #fb596e) 15%,
    transparent
  ) !important;
  color: var(--primary, #fb596e) !important;
}
.share-link-dialog__cloud:hover {
  background: #eef1f6 !important;
  border-color: rgba(18, 24, 38, 0.14) !important;
}
body.theme-dark .share-link-dialog__cloud:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
.share-link-dialog__close:hover {
  background: rgba(18, 24, 38, 0.1) !important;
  color: #5b6473 !important;
}
body.theme-dark .share-link-dialog__close:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #c5cbd6 !important;
}

/* Dark theme: the core component ships a cool slate; match eduloo's warm
   neutral surfaces via the --surface-* tokens so the popup blends in. */
body.theme-dark .share-link-dialog {
  background: linear-gradient(
    180deg,
    var(--surface-container-high, #2d2c29) 0%,
    var(--surface-container, #252422) 100%
  ) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.theme-dark .share-link-dialog__field {
  background: var(--surface-container-lowest, #181716) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.theme-dark .share-link-dialog__copy {
  background: var(--surface-container-high, #2d2c29) !important;
}
body.theme-dark .share-link-dialog__copy:hover {
  background: var(--surface-container-highest, #393733) !important;
}
body.theme-dark .share-link-dialog__copy.is-copied {
  background: color-mix(
    in srgb,
    var(--primary, #fb596e) 22%,
    transparent
  ) !important;
  color: var(--primary, #fb596e) !important;
}
body.theme-dark .share-link-dialog__cloud {
  background: var(--surface-container-low, #1e1d1b) !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
}
body.theme-dark .share-link-dialog__cloud:hover {
  background: var(--surface-container-high, #2d2c29) !important;
}
body.theme-dark .share-link-dialog__close {
  background: var(--surface-container-high, #2d2c29) !important;
}
body.theme-dark .share-link-dialog__close:hover {
  background: var(--surface-container-highest, #393733) !important;
}

.st-create-quiz-types .base-multi-select-button-group__btn {
  min-height: 48px;
  height: auto !important;
  white-space: normal !important;
  line-height: 1.3 !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.st-create-quiz-types .base-multi-select-button-group__label {
  white-space: normal !important;
}

.st-create-quiz-type-btn-content {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.st-create-quiz-type-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  white-space: normal;
}

.st-create-quiz-type-text {
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 0;
}

.st-create-quiz-type-icon {
  margin-right: 0 !important;
  color: var(--muted-text);
}

.st-create-quiz-types
  .base-multi-select-button-group__btn--active
  .st-create-quiz-type-icon {
  color: inherit;
}

.st-create-quiz-type-tooltip {
  flex: 0 0 auto;
}

.st-create-quiz-type-end {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.st-create-quiz-type-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
  color: var(--muted-text);
}

.st-create-quiz-type-check-icon {
  margin-right: 0 !important;
}

/* base_elements.css forces `display: inline-flex` on FA icons inside buttons
   at higher specificity, which showed BOTH state icons at once on inactive
   rows - hence !important on the whole show/hide trio. */
.st-create-quiz-type-check .st-create-quiz-type-check-icon--on {
  display: none !important;
}

.st-create-quiz-types
  .base-multi-select-button-group__btn--active
  .st-create-quiz-type-check-icon--off {
  display: none !important;
}

.st-create-quiz-types
  .base-multi-select-button-group__btn--active
  .st-create-quiz-type-check-icon--on {
  display: inline-flex !important;
  color: inherit;
}

.st-modal-tabs.st-tabs {
  margin-bottom: 10px;
}

.st-modal-tabs .st-tab {
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  line-height: 1 !important;
  cursor: pointer;
  font: inherit;
  color: inherit;
  flex: 1 !important;
  height: 34px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--muted-text) !important;
  text-decoration: none !important;
}

.st-modal-tabs .st-tab.st-tab--active {
  background: #ede9fe !important;
  color: #5b21b6 !important;
}

body.theme-dark .st-modal-tabs .st-tab.st-tab--active {
  background: #2a3550 !important;
  color: #c4b5fd !important;
}

.st-modal-tabs .st-tab:hover,
.st-modal-tabs .st-tab:focus-visible,
.st-modal-tabs .st-tab:active {
  transform: none !important;
}

.st-modal-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-modal-inline-row .st-panel-workspace-select {
  flex: 1;
  min-width: 0;
}

.st-topic-select-row {
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
}

.st-topic-select-row__select {
  flex: 1 1 auto;
  min-width: 0;
}

.st-topic-select-row .custom-dropdown,
.st-topic-select-row .custom-dropdown-trigger,
.st-topic-select-all-toggle {
  min-height: 44px;
  height: 44px;
}

.st-topic-select-row .custom-dropdown {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}

.st-topic-select-row .custom-dropdown-trigger {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.st-topic-select-all-toggle {
  flex: 0 0 auto;
  min-width: 0;
  margin: 8px 0 !important;
  padding: 0 14px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 8px;
  white-space: nowrap;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-left-width: 0 !important;
  border: 1px solid var(--border-color) !important;
  background: var(--card-bg) !important;
  color: var(--muted-text) !important;
  box-shadow: none !important;
}

.st-topic-select-all-toggle[aria-pressed='true'] {
  border-color: rgba(91, 33, 182, 0.32) !important;
  background: rgba(91, 33, 182, 0.1) !important;
  color: #5b21b6 !important;
}

.st-topic-select-all-toggle__icon {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1;
}

.st-topic-select-all-toggle__icon--on {
  display: none;
}

.st-topic-select-all-toggle[aria-pressed='true']
  .st-topic-select-all-toggle__icon--off {
  display: none;
}

.st-topic-select-all-toggle[aria-pressed='true']
  .st-topic-select-all-toggle__icon--on {
  display: inline-block;
}

.st-topic-select-all-toggle__label {
  line-height: 1;
}

.st-output-language-dropdown .custom-dropdown-trigger-image,
.st-output-language-dropdown-panel .custom-dropdown-option-image {
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
}

.st-output-language-dropdown .custom-dropdown-text,
.st-output-language-dropdown-panel .custom-dropdown-option-content {
  display: inline-flex;
  align-items: center;
}

.st-output-language-dropdown-panel .custom-dropdown-option-content {
  gap: 10px;
}

.st-output-language-dropdown .custom-dropdown-trigger-image {
  width: 20px !important;
  height: 20px !important;
}

.st-output-language-dropdown-panel .custom-dropdown-option-image {
  width: 20px !important;
  height: 20px !important;
}

.st-output-language-dropdown .custom-dropdown-text span,
.st-output-language-dropdown-panel .custom-dropdown-option-text {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

body.theme-dark .st-topic-select-all-toggle[aria-pressed='true'] {
  border-color: rgba(196, 181, 253, 0.32) !important;
  background: rgba(91, 33, 182, 0.24) !important;
  color: #ddd6fe !important;
}

@media (max-width: 640px) {
  .st-topic-select-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .st-topic-select-row .custom-dropdown-trigger {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
  }

  .st-topic-select-all-toggle {
    width: 100%;
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-left-width: 1px !important;
  }
}

#demo {
  scroll-margin-top: calc(var(--eduloo-nav-height, 96px) + 16px) !important;
}

.st-guest-alert {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 24px auto !important;
  max-width: 760px !important;
  padding: 16px 20px !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--warning) 14%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--warning) 35%, transparent) !important;
  box-shadow: 0 4px 14px -8px
    color-mix(in srgb, var(--warning) 40%, transparent) !important;
  text-align: left !important;
}

.st-guest-alert__icon {
  flex: 0 0 auto !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--warning);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.st-guest-alert__icon .icon,
.st-guest-alert__icon i {
  color: #fff !important;
}

.st-guest-alert__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.st-guest-alert__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tertiary, var(--warning));
  line-height: 1.2;
}

.st-guest-alert__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-surface);
}

.st-guest-alert__link {
  color: var(--primary) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color var(--motion-fast, 160ms) var(--ease-standard, ease) !important;
}

.st-guest-alert__link:hover {
  color: var(--primary-dim) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

body.theme-dark .st-guest-alert {
  background: color-mix(
    in srgb,
    var(--warning) 18%,
    rgba(255, 255, 255, 0.04)
  ) !important;
  border-color: color-mix(in srgb, var(--warning) 45%, transparent) !important;
}

body.theme-dark .st-guest-alert__text {
  color: var(--on-surface) !important;
}

@media (max-width: 640px) {
  .st-guest-alert {
    padding: 14px 16px !important;
    gap: 12px !important;
    border-radius: 14px !important;
  }
  .st-guest-alert__icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .st-guest-alert__text {
    font-size: 14px;
  }
}

/* Combined guest panel: alert text on the left, usage meter on the right.
   The panel carries the warning-card chrome; the inner .st-guest-alert is
   stripped back to plain content. */
.st-guest-panel {
  display: flex !important;
  align-items: stretch !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  margin: 24px auto !important;
  max-width: 1080px !important;
  padding: 16px 20px !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--warning) 14%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--warning) 35%, transparent) !important;
  box-shadow: 0 4px 14px -8px
    color-mix(in srgb, var(--warning) 40%, transparent) !important;
  text-align: left !important;
}

.st-guest-panel .st-guest-alert {
  flex: 1 1 380px !important;
  min-width: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  align-items: center !important;
}

.st-guest-panel .usage-meter {
  flex: 1 1 320px;
  min-width: 0;
  align-self: center;
  background: var(--surface-bright, rgba(255, 255, 255, 0.7));
  border-color: color-mix(in srgb, var(--warning) 25%, transparent);
}

body.theme-dark .st-guest-panel {
  background: color-mix(
    in srgb,
    var(--warning) 18%,
    rgba(255, 255, 255, 0.04)
  ) !important;
  border-color: color-mix(in srgb, var(--warning) 45%, transparent) !important;
}

body.theme-dark .st-guest-panel .usage-meter {
  background: var(--surface-container, rgba(0, 0, 0, 0.25));
}

@media (max-width: 820px) {
  .st-guest-panel {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .st-guest-panel .usage-meter {
    align-self: stretch;
  }
}

@media (max-width: 640px) {
  .st-guest-panel {
    padding: 14px 16px !important;
    border-radius: 14px !important;
  }
}

.st-modal-quiz-add-inline-wrap {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    height 0.24s cubic-bezier(0.3, 0.9, 0.35, 1),
    opacity 0.16s ease,
    transform 0.18s ease;
  will-change: height, opacity, transform;
  margin-top: 8px;
  margin-bottom: 0;
}

.st-modal-quiz-add-inline-wrap.st-modal-quiz-add-inline-wrap--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.st-modal-quiz-add-inline {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 10px;
  background: #f8fafc;
  margin-bottom: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .st-modal-quiz-add-inline-wrap {
    transition: none;
  }
}

.st-modal-quiz-add-inline-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.st-modal-quiz-add-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.st-modal-quiz-add-inline-grid button {
  margin: 0 !important;
}

.st-modal-quiz-add-inline-option {
  justify-content: center !important;
  min-height: 32px;
  padding: 0 8px !important;
  border-radius: 7px !important;
  border: 1px solid #cbd5e1 !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-size: 11px;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.st-modal-quiz-add-inline-option:hover,
.st-modal-quiz-add-inline-option:focus-visible {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #1e293b !important;
  transform: none !important;
  box-shadow: none !important;
  filter: none;
}

.st-modal-quiz-add-trigger--cancel {
  border-color: rgba(220, 38, 38, 0.42) !important;
}

body.theme-dark .st-modal-quiz-add-inline {
  border-color: rgba(148, 163, 184, 0.4);
  background: #1f2937;
}

body.theme-dark .st-modal-quiz-add-inline-title {
  color: #e2e8f0;
}

body.theme-dark .st-modal-quiz-add-inline-option {
  background: #111827 !important;
  color: #cbd5e1 !important;
  border-color: rgba(148, 163, 184, 0.42) !important;
}

body.theme-dark .st-modal-quiz-add-inline-option:hover,
body.theme-dark .st-modal-quiz-add-inline-option:focus-visible {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border-color: rgba(148, 163, 184, 0.62) !important;
}

.st-modal-quiz-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.st-modal-quiz-search {
  margin-bottom: 8px;
}

.st-modal-quiz-search-empty {
  margin: 6px 0 0;
  padding: 10px 12px;
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  background: var(--table-header-bg);
  color: var(--muted-text);
  font-size: 12px;
  text-align: center;
}

.st-study-modal--edit-quiz .st-modal-quiz-list {
  flex: 1 1 auto;
  margin-top: 8px;
  min-height: 0;
  max-height: clamp(220px, calc(70vh - 210px), 640px) !important;
  overflow-y: auto !important;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 6px;
}

.st-modal-quiz-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--table-header-bg);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.st-modal-quiz-item--expanded {
  gap: 10px;
}

.st-modal-quiz-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
}

.st-modal-quiz-item--expanded .st-modal-quiz-item-top {
  align-items: flex-start;
}

.st-modal-quiz-item-summary {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.st-modal-quiz-item-title {
  margin: 0;
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.35;
}

.st-modal-quiz-item-type {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--container-bg);
  font-size: 12px;
  color: var(--muted-text);
}

.st-modal-quiz-item-top p {
  margin: 0;
}

.st-modal-quiz-item-search-snippet {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted-text);
  line-height: 1.4;
}

.st-modal-quiz-search-snippet-label {
  font-weight: 700;
  color: var(--heading-color);
}

.st-modal-quiz-search-hit {
  background: rgba(249, 115, 22, 0.35);
  color: inherit;
  border-radius: 4px;
  padding: 0 2px;
  font-weight: 700;
}

.st-modal-quiz-input--search-hit {
  border-color: rgba(249, 115, 22, 0.72) !important;
  background: rgba(254, 215, 170, 0.35) !important;
}

body.theme-dark .st-modal-quiz-search-hit {
  background: rgba(251, 191, 36, 0.52);
}

body.theme-dark .st-modal-quiz-input--search-hit {
  border-color: rgba(251, 191, 36, 0.88) !important;
  background: rgba(146, 64, 14, 0.42) !important;
}

.st-modal-quiz-item-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  flex-shrink: 0;
}

.st-modal-quiz-item--expanded .st-modal-quiz-item-actions {
  align-self: flex-start;
}

.st-modal-quiz-item-toggle--accept {
  background: rgba(22, 163, 74, 0.12) !important;
  border-color: rgba(22, 163, 74, 0.4) !important;
  color: #15803d !important;
}

.st-modal-quiz-item-toggle--accept i {
  color: color-mix(
    in srgb,
    var(--secondary) 78%,
    var(--on-surface) 22%
  ) !important;
}

.st-modal-quiz-item-toggle--accept:hover,
.st-modal-quiz-item-toggle--accept:focus-visible,
.st-modal-quiz-item-toggle--accept:active {
  background: rgba(22, 163, 74, 0.2) !important;
  border-color: rgba(22, 163, 74, 0.56) !important;
  color: #166534 !important;
  transform: none;
  box-shadow: none;
}

.st-modal-quiz-item-toggle--accept:hover i,
.st-modal-quiz-item-toggle--accept:focus-visible i,
.st-modal-quiz-item-toggle--accept:active i {
  color: color-mix(
    in srgb,
    var(--secondary) 90%,
    var(--on-surface) 10%
  ) !important;
}

body.theme-dark .st-modal-quiz-item-toggle--accept {
  background: rgba(22, 163, 74, 0.26) !important;
  border-color: rgba(74, 222, 128, 0.58) !important;
  color: #bbf7d0 !important;
}

body.theme-dark .st-modal-quiz-item-toggle--accept i {
  color: #bbf7d0 !important;
}

body.theme-dark .st-modal-quiz-item-toggle--accept:hover,
body.theme-dark .st-modal-quiz-item-toggle--accept:focus-visible,
body.theme-dark .st-modal-quiz-item-toggle--accept:active {
  background: rgba(22, 163, 74, 0.36) !important;
  border-color: rgba(134, 239, 172, 0.72) !important;
  color: #dcfce7 !important;
  transform: none;
  box-shadow: none;
}

body.theme-dark .st-modal-quiz-item-toggle--accept:hover i,
body.theme-dark .st-modal-quiz-item-toggle--accept:focus-visible i,
body.theme-dark .st-modal-quiz-item-toggle--accept:active i {
  color: #dcfce7 !important;
}

.st-modal-quiz-item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: auto;
  opacity: 1;
  transform: translateY(0);
  overflow: hidden;
  transition:
    height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    transform 0.24s ease;
  will-change: height, opacity, transform;
}

.st-modal-quiz-item:not(.st-modal-quiz-item--expanded)
  .st-modal-quiz-item-content {
  opacity: 0;
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .st-modal-quiz-item-content {
    transition: none;
  }
}

.st-modal-quiz-item-content .st-modal-form-group + .st-modal-form-group {
  margin-top: 8px;
}

.st-modal-quiz-answer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.st-modal-quiz-answer-row--with-tab {
  grid-template-columns: 36px minmax(0, 1fr) auto;
}

.st-modal-quiz-answer-tab {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background: var(--table-header-bg);
  color: var(--muted-text);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  pointer-events: none;
}

.st-modal-quiz-answer-row button {
  margin: 0 !important;
}

.st-modal-quiz-correct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px !important;
  min-height: 40px;
  padding: 0 !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 10px !important;
  background: var(--container-bg) !important;
  color: var(--muted-text) !important;
  font-size: 12px;
  font-weight: 600 !important;
}

.st-modal-quiz-correct-btn i {
  margin-right: 0 !important;
  font-size: 16px !important;
}

.st-modal-quiz-correct-btn--active {
  background: rgba(37, 99, 235, 0.12) !important;
  border-color: rgba(37, 99, 235, 0.42) !important;
  color: #1d4ed8 !important;
}

.st-modal-quiz-correct-btn--active i {
  color: #1d4ed8 !important;
}

body.theme-dark .st-modal-quiz-correct-btn {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, 0.38) !important;
  color: #cbd5e1 !important;
}

body.theme-dark .st-modal-quiz-correct-btn--active {
  background: rgba(37, 99, 235, 0.28) !important;
  border-color: rgba(96, 165, 250, 0.62) !important;
  color: #bfdbfe !important;
}

body.theme-dark .st-modal-quiz-correct-btn--active i {
  color: #bfdbfe !important;
}

body.theme-dark .st-modal-quiz-answer-tab {
  background: #111827;
  border-color: rgba(148, 163, 184, 0.38);
  color: #cbd5e1;
}

.st-modal-quiz-combination-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.st-modal-quiz-combination-separator {
  width: 28px;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-text);
}

.st-navbar-pomodoro-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  overflow: visible;
  margin: 0 4px;
  padding: 0 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition:
    padding-right 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.st-navbar-pomodoro-shell--active.st-navbar-pomodoro-shell--expanded,
.st-navbar-pomodoro-shell--active:focus-within {
  padding-right: 82px;
}

.st-navbar-pomodoro-shell--active.st-navbar-pomodoro-shell--expanded
  .st-navbar-pomodoro-btn,
.st-navbar-pomodoro-shell--active:focus-within .st-navbar-pomodoro-btn {
  padding-right: 0 !important;
}

.st-navbar-pomodoro-btn {
  flex: 0 1 auto;
  margin: 0 !important;
  padding: 6px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  transition:
    padding-right 0.22s ease,
    color 0.3s ease,
    opacity 0.3s ease;
}

.st-navbar-pomodoro-btn--active {
  color: #fff;
}

.st-navbar-pomodoro-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.st-navbar-pomodoro-btn__label {
  display: inline-block;
  white-space: nowrap;
}

.st-navbar-pomodoro-shell .st-navbar-pomodoro-action {
  position: absolute;
  top: 50%;
  right: 8px;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(4px);
  transition:
    opacity 0.18s ease,
    transform 0.22s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.st-navbar-pomodoro-shell
  .st-navbar-pomodoro-action[data-navbar-pomodoro-toggle] {
  right: 42px;
}

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

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

.st-navbar-pomodoro-action {
  z-index: 6;
  width: 30px;
  min-width: 30px !important;
  height: 30px;
  min-height: 30px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none;
  cursor: pointer;
}

.st-navbar-pomodoro-shell--active.st-navbar-pomodoro-shell--expanded
  .st-navbar-pomodoro-action,
.st-navbar-pomodoro-shell--active:focus-within .st-navbar-pomodoro-action {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.st-navbar-pomodoro-action:disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.st-navbar-pomodoro-shell:not(.st-navbar-pomodoro-shell--active)
  .st-navbar-pomodoro-action,
.st-navbar-pomodoro-shell.st-navbar-pomodoro-shell--active:not(
    .st-navbar-pomodoro-shell--expanded
  ):not(:focus-within)
  .st-navbar-pomodoro-action {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(4px);
}

@keyframes st-navbar-pomodoro-paused-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.st-pomodoro-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-pomodoro-display {
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--table-header-bg);
  padding: 18px 12px;
  text-align: center;
}

.st-pomodoro-display p,
.st-pomodoro-display h3 {
  margin: 0;
}

.st-pomodoro-session,
.st-pomodoro-next {
  font-size: 15px;
  color: var(--muted-text);
}

.st-pomodoro-display h3 {
  margin: 8px 0 10px;
  font-size: 38px;
  font-weight: 700;
  line-height: 0.98;
  color: var(--heading-color);
}

.st-pomodoro-time--paused {
  animation: st-navbar-pomodoro-paused-blink 1.2s ease-in-out infinite;
}

.st-pomodoro-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.st-pomodoro-sound-controls {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.st-pomodoro-setting {
  --st-pomodoro-control-height: 36px;
  border: 1px solid var(--border-color);
  background: var(--table-header-bg);
  border-radius: 9px;
  padding: 5px 7px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
}

.st-pomodoro-setting--active {
  border-color: rgba(139, 92, 246, 0.34);
  background: rgba(139, 92, 246, 0.08);
}

.st-pomodoro-setting label {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1;
  width: 100%;
  text-align: left;
}

.st-pomodoro-setting--active label,
.st-pomodoro-setting--active .st-pomodoro-value {
  color: #6d28d9;
}

.st-pomodoro-setting--current {
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.st-pomodoro-setting--break {
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(56, 189, 248, 0.07);
}

.st-pomodoro-setting--break label,
.st-pomodoro-setting--break .st-pomodoro-value {
  color: #0369a1;
}

body.theme-dark .st-pomodoro-setting--active {
  border-color: rgba(167, 139, 250, 0.42);
  background: rgba(109, 40, 217, 0.2);
}

body.theme-dark .st-pomodoro-setting--active label,
body.theme-dark .st-pomodoro-setting--active .st-pomodoro-value {
  color: #e9d5ff;
}

body.theme-dark .st-pomodoro-setting--current {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.theme-dark .st-pomodoro-setting--break {
  border-color: rgba(125, 211, 252, 0.38);
  background: rgba(3, 105, 161, 0.18);
}

body.theme-dark .st-pomodoro-setting--break label,
body.theme-dark .st-pomodoro-setting--break .st-pomodoro-value {
  color: #bae6fd;
}

.st-pomodoro-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

.st-pomodoro-step-btn {
  width: var(--st-pomodoro-control-height);
  min-width: var(--st-pomodoro-control-height) !important;
  height: var(--st-pomodoro-control-height);
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.45) !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  box-shadow: none;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease;
}

.st-pomodoro-step-btn i {
  margin-right: 0 !important;
  font-size: 10px;
  color: currentColor !important;
}

.st-pomodoro-step-btn:hover,
.st-pomodoro-step-btn:focus-visible {
  background: #e2e8f0 !important;
  border-color: rgba(100, 116, 139, 0.5) !important;
  transform: translateY(-1px);
}

.st-pomodoro-setting--active .st-pomodoro-step-btn {
  background: rgba(124, 58, 237, 0.16) !important;
  border-color: rgba(109, 40, 217, 0.46) !important;
  color: #5b21b6 !important;
}

.st-pomodoro-setting--break .st-pomodoro-step-btn {
  background: rgba(14, 165, 233, 0.16) !important;
  border-color: rgba(14, 116, 144, 0.44) !important;
  color: #075985 !important;
}

body.theme-dark .st-pomodoro-step-btn {
  border-color: rgba(148, 163, 184, 0.34) !important;
  background: #1f2937 !important;
  color: #cbd5e1 !important;
  box-shadow: none;
}

body.theme-dark .st-pomodoro-setting--active .st-pomodoro-step-btn {
  background: rgba(109, 40, 217, 0.42) !important;
  border-color: rgba(167, 139, 250, 0.54) !important;
  color: #f5e9ff !important;
}

body.theme-dark .st-pomodoro-setting--break .st-pomodoro-step-btn {
  background: rgba(3, 105, 161, 0.42) !important;
  border-color: rgba(125, 211, 252, 0.54) !important;
  color: #e0f2fe !important;
}

.st-pomodoro-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
}

.st-pomodoro-sessions-select,
.st-pomodoro-sessions-select select,
.st-pomodoro-sessions-select .custom-dropdown {
  width: 100%;
}

.st-pomodoro-sessions-select {
  margin-left: 0;
  max-width: none;
  width: 100%;
}

.st-pomodoro-sessions-select .custom-dropdown-trigger {
  height: var(--st-pomodoro-control-height);
  min-height: var(--st-pomodoro-control-height);
  font-size: 18px;
  border-radius: 8px;
  background: var(--container-bg);
  padding: 0 7px;
  line-height: 1;
}

.st-workspace-manage-subjects-panel {
  margin-top: 18px;
}

.st-workspace-manage-subjects-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.st-workspace-manage-subject-search {
  position: relative;
  width: min(320px, 100%);
  margin-left: auto;
}

.st-workspace-manage-subject-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-text);
  font-size: 14px;
}

.st-workspace-manage-subject-search input {
  margin: 0;
  width: 100%;
  padding-left: 38px;
  height: 46px;
}

.st-workspace-manage-subject-create {
  width: auto;
  margin-top: 14px;
}

.st-workspace-manage-subject-create > .button-secondary {
  min-height: 46px;
}

.st-workspace-manage-subject-table {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  background: var(--container-bg);
}

.st-workspace-manage-subject-table-head,
.st-modal-subject-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  gap: 16px;
}

.st-workspace-manage-subject-table-head {
  padding: 14px 18px;
  background: var(--table-header-bg);
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.64px;
}

.st-workspace-manage-subject-table-head > span:last-child {
  text-align: center;
}

.st-workspace-manage-subject-table-body {
  display: flex;
  flex-direction: column;
}

.st-modal-subject-row {
  background: var(--container-bg);
  border-bottom: 1px solid var(--border-color);
  min-height: 58px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 18px;
}

.st-modal-subject-row:last-child {
  border-bottom: 0;
}

.st-modal-subject-cell {
  min-width: 0;
}

.st-modal-subject-cell--name {
  color: var(--heading-color);
  font-weight: 700;
}

.st-modal-subject-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  justify-self: center;
  width: 100%;
}

.st-workspace-manage-subject-action-btn {
  width: 34px;
  min-width: 34px !important;
  height: 34px;
  font-size: 13px;
}

.st-modal-create-inline {
  width: 100%;
}

.st-modal-create-inline > .button-secondary {
  margin: 0;
}

.st-modal-create-editor {
  display: none;
  width: 100%;
  align-items: center;
}

.st-modal-rename-editor {
  display: none;
}

.st-modal-create-inline.is-creating > [data-workspace-manage-create-trigger] {
  display: none;
}

.st-modal-create-inline.is-creating .st-modal-create-editor {
  display: flex;
}

[data-workspace-manage-workspace-panel].is-renaming-workspace
  > [data-workspace-manage-workspace-row] {
  display: none;
}

[data-workspace-manage-workspace-panel].is-renaming-workspace
  > [data-workspace-manage-create='workspace'] {
  display: none;
}

[data-workspace-manage-workspace-panel].is-renaming-workspace
  > [data-workspace-manage-workspace-rename-editor] {
  display: flex;
}

[data-workspace-manage-subjects-panel].is-renaming-subject
  > [data-workspace-manage-create='subject'] {
  display: none;
}

.st-modal-subject-editor {
  display: none;
  grid-column: 1 / -1;
}

.st-modal-subject-row.is-renaming > .st-modal-subject-cell,
.st-modal-subject-row.is-renaming > .st-modal-subject-actions {
  display: none;
}

.st-modal-subject-row.is-renaming .st-modal-subject-editor {
  display: flex;
}

.st-modal-subject-row--empty {
  grid-template-columns: 1fr;
}

.st-modal-subject-row--empty > span {
  color: var(--muted-text);
}

.st-modal-create-editor input {
  margin: 0;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
  padding: 0 12px;
}

.st-modal-form-group > .button-secondary {
  margin: 0;
}

.st-study-modal--workspace-manage
  .st-panel-workspace-select
  .custom-dropdown-trigger {
  min-height: 36px;
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 900px) {
  .st-workspace-manage-subjects-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .st-workspace-manage-subject-search,
  .st-workspace-manage-subject-create {
    width: 100%;
    margin-left: 0;
  }

  .st-workspace-manage-subject-table-head {
    display: none;
  }

  .st-modal-subject-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .st-modal-subject-actions {
    justify-content: flex-start;
  }
}

@keyframes st-study-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes st-study-backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes st-study-card-in {
  from {
    opacity: 0;
    transform: translateY(44px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes st-study-card-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(44px);
  }
}

@media (max-width: 720px) {
  .st-study-modal .st-modal {
    border-radius: 14px;
    padding: 14px;
  }

  .st-navbar-pomodoro-shell {
    width: 100%;
    margin: 8px 20px;
    padding: 0 20px;
  }

  .st-navbar-pomodoro-shell--active {
    gap: 0;
    padding-right: 0;
  }

  .st-navbar-pomodoro-btn {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .st-navbar-pomodoro-shell--active.st-navbar-pomodoro-shell--expanded,
  .st-navbar-pomodoro-shell--active:focus-within {
    padding-right: 72px;
  }

  .st-navbar-pomodoro-shell--active.st-navbar-pomodoro-shell--expanded
    .st-navbar-pomodoro-btn,
  .st-navbar-pomodoro-shell--active:focus-within .st-navbar-pomodoro-btn {
    padding-right: 0 !important;
  }

  .st-navbar-pomodoro-action {
    width: 28px;
    min-width: 28px !important;
    height: 28px;
    min-height: 28px;
  }

  .st-navbar-pomodoro-shell .st-navbar-pomodoro-action {
    transform: translateY(-50%);
  }

  .st-navbar-pomodoro-shell
    .st-navbar-pomodoro-action[data-navbar-pomodoro-toggle] {
    right: 40px;
  }

  .st-navbar-pomodoro-shell--active.st-navbar-pomodoro-shell--expanded
    .st-navbar-pomodoro-action,
  .st-navbar-pomodoro-shell--active:focus-within .st-navbar-pomodoro-action {
    transform: translateY(-50%);
  }

  .st-pomodoro-top {
    padding: 12px;
  }

  .st-pomodoro-display {
    padding: 14px 10px;
  }

  .st-pomodoro-display h3 {
    font-size: 64px;
  }

  .st-pomodoro-session,
  .st-pomodoro-next {
    font-size: 14px;
  }

  .st-pomodoro-settings-grid {
    grid-template-columns: 1fr;
  }

  .st-pomodoro-setting {
    --st-pomodoro-control-height: 32px;
    padding: 5px 7px;
    gap: 5px;
  }

  .st-pomodoro-setting label {
    font-size: 15px;
  }

  .st-pomodoro-value {
    font-size: 15px;
  }

  .st-pomodoro-sessions-select {
    max-width: none;
  }

  .st-pomodoro-sessions-select .custom-dropdown-trigger {
    font-size: 16px;
  }

  .st-modal-footer {
    gap: 8px;
  }

  .st-modal-footer-btn {
    width: clamp(90px, 27vw, 140px);
    min-width: clamp(90px, 27vw, 140px) !important;
    min-height: 48px;
  }

  body .st-study-modal--guest-import .st-modal-header {
    padding: 14px 16px 10px !important;
  }

  body .st-study-modal--guest-import .st-modal-body {
    padding: 6px 16px 6px !important;
    gap: 12px !important;
  }

  body .st-study-modal--guest-import .st-modal-footer {
    padding: 10px 16px 16px !important;
    justify-content: stretch !important;
    gap: 8px !important;
  }

  body .st-study-modal--guest-import .st-modal-footer .st-modal-footer-btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  body .st-study-modal--guest-import .st-guest-import-intro {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 14px !important;
  }

  body .st-study-modal--guest-import .st-guest-import-intro__icon {
    width: 44px !important;
    height: 44px !important;
  }

  body .st-study-modal--guest-import .st-guest-import-grid {
    grid-template-columns: 1fr !important;
  }

  body .st-study-modal--guest-import .st-guest-import-target__grid {
    grid-template-columns: 1fr !important;
  }

  body .st-study-modal--guest-import .st-guest-import-summary {
    padding: 14px !important;
  }

  body .st-study-modal--guest-import .st-guest-import-summary__header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  body .st-study-modal--guest-import .st-guest-import-summary__total {
    min-height: 30px !important;
    padding: 0 12px !important;
  }

  body .st-study-modal--guest-import .st-guest-import-card {
    grid-template-columns: 38px minmax(0, 1fr) auto !important;
    min-height: 72px !important;
    padding: 12px 14px !important;
  }

  body .st-study-modal--guest-import .st-guest-import-card__icon {
    width: 38px !important;
    height: 38px !important;
  }

  .st-modal-quiz-answer-row {
    grid-template-columns: 1fr;
  }

  .st-modal-quiz-add-inline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 6px;
  }

  .st-modal-quiz-answer-row--with-tab {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .st-modal-quiz-answer-row--with-tab .st-modal-quiz-correct-btn {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .st-modal-quiz-correct-btn {
    width: 40px;
    min-width: 40px !important;
    justify-content: center;
  }

  .st-modal-quiz-combination-row {
    grid-template-columns: 1fr;
  }

  .st-modal-quiz-combination-separator {
    width: 24px;
    min-width: 24px;
    height: 24px;
  }

  .st-study-modal--workspace-manage .st-modal {
    padding: 0;
  }

  .st-study-modal--workspace-manage .st-modal-header {
    padding: 4px 12px !important;
    gap: 8px;
  }

  .st-study-modal--workspace-manage .st-modal-header h2 {
    font-size: clamp(13px, 4.4vw, 16px) !important;
    line-height: 1.15;
    white-space: nowrap;
  }

  .st-study-modal--workspace-manage .st-modal-header .st-btn--only-icon {
    width: 36px;
    min-width: 36px !important;
    height: 36px;
  }
}

:root {
  --theme-switch-shell-bg: linear-gradient(
    140deg,
    rgba(255, 246, 249, 0.95) 0%,
    rgba(255, 231, 237, 0.9) 52%,
    rgba(207, 240, 255, 0.86) 100%
  );
  --theme-switch-shell-border: color-mix(
    in srgb,
    var(--primary) 24%,
    transparent
  );
  --theme-switch-shadow:
    0 8px 18px -12px rgba(75, 33, 47, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  --theme-switch-slot-bg: rgba(255, 255, 255, 0.64);
  --theme-switch-hover-bg: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.76) 0%,
    rgba(255, 236, 243, 0.68) 56%,
    rgba(210, 241, 255, 0.6) 100%
  );
  --theme-switch-hover-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 6px 14px -12px rgba(75, 33, 47, 0.42);
  --theme-switch-icon-muted: #3d1f2a;
  --theme-switch-knob-bg: rgba(255, 255, 255, 0.98);
  --theme-switch-knob-active: linear-gradient(130deg, #b03b4e 0%, #2a6a99 100%);
  --theme-switch-knob-shadow: 0 8px 16px -12px rgba(75, 33, 47, 0.52);
  --theme-switch-ring: color-mix(in srgb, var(--info) 55%, transparent);
}

.theme-switcher,
.theme-toggle,
[data-theme-switcher],
.base-theme-switcher,
.base-theme-toggle,
.theme-switcher::before,
.theme-toggle::before,
[data-theme-switcher]::before,
.base-theme-switcher::before,
.base-theme-toggle::before,
.theme-switcher > *,
.theme-toggle > *,
[data-theme-switcher] > *,
.base-theme-switcher > *,
.base-theme-toggle > *,
.theme-switcher button,
.theme-toggle button,
[data-theme-switcher] button,
.base-theme-switcher button,
.base-theme-toggle button,
.st-theme-switcher button,
button[data-theme-toggle],
button[aria-label*='theme' i],
[data-theme-switcher] [role='switch'] {
  width: 28px !important;
  height: 28px !important;
  border-radius: 999px !important;
  border: none !important;
  background: transparent !important;
  color: var(--theme-switch-icon-muted) !important;
  transition:
    transform 220ms ease,
    color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease !important;
}

.theme-switcher button:hover,
.theme-toggle button:hover,
[data-theme-switcher] button:hover,
.base-theme-switcher button:hover,
.base-theme-toggle button:hover,
.st-theme-switcher button:hover,
button[data-theme-toggle]:hover,
button[aria-label*='theme' i]:hover,
[data-theme-switcher] [role='switch']:hover {
  transform: translateY(-1px) scale(1.01) !important;
  color: var(--on-background) !important;
  background: var(--theme-switch-hover-bg) !important;
  box-shadow: var(--theme-switch-hover-shadow) !important;
}

.theme-switcher button[aria-pressed='true'],
.theme-toggle button[aria-pressed='true'],
[data-theme-switcher] button[aria-pressed='true'],
.base-theme-switcher button[aria-pressed='true'],
.base-theme-toggle button[aria-pressed='true'],
.st-theme-switcher button[aria-pressed='true'],
button[data-theme-toggle][aria-pressed='true'],
button[data-theme-toggle].is-active,
button[data-theme-toggle].active,
[data-theme-switcher] .is-active,
[data-theme-switcher] .active,
[data-theme-switcher] [aria-checked='true'] {
  background: var(--theme-switch-knob-active) !important;
  color: #ffffff !important;
  box-shadow: var(--theme-switch-knob-shadow) !important;
}

.theme-switcher button:focus-visible,
.theme-toggle button:focus-visible,
[data-theme-switcher] button:focus-visible,
.base-theme-switcher button:focus-visible,
.base-theme-toggle button:focus-visible,
.st-theme-switcher button:focus-visible,
button[data-theme-toggle]:focus-visible,
button[aria-label*='theme' i]:focus-visible,
[data-theme-switcher] [role='switch']:focus-visible {
  outline: 2px solid var(--theme-switch-ring) !important;
  outline-offset: 2px !important;
}

.theme-switcher input[type='checkbox'],
.theme-toggle input[type='checkbox'],
[data-theme-switcher] input[type='checkbox'] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 52px !important;
  height: 28px !important;
  border-radius: 999px !important;
  border: 1px solid var(--theme-switch-shell-border) !important;
  background: rgba(255, 255, 255, 0.42) !important;
  position: relative !important;
  cursor: pointer !important;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease !important;
}

.theme-switcher input[type='checkbox']::before,
.theme-toggle input[type='checkbox']::before,
[data-theme-switcher] input[type='checkbox']::before {
  content: '' !important;
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  background: linear-gradient(
    140deg,
    var(--theme-switch-knob-bg) 0%,
    #ffe3ea 100%
  ) !important;
  box-shadow: 0 4px 10px rgba(75, 33, 47, 0.28) !important;
  transition:
    transform 220ms ease,
    background 220ms ease !important;
}

.theme-switcher input[type='checkbox']:checked,
.theme-toggle input[type='checkbox']:checked,
[data-theme-switcher] input[type='checkbox']:checked {
  background: var(--theme-switch-knob-active) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  box-shadow: var(--theme-switch-knob-shadow) !important;
}

.theme-switcher input[type='checkbox']:checked::before,
.theme-toggle input[type='checkbox']:checked::before,
[data-theme-switcher] input[type='checkbox']:checked::before {
  transform: translateX(24px) !important;
  background: linear-gradient(140deg, #ffffff 0%, #f2fbff 100%) !important;
}

body.theme-dark .theme-switcher,
body.theme-dark .theme-toggle,
body.theme-dark [data-theme-switcher],
body.theme-dark .base-theme-switcher,
body.theme-dark .base-theme-toggle,
body.theme-dark .st-theme-switcher {
  --theme-switch-shell-bg: linear-gradient(
    140deg,
    rgba(45, 44, 41, 0.9) 0%,
    rgba(37, 36, 34, 0.94) 52%,
    rgba(27, 70, 91, 0.88) 100%
  );
  --theme-switch-shell-border: color-mix(
    in srgb,
    var(--primary) 28%,
    transparent
  );
  --theme-switch-shadow:
    0 10px 20px -14px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --theme-switch-slot-bg: rgba(243, 240, 234, 0.1);
  --theme-switch-hover-bg: linear-gradient(
    140deg,
    rgba(57, 55, 51, 0.68) 0%,
    rgba(45, 44, 41, 0.64) 52%,
    rgba(37, 87, 111, 0.6) 100%
  );
  --theme-switch-hover-shadow:
    inset 0 0 0 1px rgba(243, 240, 234, 0.16),
    0 8px 16px -12px rgba(0, 0, 0, 0.64);
  --theme-switch-icon-muted: rgba(228, 222, 213, 0.8);
  --theme-switch-knob-bg: #f6f3ed;
  --theme-switch-knob-active: linear-gradient(
    130deg,
    var(--primary) 0%,
    var(--secondary) 100%
  );
  --theme-switch-knob-shadow: 0 9px 18px -14px rgba(5, 3, 8, 0.7);
  --theme-switch-ring: color-mix(in srgb, var(--info) 65%, transparent);
}

body.theme-dark {
  --primary: #fb596e;
  --primary-dim: #ec4258;
  --primary-container: #7a2a3b;
  --on-primary: rgb(43 19 23);
  --on-primary-container: rgb(255 223 220);
  --secondary: rgb(177 169 243);
  --secondary-container: rgb(79 69 129);
  --on-secondary: rgb(247 243 255);
  --tertiary: rgb(144 216 197);
  --tertiary-container: rgb(49 90 77);
  --on-tertiary-container: rgb(225 255 246);
  --surface: #141413;
  --surface-bright: #201f1d;
  --surface-dim: #0d0d0c;
  --surface-container-lowest: #181716;
  --surface-container-low: #1e1d1b;
  --surface-container: #252422;
  --surface-container-high: #2d2c29;
  --surface-container-highest: #393733;
  --on-surface: #f3f0ea;
  --on-surface-variant: #b4ada2;
  --on-background: #f3f0ea;
  --outline: #908779;
  --outline-variant: #4e483f;
  --inverse-surface: #f3f0ea;
  --inverse-primary: #ec4258;
  --error: rgb(255 142 136);
  --primary-blue: var(--primary);
  --accent-blue: var(--secondary);
  --text-color: var(--on-surface);
  --heading-color: var(--on-background);
  --muted-text: var(--on-surface-variant);
  --container-bg: var(--surface-container-lowest);
  --card-bg: var(--surface-container-low);
  --input-bg: var(--surface-container);
  --border-color: var(--outline-variant);
  --eduloo-app-page-bg:
    radial-gradient(
      circle at 10% 10%,
      color-mix(in srgb, var(--primary) 24%, transparent) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 88% 14%,
      color-mix(in srgb, var(--secondary) 20%, transparent) 0%,
      transparent 42%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-container-low) 80%, var(--surface) 20%)
        0%,
      var(--surface) 46%,
      color-mix(in srgb, var(--surface-container-low) 72%, black 28%) 100%
    );
  --eduloo-app-surface: linear-gradient(
    150deg,
    color-mix(
        in srgb,
        var(--surface-container-highest) 84%,
        var(--primary-container) 16%
      )
      0%,
    color-mix(
        in srgb,
        var(--surface-container-highest) 88%,
        var(--secondary-container) 12%
      )
      100%
  );
  --eduloo-app-surface-soft: color-mix(
    in srgb,
    var(--surface-container-highest) 80%,
    var(--primary-container) 20%
  );
  --eduloo-app-surface-border: color-mix(
    in srgb,
    var(--outline-variant) 60%,
    var(--primary-container) 40%
  );
  --eduloo-app-surface-shadow: 0 22px 38px -28px
    color-mix(in srgb, black 74%, transparent);
  --eduloo-app-control-bg: color-mix(
    in srgb,
    var(--surface-container-highest) 74%,
    var(--primary-container) 26%
  );
  --eduloo-app-control-bg-hover: color-mix(
    in srgb,
    var(--surface-container-highest) 64%,
    var(--primary-container) 36%
  );
  --eduloo-app-control-border: color-mix(
    in srgb,
    var(--outline-variant) 54%,
    var(--primary-container) 46%
  );
  --eduloo-app-control-text: color-mix(
    in srgb,
    var(--on-surface) 92%,
    var(--on-primary) 8%
  );
  --eduloo-app-primary-bg: linear-gradient(
    136deg,
    color-mix(in srgb, var(--primary) 84%, rgb(239 160 154) 16%) 0%,
    color-mix(in srgb, var(--secondary) 62%, var(--primary) 38%) 100%
  );
  --eduloo-app-primary-bg-hover: linear-gradient(
    136deg,
    color-mix(in srgb, var(--primary) 90%, rgb(245 174 168) 10%) 0%,
    color-mix(in srgb, var(--secondary) 70%, var(--primary) 30%) 100%
  );
  --eduloo-app-primary-shadow: 0 18px 30px -20px
    color-mix(in srgb, black 70%, transparent);
  --eduloo-app-focus-ring: color-mix(
    in srgb,
    var(--secondary) 52%,
    transparent
  );
  color-scheme: dark;
}

body.theme-dark {
  background: var(--eduloo-app-page-bg) !important;
}

body.theme-dark .card,
body.theme-dark .st-pane,
body.theme-dark .st-generation-panel,
body.theme-dark .st-modal,
body.theme-dark .st-tab-content-header {
  background: var(--eduloo-app-surface) !important;
  border: 1px solid var(--eduloo-app-surface-border) !important;
  box-shadow: var(--eduloo-app-surface-shadow) !important;
}

body.theme-dark .st-tab,
body.theme-dark .st-quizz-view-toggle-btn {
  background: var(--eduloo-app-control-bg) !important;
  border: 1px solid var(--eduloo-app-control-border) !important;
  color: var(--eduloo-app-control-text) !important;
}

body.theme-dark .st-tab:hover,
body.theme-dark .st-tab:focus-visible,
body.theme-dark .st-quizz-view-toggle-btn:hover,
body.theme-dark .st-quizz-view-toggle-btn:focus-visible {
  background: var(--eduloo-app-control-bg-hover) !important;
  border-color: color-mix(
    in srgb,
    var(--eduloo-app-control-border) 66%,
    var(--secondary) 34%
  ) !important;
}

body.theme-dark .st-tab--active,
body.theme-dark .st-tab.st-tab--active,
body.theme-dark .st-quizz-view-toggle-btn--active,
body.theme-dark .st-quizz-view-toggle-btn--active:hover,
body.theme-dark .st-quizz-view-toggle-btn--active:focus-visible {
  background: var(--eduloo-app-primary-bg) !important;
  border-color: color-mix(
    in srgb,
    var(--secondary) 46%,
    transparent
  ) !important;
  color: var(--on-primary) !important;
  box-shadow: var(--eduloo-app-primary-shadow) !important;
}

body.theme-dark
  .st-btn:not(.st-btn--danger):not(.st-btn--skyblue):not(.st-btn--quiz-start) {
  background: var(--eduloo-app-control-bg) !important;
  border: 1px solid var(--eduloo-app-control-border) !important;
  color: var(--eduloo-app-control-text) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 12%, transparent),
    0 12px 24px -20px color-mix(in srgb, black 68%, transparent) !important;
}

body.theme-dark
  .st-btn:not(.st-btn--danger):not(.st-btn--skyblue):not(
    .st-btn--quiz-start
  ):hover,
body.theme-dark
  .st-btn:not(.st-btn--danger):not(.st-btn--skyblue):not(
    .st-btn--quiz-start
  ):focus-visible {
  background: var(--eduloo-app-control-bg-hover) !important;
  border-color: color-mix(
    in srgb,
    var(--eduloo-app-control-border) 66%,
    var(--secondary) 34%
  ) !important;
  color: var(--on-surface) !important;
}

body.theme-dark .st-btn--only-icon {
  background: var(--eduloo-app-control-bg) !important;
  border: 1px solid var(--eduloo-app-control-border) !important;
}

body.theme-dark .st-btn--danger {
  background: color-mix(
    in srgb,
    var(--surface-container-highest) 68%,
    rgb(145 57 66) 32%
  ) !important;
  border-color: color-mix(
    in srgb,
    var(--outline-variant) 50%,
    rgb(176 83 91) 50%
  ) !important;
  color: color-mix(
    in srgb,
    var(--on-surface) 88%,
    rgb(255 201 200) 12%
  ) !important;
}

body.theme-dark .st-btn--danger:hover,
body.theme-dark .st-btn--danger:focus-visible {
  background: color-mix(
    in srgb,
    var(--surface-container-highest) 58%,
    rgb(163 69 78) 42%
  ) !important;
  border-color: color-mix(
    in srgb,
    var(--outline-variant) 40%,
    rgb(194 102 108) 60%
  ) !important;
}

body.theme-dark .st-btn--skyblue {
  background: color-mix(
    in srgb,
    var(--surface-container-highest) 70%,
    var(--secondary-container) 30%
  ) !important;
  border-color: color-mix(
    in srgb,
    var(--outline-variant) 48%,
    var(--secondary) 52%
  ) !important;
  color: color-mix(
    in srgb,
    var(--on-surface) 90%,
    rgb(218 212 255) 10%
  ) !important;
}

body.theme-dark .st-btn--skyblue:hover,
body.theme-dark .st-btn--skyblue:focus-visible {
  background: color-mix(
    in srgb,
    var(--surface-container-highest) 60%,
    var(--secondary-container) 40%
  ) !important;
  border-color: color-mix(
    in srgb,
    var(--outline-variant) 34%,
    var(--secondary) 66%
  ) !important;
}

body.theme-dark .st-btn--quiz-start {
  background: var(--eduloo-app-primary-bg) !important;
  color: var(--on-primary) !important;
  box-shadow: var(--eduloo-app-primary-shadow) !important;
  border: 1px solid color-mix(in srgb, var(--secondary) 46%, transparent) !important;
}

body.theme-dark .st-btn--quiz-start:hover,
body.theme-dark .st-btn--quiz-start:focus-visible {
  background: var(--eduloo-app-primary-bg-hover) !important;
  color: var(--on-primary) !important;
}

body.theme-dark
  .st-container
  input:not([type='checkbox']):not([type='radio']):not([type='range']),
body.theme-dark .st-container textarea,
body.theme-dark .st-container select,
body.theme-dark .st-container .custom-dropdown-trigger {
  background: color-mix(
    in srgb,
    var(--surface-container-highest) 74%,
    var(--primary-container) 26%
  ) !important;
  border: 1px solid var(--eduloo-app-control-border) !important;
  color: var(--on-surface) !important;
}

body.theme-dark
  .st-container
  input:not([type='checkbox']):not([type='radio']):not([type='range']):hover,
body.theme-dark .st-container textarea:hover,
body.theme-dark .st-container select:hover,
body.theme-dark .st-container .custom-dropdown-trigger:hover {
  background: color-mix(
    in srgb,
    var(--surface-container-highest) 66%,
    var(--primary-container) 34%
  ) !important;
}

body.theme-dark
  .st-container
  input:not([type='checkbox']):not([type='radio']):not([type='range']):focus,
body.theme-dark
  .st-container
  input:not([type='checkbox']):not([type='radio']):not(
    [type='range']
  ):focus-visible,
body.theme-dark .st-container textarea:focus,
body.theme-dark .st-container textarea:focus-visible,
body.theme-dark .st-container select:focus,
body.theme-dark .st-container select:focus-visible,
body.theme-dark .st-container .custom-dropdown.open .custom-dropdown-trigger,
body.theme-dark .st-container .custom-dropdown-trigger:focus-visible {
  outline: none !important;
  border-color: color-mix(
    in srgb,
    var(--eduloo-app-control-border) 56%,
    var(--secondary) 44%
  ) !important;
  box-shadow: 0 0 0 3px var(--eduloo-app-focus-ring) !important;
}

body.theme-dark .st-container .custom-dropdown-panel,
body.theme-dark .st-container .custom-dropdown-options {
  background: var(--eduloo-app-surface-soft) !important;
  border: 1px solid var(--eduloo-app-surface-border) !important;
}

body.theme-dark .st-container .custom-dropdown-option {
  background: color-mix(
    in srgb,
    var(--surface-container-highest) 74%,
    var(--primary-container) 26%
  ) !important;
  color: var(--on-surface) !important;
  border: 1px solid color-mix(in srgb, var(--outline-variant) 54%, transparent) !important;
}

body.theme-dark .st-container .custom-dropdown-option:hover:not(.disabled),
body.theme-dark .st-container .custom-dropdown-option.focused:not(.disabled),
body.theme-dark .st-container .custom-dropdown-option.selected:not(.disabled) {
  background: var(--eduloo-app-control-bg-hover) !important;
  border-color: color-mix(
    in srgb,
    var(--eduloo-app-control-border) 66%,
    var(--secondary) 34%
  ) !important;
}

body.theme-dark .st-container a:focus-visible,
body.theme-dark .st-container button:focus-visible,
body.theme-dark .st-container input:focus-visible,
body.theme-dark .st-container select:focus-visible,
body.theme-dark .st-container textarea:focus-visible {
  outline: 2px solid var(--eduloo-app-focus-ring) !important;
  outline-offset: 2px !important;
}

body.theme-dark .theme-switcher,
body.theme-dark .theme-toggle,
body.theme-dark [data-theme-switcher],
body.theme-dark .base-theme-switcher,
body.theme-dark .base-theme-toggle,
body.theme-dark .st-theme-switcher {
  --theme-switch-shell-bg: linear-gradient(
    140deg,
    color-mix(
        in srgb,
        var(--surface-container-highest) 84%,
        var(--primary-container) 16%
      )
      0%,
    color-mix(
        in srgb,
        var(--surface-container-highest) 86%,
        var(--secondary-container) 14%
      )
      100%
  );
  --theme-switch-shell-border: color-mix(
    in srgb,
    var(--outline-variant) 56%,
    var(--primary-container) 44%
  );
  --theme-switch-shadow:
    0 10px 20px -14px color-mix(in srgb, black 70%, transparent),
    inset 0 1px 0 color-mix(in srgb, white 10%, transparent);
  --theme-switch-slot-bg: color-mix(
    in srgb,
    var(--surface-container-highest) 76%,
    transparent
  );
  --theme-switch-hover-bg: linear-gradient(
    140deg,
    color-mix(
        in srgb,
        var(--surface-container-highest) 70%,
        var(--primary-container) 30%
      )
      0%,
    color-mix(
        in srgb,
        var(--surface-container-highest) 74%,
        var(--secondary-container) 26%
      )
      100%
  );
  --theme-switch-hover-shadow:
    inset 0 0 0 1px color-mix(in srgb, white 14%, transparent),
    0 8px 16px -12px color-mix(in srgb, black 68%, transparent);
  --theme-switch-icon-muted: color-mix(
    in srgb,
    var(--on-surface) 84%,
    var(--secondary) 16%
  );
  --theme-switch-knob-bg: color-mix(
    in srgb,
    var(--surface-container-lowest) 90%,
    white 10%
  );
  --theme-switch-knob-active: linear-gradient(
    130deg,
    color-mix(in srgb, var(--primary) 86%, rgb(245 174 168) 14%) 0%,
    color-mix(in srgb, var(--secondary) 66%, var(--primary) 34%) 100%
  );
  --theme-switch-knob-shadow: 0 9px 18px -14px
    color-mix(in srgb, black 72%, transparent);
  --theme-switch-ring: color-mix(in srgb, var(--secondary) 56%, transparent);
}

.st-admin-feedback-preview-content[hidden],
button.tooltip-wrapper[hidden],
.st-fs-card-action-btn[hidden],
.st-panel-box[hidden],
.st-dashboard-box-actions [hidden],
.st-dashboard-goal-form[hidden],
.st-flashcard-deck-editor[hidden],
.st-flashcard-generation-status[hidden],
.st-flashcard-actions [hidden],
.st-fc-card.is-search-hidden,
.st-fc-inline-actions[hidden],
.st-qz-title-row[hidden],
.st-qz-rename-row[hidden],
.st-quiz-generation-status[hidden],
.st-qz-generation-live[hidden],
.st-qz-generation-steps[hidden],
.st-qz-row--generating .st-qz-session,
.st-sum-title-row[hidden],
.st-sum-rename-row[hidden],
.st-pod-title-row[hidden],
.st-pod-rename-row[hidden],
.st-pod-mini-player[hidden],
.st-quizz-question-card.is-hidden-by-mode,
.st-quizz-nav-actions[hidden],
.st-quizz-finished-container[hidden],
.st-fs-cram-progress[hidden],
.st-fs-board--cram .st-fs-stats,
.st-fs-board--cram .st-fs-card-meta,
.st-fs-inline-edit-answer[hidden],
.st-fs-inline-actions[hidden],
.st-fs-card.is-editing .st-fs-card-actions-row,
.st-fs-card.is-editing .st-fs-card-hint,
.st-fs-card.is-editing .st-fs-user-answer,
.st-fs-user-answer[hidden],
.st-fs-rating-col[hidden],
.st-quizz-finished-score-pill[hidden],
.st-quizz-finished-stat-card[hidden],
.st-study-modal .modal-footer,
.st-modal-tab-panel[hidden],
.st-modal-quiz-item--search-hidden,
.st-modal-subject-row[hidden] {
  display: none !important;
}

.st-btn--only-icon i,
.st-share-page__meta-copy i,
.st-tab-content-controls > button i,
.st-tab-content-controls .st-tab-content-controls-buttons > button i,
.st-qz-actions button i,
.st-pod-actions button i,
.st-pod-mini-player-volume .icon,
.st-doc-actions button i,
.st-quizz-combo-link i,
.st-fs-card-answer-btn i,
.st-fs-rating-col button,
.st-modal-header button i,
.st-modal-footer-btn i,
.st-guest-alert__icon i,
.st-modal-quiz-combination-separator i,
.st-navbar-pomodoro-btn__icon i,
.st-navbar-pomodoro-action i {
  margin-right: 0 !important;
}

body h2,
body h2::before,
body h2::after {
  border-bottom: none !important;
}

body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck'] {
  --st-share-deck-shell-bg: var(
    --st-fs-shell-bg,
    color-mix(
      in srgb,
      var(--surface-container-lowest, var(--container-bg)) 88%,
      var(--surface-container-low, var(--table-header-bg)) 12%
    )
  );
  --st-share-deck-shell-border: var(
    --st-fs-shell-border,
    color-mix(
      in srgb,
      var(--outline-variant, var(--border-color)) 52%,
      transparent
    )
  );
  --st-share-deck-shell-shadow: var(
    --st-fs-shell-shadow,
    0 32px 62px -48px
      color-mix(
        in srgb,
        var(--on-surface, var(--heading-color)) 50%,
        transparent
      )
  );
  --st-share-deck-panel-bg: var(
    --st-fs-panel-bg,
    color-mix(
      in srgb,
      var(--surface-container-lowest, var(--container-bg)) 86%,
      var(--surface-container-low, var(--table-header-bg)) 14%
    )
  );
  --st-share-deck-panel-border: var(
    --st-fs-panel-border,
    color-mix(
      in srgb,
      var(--outline-variant, var(--border-color)) 44%,
      transparent
    )
  );
  --st-share-deck-panel-soft: color-mix(
    in srgb,
    var(--st-share-deck-panel-bg) 84%,
    var(--surface-container-lowest, var(--container-bg)) 16%
  );
  --st-share-deck-title: color-mix(
    in srgb,
    var(--heading-color, var(--on-surface, var(--text-color))) 74%,
    var(--primary-container, var(--primary, var(--link))) 26%
  );
  --st-share-deck-text: color-mix(
    in srgb,
    var(--text-color, var(--on-surface, var(--heading-color))) 92%,
    var(--heading-color, var(--on-surface, var(--text-color))) 8%
  );
  --st-share-deck-muted: color-mix(
    in srgb,
    var(--muted-text, var(--on-surface-variant, var(--text-color))) 88%,
    var(--st-share-deck-title) 12%
  );
  --st-share-deck-focus: color-mix(
    in srgb,
    var(--primary, var(--link)) 42%,
    transparent
  );
  --st-share-deck-button-bg: color-mix(
    in srgb,
    var(--button-primary-bg, var(--primary, var(--link))) 86%,
    var(--primary-container, var(--primary, var(--link))) 14%
  );
  --st-share-deck-button-bg-hover: color-mix(
    in srgb,
    var(--button-primary-bg, var(--primary, var(--link))) 74%,
    var(--primary-container, var(--primary, var(--link))) 26%
  );
  --st-share-deck-button-text: var(
    --button-primary-text,
    var(--on-primary, var(--container-bg))
  );
  --st-share-deck-button-border: color-mix(
    in srgb,
    var(--button-primary-bg, var(--primary, var(--link))) 62%,
    transparent
  );
  width: min(100%, 920px) !important;
  max-width: 920px !important;
  margin: calc(var(--eduloo-main-offset, 122px) + 14px) auto 28px auto !important;
  padding: 22px !important;
  border-radius: 30px !important;
  border: 1px solid var(--st-share-deck-shell-border) !important;
  background: var(--st-share-deck-shell-bg) !important;
  box-shadow: var(--st-share-deck-shell-shadow) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  position: relative !important;
  overflow: hidden !important;
}

body.theme-dark
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck'] {
  --st-share-deck-shell-bg: var(
    --st-fs-shell-bg,
    color-mix(
      in srgb,
      var(--surface-container-low, var(--container-bg)) 78%,
      var(--surface-container-high, var(--table-header-bg)) 22%
    )
  );
  --st-share-deck-shell-border: var(
    --st-fs-shell-border,
    color-mix(
      in srgb,
      var(--outline-variant, var(--border-color)) 58%,
      transparent
    )
  );
  --st-share-deck-shell-shadow: var(
    --st-fs-shell-shadow,
    0 34px 66px -48px color-mix(in srgb, black 80%, transparent)
  );
  --st-share-deck-panel-bg: var(
    --st-fs-panel-bg,
    color-mix(
      in srgb,
      var(--surface-container-low, var(--container-bg)) 84%,
      var(--surface-container-high, var(--table-header-bg)) 16%
    )
  );
  --st-share-deck-panel-border: var(
    --st-fs-panel-border,
    color-mix(
      in srgb,
      var(--outline-variant, var(--border-color)) 54%,
      transparent
    )
  );
  --st-share-deck-panel-soft: color-mix(
    in srgb,
    var(--st-share-deck-panel-bg) 82%,
    var(--surface-container-highest, var(--table-header-bg)) 18%
  );
  --st-share-deck-title: color-mix(
    in srgb,
    var(--on-background, var(--heading-color)) 86%,
    var(--primary, var(--link)) 14%
  );
  --st-share-deck-text: color-mix(
    in srgb,
    var(--on-surface, var(--text-color)) 92%,
    white 8%
  );
  --st-share-deck-muted: color-mix(
    in srgb,
    var(--on-surface-variant, var(--muted-text)) 88%,
    var(--on-surface, var(--heading-color)) 12%
  );
}

body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']::before,
body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']::after {
  content: '' !important;
  position: absolute !important;
  pointer-events: none !important;
  z-index: 0 !important;
  display: block !important;
}

body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']::before {
  width: 186px !important;
  height: 186px !important;
  right: -66px !important;
  top: -96px !important;
  border-radius: 999px !important;
  background: color-mix(
    in srgb,
    var(--secondary-container, var(--st-share-deck-panel-border)) 18%,
    transparent
  ) !important;
}

body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']::after {
  width: 154px !important;
  height: 154px !important;
  left: -56px !important;
  bottom: -84px !important;
  border-radius: 999px !important;
  background: color-mix(
    in srgb,
    var(--primary-container, var(--st-share-deck-panel-border)) 24%,
    transparent
  ) !important;
}

body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']
  > * {
  position: relative !important;
  z-index: 1 !important;
}

body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']
  .st-share-page__head--deck {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']
  .tools-section-title.st-share-page__title,
body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']
  .tools-section
  h1.tools-section-title.st-share-page__title {
  margin: 0 0 10px 0 !important;
  text-align: left !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(46px, 5.2vw, 68px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.72px !important;
  font-weight: 800 !important;
  color: var(--st-share-deck-title) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  animation: none !important;
}

body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']
  .tools-section-description.st-share-page__subtitle {
  margin: 0 !important;
  max-width: 62ch !important;
  text-align: left !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  color: var(--st-share-deck-muted) !important;
}

body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']
  .st-share-page__meta-shell {
  margin: 0 !important;
}

body
  .st-share-page__pane.st-share-page__pane--deck[data-share-page][data-share-entity-type='deck']
  .st-share-page__meta--deck {
  margin: 0 !important;
  padding: 12px !important;
  border-radius: 20px !important;
  border: 1px solid var(--st-share-deck-panel-border) !important;
  background: var(--st-share-deck-panel-bg) !important;
  box-shadow: 0 16px 28px -24px
    color-mix(in srgb, var(--on-surface, var(--heading-color)) 58%, transparent) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
