/* Shared text and image search, independent of legacy expanding-header styles. */
body #open-search{display:flex}
#header-search-panel[hidden]{display:none!important}
#header-search-panel{position:fixed;z-index:120;width:min(440px,calc(100vw - 24px));padding:16px;box-sizing:border-box;border:1px solid #e0e5dc;border-radius:18px;background:#fff;color:#202620;box-shadow:0 12px 36px #111b1829;max-height:calc(100dvh - 90px);overflow:auto;text-align:left}
.header-search-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.header-search-heading strong{font-size:17px;line-height:1.3}
.header-search-heading button{border:0;border-radius:8px;background:#f3f6ed;color:#202620;width:30px;height:30px;font-size:22px;cursor:pointer}
body #header-search-panel #search-form{display:flex;position:static;width:100%;max-width:none;height:48px;margin:0;border:1px solid #dce3d5;border-radius:11px;background:#f5f7f1;color:#202620;box-shadow:none;gap:4px;padding:4px;box-sizing:border-box}
body #header-search-panel #search{flex:1;width:0;min-width:0;height:100%;padding:7px;border:0;border-radius:0;background:transparent;color:#202620;font-size:14px;outline:none!important;box-shadow:none!important}
body #header-search-panel #search-form .icon-button{display:flex;align-items:center;justify-content:center;flex:0 0 36px;grid-area:auto;width:36px;min-width:36px;height:36px;padding:8px;border:0;border-radius:8px;background:#e5f3bf;color:#202620}
body #header-search-panel #search-form #open-image-search{background:#fff;border:1px solid #dce3d5}
#header-search-panel svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.header-search-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.header-search-tags[hidden]{display:none}
.header-search-tags a{padding:7px 10px;border-radius:20px;background:#f1f4eb;color:#46533e;font-size:12px;line-height:1.2;text-decoration:none!important}
.header-search-tags a:hover{background:#e5f3bf}
@media(max-width:767px){body #header-search-panel #search{font-size:16px}body[data-view=home] #open-search{display:none}}
