
/* BioSpatial visitor Guide: fixed bottom right, clear of centered ModelGlue footer badge. */
.bs-visitor-guide,.bs-visitor-guide *{box-sizing:border-box}
.bs-visitor-guide{position:fixed;z-index:2147482000;right:max(18px,env(safe-area-inset-right));bottom:max(90px,env(safe-area-inset-bottom));font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#193b2f;font-size:14px;line-height:1.45}
.bs-guide-launcher{border:1px solid #96c06b;border-radius:36px;background:#113f30;color:#f4fff0;cursor:pointer;display:flex;align-items:center;gap:10px;padding:11px 17px;font-size:14px;font-weight:700;box-shadow:0 8px 24px #081d1744;min-height:48px;margin-left:auto}
.bs-guide-launcher:hover,.bs-guide-launcher:focus-visible{background:#1c5840;outline-offset:3px}
.bs-guide-launcher-icon{font-size:22px;color:#cbf28c;line-height:1}
.bs-guide-panel{width:min(370px,calc(100vw - 30px));height:min(520px,calc(100dvh - 125px));min-height:300px;display:flex;flex-direction:column;border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 14px 55px #061e1a55;border:1px solid #c2d7cb;margin-bottom:12px}
.bs-guide-panel[hidden]{display:none!important}
.bs-guide-heading{display:flex;align-items:center;justify-content:space-between;background:#113e31;color:#fff;padding:15px 14px 14px 18px;gap:8px}
.bs-guide-heading strong{font-size:16px;display:block}.bs-guide-heading span{font-size:11px;color:#d3e9dc;display:block;margin-top:3px}
.bs-guide-close{cursor:pointer;background:transparent;border:0;color:#fff;font-size:26px;line-height:1;min-width:36px;min-height:36px}
.bs-guide-messages{overflow-y:auto;overscroll-behavior:contain;flex:1;padding:16px 13px 9px;display:flex;flex-direction:column;gap:10px;background:#f7faf7;min-height:0}
.bs-guide-msg{margin:0!important;font:inherit!important;font-size:13px!important;line-height:1.55!important;max-width:91%;padding:10px 12px;border-radius:13px;white-space:pre-wrap;overflow-wrap:anywhere}
.bs-guide-assistant{background:#e5f0e6;border:1px solid #ceddcd;color:#173b2d;align-self:flex-start}
.bs-guide-user{background:#d7ecc2;color:#173b2c;align-self:flex-end}
.bs-guide-meta{display:block;color:#5b6d60;font-size:10px;margin-top:5px}
.bs-guide-quick{display:flex;flex-wrap:wrap;gap:5px;padding:9px 10px 1px;background:#fff}
.bs-guide-quick button{background:#fff;border:1px solid #b8cdbf;border-radius:16px;color:#315744;padding:6px 8px;cursor:pointer;font-size:11px}
.bs-guide-form{display:flex;gap:7px;padding:9px;background:#fff;margin:0}
.bs-guide-form input{min-width:0;flex:1;border:1px solid #abc6b4;border-radius:9px;background:#fff;color:#173b2c;min-height:42px;padding:10px;font-size:13px;box-shadow:none}
.bs-guide-form button{border:0;border-radius:9px;background:#225c3f;color:#fff;font-weight:700;cursor:pointer;padding:0 13px}
.bs-guide-form button:disabled{opacity:.55;cursor:wait}
.bs-guide-links{display:flex;justify-content:center;gap:21px;padding:0 10px 10px;background:#fff}
.bs-guide-links a{font-size:11px;color:#286348;text-decoration:underline}
.bs-guide-sr{position:absolute!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;width:1px!important;height:1px!important;white-space:nowrap!important}
@media(max-width:480px){.bs-visitor-guide{right:12px;bottom:max(78px,env(safe-area-inset-bottom))}.bs-guide-panel{width:min(370px,calc(100vw - 24px));height:min(505px,calc(100dvh - 95px))}.bs-guide-launcher{padding:10px 13px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.bs-visitor-guide *{scroll-behavior:auto!important}}
