/* hs1: "For you" cards learned from the person's own chats (PRSXA and Pearl AI). Prefix hs1-. Built on the pwl-card look. */
.pwl-card.hs1-card{position:relative;padding:0;cursor:default;animation:hs1-in .22s ease-out both}
.pwl-card.hs1-card.is-going{opacity:0;transform:scale(.97);transition:opacity .15s,transform .15s}
.pwl-card.hs1-over{display:none!important}
.hs1-go{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;min-height:74px;flex:1 1 auto;padding:11px 34px 12px 14px;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.hs1-go:focus-visible{outline:2px solid var(--accent,#3161E8);outline-offset:2px}
.hs1-go b{font-size:14px;font-weight:700;line-height:1.3}
.hs1-go small{font-size:12.5px;line-height:1.4;color:var(--app-text-dim,#64748b);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hs1-tag{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;line-height:1.2;color:var(--accent,#3161E8)}
.hs1-tag svg{flex:0 0 auto}
.hs1-x{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--app-text-dim,#64748b);cursor:pointer;opacity:0;transition:opacity .15s,background .15s}
.hs1-card:hover .hs1-x,.hs1-card:focus-within .hs1-x{opacity:1}
.hs1-x:hover{background:var(--accent-soft,rgba(49,97,232,.08));color:var(--app-text,#0f172a)}
.hs1-x:focus-visible{opacity:1;outline:2px solid var(--accent,#3161E8);outline-offset:1px}
.hs1-x:disabled{cursor:default;opacity:.4}
.hs1-err{margin:0 14px 10px;font-size:12px;line-height:1.35;color:#dc2626}
.hs1-src{display:inline-flex;align-items:center;gap:5px;margin-right:auto;margin-left:10px;padding:3px 7px;border:0;border-radius:8px;background:transparent;color:var(--app-text-dim,#64748b);font:inherit;font-size:12px;font-weight:600;text-transform:none;letter-spacing:0;cursor:pointer}
.hs1-src:hover,.hs1-src[aria-expanded="true"]{background:var(--accent-soft,rgba(49,97,232,.08));color:var(--app-text,#0f172a)}
.hs1-src:focus-visible{outline:2px solid var(--accent,#3161E8);outline-offset:1px}
.hs1-pop{margin:0 2px 10px;padding:12px 14px;border:1px solid var(--app-border,#e5e7eb);border-radius:12px;background:var(--app-bg,#fff);color:var(--app-text,#0f172a);font-size:13px;line-height:1.5;text-align:left;box-shadow:0 6px 20px rgba(0,0,0,.06)}
.hs1-pop p,#empty-state .hs1-pop p{margin:0 0 6px;max-width:none;font-size:13px;line-height:1.5;text-align:left}
.hs1-pa{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}
.hs1-lnk{font-weight:600;color:var(--accent,#3161E8);text-decoration:none;padding:5px 8px;border-radius:8px}
.hs1-lnk:hover{background:var(--accent-soft,rgba(49,97,232,.08))}
.hs1-btn{padding:6px 12px;border:1px solid var(--app-border,#e5e7eb);border-radius:9px;background:var(--app-bg,#fff);color:var(--app-text,#0f172a);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.hs1-btn:hover{border-color:var(--accent,#3161E8)}
.hs1-btn:disabled{opacity:.6;cursor:default}
.hs1-perr{margin-top:6px;font-size:12px;color:#dc2626}
@keyframes hs1-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (hover:none){.hs1-x{opacity:1;width:34px;height:34px;top:4px;right:4px}.hs1-go{padding-right:40px}}
@media (max-width:520px){.hs1-src span{display:none}.hs1-src{padding:6px;min-width:34px;min-height:34px;justify-content:center}}
@media (prefers-reduced-motion:reduce){.pwl-card.hs1-card{animation:none}.pwl-card.hs1-card.is-going,.hs1-x{transition:none}}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hs1-err,:root:not([data-theme="light"]) .hs1-perr{color:#f87171}}
:root[data-theme="dark"] .hs1-err,:root[data-theme="dark"] .hs1-perr{color:#f87171}
