/* SOLA Desk static interaction layer — no framework runtime required. */
[hidden] {
  display: none !important;
}

.schedule-controls .schedule-range {
  width: 100%;
  height: 1.5rem;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.schedule-controls .schedule-range::-webkit-slider-runnable-track {
  height: 0.375rem;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    currentColor 0 var(--range-progress, 50%),
    color-mix(in srgb, currentColor 22%, transparent) var(--range-progress, 50%) 100%
  );
}

.schedule-controls .schedule-range::-moz-range-track {
  height: 0.375rem;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 22%, transparent);
}

.schedule-controls .schedule-range::-moz-range-progress {
  height: 0.375rem;
  border-radius: 999px;
  background: currentColor;
}

.schedule-controls .schedule-range::-webkit-slider-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: -0.3125rem;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / 18%);
}

.schedule-controls .schedule-range::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / 18%);
}

.schedule-controls .schedule-range:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.stage-selector button,
.task-tabs [role="tab"],
[data-slot="accordion-trigger"],
.mode-switch button {
  cursor: pointer;
}

.stage-selector button:focus-visible,
.task-tabs [role="tab"]:focus-visible,
[data-slot="accordion-trigger"]:focus-visible,
.mode-switch button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.static-accordion-inner {
  padding-bottom: 1rem;
}

[data-slot="accordion-trigger"][data-state="open"] svg {
  transform: rotate(180deg);
}

[data-slot="accordion-trigger"] svg {
  transition: transform 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  [data-slot="accordion-trigger"] svg,
  html:focus-within {
    scroll-behavior: auto;
    transition: none;
  }
}
