/* THÀNH ĐẠT • Calendar filter sticky hotfix V14.1
   Prior visual-v10.css intentionally set .sticky-tools to static!important;
   override only the calendar toolbar. No scroll listener, transforms, or backdrop blur. */
html { overflow-x: clip; }
body { overflow-x: clip !important; }
#calendar-tools.sticky-tools:not([hidden]) {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: env(safe-area-inset-top, 0px) !important;
  z-index: 45 !important;
  background: #f5f9f7 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: 0 3px 9px rgba(14, 70, 44, .07) !important;
  border-bottom: 1px solid #e1eae5;
  padding-top: 6px;
  padding-bottom: 8px;
  transform: none !important;
  /* Native sticky uses the document scroller: no nested scrolling container. */
}
#calendar-tools[hidden] { display: none !important; }
#calendar-tools .filters button,
#calendar-tools .toggle-details { touch-action: manipulation; }
@media (max-width: 355px) {
  #calendar-tools.sticky-tools:not([hidden]) { padding-top: 4px; padding-bottom: 6px; }
}
@media print {
  #calendar-tools.sticky-tools { position: static !important; box-shadow: none !important; }
}
