.recent-history{position:relative;flex:none;align-self:center;line-height:normal;z-index:50}
.recent-history button{box-sizing:border-box;cursor:pointer;touch-action:manipulation;font-family:inherit;letter-spacing:normal;border:0;box-shadow:none;flex-shrink:0}
.recent-history-trigger,.recent-history-close,.recent-history-remove{display:flex!important;align-items:center;justify-content:center;min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important;padding:0!important;border-radius:9999px!important;background:transparent;color:inherit}
.recent-history-trigger{color:var(--recent-history-ink,#52525b);background:rgba(120,120,128,.08)!important}
.recent-history-trigger[aria-expanded="true"]{background:#111!important;color:#fff}
.recent-history button:focus-visible{outline:2px solid #005bf4;outline-offset:2px}
.recent-history-panel{position:absolute!important;right:0;top:calc(100% + 6px);width:min(304px,calc(100vw - 32px));padding:4px!important;margin:0!important;border:1px solid rgba(0,0,0,.09);border-radius:20px;background:#fff!important;color:#171717;box-shadow:0 10px 32px rgba(0,0,0,.18),0 2px 6px rgba(0,0,0,.07);overflow:auto;max-height:240px;overscroll-behavior:contain;animation:recent-history-enter .18s ease-out;transform-origin:top right}
.recent-history-header{display:flex!important;align-items:center;gap:0!important;min-height:44px!important;padding:0 0 0 12px!important;margin:0!important}
.recent-history-header h2{font-size:15px!important;line-height:20px!important;font-weight:600!important;flex:1;white-space:nowrap;margin:0!important;padding:0!important}
.recent-history-clear{height:44px!important;min-height:44px!important;padding:0 8px!important;font-size:14px!important;line-height:20px!important;color:#005bf4;background:transparent;border-radius:9999px!important}
.recent-history-row{display:flex!important;align-items:center;gap:0!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border-radius:12px}
.recent-history-row:hover{background:#f5f5f5}
.recent-history-term{display:flex!important;align-items:center;gap:10px!important;flex:1;min-width:0;height:44px!important;min-height:44px!important;padding:0 12px!important;background:transparent;color:inherit;font-size:16px!important;line-height:22px!important;text-align:left;border-radius:12px!important}
.recent-history-term svg{flex:none;color:#71717a}
.recent-history-term span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.recent-history-remove,.recent-history-close{color:#71717a}
.recent-history-empty{margin:0!important;padding:12px!important;font-size:14px!important;line-height:20px!important;color:#71717a}
.search-results-heading:has(.recent-history){align-items:center!important;min-height:44px;padding-bottom:4px!important}
@keyframes recent-history-enter{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.recent-history-panel{animation:none}}
