.tpk-main--listing {
  min-height: 72vh;
  /* V23.82: listing canvas #fff -> #F9FAFB (低刺眼浅灰画布；卡片保持纯白靠阴影分层) */
  background: #F9FAFB;
}

.tpk-listing-page,
.tpk-listing-page *,
.tpk-listing-page *::before,
.tpk-listing-page *::after { box-sizing: border-box; }

.tpk-listing-page {
  /* V23.82: ink/muted 脱离全局 token（tokens.css 的 --tpk-color-text 仍是 #111，
     只在 list 作用域降对比）：主文 rgba(0,0,0,.88)，次文 rgba(0,0,0,.60) */
  --tpk-listing-ink: rgba(0, 0, 0, .88);
  --tpk-listing-muted: rgba(0, 0, 0, .60);
  --tpk-listing-soft: #f4f6f5;
  --tpk-listing-surface: #ffffff;
  --tpk-listing-line: rgba(17, 17, 17, .10);
  --tpk-listing-accent: var(--tpk-color-brand-primary, #009b74);
  --tpk-listing-radius: var(--tpk-radius-card, 10px);
  --tpk-listing-pill: var(--tpk-radius-pill, 999px);
  --tpk-listing-shadow: 0 18px 46px rgba(16, 24, 40, .055);
  --tpk-listing-ease: cubic-bezier(.16, 1, .3, 1);
  
  --tpk-in-dur: .45s;  --tpk-in-ease: cubic-bezier(.33, 1, .68, 1);
  --tpk-out-dur: .7s;  --tpk-out-ease: cubic-bezier(.4, 0, .2, 1);
  --tpk-hover-tint: rgba(0, 155, 116, .09);
  color: var(--tpk-listing-ink);
  font-family: var(--tpk-font-sans, Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif);
  letter-spacing: -.15px;
}

/* V23.82: list 作用域内标题脱离全局 typography 的 #111（tokens --tpk-color-text 不动，
   其他页面不受影响），归主文档 .88；深底卡（编辑封面/新闻深色特写）保持白字 */
.tpk-listing-page :is(h1, h2, h3, h4) { color: var(--tpk-listing-ink); }
.tpk-listing-page .tpk-editorial-cover :is(h1, h2, h3, h4),
.tpk-listing-page .tpk-news-card.is-featured.has-no-image :is(h1, h2, h3, h4) { color: inherit; }

.tpk-listing-shell {
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: clamp(88px, 9vw, 140px);
}

.tpk-listing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: end;
  gap: clamp(36px, 7vw, 120px);
  margin-bottom: clamp(40px, 5.2vw, 72px);
  padding-bottom: clamp(34px, 4vw, 54px);
  border-bottom: 1px solid var(--tpk-listing-line);
}

.tpk-listing-hero__copy { display: contents; }
.tpk-listing-hero__title {
  max-width: 820px;
  margin: 0;
  color: var(--tpk-listing-ink);
  font-size: clamp(46px, 4.8vw, 70px);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -.047em;
  text-wrap: balance;
}
.tpk-listing-hero__description {
  max-width: 610px;
  color: var(--tpk-listing-muted);
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.68;
}
.tpk-listing-hero__description > :first-child { margin-top: 0; }
.tpk-listing-hero__description > :last-child { margin-bottom: 0; }

.tpk-family-rail,
.tpk-topic-rail {
  display: flex;
  gap: 10px;
  
  margin: 0 0 32px;
  padding: 1px 0 9px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.tpk-family-rail__item,
.tpk-topic-rail__item {
  position: relative;
  display: inline-flex;
  min-height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--tpk-listing-pill);
  background: #f2f3f5;
  color: var(--tpk-listing-ink);
  font-size: 12.5px;
  line-height: 1;
  text-decoration: none;
  scroll-snap-align: start;
  transition: color var(--tpk-out-dur) var(--tpk-out-ease), transform .5s var(--tpk-listing-ease);
}
.tpk-family-rail__item::before,
.tpk-topic-rail__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--tpk-hover-tint);
  opacity: 0;
  transform: scale(.85);
  transition: opacity var(--tpk-out-dur) var(--tpk-out-ease), transform var(--tpk-out-dur) var(--tpk-out-ease);
}
.tpk-family-rail__item small { position: relative; color: currentColor; font-size: 11px; opacity: .58; }
.tpk-family-rail__item:hover::before,
.tpk-topic-rail__item:hover::before,
.tpk-family-rail__item:focus-visible::before,
.tpk-topic-rail__item:focus-visible::before { opacity: 1; transform: scale(1); transition: opacity var(--tpk-in-dur) var(--tpk-in-ease), transform var(--tpk-in-dur) var(--tpk-in-ease); }

.tpk-family-rail__item:hover,
.tpk-topic-rail__item:hover,
.tpk-family-rail__item:focus-visible,
.tpk-topic-rail__item:focus-visible { color: #087c60; }
.tpk-family-rail__item:active,
.tpk-topic-rail__item:active { transform: scale(.97); }
.tpk-family-rail__item.is-active,
.tpk-topic-rail__item.is-active { background: #111; color: #fff; }
.tpk-family-rail__item.is-active::before,
.tpk-topic-rail__item.is-active::before { display: none; }

.tpk-compact-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
  align-items: end;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  background: transparent;
}
.tpk-compact-filter__field,
.tpk-compact-filter__search { display: grid; min-width: 0; gap: 7px; color: var(--tpk-listing-muted); font-size: 12px; }
.tpk-compact-filter__field > span {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.tpk-compact-filter select,
.tpk-compact-filter input,
.tpk-filter-search input {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: var(--tpk-listing-pill);
  background: #f2f3f5;
  color: var(--tpk-listing-ink);
  font: inherit;
  font-size: 13.5px;
  outline: none;
  transition: background-color .22s ease, box-shadow .22s ease;
}
.tpk-compact-filter select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 38px 0 17px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.tpk-compact-filter select:hover,
.tpk-compact-filter input:hover,
.tpk-filter-search input:hover { background-color: #ebefec; }
.tpk-compact-filter select:focus,
.tpk-compact-filter input:focus,
.tpk-filter-search input:focus { background-color: #e7ebe9; box-shadow: none; }
.tpk-compact-filter input,
.tpk-filter-search input { padding: 0 17px; }

.tpk-listing-page :is(a,button,input,select,summary):focus-visible {
  outline: 2px solid var(--tpk-listing-accent);
  outline-offset: 3px;
}

.tpk-listing-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: var(--tpk-listing-pill);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--tpk-out-dur) var(--tpk-out-ease), transform .5s var(--tpk-listing-ease), box-shadow .5s var(--tpk-listing-ease), opacity .24s ease;
}
.tpk-listing-button--primary { background: #111; color: #fff; }
.tpk-listing-button--primary:hover,
.tpk-listing-button--primary:focus-visible { background: var(--tpk-listing-accent); transition: background-color var(--tpk-in-dur) var(--tpk-in-ease), transform .5s var(--tpk-listing-ease), box-shadow .5s var(--tpk-listing-ease); }
.tpk-listing-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(17,17,17,.16); }
.tpk-listing-button:active { transform: scale(.97); box-shadow: none; }

.tpk-listing-clear-link,
.tpk-active-filters__clear { position: relative; display: inline-flex; min-height: 40px; align-items: center; color: var(--tpk-listing-ink); font-size: 13px; text-decoration: none; }
.tpk-listing-clear-link::after,
.tpk-active-filters__clear::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform var(--tpk-out-dur) var(--tpk-out-ease); }
.tpk-listing-clear-link:hover::after,
.tpk-listing-clear-link:focus-visible::after,
.tpk-active-filters__clear:hover::after,
.tpk-active-filters__clear:focus-visible::after { transform: scaleX(1); transition: transform var(--tpk-in-dur) var(--tpk-in-ease); }

.tpk-filter-mobile-trigger { display: none; }
.tpk-filter-drawer { position: relative; display: block; }
.tpk-filter-drawer__backdrop,
.tpk-filter-panel__close { display: none; }
.tpk-filter-panel {
  position: sticky;
  top: calc(var(--tpk-header-height-sticky, 68px) + 22px);
  display: grid;
  max-height: calc(100vh - var(--tpk-header-height-sticky, 68px) - 44px);
  overflow: auto;
  padding: 21px 20px 18px;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: var(--tpk-listing-radius);
  background: #fff;
  scrollbar-width: thin;
}
.tpk-filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--tpk-listing-line);
}
.tpk-filter-panel__header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.03em;
}
.tpk-filter-search {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  color: var(--tpk-listing-muted);
  font-size: 12px;
}
.tpk-filter-panel__groups { display: grid; }
.tpk-filter-group { border-bottom: 1px solid var(--tpk-listing-line); }

.tpk-filter-group__summary {
  position: relative;
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 -10px;
  padding: 0 10px;
  border-radius: 8px;
  /* V23.82: #171917 -> rgba(0,0,0,.88) 筛选选项名归主文档 */
  color: rgba(0, 0, 0, .88);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color var(--tpk-out-dur) var(--tpk-out-ease);
}
.tpk-filter-group__summary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--tpk-hover-tint);
  opacity: 0;
  transform: scale(.85);
  transition: opacity var(--tpk-out-dur) var(--tpk-out-ease), transform var(--tpk-out-dur) var(--tpk-out-ease);
}
.tpk-filter-group__summary > * { position: relative; }
.tpk-filter-group__summary:hover::before,
.tpk-filter-group__summary:focus-visible::before { opacity: 1; transform: scale(1); transition: opacity var(--tpk-in-dur) var(--tpk-in-ease), transform var(--tpk-in-dur) var(--tpk-in-ease); }
.tpk-filter-group__summary::-webkit-details-marker { display: none; }
.tpk-filter-group__chevron {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--tpk-out-dur) var(--tpk-out-ease);
}
.tpk-filter-group[open] .tpk-filter-group__chevron { transform: rotate(180deg); transition: transform var(--tpk-in-dur) var(--tpk-in-ease); }

@keyframes tpk-filter-group-open {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.tpk-filter-group__options {
  display: grid;
  gap: 11px;
  padding: 2px 0 18px;
}
.tpk-filter-group[open] .tpk-filter-group__options { animation: tpk-filter-group-open var(--tpk-in-dur) var(--tpk-in-ease); }

.tpk-filter-option {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 26px;
  /* V23.82: #4d565f -> rgba(0,0,0,.60) 筛选选项归次文档 */
  color: rgba(0, 0, 0, .60);
  font-size: 13px;
  cursor: pointer;
  transition: color var(--tpk-out-dur) var(--tpk-out-ease);
}
.tpk-filter-option:hover { color: var(--tpk-listing-ink); transition: color var(--tpk-in-dur) var(--tpk-in-ease); }
.tpk-filter-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.tpk-filter-option__box {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1px solid #a9b0b7;
  border-radius: 4px;
  background: #fff;
  transition: border-color var(--tpk-in-dur) var(--tpk-in-ease), background-color var(--tpk-in-dur) var(--tpk-in-ease), transform .18s ease;
}
.tpk-filter-option:hover .tpk-filter-option__box { border-color: #111; }
.tpk-filter-option input:checked + .tpk-filter-option__box {
  border-color: #111;
  background: #111;
  animation: tpk-check-pop var(--tpk-in-dur) var(--tpk-in-ease);
}
@keyframes tpk-check-pop {
  0% { transform: scale(.8); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.tpk-filter-option input:checked + .tpk-filter-option__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tpk-filter-option__count { /* V23.82: #91989f -> rgba(0,0,0,.60) */ color: rgba(0, 0, 0, .60); font-size: 11px; }
.tpk-filter-panel__actions {
  position: sticky;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 -20px -18px;
  padding: 16px 20px 18px;
  background: linear-gradient(to bottom, rgba(255,255,255,.88), #fff 24%);
}

.tpk-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 0 0 18px; }
.tpk-active-filters__label { color: var(--tpk-listing-muted); font-size: 12px; }
.tpk-active-filters__items { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.tpk-filter-chip { display: inline-flex; min-height: 28px; align-items: center; gap: 7px; padding: 0 11px; border-radius: var(--tpk-listing-pill); background: #edf1ef; color: var(--tpk-listing-ink); font-size: 11.5px; text-decoration: none; transition: background-color .25s ease, transform .4s var(--tpk-listing-ease); }
.tpk-filter-chip:hover { background: #e2e8e5; transform: translateY(-1px); }

.tpk-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; margin: 0 0 20px; }
.tpk-results-toolbar__count { margin: 0; color: var(--tpk-listing-muted); font-size: 13px; }

.tpk-results-sort label { display: flex; align-items: center; gap: 10px; color: var(--tpk-listing-muted); font-size: 12px; white-space: nowrap; }
.tpk-results-sort .tpk-listing-select { width: 172px; }
.tpk-results-sort .tpk-listing-select__trigger { white-space: nowrap; }

.tpk-results-sort select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 34px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--tpk-listing-line);
  border-radius: var(--tpk-listing-pill);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center;
  color: var(--tpk-listing-ink);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  outline: none;
  transition: border-color .22s ease, background-color .22s ease;
}
.tpk-results-sort select:hover { border-color: rgba(17,17,17,.28); }
.tpk-results-sort select:focus { border-color: rgba(17,17,17,.34); background-color: #fafbfa; }

.tpk-listing-grid { display: grid; min-width: 0; column-gap: clamp(24px, 2.4vw, 36px); row-gap: clamp(44px, 4.5vw, 64px); }

@keyframes tpk-listing-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.tpk-listing-grid > * { animation: tpk-listing-rise .72s var(--tpk-listing-ease) backwards; }
.tpk-listing-grid > :nth-child(1) { animation-delay: .04s; }
.tpk-listing-grid > :nth-child(2) { animation-delay: .1s; }
.tpk-listing-grid > :nth-child(3) { animation-delay: .16s; }
.tpk-listing-grid > :nth-child(4) { animation-delay: .22s; }
.tpk-listing-grid > :nth-child(5) { animation-delay: .28s; }
.tpk-listing-grid > :nth-child(6) { animation-delay: .34s; }
.tpk-listing-grid > :nth-child(n+7) { animation-delay: .4s; }
.tpk-listing-grid > article { transform: none; }
.tpk-listing-image-placeholder {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
  /* V23.82: #8d969f -> rgba(0,0,0,.60) 占位文字归次文档 */
  color: rgba(0, 0, 0, .60);
  font-size: 12px;
  background:
    radial-gradient(circle at 70% 28%, rgba(0,155,116,.14), transparent 23%),
    linear-gradient(145deg, #f6f8f7, #ecefed);
}
.tpk-listing-image-placeholder::before { content: ""; width: 48%; height: 7px; border-radius: 999px; background: #222; box-shadow: 0 15px 24px rgba(17,17,17,.13); transform: rotate(-12deg); opacity: .72; }
.tpk-listing-image-placeholder > span { position: absolute; inset: auto 18px 16px; }

.tpk-editorial-cover {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(22px, 3vw, 38px);
  background: #0b0d0c;
  color: #fff;
}
.tpk-editorial-cover::before { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(0,155,116,.66), rgba(0,155,116,0) 68%); }
.tpk-editorial-cover__label { position: relative; margin: 0 0 12px; color: #77dfc1; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tpk-editorial-cover__mark { position: relative; max-width: 13ch; font-size: clamp(25px, 3vw, 42px); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }

.tpk-card-arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--tpk-listing-ink); font-size: 13px; text-decoration: none; white-space: nowrap; }
.tpk-card-arrow-link [data-tpk-icon] { width: 13px; height: 13px; flex: 0 0 13px; background-position: center; background-repeat: no-repeat; background-size: contain; transition: transform var(--tpk-out-dur) var(--tpk-out-ease); }
.tpk-card-arrow-link:hover [data-tpk-icon] { transform: translateX(4px); transition: transform var(--tpk-in-dur) var(--tpk-in-ease); }

.tpk-listing-pagination { margin-top: clamp(38px, 5vw, 68px); }
.tpk-listing-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.tpk-listing-pagination a,
.tpk-listing-pagination span { display: grid; min-width: 34px; min-height: 34px; padding: 5px 11px; place-items: center; border-radius: var(--tpk-listing-pill); background: #f2f3f5; color: var(--tpk-listing-ink); font-size: 13px; text-decoration: none; transition: background-color .25s ease, transform .4s var(--tpk-listing-ease); }
.tpk-listing-pagination a:hover { background: #e7ebe9; transform: translateY(-1px); }
.tpk-listing-pagination .current { background: #111; color: #fff; }

.tpk-listing-empty,
.tpk-listing-system-notice { grid-column: 1 / -1; padding: clamp(30px, 5vw, 62px); border-radius: var(--tpk-listing-radius); background: var(--tpk-listing-soft); }
.tpk-listing-empty h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -.03em; }
.tpk-listing-empty p { max-width: 560px; margin: 0; color: var(--tpk-listing-muted); line-height: 1.65; }

@media (max-width: 899px) {
  
  .tpk-filter-mobile-trigger {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 18px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--tpk-listing-pill);
    background: #f2f3f5;
    color: var(--tpk-listing-ink);
    font: inherit;
    font-size: 14px;
    overflow: hidden;
  }
  .tpk-filter-mobile-trigger::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--tpk-hover-tint);
    opacity: 0;
    transform: scale(.85);
    transition: opacity var(--tpk-out-dur) var(--tpk-out-ease), transform var(--tpk-out-dur) var(--tpk-out-ease);
  }
  .tpk-filter-mobile-trigger > * { position: relative; }
  .tpk-filter-mobile-trigger:hover { color: #087c60; }
  .tpk-filter-mobile-trigger:hover::before { opacity: 1; transform: scale(1); transition: opacity var(--tpk-in-dur) var(--tpk-in-ease), transform var(--tpk-in-dur) var(--tpk-in-ease); }
  .tpk-filter-mobile-trigger__count {
    display: grid;
    min-width: 25px;
    min-height: 25px;
    place-items: center;
    border-radius: var(--tpk-listing-pill);
    background: rgba(17,17,17,.08);
    font-size: 11px;
  }
  .tpk-filter-mobile-trigger:hover .tpk-filter-mobile-trigger__count { color: #fff; background: var(--tpk-listing-accent); }
  
  .tpk-filter-drawer {
    position: fixed;
    z-index: 1450;
    inset: 0;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .tpk-filter-drawer[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .tpk-filter-drawer__backdrop {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(8,10,9,.30);
  }
  .tpk-filter-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    top: auto;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    margin: auto 0 0;
    padding: 18px var(--tpk-page-gutter,18px) 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform .55s var(--tpk-listing-ease);
  }
  
  .tpk-filter-panel__groups {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(var(--tpk-page-gutter,18px) * -1);
    padding: 4px var(--tpk-page-gutter,18px) 14px;
  }
  
  .tpk-filter-panel__actions {
    position: static;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 10px calc(var(--tpk-page-gutter,18px) * -1) 0;
    padding: 12px var(--tpk-page-gutter,18px) calc(14px + env(safe-area-inset-bottom));
    background: #fff;
  }
  
  .tpk-filter-panel__actions .tpk-listing-button,
  .tpk-filter-panel__footer .tpk-listing-button { flex: 1 1 auto; justify-content: center; min-height: 52px; font-size: 15px; }
  .tpk-filter-panel__actions .tpk-listing-clear-link,
  .tpk-filter-panel__footer .tpk-listing-clear-link {
    position: relative;
    flex: 0 0 auto;
    justify-content: center;
    min-width: 122px;
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid rgba(17,17,17,.16);
    border-radius: var(--tpk-listing-pill);
    font-size: 15px;
  }
  .tpk-filter-panel__actions .tpk-listing-clear-link::after,
  .tpk-filter-panel__footer .tpk-listing-clear-link::after { display: none; }
  .tpk-filter-panel__footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 10px calc(var(--tpk-page-gutter,18px) * -1) 0;
    padding: 12px var(--tpk-page-gutter,18px) calc(14px + env(safe-area-inset-bottom));
    background: #fff;
  }
  
  .tpk-filter-panel__close {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f0f2f1;
    cursor: pointer;
    transition: background-color .42s var(--tpk-listing-ease), transform .42s var(--tpk-listing-ease);
  }
  .tpk-filter-panel__close [data-tpk-icon] {
    width: 19px;
    height: 19px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform .52s var(--tpk-listing-ease), filter .42s var(--tpk-listing-ease);
  }
  .tpk-filter-panel__close:hover,
  .tpk-filter-panel__close:focus-visible { background: #111; }
  .tpk-filter-panel__close:hover [data-tpk-icon],
  .tpk-filter-panel__close:focus-visible [data-tpk-icon] { filter: invert(1); transform: rotate(90deg); }
  .tpk-filter-panel__close:active { transform: scale(.96); }
  .tpk-filter-drawer[aria-hidden="false"] .tpk-filter-panel { transform: translateY(0); }
  .tpk-filter-panel__header {
    position: sticky;
    z-index: 2;
    top: -18px;
    margin: -18px calc(var(--tpk-page-gutter,18px) * -1) 0;
    padding: 18px var(--tpk-page-gutter,18px) 15px;
    background: #fff;
  }
  body.tpk-listing-filter-open { overflow: hidden; }
  
  .tpk-filter-panel__header h2 { font-size: 24px; }
  
  .tpk-filter-panel__groups { align-content: start; }
  .tpk-filter-panel .tpk-compact-filter { align-content: start; align-items: start; }
  .tpk-filter-panel .tpk-compact-filter__field { gap: 8px; }
  .tpk-filter-search { font-size: 13px; }
  .tpk-filter-search input { min-height: 52px; font-size: 15px; }
  .tpk-filter-group__summary { min-height: 58px; font-size: 16px; }
  .tpk-filter-group__chevron { width: 15px; height: 15px; flex: 0 0 15px; }
  .tpk-filter-group__options { gap: 4px; padding-bottom: 20px; }
  .tpk-filter-option { grid-template-columns: 20px minmax(0,1fr) auto; gap: 12px; min-height: 48px; font-size: 15.5px; }
  .tpk-filter-option__box { width: 20px; height: 20px; border-radius: 5px; }
  .tpk-filter-option__count { font-size: 13px; }
  .tpk-filter-panel .tpk-compact-filter select { min-height: 52px; font-size: 15px; }
  .tpk-filter-panel .tpk-listing-select__trigger { min-height: 52px; font-size: 15px; }
  .tpk-drawer-select .tpk-listing-select__trigger { min-height: 52px; }
}

@media (max-width: 1080px) {
  .tpk-listing-hero { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .tpk-listing-hero__copy { display: grid; gap: 18px; }
  .tpk-compact-filter { grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto; }
}
@media (max-width: 767px) {
  .tpk-listing-shell { padding-top: 42px; padding-bottom: 88px; }
  .tpk-listing-hero { margin-bottom: 30px; padding-bottom: 28px; }
  .tpk-listing-hero__title { font-size: clamp(40px, 12vw, 54px); }
  .tpk-family-rail,.tpk-topic-rail { margin-bottom: 28px; }
  
  .tpk-family-rail__item,.tpk-topic-rail__item { min-height: 36px; padding: 0 16px; font-size: 13px; }
  
  .tpk-compact-filter { grid-template-columns: 1fr 1fr; padding: 15px; }
  .tpk-compact-filter .tpk-compact-filter__field,
  .tpk-compact-filter .tpk-compact-filter__search { grid-column: 1 / -1; }
  .tpk-compact-filter .tpk-listing-button,
  .tpk-compact-filter .tpk-listing-clear-link { width: 100%; justify-content: center; }
  .tpk-compact-filter .tpk-listing-button { grid-column: 1; }
  .tpk-compact-filter .tpk-listing-clear-link { grid-column: 2; }
  .tpk-results-toolbar { align-items: flex-start; flex-direction: column; }
  .tpk-results-sort,.tpk-results-sort label,.tpk-results-sort select,.tpk-results-sort .tpk-listing-select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tpk-listing-page *, .tpk-listing-page *::before, .tpk-listing-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.tpk-listing-select { position: relative; width: 100%; }
.tpk-listing-select__trigger {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px 0 17px;
  border: 0;
  border-radius: var(--tpk-listing-pill);
  background: #f2f3f5;
  color: var(--tpk-listing-ink);
  font: inherit;
  font-size: 13.5px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--tpk-out-dur) var(--tpk-out-ease);
}
.tpk-listing-select__trigger:hover { background-color: #ebefec; }
.tpk-listing-select__trigger[aria-expanded="true"] { background-color: #e7ebe9; }
.tpk-listing-select__trigger:focus-visible { outline: 2px solid var(--tpk-listing-accent); outline-offset: 2px; }
.tpk-listing-select__chevron {
  width: 10px; height: 6px; flex: 0 0 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--tpk-out-dur) var(--tpk-out-ease);
}
.tpk-listing-select__trigger[aria-expanded="true"] .tpk-listing-select__chevron { transform: rotate(180deg); transition: transform var(--tpk-in-dur) var(--tpk-in-ease); }
.tpk-listing-select__native {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tpk-listing-select__menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  max-height: 288px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(16,24,40,.04);
  list-style: none;
  opacity: 0;
  transform: translateY(-6px) scale(.96);
  transform-origin: top center;
  visibility: hidden;
  transition: opacity var(--tpk-out-dur) var(--tpk-out-ease), transform var(--tpk-out-dur) var(--tpk-out-ease), visibility 0s linear var(--tpk-out-dur);
}
.tpk-listing-select__menu.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity var(--tpk-in-dur) var(--tpk-in-ease), transform var(--tpk-in-dur) var(--tpk-in-ease), visibility 0s;
}
.tpk-listing-select__option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--tpk-listing-ink);
  font-size: 13.5px;
  line-height: 1.35;
  cursor: pointer;
}
.tpk-listing-select__option::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--tpk-hover-tint);
  opacity: 0;
  transform: scale(.85);
  transition: opacity var(--tpk-out-dur) var(--tpk-out-ease), transform var(--tpk-out-dur) var(--tpk-out-ease);
}
.tpk-listing-select__option > span,
.tpk-listing-select__option::after { position: relative; }
.tpk-listing-select__option:hover::before,
.tpk-listing-select__option.is-highlighted::before { opacity: 1; transform: scale(1); transition: opacity var(--tpk-in-dur) var(--tpk-in-ease), transform var(--tpk-in-dur) var(--tpk-in-ease); }
.tpk-listing-select__option.is-selected { font-weight: 600; }

.tpk-listing-select__option::after {
  content: "";
  width: 13px; height: 10px;
  flex: 0 0 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='10' viewBox='0 0 13 10'%3E%3Cpath d='M1.5 5.2 4.8 8.5 11.5 1.5' fill='none' stroke='%23009b74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' pathLength='100'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: scale(.6);
  transition: opacity var(--tpk-in-dur) var(--tpk-in-ease), transform var(--tpk-in-dur) var(--tpk-in-ease);
}
.tpk-listing-select__option.is-selected::after { opacity: 1; transform: scale(1); }
@media (max-width: 767px) {
  .tpk-listing-select__menu { max-height: 240px; }
}

.tpk-product-card__title a,
.tpk-project-card__title a,
.tpk-blog-card__title a,
.tpk-news-card__title a {
  position: relative;
  text-decoration: none;
}
.tpk-product-card__title a::after,
.tpk-project-card__title a::after,
.tpk-blog-card__title a::after,
.tpk-news-card__title a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--tpk-out-dur) var(--tpk-out-ease);
}
.tpk-product-card__title a:hover::after,
.tpk-project-card__title a:hover::after,
.tpk-blog-card__title a:hover::after,
.tpk-news-card__title a:hover::after,
.tpk-product-card__title a:focus-visible::after,
.tpk-project-card__title a:focus-visible::after,
.tpk-blog-card__title a:focus-visible::after,
.tpk-news-card__title a:focus-visible::after { transform: scaleX(1); transition: transform var(--tpk-in-dur) var(--tpk-in-ease); }
@media (prefers-reduced-motion: reduce) {
  .tpk-product-card__title a::after,
  .tpk-project-card__title a::after,
  .tpk-blog-card__title a::after,
  .tpk-news-card__title a::after { transition-duration: .01ms !important; }
}

.tpk-project-card__image,
.tpk-product-card__image,
.tpk-blog-card__image,
.tpk-news-card__image { transition: transform .7s var(--tpk-listing-ease); }
.tpk-project-card__media:hover .tpk-project-card__image,
.tpk-product-card__media:hover .tpk-product-card__image,
.tpk-blog-card__media:hover .tpk-blog-card__image,
.tpk-news-card__media:hover .tpk-news-card__image { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .tpk-project-card__image, .tpk-product-card__image, .tpk-blog-card__image, .tpk-news-card__image { transition-duration: .01ms !important; }
}

@media (max-width: 680px) {
  
  .tpk-active-filters { display: none; }

  
  html.tpk-m-enhanced .tpk-family-rail,
  html.tpk-m-enhanced .tpk-topic-rail { display: none; }

  
  .tpk-results-toolbar--merge { flex-direction: row; align-items: center; gap: 10px; }
  .tpk-results-toolbar--merge .tpk-results-toolbar__count { display: none; }
  .tpk-results-toolbar--merge .tpk-filter-mobile-trigger { flex: 1 1 0; min-width: 0; margin: 0; }
  .tpk-results-toolbar--merge .tpk-results-sort { width: auto; flex: 1 1 0; min-width: 0; }
  .tpk-results-toolbar--merge .tpk-results-sort label { width: 100%; min-width: 0; }
  
  .tpk-results-toolbar--merge .tpk-results-sort .tpk-listing-select { width: auto; flex: 1 1 auto; min-width: 0; }
  .tpk-results-toolbar--merge .tpk-topic-select { flex: 1 1 0; min-width: 0; margin: 0; }
  .tpk-filter-mobile-trigger__count[hidden] { display: none; }

  
  .tpk-topic-select { margin: 0 0 18px; }
  .tpk-topic-select .tpk-listing-select__trigger { min-height: 48px; font-size: 14px; }
  .tpk-topic-select .tpk-listing-select__menu { z-index: 80; }

  
  .tpk-drawer-select { display: block; margin: 0 0 16px; }
  .tpk-drawer-select > span { display: block; margin: 0 0 6px; color: var(--tpk-listing-muted); font-size: 12px; }
  .tpk-drawer-select .tpk-listing-select__trigger { min-height: 46px; }

  
  .tpk-filter-panel .tpk-compact-filter { margin: 0; padding: 0; }
  .tpk-filter-panel .tpk-compact-filter__field:first-child { margin-top: 2px; }
  .tpk-project-drawer__body .tpk-compact-filter .tpk-listing-button,
  .tpk-project-drawer__body .tpk-compact-filter .tpk-listing-clear-link { display: none; }

  
  
  html.tpk-m-enhanced .tpk-listing-page--product .tpk-results-toolbar--merge .tpk-results-sort { display: none; }
  html.tpk-m-enhanced .tpk-listing-page--product .tpk-results-toolbar--merge .tpk-filter-mobile-trigger { flex: 0 0 auto; width: auto; }

  
  html.tpk-m-enhanced .tpk-results-toolbar--merge { position: relative; }
  html.tpk-m-enhanced .tpk-results-toolbar--merge .tpk-topic-select .tpk-listing-select { position: static; }
  html.tpk-m-enhanced .tpk-results-toolbar--merge .tpk-topic-select .tpk-listing-select__menu {
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
  }

  
  html.tpk-m-enhanced .tpk-filter-panel .tpk-listing-select.is-static .tpk-listing-select__trigger { display: none; }
  html.tpk-m-enhanced .tpk-filter-panel .tpk-listing-select.is-static .tpk-listing-select__menu {
    position: static;
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }
  
  html.tpk-m-enhanced .tpk-filter-panel .tpk-compact-filter__field > span {
    position: static !important;
    display: block;
    width: auto; height: auto;
    padding: 0; margin: 14px 0 6px;
    overflow: visible; clip: auto; white-space: normal; border: 0;
    color: var(--tpk-listing-ink);
    font-size: 16px; font-weight: 600;
  }
  html.tpk-m-enhanced .tpk-filter-panel .tpk-compact-filter__field:first-child > span { margin-top: 2px; }
  html.tpk-m-enhanced .tpk-filter-panel .tpk-listing-select.is-static .tpk-listing-select__option { min-height: 48px; padding: 8px 14px; border-radius: 10px; font-size: 15.5px; }
  html.tpk-m-enhanced .tpk-filter-panel .tpk-listing-select.is-static .tpk-listing-select__option + .tpk-listing-select__option { margin-top: 2px; }
  html.tpk-m-enhanced .tpk-filter-panel .tpk-listing-select.is-static .tpk-listing-select__option.is-selected { background: rgba(0,155,116,.08); }
}
.tpk-listing-page--project .tpk-listing-hero { margin-bottom: 32px; }
.tpk-listing-grid--projects { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tpk-project-card { min-width: 0; }
.tpk-project-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--tpk-listing-radius); background: #f0f2f1; }
.tpk-project-card__image { display: block; width: 100%; height: 100%; object-fit: cover; }

.tpk-project-card__body { padding: 17px 2px 0; }

.tpk-project-card__type { display: inline-flex; align-items: center; margin: 0 0 10px; color: var(--tpk-listing-muted); font-size: 12px; }
.tpk-project-card__title { margin: 0; font-size: clamp(21px,1.65vw,28px); font-weight: 500; line-height: 1.18; letter-spacing: -.037em; }

.tpk-project-card__meta { margin: 10px 0 0; color: var(--tpk-listing-muted); font-size: 12px; }
@media(max-width:1024px){.tpk-listing-grid--projects{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.tpk-listing-grid--projects{grid-template-columns:1fr}.tpk-project-card__media{aspect-ratio:4/3}}
