.itg-filter-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin: 1rem 0;
  color: #51483f;
  font: .85rem/1.6 system-ui, sans-serif;
}
.itg-filter-summary[hidden] { display: none; }
.itg-filter-label { font-weight: 650; }
.itg-filter-values { display: flex; flex-wrap: wrap; gap: .4rem; min-width: 0; }
.itg-filter-chip {
  box-sizing: border-box;
  max-width: 100%;
  padding: .3rem .75rem;
  border: 1px solid #9fabae;
  border-radius: 999px;
  background: #e3eaf2;
  color: #203f6b;
  overflow-wrap: anywhere;
}
.itg-filter-summary .itg-filter-clear {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: .4rem .75rem;
  border: 1px solid #8b4823;
  background: #fffdf7;
  color: #803712;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.itg-filter-clear:disabled { opacity: .6; cursor: default; }
.itg-back-to-top {
  position: fixed;
  z-index: 80;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  box-sizing: border-box;
  min-width: 44px;
  min-height: 48px;
  padding: .65rem 1rem;
  border: 1px solid #a4b6ce;
  border-radius: 2px;
  background: #203f6b;
  color: #fffdf7;
  box-shadow: 0 3px 12px #1717171a;
  font: 650 .85rem/1.5 system-ui, sans-serif;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.itg-back-to-top[data-visible] { opacity: 1; visibility: visible; pointer-events: auto; }
.itg-back-to-top:hover { background: #172f51; }
.itg-back-to-top:focus-visible,
.itg-filter-clear:focus-visible { outline: 3px solid #bc4b2d; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .itg-back-to-top { transition: opacity .18s ease, visibility .18s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
