.aktuell-jdesk {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483600;
  width: min(360px, calc(100vw - 32px));
  max-height: min(78vh, 680px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 22px;
  background: #111;
  color: #f4f4f2;
  font: 12px/1.4 HaasGrot, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
  overscroll-behavior: contain;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 24px 48px rgba(0, 0, 0, 0.18);
  transform-origin: 100% 100%;
  animation: aktuellJdeskIn 280ms cubic-bezier(0.2, 0, 0, 1) both;
}

.aktuell-jdesk:not([hidden]) {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@keyframes aktuellJdeskIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.aktuell-jdesk[hidden] {
  display: none !important;
}

.aktuell-jdesk-head {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.aktuell-jdesk-head strong {
  font-weight: 400;
  letter-spacing: 0.02em;
}

.aktuell-jdesk-head span {
  opacity: 0.45;
  font-variant-numeric: tabular-nums;
}

.aktuell-jdesk-acc {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 2px;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.aktuell-jdesk-sec {
  border-radius: 12px;
}

.aktuell-jdesk-sec-head {
  appearance: none;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-wrap: balance;
  cursor: pointer;
  animation: aktuellJdeskHeadIn 220ms cubic-bezier(0.2, 0, 0, 1) both;
  animation-delay: calc(var(--aktuell-jdesk-i, 0) * 80ms);
  transition-property: background-color, transform, opacity;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.aktuell-jdesk-sec-head:hover {
  background: rgba(255, 255, 255, 0.06);
}

.aktuell-jdesk-sec-head:active {
  transform: scale(0.96);
}

.aktuell-jdesk-sec.is-open .aktuell-jdesk-sec-head {
  background: rgba(255, 255, 255, 0.08);
}

.aktuell-jdesk-sec-body {
  display: none;
}

.aktuell-jdesk-sec.is-open .aktuell-jdesk-sec-body {
  display: block;
}

.aktuell-jdesk-sec-inner {
  min-height: 0;
  padding: 0 2px 10px;
}

.aktuell-jdesk-sec.is-open .aktuell-jdesk-sec-inner {
  animation: aktuellJdeskSecIn 180ms cubic-bezier(0.2, 0, 0, 1) both;
}

@keyframes aktuellJdeskHeadIn {
  from {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes aktuellJdeskSecIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.aktuell-jdesk-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.aktuell-jdesk-presets button {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  transition-property: transform, background-color, color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.aktuell-jdesk-presets button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.aktuell-jdesk-presets button:active {
  transform: scale(0.96);
}

.aktuell-jdesk-presets button.is-on {
  background: #f4f4f2;
  color: #111;
}

.aktuell-jdesk-stage {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 10px;
  align-items: stretch;
  margin: 10px 0 8px;
}

.aktuell-jdesk-stage canvas {
  width: 100%;
  height: 88px;
  border-radius: 12px;
  background: #1c1c1c;
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

.aktuell-jdesk-preview {
  position: relative;
  border-radius: 12px;
  background: #1c1c1c;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.aktuell-jdesk-puck {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #f4f4f2;
  will-change: transform;
}

.aktuell-jdesk-puck.is-run {
  transform: translateY(54px);
}

.aktuell-jdesk-sliders {
  display: grid;
  gap: 8px;
}

.aktuell-jdesk-play {
  appearance: none;
  border: 0;
  min-height: 40px;
  margin: 0 0 2px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  color: #111;
  background: #f4f4f2;
  transition-property: transform, opacity;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.aktuell-jdesk-play:hover {
  opacity: 0.86;
}

.aktuell-jdesk-play:active {
  transform: scale(0.96);
}

.aktuell-jdesk-sliders[hidden] {
  display: none !important;
}

.aktuell-jdesk-sliders label {
  display: grid;
  grid-template-columns: 72px 1fr 36px;
  gap: 8px;
  align-items: center;
  opacity: 0.9;
}

.aktuell-jdesk-sliders em {
  font-style: normal;
  opacity: 0.45;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.aktuell-jdesk input[type="range"] {
  width: 100%;
  accent-color: #f4f4f2;
}

.aktuell-jdesk-actions {
  display: flex;
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  background: #111;
  pointer-events: auto !important;
}

.aktuell-jdesk-actions button {
  appearance: none;
  position: relative;
  z-index: 1;
  border: 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  color: #111;
  background: #f4f4f2;
  pointer-events: auto !important;
  touch-action: manipulation;
  transition-property: transform, opacity;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.aktuell-jdesk-actions button.ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #f4f4f2;
}

.aktuell-jdesk-actions button:hover {
  opacity: 0.86;
}

.aktuell-jdesk-actions button:active {
  transform: scale(0.96);
}

.aktuell-jdesk-note {
  margin: 0 10px 10px;
  opacity: 0.4;
  font-size: 11px;
}
