/* Praxoria Startseite – v549: Kriterienrückmeldung entlastet.
   Rein visuelle Feinabstimmung: Kriterienreiter erst nach der Prüfsequenz sichtbar. Texte unverändert. */

html body.home.homeRefinedV549 #studioPanel2 .studioFeedbackTile{
  padding: clamp(1.05rem, 1.8vw, 1.35rem) clamp(1.05rem, 2vw, 1.55rem) !important;
  border-color: color-mix(in oklab, var(--border) 62%, transparent) !important;
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--surface) 92%, transparent),
      color-mix(in oklab, var(--surface2) 24%, transparent)) !important;
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, white 54%, transparent),
    0 18px 42px -38px color-mix(in oklab, var(--text) 28%, transparent) !important;
}

html body.home.homeRefinedV549 #studioPanel2 .studioFeedbackTile > .k{
  display: flex !important;
  align-items: center !important;
  gap: .72rem !important;
  margin-bottom: .8rem !important;
  color: color-mix(in oklab, var(--muted) 80%, var(--text)) !important;
  letter-spacing: .16em !important;
  font-size: .77rem !important;
  font-weight: 720 !important;
}

html body.home.homeRefinedV549 #studioPanel2 .studioFeedbackTile > .k::after{
  content: "";
  height: 1px;
  flex: 1 1 auto;
  min-width: 2.5rem;
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--accent2) 24%, transparent),
    color-mix(in oklab, var(--border) 45%, transparent),
    transparent);
}

/* Die Kriterien werden erst nach der einmaligen Prüfung sichtbar. */
html body.home.homeRefinedV549 #studioPanel2 .studioFeedbackTile.isWaiting .critChips,
html body.home.homeRefinedV549 #studioPanel2 .studioFeedbackTile:not(.isVisible) .critChips{
  opacity: 0 !important;
  transform: translateY(-4px) !important;
  pointer-events: none !important;
  max-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
}

html body.home.homeRefinedV549 #studioPanel2 .studioFeedbackTile.isVisible:not(.isWaiting) .critChips{
  opacity: 1 !important;
  transform: translateY(0) !important;
  max-height: 4rem !important;
  margin-top: .1rem !important;
  margin-bottom: .85rem !important;
  transition:
    opacity .42s cubic-bezier(.22,.72,.18,1) .06s,
    transform .42s cubic-bezier(.22,.72,.18,1) .06s,
    max-height .42s cubic-bezier(.22,.72,.18,1),
    margin .42s cubic-bezier(.22,.72,.18,1) !important;
}

html body.home.homeRefinedV549 #studioPanel2 .critChips{
  display: inline-flex !important;
  align-items: center !important;
  gap: .38rem !important;
  padding: .18rem !important;
  border-radius: 999px !important;
  background: color-mix(in oklab, var(--surface2) 38%, transparent) !important;
  border: 1px solid color-mix(in oklab, var(--border) 62%, transparent) !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 58%, transparent) !important;
  width: fit-content !important;
  max-width: 100% !important;
}

html body.home.homeRefinedV549 #studioPanel2 .critChip{
  min-height: 2rem !important;
  padding: .42rem .72rem !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: transparent !important;
  color: color-mix(in oklab, var(--muted) 78%, var(--text)) !important;
  box-shadow: none !important;
  font-size: .86rem !important;
  line-height: 1 !important;
  font-weight: 720 !important;
  transition:
    background .22s ease,
    color .22s ease,
    box-shadow .22s ease,
    transform .22s ease !important;
}

html body.home.homeRefinedV549 #studioPanel2 .critChip.isOn{
  background: color-mix(in oklab, var(--surface) 88%, white) !important;
  color: color-mix(in oklab, var(--text) 94%, var(--accent2)) !important;
  box-shadow:
    0 1px 0 color-mix(in oklab, white 78%, transparent) inset,
    0 8px 18px -16px color-mix(in oklab, var(--text) 34%, transparent) !important;
}

html body.home.homeRefinedV549 #studioPanel2 .critChip:not([disabled]):hover{
  transform: translateY(-1px) !important;
  color: var(--text) !important;
  background: color-mix(in oklab, var(--surface) 68%, transparent) !important;
}

html body.home.homeRefinedV549 #studioPanel2 .demoNotice{
  min-height: auto !important;
  margin-top: 0 !important;
  padding: .98rem 1.05rem !important;
  border-radius: 18px !important;
  border-color: color-mix(in oklab, var(--border) 58%, transparent) !important;
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--surface) 82%, transparent),
      color-mix(in oklab, var(--surface2) 28%, transparent)) !important;
}

html body.home.homeRefinedV549 #studioPanel2 .demoNotice .demoNoticeLabel{
  display: block !important;
  margin-bottom: .38rem !important;
  letter-spacing: .15em !important;
  color: color-mix(in oklab, var(--muted) 80%, var(--text)) !important;
  font-size: .74rem !important;
}

html body.home.homeRefinedV549 #studioPanel2 .demoNotice .demoNoticeText{
  display: block !important;
  color: color-mix(in oklab, var(--text) 88%, var(--muted)) !important;
  font-size: clamp(.98rem, 1.18vw, 1.08rem) !important;
  line-height: 1.5 !important;
  font-weight: 520 !important;
  max-width: 58rem !important;
}

html body.home.homeRefinedV549 #studioPanel2 .demoNotice.isChecking{
  padding: 1rem 1.05rem 1.08rem !important;
  border-color: color-mix(in oklab, var(--accent2) 18%, var(--border)) !important;
  background:
    radial-gradient(280px 90px at 0% 0%, color-mix(in oklab, var(--accent2) 6%, transparent), transparent 78%),
    linear-gradient(180deg,
      color-mix(in oklab, var(--surface) 90%, transparent),
      color-mix(in oklab, var(--surface2) 24%, transparent)) !important;
}

html body.home.homeRefinedV549 #studioPanel2 .criteriaCheck{
  display: grid !important;
  gap: .72rem !important;
  align-items: start !important;
}

html body.home.homeRefinedV549 #studioPanel2 .criteriaCheckHead{
  display: flex !important;
  align-items: center !important;
  gap: .55rem !important;
}

html body.home.homeRefinedV549 #studioPanel2 .criteriaCheckDot{
  width: .48rem !important;
  height: .48rem !important;
  background: color-mix(in oklab, var(--accent2) 56%, var(--accent)) !important;
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent2) 8%, transparent) !important;
}

html body.home.homeRefinedV549 #studioPanel2 .criteriaCheckLabel{
  font-size: .75rem !important;
  letter-spacing: .15em !important;
  color: color-mix(in oklab, var(--muted) 82%, var(--text)) !important;
}

html body.home.homeRefinedV549 #studioPanel2 .criteriaCheckLine{
  width: min(19rem, 100%) !important;
  background: color-mix(in oklab, var(--border) 64%, transparent) !important;
}

html body.home.homeRefinedV549 #studioPanel2 .criteriaCheckLine i{
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--accent) 66%, white),
    color-mix(in oklab, var(--accent2) 62%, white),
    color-mix(in oklab, var(--accent3) 50%, white)) !important;
}

html body.home.homeRefinedV549 #studioPanel2 .criteriaCheckSteps{
  gap: .38rem .75rem !important;
  opacity: .72 !important;
  color: color-mix(in oklab, var(--muted) 78%, var(--text)) !important;
  font-size: .78rem !important;
}

html body.home.homeRefinedV549 #studioPanel2 .demoNotice.isRevealing .demoNoticeLabel,
html body.home.homeRefinedV549 #studioPanel2 .demoNotice.isRevealing .demoNoticeText{
  animation: praxoriaFeedbackFineReveal .52s cubic-bezier(.22,.72,.18,1) both !important;
}

html body.home.homeRefinedV549 #studioPanel2 .demoNotice.isReadyFlash{
  animation: praxoriaFeedbackFineHalo .66s ease both !important;
}

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

@keyframes praxoriaFeedbackFineHalo{
  0%{ box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent2) 0%, transparent); }
  42%{ box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent2) 18%, transparent), 0 0 0 5px color-mix(in oklab, var(--accent2) 6%, transparent); }
  100%{ box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--border) 44%, transparent); }
}

@media (max-width: 720px){
  html body.home.homeRefinedV549 #studioPanel2 .critChips{
    width: 100% !important;
    justify-content: space-between !important;
    border-radius: 20px !important;
  }
  html body.home.homeRefinedV549 #studioPanel2 .critChip{
    flex: 1 1 0 !important;
    white-space: normal !important;
    line-height: 1.18 !important;
  }
}

@media (prefers-reduced-motion: reduce){
  html body.home.homeRefinedV549 #studioPanel2 .critChips,
  html body.home.homeRefinedV549 #studioPanel2 .critChip,
  html body.home.homeRefinedV549 #studioPanel2 .demoNotice{
    transition: none !important;
    animation: none !important;
  }
}
