/* ombelle Scroll Area */
[data-preview-family="ombelle"] [data-slot='pv-scroll-area'] {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  border: 1.5px solid var(--input);
  border-radius: 16px;
  background: var(--card);
  color: var(--foreground);
  font-family: var(--font-family);
}
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-viewport'] {
  box-sizing: border-box;
  inline-size: 100%;
  block-size: 100%;
  border-radius: inherit;
  scrollbar-width: none;
  /* Content keeps clear of the area's border. */
  padding: 0.5rem 0.75rem;
}
/* While the area scrolls, a gutter as wide as the bar (and 4px) keeps content clear of it. */
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-viewport']:is([data-overflow-y] > *) {
  padding-inline-end: 16px;
}
/* Without a horizontal bar, content takes the viewport's width and wraps, instead of the
   primitive's table or fit-content wrapper growing past it under a clipped edge. */
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-viewport']:is(:not([data-horizontal]) > *) > * {
  display: block !important;
  min-inline-size: 0 !important;
}
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-viewport']::-webkit-scrollbar {
  display: none;
}
/* Fades the last 28px into the card (or the colour in --scroll-area-fade, for an area on another surface) while more content waits below. Only where scroll-driven animation runs: the fade is hidden
   when nothing scrolls (the timeline is inactive) and once the end is reached. */
@supports (animation-timeline: scroll()) {
  [data-preview-family="ombelle"] [data-slot='pv-scroll-area-viewport']::after {
    content: '';
    display: block;
    position: sticky;
    inset-block-end: 0;
    block-size: 28px;
    margin-block-start: -28px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
      to bottom,
      transparent,
      var(--scroll-area-fade, var(--card))
    );
    animation: ombelle-scroll-area-fade-ombelle linear both;
    animation-timeline: scroll(nearest block);
    animation-range: calc(100% - 28px) 100%;
  }
}
@keyframes ombelle-scroll-area-fade-ombelle {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* The root clips overflow, so the focus ring sits inside the viewport. */
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-viewport']:focus-visible {
  outline: 2.5px solid var(--ring);
  outline-offset: -2.5px;
}
/* The thin rail is exempt from the 24px target rule: wheel, keyboard and touch scrolling give equivalent access. */
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-scrollbar'] {
  display: flex;
  box-sizing: border-box;
  padding: 2px;
  background: var(--muted);
  touch-action: none;
  user-select: none;
  opacity: 1;
  transition: opacity var(--motion-duration);
}
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-scrollbar'][data-state='hidden'] {
  opacity: 0;
  pointer-events: none;
}
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-scrollbar'][data-orientation='vertical'] {
  inline-size: 12px;
  flex-direction: row;
}
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-scrollbar'][data-orientation='horizontal'] {
  block-size: 12px;
  flex-direction: column;
}
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-thumb'] {
  position: relative;
  flex: 1;
  border-radius: 999px;
  background: var(--input);
}
[data-preview-family="ombelle"] [data-slot='pv-scroll-area-corner'] {
  background: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  @supports (animation-timeline: scroll()) {
    [data-preview-family="ombelle"] [data-slot='pv-scroll-area-viewport']::after {
      animation: none;
    }
  }
  [data-preview-family="ombelle"] [data-slot='pv-scroll-area-scrollbar'] {
    transition: none;
  }
}
@media (forced-colors: active) {
  [data-preview-family="ombelle"] [data-slot='pv-scroll-area'] {
    border-color: CanvasText;
    background: Canvas;
    color: CanvasText;
  }
  [data-preview-family="ombelle"] [data-slot='pv-scroll-area-viewport']:focus-visible {
    outline-color: Highlight;
  }
  [data-preview-family="ombelle"] [data-slot='pv-scroll-area-scrollbar'],[data-preview-family="ombelle"] 
  [data-slot='pv-scroll-area-corner'] {
    background: Canvas;
  }
  [data-preview-family="ombelle"] [data-slot='pv-scroll-area-thumb'] {
    border: 1px solid CanvasText;
    background: CanvasText;
  }
}

