/* Elasticity belongs to the date-number capsule. Weekday labels and schedule
   dots recenter with their dates, preserving size, color and spacing. */
html[data-visual-mode="minimal"] { --week-elastic-enabled:1; }
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-motion-layout {
  position:relative; scroll-behavior:auto!important; scroll-snap-type:none;
  overflow-anchor:none;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-motion-layout > .week-day {
  flex-shrink:0; will-change:transform;
}
/* WAAPI owns the pill and copied white text. Keep the real digits transition-free
   through cleanup so removing week-motion-ready cannot restart the legacy fade. */
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-strip > .week-day > strong {
  transition:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-motion-ready > .week-day > strong {
  background:transparent!important; color:var(--ink)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-elastic-surface {
  position:absolute; left:0; top:0; display:block; z-index:1;
  background:var(--minimal-calendar-selection); pointer-events:none;
  will-change:transform,clip-path;
  clip-path:inset(50% round 14px);
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-elastic-number {
  position:absolute; display:grid; place-items:center; color:#fff!important;
  pointer-events:none; border:0; padding:0; margin:0;
}
@media (prefers-reduced-motion:reduce) {
  html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-elastic-surface {
    animation:none; transition:none;
  }
}
