/* p122: the question card (patron-questions.js): one question at a time, typed answer, suggestion chips, review, send.
   Sits inside the robot's coloured bubble like the <ask> and socials cards: white on a dark veil, in both themes. */
.pq{width:min(100%,500px);margin:8px 0 2px;padding:14px 14px 12px;border-radius:16px;background:rgba(0,0,0,.24);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);color:#fff;text-shadow:none;animation:pq-in .26s cubic-bezier(.2,.8,.2,1) both}
.pq.step .pq-body{animation:pq-step .2s ease-out both}
@keyframes pq-in{from{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}
@keyframes pq-step{from{opacity:0;transform:translateX(8px)}to{opacity:1;transform:none}}

.pq-head{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.pq-count{flex:none;font-size:12px;font-weight:650;letter-spacing:.02em;opacity:.78;font-variant-numeric:tabular-nums}
.pq-bar{display:flex;flex:1;gap:4px;min-width:0}
.pq-seg{flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.22)}
.pq-seg.done{background:rgba(255,255,255,.85)}
.pq-seg.skip{background:rgba(255,255,255,.4)}
.pq-seg.now{background:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.35)}

.pq-q{font-size:16.5px;font-weight:680;line-height:22px;letter-spacing:-.005em}
.pq-hint{margin-top:4px;font-size:13.5px;line-height:19px;opacity:.78}
.pq-in{display:block;box-sizing:border-box;width:100%;min-height:44px;max-height:150px;margin-top:11px;padding:11px 13px;border:0;border-radius:11px;resize:none;overflow-y:auto;
  background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);color:#fff;font:inherit;font-size:15px;line-height:21px}
.pq-in::placeholder{color:inherit;opacity:.55}
.pq-in:focus{outline:none;box-shadow:inset 0 0 0 2px rgba(255,255,255,.8);background:rgba(255,255,255,.16)}
.pq-in:disabled{opacity:.5}
@media (max-width:640px){.pq-in{font-size:16px}}          /* no zoom-in on phones */

.pq-sug{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}
.pq-suglab{width:100%;margin-bottom:1px;font-size:11.5px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;opacity:.62}
.pq-chip{min-height:32px;padding:6px 12px;border:0;border-radius:999px;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3);
  color:#fff;font:inherit;font-size:13.5px;font-weight:600;line-height:20px;text-align:left;cursor:pointer;font-variant-numeric:tabular-nums}
.pq-chip.best{background:rgba(255,255,255,.2);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.65)}
.pq-chip:not(:disabled):hover{background:rgba(255,255,255,.26)}
.pq-chip.on{background:#fff;box-shadow:none;color:var(--k-lip,#1f5fad)}
.pq-chip:disabled{cursor:default;opacity:.5}

.pq-foot{display:flex;align-items:center;gap:6px;margin-top:14px}
.pq-gap{flex:1}
.pq-go{height:36px;padding:0 18px;border:0;border-radius:999px;background:#fff;color:var(--k-lip,#1f5fad);font:inherit;font-size:14px;font-weight:680;cursor:pointer}
.pq-ghost{height:36px;padding:0 10px;border:0;border-radius:999px;background:none;color:inherit;font:inherit;font-size:14px;font-weight:560;opacity:.82;cursor:pointer}
.pq-ghost:not(:disabled):hover{opacity:1;background:rgba(255,255,255,.12)}
.pq :is(button,textarea):disabled{cursor:default}
.pq-go:disabled{opacity:.45}
.pq :is(button,textarea):focus-visible{outline:2px solid #fff;outline-offset:2px}

.pq-review{display:flex;flex-direction:column;gap:2px}
.pq-rrow{display:block;width:100%;padding:8px 10px;border:0;border-radius:9px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.pq-rin{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);gap:12px;align-items:baseline;width:100%}
.pq-rrow:not(:disabled):not(.done):hover{background:rgba(255,255,255,.1)}
.pq-rrow.done,.pq-rrow:disabled{cursor:default}
.pq-rq{font-size:12.5px;font-weight:600;line-height:18px;opacity:.7}
.pq-ra{font-size:14px;font-weight:560;line-height:20px;overflow-wrap:anywhere}
.pq-rrow.pq-empty .pq-ra{opacity:.55;font-style:italic;font-weight:500}
.pq:not([data-open="1"]) .pq-head{margin-bottom:6px}
@media (max-width:420px){.pq-rin{grid-template-columns:1fr;gap:1px}}
@media (prefers-reduced-motion:reduce){.pq,.pq.step .pq-body{animation:none}}
