.search-history-control{position:relative}
.search-history-control>label{display:block;margin:0;font:inherit}
.search-history{position:absolute;z-index:91;inset-inline-start:0;top:calc(100% + 4px);width:min(100%,300px);box-sizing:border-box;max-height:min(160px,28dvh);overflow-y:auto;overscroll-behavior:contain;padding:4px;border:1px solid #dfc8bd;border-radius:13px;background:#fffdf9;box-shadow:0 5px 16px #421b1619;font-size:12px;color:#51372f}
.search-history[hidden]{display:none!important}
.search-history-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-inline:8px;color:#775e58;font-size:11px}
.search-history-row{display:flex;align-items:center;gap:4px}
.search-history button{min-height:32px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.search-history-query{flex:1;min-width:0;text-align:start;padding:5px 9px;overflow-wrap:anywhere}
.search-history-remove{flex:0 0 32px;padding:4px;font-size:18px!important}
.search-history-clear{flex:none;min-height:28px!important;padding:4px 0;color:var(--red)!important;text-decoration:underline;text-underline-offset:3px}
.search-history button:is(:hover,:focus-visible){background:#f8e9de}
.search-history button:focus-visible{outline:2px solid var(--red);outline-offset:-2px}
