/* Koroche Select: client/platform/web/components/ui/select.tsx + theme tokens. */
.text-style-picker {
  z-index: 50;
  min-width: var(--radix-select-trigger-width);
  max-width: calc(100vw - 24px);
  max-height: var(--radix-select-content-available-height);
  overflow: auto;
  border: 1px solid #eff3f4;
  border-radius: 12px;
  background: #fff;
  color: #0e141b;
  box-shadow: 0 8px 24px rgb(14 20 27 / 10%);
  transform-origin: var(--radix-select-content-transform-origin);
  outline: none;
}
.text-style-picker__viewport { padding: 4px; }
.text-style-picker__item {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 8px 32px 8px 8px;
  font: 400 17px/24px var(--font-ui);
  cursor: default;
  user-select: none;
  outline: none;
}
.text-style-picker__item[data-highlighted] { background: rgb(14 20 27 / 8%); }
.text-style-picker__check { position: absolute; right: 8px; display: flex; align-items: center; }
.text-style-picker[data-state='open'] { animation: text-style-picker-in 160ms cubic-bezier(.25,.46,.45,.94); }
.text-style-picker[data-state='closed'] { animation: text-style-picker-out 160ms cubic-bezier(.25,.46,.45,.94); }
@keyframes text-style-picker-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes text-style-picker-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.96); } }
/* Preserve animationend so Radix can release its focus lock when the motion
   preference changes while the popup is closing. */
@media (prefers-reduced-motion: reduce) {
  .text-style-picker { animation-duration: 1ms !important; animation-delay: 0s !important; }
}
@media (max-width: 899px) {
  .text-style-picker { min-width: max(180px, var(--radix-select-trigger-width)); }
  .text-style-picker__item { min-height: 48px; padding-left: 12px; }
}
