/* Pull-to-Refresh — 고객/장부 모바일 주간보드·목록 전용 */

.ptr-host {
  position: relative;
}

.ptr-scroll {
  overscroll-behavior-y: contain;
}

.ptr-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  height: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  background: transparent;
  transition: none;
}

.ptr-indicator.is-pulling,
.ptr-indicator.is-refreshing {
  background: linear-gradient(to bottom, rgba(241, 245, 249, 0.95), transparent);
}

.ptr-indicator__spinner {
  width: 22px;
  height: 22px;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  border-top-color: #2563eb;
  opacity: 0.55;
  transform: scale(0.85);
  transition: opacity 0.12s ease, transform 0.12s ease, border-top-color 0.12s ease;
}

.ptr-indicator.is-ready .ptr-indicator__spinner {
  opacity: 1;
  transform: scale(1);
  border-top-color: #1d4ed8;
}

.ptr-indicator.is-refreshing .ptr-indicator__spinner {
  opacity: 1;
  transform: scale(1);
  animation: ptr-spin 0.7s linear infinite;
}

@keyframes ptr-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 901px) {
  .ptr-indicator {
    display: none !important;
  }
}
