.hero:has(.search-history[open]){z-index:6}
.hero .search-history summary{background:transparent!important;border:0;border-bottom:1px solid #ffffff36;border-radius:0!important;color:#e2eae8!important;padding:6px 2px!important;font-size:12px!important;font-weight:400!important;gap:7px;backdrop-filter:none;transition:color .2s,border-color .2s}
.hero .search-history summary:after{content:"⌄";font-size:14px;margin-left:5px;transition:transform .2s}
.hero .search-history[open] summary:after{transform:rotate(180deg)}
.hero .search-history summary:hover{color:white!important;border-bottom-color:#a1d0bd}
.hero .search-history summary svg{width:14px!important;height:14px!important;opacity:.8}
.search-history .history-popover{top:calc(100% + 12px)!important;width:320px!important;max-width:calc(100vw - 40px);padding:20px!important;background:#fff;border:1px solid #dce7e3;border-radius:14px;box-shadow:0 18px 60px #081e3240;text-align:left;z-index:100}
.history-ui-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px;color:#193d3d;font-size:13px;font-weight:600}
.history-ui-heading small{font-size:10px;color:#859591;font-weight:400;letter-spacing:1px}
.search-history .history-popover .history-items{display:flex!important;flex-wrap:wrap;gap:8px!important;max-height:200px;overflow:auto}
.search-history .history-popover .history-items a{display:inline-flex;align-items:center;margin:0!important;padding:7px 11px!important;border:1px solid #e1e9e6!important;border-radius:6px!important;background:#f6f8f7!important;color:#34514c!important;font-size:12px!important;font-weight:400;line-height:1.5;text-decoration:none;box-shadow:none;transition:background .2s}
.search-history .history-popover .history-items a:hover{background:#e8f2ef!important;color:#176e6b!important}
.search-history .history-popover .history-items p{width:100%;margin:0!important;padding:15px 8px 20px!important;text-align:center;font-size:12px!important;line-height:1.8;color:#85938f!important}
.search-history .history-popover-footer{margin-top:10px!important;padding-top:12px!important;border-top:1px solid #edf1ef!important;gap:10px}
.search-history .history-popover-footer small{font-size:10px!important;color:#929e99!important}
.search-history .history-popover-footer button{font-size:11px!important;color:#718680!important;font-weight:400;text-decoration:none}
.search-history .history-popover:has(.history-items p) [data-clear-history]{display:none!important}
@media(max-width:767px){.hero .search-history .history-popover{top:auto!important;bottom:calc(100% + 12px);width:290px!important}}
