.grace{position:fixed;right:18px;bottom:78px;z-index:25;font:16px/1.45 Arial,sans-serif;color:#172734}
.grace button,.grace-book{font:inherit;font-weight:700;cursor:pointer;border-radius:8px;padding:10px 14px;border:1px solid #a8b5bf;background:#fff;color:#172734}
.grace button:focus-visible,.grace a:focus-visible,.grace input:focus-visible{outline:3px solid #517eb2;outline-offset:2px}
.grace .grace-launch,.grace .grace-book{background:#101d2a;color:#fff;border-color:#101d2a}
.grace .grace-launch{display:flex;align-items:center;gap:9px;padding:4px 13px 4px 5px;border-radius:999px}
.grace-portrait{display:block;width:40px;height:40px;flex:0 0 40px;border:1px solid #ffffff85;border-radius:50%;background:#dbc9b6;object-fit:cover}
.grace-identity{display:flex;align-items:center;gap:10px}
.grace section{position:absolute;right:0;bottom:58px;width:min(390px,calc(100vw - 36px));max-height:calc(100dvh - 150px);overflow:auto;background:#fff;border:1px solid #a8b5bf;border-radius:14px;box-shadow:0 10px 35px #101d2a36}
.grace header{display:flex;align-items:center;justify-content:space-between;background:#101d2a;color:#fff;padding:11px 16px}
.grace header h2{margin:0;font-size:22px}.grace header small{font-size:14px;font-weight:400}
.grace header button{padding:0 12px;font-size:23px}
.grace-content{display:grid;gap:14px;padding:16px}.grace-content p{margin:0}
.grace-choices{display:flex;flex-wrap:wrap;gap:8px}.grace form{display:grid;gap:7px}
.grace input{font:inherit;width:100%;padding:9px;border:1px solid #8796a2;border-radius:7px}
.grace form p{font-size:14px;color:#465864}.grace form button{justify-self:start}
.grace-book{text-align:center;text-decoration:none}
.grace-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px){.grace{bottom:calc(80px + env(safe-area-inset-bottom,0px))}.grace section{max-height:calc(100dvh - 154px - env(safe-area-inset-bottom,0px))}}
.grace-transcript{max-height:260px;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:12px}
.grace-bubble{padding:12px;border-radius:10px;background:#f1f4f7;overflow-wrap:anywhere}
.grace-bubble strong{display:block;font-size:13px;margin-bottom:4px}.grace-bubble span{white-space:pre-wrap}
.grace-user{background:#e5edf5;margin-left:24px!important}
.grace textarea{font:inherit;resize:vertical;min-height:68px;max-height:150px;width:100%;padding:10px;border:1px solid #657787;border-radius:8px}
.grace textarea:focus-visible{outline:3px solid #517eb2;outline-offset:2px}
.grace-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.grace-read{font-size:13px;display:flex;gap:5px;align-items:center}.grace-read input{width:auto}
.grace-status{font-size:14px}.grace button:disabled{opacity:.6;cursor:wait}
.grace section[hidden],.grace [hidden]{display:none!important}
