/* C20 · पूछें list. The availability marker is the green dot from p1. */
.tchip.pq-filter-trigger > span { gap: var(--s1); border-color: var(--gold-deep); }
.pq-filter-trigger svg, .pq-heart svg, .pq-empty-favorites svg, .pq-list-page .lgp-toast svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.pq-filter-trigger b {
  display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 var(--s1);
  border-radius: var(--r-pill); color: var(--cream); background: var(--maroon);
}
.pq-filter-trigger b[hidden], .pq-recent[hidden], .pq-recent-row[hidden] { display: none; }

.pq-recent {
  margin-top: var(--s2); padding: var(--s2); border-color: var(--gold-deep);
}
.pq-recent h2 {
  padding-inline: var(--s1); font-size: 16px; font-weight: 800; line-height: 1.5; color: var(--maroon-deep);
}
.pq-recent-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.pq-recent-row + .pq-recent-row { margin-top: var(--s2); }
.pq-recent-link {
  display: flex; flex: 0 1 auto; align-items: center; gap: var(--s2); min-width: 0; min-height: 48px;
  text-align: start; border-radius: var(--r-sm); color: var(--maroon-deep);
}
.pq-recent-link b, .pq-recent-link span span { display: block; line-height: 1.45; }
.pq-recent-link b { font-size: 16px; }
.pq-recent-link span span { font-size: 14px; color: var(--ink); white-space: nowrap; }
.pq-recent-link .pq-photo { width: 48px; }
.pq-recent-more {
  min-width: 48px; min-height: 48px; border: 1px solid var(--gold-deep); border-radius: var(--r-pill);
  color: var(--maroon); font-weight: 800;
}
@media (max-width: 360px) {
  .pq-recent-link, .pq-recent-row { gap: var(--s1); }
  .pq-recent-link .pq-photo { width: 40px; }
  .pq-recent-link b { font-size: 14px; }
}

.pq-persona {
  position: relative; display: grid; align-items: center; gap: 0 var(--s2);
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "ph who rate" "ph who act";
  padding: var(--s1) var(--s2); border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--card); box-shadow: var(--shadow-card);
  transition: transform .15s var(--spring);
}
.pq-persona:has(.go-p:active) { transform: scale(.97); }
.pq-photo {
  grid-area: ph; position: relative; display: block; flex: none; width: 56px; aspect-ratio: 1;
}
.pq-photo img {
  width: 100%; height: 100%; padding: 2px; border: 2px solid var(--gold-deep); border-radius: 50%;
  background: var(--card); object-fit: cover; object-position: 50% 30%;
}
.pq-dot {
  position: absolute; right: 0; bottom: 0; width: 13px; height: 13px; border: 2px solid var(--card);
  border-radius: 50%; background: var(--gold-deep);
}
.pq-online .pq-dot { background: forestgreen; }
.pq-offline .pq-dot { background: var(--muted); }
.pq-offline img { opacity: .6; }

.pq-persona .who { grid-area: who; min-width: 0; }
.pq-persona .who h2 { font-size: 18px; line-height: 1.4; font-weight: 800; color: var(--maroon-deep); }
.pq-persona .go-p::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.pq-persona .go-p:focus-visible { outline: none; }
.pq-persona .go-p:focus-visible::after { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.pq-persona .who p { font-size: 14px; line-height: 1.5; color: var(--ink); }
.pq-persona .who .pq-availability { color: var(--maroon); font-weight: 700; }
.pq-persona .who .pq-language { color: var(--muted); }
.pq-persona .rate {
  grid-area: rate; align-self: end; display: flex; align-items: center; justify-content: flex-end;
  color: var(--maroon-deep);
}
.pq-persona .pr {
  font-size: 16px; line-height: 1.5; font-weight: 800; white-space: nowrap;
}
.pq-heart {
  position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 48px; height: 48px;
  border-radius: var(--r-pill); color: var(--maroon);
}
.pq-heart[aria-pressed="true"] svg { fill: currentColor; }
.pq-empty-favorites svg {
  display: block; margin: 0 auto var(--s2); width: 36px; height: 36px; color: var(--gold-deep);
}
.pq-persona .act {
  grid-area: act; position: relative; z-index: 1; display: flex; justify-content: flex-end; align-self: start; gap: var(--s1);
  min-height: 42px; align-items: center;
}
.pq-persona .act button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  height: 36px; padding: 0 var(--s2); border-radius: var(--r-pill); border: 1px solid var(--maroon);
  font-size: 14px; font-weight: 800; line-height: 1.4; white-space: nowrap; transition: transform .15s var(--spring);
}
.pq-persona .act button::before { content: ""; position: absolute; inset: -6px 0; }
.pq-persona .act button:active { transform: scale(.97); }
.pq-persona .act button:disabled { opacity: .5; cursor: default; }
.pq-persona .act svg {
  width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.pq-persona .b-chat { background: linear-gradient(var(--accent), var(--maroon)); color: var(--cream); }
.pq-persona .b-call { background: var(--card); color: var(--maroon); }
@container (max-width: 349px) {
  .pq-persona .pq-photo { width: 48px; }
  .pq-persona .who h2 { font-size: 17px; }
}
@container (max-width: 310px) {
  .pq-persona .act button { padding-inline: var(--s1); }
  .pq-persona .pr { font-size: 14px; }
}
@media (hover: hover) {
  .pq-persona:has(.go-p:hover), .pq-recent-link:hover { border-color: var(--gold-deep); }
  .pq-persona .go-p:hover, .pq-recent-link:hover b { color: var(--accent); }
  .pq-heart:hover, .pq-recent-more:hover { background: var(--gold-soft); }
}

.pq-filter-sheet {
  padding: var(--s2) var(--s4) 0; border: 1px solid var(--gold-deep); border-bottom: 0;
}
.pq-filter-sheet:not(.open) { pointer-events: none; }
.pq-filter-sheet .grab {
  display: block; margin: var(--s1) auto var(--s2); background: var(--gold-deep);
}
.pq-filter-sheet .grab::before { inset: -22px -6px; }
.pq-filter-sheet .t-h2 { margin-bottom: var(--s1); text-align: center; font-size: 24px; }
.pq-filter-group { border: 0; min-inline-size: 0; }
.pq-filter-group legend { width: 100%; color: var(--maroon-deep); font-size: 16px; font-weight: 800; line-height: 1.4; }
.pq-filter-group legend span { display: flex; align-items: center; gap: var(--s2); }
.pq-filter-group legend span::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.pq-filter-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.pq-filter-option {
  position: relative; display: flex; align-items: center; min-height: 48px; font-size: 14px;
  cursor: pointer;
}
.pq-filter-option input {
  position: absolute; width: 1px; height: 1px; opacity: 0;
}
.pq-filter-option input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.pq-filter-option span {
  display: flex; align-items: center; justify-content: center; min-height: 32px; width: 100%;
  padding: 0 var(--s1); border: 1px solid var(--gold-deep); border-radius: var(--r-pill);
  color: var(--maroon-deep); font-weight: 700;
}
.pq-filter-option input:checked + span { border-color: var(--maroon); background: var(--maroon); color: var(--cream); }
.pq-filter-order .pq-filter-options { grid-template-columns: 1fr; gap: 0; }
.pq-filter-order .pq-filter-option span {
  border: 0; padding: 0; justify-content: flex-start; gap: var(--s3); font-size: 16px;
  color: var(--ink); font-weight: 500; background: transparent;
}
.pq-filter-order .pq-filter-option span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--maroon);
  box-sizing: border-box;
}
.pq-filter-order .pq-filter-option input:checked + span { background: transparent; color: var(--ink); }
.pq-filter-order input:checked + span::before { background: var(--maroon); box-shadow: inset 0 0 0 3px var(--cream); }
.pq-filter-footer {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  min-height: 64px; padding-block: var(--s2); border-top: 1px solid var(--gold-deep); background: var(--cream);
}
.pq-filter-reset { min-height: 48px; padding-inline: var(--s1); font-weight: 800; color: var(--maroon); }
.pq-filter-reset:disabled { opacity: .6; cursor: default; }
.pq-filter-apply { min-height: 48px; min-width: 42%; border-radius: var(--r-pill); }
@media (max-width: 1023px) {
  .pq-filter-sheet {
    bottom: calc(var(--tabbar-b-space, var(--tabbar-h)) + var(--s2));
    max-height: calc(100dvh - env(safe-area-inset-top) - var(--tabbar-b-space, var(--tabbar-h)) - var(--s5));
  }
  .pq-filter-sheet:not(.open) { transform: translate(-50%, calc(100% + var(--tabbar-b-space, var(--tabbar-h)) + var(--s2))); }
}
@media (min-width: 1024px) {
  .pq-filter-sheet.sheet .grab { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .pq-persona:has(.go-p:active), .pq-persona .act button:active, .pq-recent .press:active,
  .pq-heart:active, .pq-filter-sheet .press:active, .pq-filter-apply:active { transform: none; }
}

/* owner 2 Dec 2026: the पूछें button looks the same on every page (shared tabbar-b.css), no page override. */
.pq-list-page .lgp-toast svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.pq-filter-trigger b {
  display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 var(--s1);
  border-radius: var(--r-pill); color: var(--cream); background: var(--maroon);
}
.pq-filter-trigger b[hidden], .pq-recent[hidden], .pq-recent-row[hidden] { display: none; }

.pq-recent {
  margin-top: var(--s2); padding: var(--s2); border-color: var(--gold-deep);
}
.pq-recent h2 {
  padding-inline: var(--s1); font-size: 16px; font-weight: 800; line-height: 1.5; color: var(--maroon-deep);
}
.pq-recent-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.pq-recent-row + .pq-recent-row { margin-top: var(--s2); }
.pq-recent-link {
  display: flex; flex: 0 1 auto; align-items: center; gap: var(--s2); min-width: 0; min-height: 48px;
  text-align: start; border-radius: var(--r-sm); color: var(--maroon-deep);
}
.pq-recent-link b, .pq-recent-link span span { display: block; line-height: 1.45; }
.pq-recent-link b { font-size: 16px; }
.pq-recent-link span span { font-size: 14px; color: var(--ink); white-space: nowrap; }
.pq-recent-link .pq-photo { width: 48px; }
.pq-recent-more {
  min-width: 48px; min-height: 48px; border: 1px solid var(--gold-deep); border-radius: var(--r-pill);
  color: var(--maroon); font-weight: 800;
}
@media (max-width: 360px) {
  .pq-recent-link, .pq-recent-row { gap: var(--s1); }
  .pq-recent-link .pq-photo { width: 40px; }
  .pq-recent-link b { font-size: 14px; }
}

.pq-persona {
  position: relative; display: grid; align-items: center; gap: 0 var(--s2);
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "ph who rate" "ph who act";
  padding: var(--s1) var(--s2); border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--card); box-shadow: var(--shadow-card);
  transition: transform .15s var(--spring);
}
.pq-persona:has(.go-p:active) { transform: scale(.97); }
.pq-photo {
  grid-area: ph; position: relative; display: block; flex: none; width: 56px; aspect-ratio: 1;
}
.pq-photo img {
  width: 100%; height: 100%; padding: 2px; border: 2px solid var(--gold-deep); border-radius: 50%;
  background: var(--card); object-fit: cover; object-position: 50% 30%;
}
.pq-dot {
  position: absolute; right: 0; bottom: 0; width: 13px; height: 13px; border: 2px solid var(--card);
  border-radius: 50%; background: var(--gold-deep);
}
.pq-online .pq-dot { background: forestgreen; }
.pq-offline .pq-dot { background: var(--muted); }
.pq-offline img { opacity: .6; }

.pq-persona .who { grid-area: who; min-width: 0; }
.pq-persona .who h2 { font-size: 18px; line-height: 1.4; font-weight: 800; color: var(--maroon-deep); }
.pq-persona .go-p::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.pq-persona .go-p:focus-visible { outline: none; }
.pq-persona .go-p:focus-visible::after { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.pq-persona .who p { font-size: 14px; line-height: 1.5; color: var(--ink); }
.pq-persona .who .pq-availability { color: var(--maroon); font-weight: 700; }
.pq-persona .who .pq-language { color: var(--muted); }
.pq-persona .rate {
  grid-area: rate; align-self: end; display: flex; align-items: center; justify-content: flex-end;
  color: var(--maroon-deep);
}
.pq-persona .pr {
  font-size: 16px; line-height: 1.5; font-weight: 800; white-space: nowrap;
}
.pq-heart {
  position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 48px; height: 48px;
  border-radius: var(--r-pill); color: var(--maroon);
}
.pq-heart[aria-pressed="true"] svg { fill: currentColor; }
.pq-empty-favorites svg {
  display: block; margin: 0 auto var(--s2); width: 36px; height: 36px; color: var(--gold-deep);
}
.pq-persona .act {
  grid-area: act; position: relative; z-index: 1; display: flex; justify-content: flex-end; align-self: start; gap: var(--s1);
  min-height: 42px; align-items: center;
}
.pq-persona .act button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  height: 36px; padding: 0 var(--s2); border-radius: var(--r-pill); border: 1px solid var(--maroon);
  font-size: 14px; font-weight: 800; line-height: 1.4; white-space: nowrap; transition: transform .15s var(--spring);
}
.pq-persona .act button::before { content: ""; position: absolute; inset: -6px 0; }
.pq-persona .act button:active { transform: scale(.97); }
.pq-persona .act button:disabled { opacity: .5; cursor: default; }
.pq-persona .act svg {
  width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.pq-persona .b-chat { background: linear-gradient(var(--accent), var(--maroon)); color: var(--cream); }
.pq-persona .b-call { background: var(--card); color: var(--maroon); }
@container (max-width: 349px) {
  .pq-persona .pq-photo { width: 48px; }
  .pq-persona .who h2 { font-size: 17px; }
}
@container (max-width: 310px) {
  .pq-persona .act button { padding-inline: var(--s1); }
  .pq-persona .pr { font-size: 14px; }
}
@media (hover: hover) {
  .pq-persona:has(.go-p:hover), .pq-recent-link:hover { border-color: var(--gold-deep); }
  .pq-persona .go-p:hover, .pq-recent-link:hover b { color: var(--accent); }
  .pq-heart:hover, .pq-recent-more:hover { background: var(--gold-soft); }
}

.pq-filter-sheet {
  padding: var(--s2) var(--s4) 0; border: 1px solid var(--gold-deep); border-bottom: 0;
}
.pq-filter-sheet:not(.open) { pointer-events: none; }
.pq-filter-sheet .grab {
  display: block; margin: var(--s1) auto var(--s2); background: var(--gold-deep);
}
.pq-filter-sheet .grab::before { inset: -22px -6px; }
.pq-filter-sheet .t-h2 { margin-bottom: var(--s1); text-align: center; font-size: 24px; }
.pq-filter-group { border: 0; min-inline-size: 0; }
.pq-filter-group legend { width: 100%; color: var(--maroon-deep); font-size: 16px; font-weight: 800; line-height: 1.4; }
.pq-filter-group legend span { display: flex; align-items: center; gap: var(--s2); }
.pq-filter-group legend span::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.pq-filter-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.pq-filter-option {
  position: relative; display: flex; align-items: center; min-height: 48px; font-size: 14px;
  cursor: pointer;
}
.pq-filter-option input {
  position: absolute; width: 1px; height: 1px; opacity: 0;
}
.pq-filter-option input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.pq-filter-option span {
  display: flex; align-items: center; justify-content: center; min-height: 32px; width: 100%;
  padding: 0 var(--s1); border: 1px solid var(--gold-deep); border-radius: var(--r-pill);
  color: var(--maroon-deep); font-weight: 700;
}
.pq-filter-option input:checked + span { border-color: var(--maroon); background: var(--maroon); color: var(--cream); }
.pq-filter-order .pq-filter-options { grid-template-columns: 1fr; gap: 0; }
.pq-filter-order .pq-filter-option span {
  border: 0; padding: 0; justify-content: flex-start; gap: var(--s3); font-size: 16px;
  color: var(--ink); font-weight: 500; background: transparent;
}
.pq-filter-order .pq-filter-option span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--maroon);
  box-sizing: border-box;
}
.pq-filter-order .pq-filter-option input:checked + span { background: transparent; color: var(--ink); }
.pq-filter-order input:checked + span::before { background: var(--maroon); box-shadow: inset 0 0 0 3px var(--cream); }
.pq-filter-footer {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  min-height: 64px; padding-block: var(--s2); border-top: 1px solid var(--gold-deep); background: var(--cream);
}
.pq-filter-reset { min-height: 48px; padding-inline: var(--s1); font-weight: 800; color: var(--maroon); }
.pq-filter-reset:disabled { opacity: .6; cursor: default; }
.pq-filter-apply { min-height: 48px; min-width: 42%; border-radius: var(--r-pill); }
@media (max-width: 1023px) {
  .pq-filter-sheet {
    bottom: calc(var(--tabbar-b-space, var(--tabbar-h)) + var(--s2));
    max-height: calc(100dvh - env(safe-area-inset-top) - var(--tabbar-b-space, var(--tabbar-h)) - var(--s5));
  }
  .pq-filter-sheet:not(.open) { transform: translate(-50%, calc(100% + var(--tabbar-b-space, var(--tabbar-h)) + var(--s2))); }
}
@media (min-width: 1024px) {
  .pq-filter-sheet.sheet .grab { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .pq-persona:has(.go-p:active), .pq-persona .act button:active, .pq-recent .press:active,
  .pq-heart:active, .pq-filter-sheet .press:active, .pq-filter-apply:active { transform: none; }
}



.pq-list-page .lgp-toast { width: max-content; }
.pq-list-page .lgp-toast svg {
  margin-inline-end: var(--s2); vertical-align: middle; fill: currentColor; color: var(--maroon);
}

/* owner 2 Dec 2026: the people in "फिर से बात करें" each sit in their own small card, a clear gap between them,
   one row that scrolls sideways when there are more */
.pq-recent-row { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; gap: 10px; padding: 2px 2px 4px; }
.pq-recent-row::-webkit-scrollbar { display: none; }
.pq-recent-link { flex: 0 0 auto; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: linear-gradient(180deg, #fffdf8, var(--card)); box-shadow: 0 6px 14px -12px rgba(74,11,28,.5); scroll-snap-align: start; }

/* owner 2 Dec 2026: bigger chat and call buttons on every expert card */
.pq-persona .act { gap: var(--s2); min-height: 48px; }
.pq-persona .act button { height: 44px; min-width: 84px; padding: 0 var(--s3); font-size: 16px; gap: 6px; }
.pq-persona .act svg { width: 18px; height: 18px; }
@container (max-width: 349px) { .pq-persona .act button { min-width: 74px; padding: 0 var(--s2); font-size: 15px; } }
