#hrsa-root{--hrsa-accent:#995c32;--hrsa-ink:#292d30;--hrsa-paper:#f8f6f2;--hrsa-soft:#f3ebe2;position:fixed;right:22px;bottom:22px;z-index:99990;font-family:inherit;color:var(--hrsa-ink)}
#hrsa-root *{box-sizing:border-box}#hrsa-root [hidden]{display:none!important}
#hrsa-root #hrsa-entry-button{display:flex;align-items:center;border:0;border-radius:30px;background:var(--hrsa-accent);color:#fff;padding:13px 19px;box-shadow:0 7px 25px #0002;font-family:inherit;font-weight:600;font-size:14px;cursor:pointer;transition:transform .2s}
#hrsa-root #hrsa-entry-button:hover{transform:translateY(-2px)}
#hrsa-root #hrsa-entry {
    display:grid;
    grid-template-columns:max-content;
    justify-items:center;
    row-gap:10px;
    padding:0;
    border:0;
    background:transparent!important;
    box-shadow:none!important;
}
#hrsa-root #hrsa-entry[hidden]{display:none!important}
#hrsa-root #hrsa-entry-art {
    display:block;
    width:96px;
    height:96px;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent!important;
    box-shadow:none!important;
    object-fit:contain;
    pointer-events:none;
}
#hrsa-root #hrsa-entry-button:focus-visible{outline:2px solid var(--hrsa-accent);outline-offset:3px}
.hrsa-panel{width:360px;height:min(540px,calc(100vh - 105px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #e6ddd4;border-radius:18px;background:var(--hrsa-paper);box-shadow:0 12px 45px #1c17121f}
.hrsa-header{display:flex;align-items:center;gap:11px;padding:15px 16px;background:#fff;border-bottom:1px solid #eee5dc}.hrsa-avatar{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:var(--hrsa-soft)}.hrsa-avatar img{display:block;width:45px;height:45px;object-fit:contain}.hrsa-heading{display:flex;flex:1;flex-direction:column;gap:2px}.hrsa-heading strong{font-size:14px}.hrsa-heading small{font-size:12px;color:#777}.hrsa-close{border:0;background:transparent;color:#555;font-size:27px;line-height:1;cursor:pointer;padding:2px 6px}
.hrsa-messages{flex:1;overflow:auto;padding:17px 13px;display:flex;flex-direction:column;gap:11px}.hrsa-message{display:flex;width:100%}.hrsa-user{justify-content:flex-end}.hrsa-bubble{max-width:88%;padding:10px 13px;border-radius:14px;background:#fff;border:1px solid #eee6df;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.hrsa-user .hrsa-bubble{background:var(--hrsa-accent);border-color:var(--hrsa-accent);color:#fff;border-bottom-right-radius:4px}.hrsa-assistant .hrsa-bubble{border-bottom-left-radius:4px}.hrsa-typing .hrsa-bubble{color:#777;font-style:italic}
.hrsa-form{display:flex;align-items:flex-end;gap:8px;padding:11px;background:#fff;border-top:1px solid #eee5dc}.hrsa-form textarea{flex:1;min-height:40px;max-height:100px;resize:vertical;border:1px solid #e5ddd5;border-radius:11px;padding:10px 11px;font-family:inherit;font-size:13px;color:var(--hrsa-ink);outline:none}.hrsa-form textarea:focus{border-color:var(--hrsa-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--hrsa-accent) 15%,transparent)}.hrsa-form button{width:40px;height:40px;flex:0 0 40px;border:0;border-radius:11px;background:var(--hrsa-accent);color:#fff;font-size:20px;cursor:pointer}.hrsa-form button:disabled{opacity:.5;cursor:wait}.hrsa-footnote{text-align:center;background:#fff;color:#888;font-size:10px;padding:0 8px 9px}
@media(max-width:520px){#hrsa-root{right:12px;bottom:12px}.hrsa-panel{width:min(360px,calc(100vw - 24px));height:min(570px,calc(100dvh - 90px))}#hrsa-root #hrsa-entry-button{padding:12px 16px}#hrsa-root #hrsa-entry-art{width:80px;height:80px}}

.hrsa-products{display:flex;flex-direction:column;gap:8px;width:94%;margin:0 0 4px 4px}
.hrsa-product{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #e8dfd6;border-radius:12px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 2px 8px #00000008}
.hrsa-product:hover{border-color:var(--hrsa-accent);color:inherit}
.hrsa-product img{width:64px;height:64px;object-fit:cover;border-radius:8px;flex:0 0 64px}
.hrsa-product-details{display:flex;flex-direction:column;gap:3px;min-width:0}
.hrsa-product-details strong{font-size:12px;line-height:1.35}
.hrsa-product-details small{font-size:11px;color:#777}

.hrsa-sources{margin:0 0 8px;padding:0 0 0 20px;font-size:12px;overflow-wrap:anywhere}
.hrsa-sources a{color:var(--hrsa-accent);text-decoration:underline}


@media (prefers-reduced-motion: no-preference) {
    #hrsa-root #hrsa-entry-art{animation:hrsa-laser-float 3.4s ease-in-out infinite}
    .hrsa-panel:not([hidden]) .hrsa-avatar img{animation:hrsa-laser-welcome .7s ease-in-out 2}
}
@keyframes hrsa-laser-welcome {
    50%{transform:translateY(-2px);filter:brightness(1.12)}
}
@keyframes hrsa-laser-float {
    0%, 100%{transform:translateY(0)}
    50%{transform:translateY(-5px)}
}
