.chat-window{display:flex;align-items:center;justify-content:space-between;gap:8px;touch-action:pan-y;-webkit-touch-callout:none;user-select:none}
.chat-window>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.window-pin{opacity:.65;flex:none}.window-menu-title{overflow-wrap:anywhere}
.chat-search-controls{padding:calc(62px + env(safe-area-inset-top)) 16px 8px}.chat-search-scope{display:flex;gap:12px;margin-top:12px}.chat-search-scope button{font:inherit;color:inherit;background:transparent;border-radius:20px;padding:7px 12px;border:1px solid transparent}.chat-search-scope button[aria-pressed=true]{border-color:currentColor}
.search-result{display:block;width:100%;text-align:left;padding:15px;border-radius:20px;margin-bottom:12px;color:inherit}.search-result small{opacity:.7}.search-result p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:8px 0 0}.search-result mark{background:rgb(var(--theme)/.25);color:inherit;border-radius:3px}
.chat-search-target,.chat-search-target .bubble{outline:2px solid var(--accent-readable);outline-offset:3px}
/* The page itself scrolls behind two zero-height sticky controls. */
#fullPage.full-page{display:block;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
#fullPage.full-page[hidden]{display:none}
#fullPage .page-header{position:sticky;top:0;height:0;min-height:0;padding:0;margin:0;z-index:8;background:none!important;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none}
#fullPage .page-header>h1{display:none}
#fullPage .page-header>button{position:absolute;top:calc(12px + env(safe-area-inset-top));pointer-events:auto;width:var(--chat-control-size,32px);height:var(--chat-control-size,32px);padding:0}
#fullPage .page-header>button:first-child{left:14px}#fullPage .page-header>button:last-child{right:14px}
#fullPage .page-scroll{overflow:visible;flex:none}
#fullPage>.page-header+*{margin-top:0;padding-top:calc(58px + env(safe-area-inset-top))}
