/* Compact search alongside the shelf expansion controls. */
.unified.visualShelves .collectionHeader{flex-wrap:wrap;gap:10px}.shelfActions{width:100%;align-items:center}.storySearch{position:relative;flex:1 1 330px;max-width:520px;min-width:0;z-index:12}.storySearch form{display:flex;align-items:center;gap:10px;margin:0}.storySearch label{font-weight:800;font-size:17px;white-space:nowrap;color:var(--ink,#21473b)}.storySearch input{width:100%;min-width:0;min-height:44px;background:#fffef9;border:1.5px solid #91a99a;border-radius:12px;padding:10px 40px 10px 13px;font:inherit;font-size:14px;color:#203e34}.storySearch input::placeholder{color:#777f79;opacity:1}.storySearch form>button{position:absolute;right:4px;border:0!important;padding:4px!important;background:transparent!important;font-size:25px!important;min-height:36px;min-width:36px;color:#315e4c}.storySearch input:focus{outline:3px solid #c6ddc6;outline-offset:1px}.storySearchPanel{position:absolute;left:42px;right:0;top:calc(100% + 7px);background:#fffef9;border:1px solid #a3b8a7;border-radius:15px;box-shadow:0 12px 32px #183f3529;max-height:min(400px,55vh);overflow:auto;overscroll-behavior:contain;padding:10px}.storySearchPanel[hidden]{display:none!important}.storySearchStatus{margin:4px 4px 10px;font-size:12px;color:#587062}.storySearchResult{display:flex!important;align-items:center;gap:12px;width:100%;padding:9px!important;text-align:left;background:transparent!important;border:0!important;border-radius:9px;min-height:70px}.storySearchResult:hover,.storySearchResult:focus{background:#eaf1e4!important;outline:2px solid #abc4aa}.storySearchResult img{width:46px;height:56px;object-fit:cover;flex-shrink:0;border-radius:5px}.storySearchResult span{min-width:0}.storySearchResult strong{display:block;font-size:14px;line-height:1.5;word-break:keep-all}.storySearchResult small{display:block;font-size:11px;color:#617466;margin-top:4px;line-height:1.5}.storySearchMore{display:block;width:100%;margin-top:8px;min-height:44px;background:#eaf1e4!important}.unified.visualShelves .searchDrawer{display:none}.myShelfTools{flex-wrap:wrap}.myShelfTools .storySearch{flex-basis:100%;max-width:none}.myShelfTools .storySearchPanel{max-height:min(380px,45vh)}@media(max-width:760px){.storySearch{flex-basis:100%;max-width:none}.shelfActions{gap:8px}.storySearchPanel{left:0}.storySearch label{font-size:16px}.storySearch input{font-size:13px}.storySearchResult strong{font-size:13px}}
.storySearchMore[hidden]{display:none!important}
.unified.visualShelves .collectionHeader{flex-wrap:nowrap;align-items:flex-start;gap:18px}.shelfActions{width:auto;flex:0 1 auto;flex-wrap:nowrap;justify-content:flex-end}.shelfActions .storySearch{flex:0 1 260px;width:260px;max-width:260px}.shelfActions>button{white-space:nowrap}.shelfActions .storySearch input{font-size:12px;padding-left:10px}.shelfActions .storySearch form{gap:7px}.shelfActions .storySearchPanel{left:0;width:340px;max-width:calc(100vw - 32px)}@media(max-width:1100px) and (min-width:761px){.unified.visualShelves .collectionHeader h2{font-size:23px}.shelfActions{gap:5px}.shelfActions>button{padding:9px 8px;font-size:11px}.shelfActions .storySearch{width:245px;max-width:245px}}@media(max-width:760px){.unified.visualShelves .collectionHeader{flex-direction:column;gap:10px}.shelfActions{width:100%;flex-wrap:wrap;justify-content:flex-start}.shelfActions .storySearch{flex:0 1 260px;width:260px;max-width:260px}.shelfActions .storySearchPanel{width:340px}.shelfActions>button{font-size:11px}}
.unified.visualShelves .collectionHeader .shelfActions{margin-left:auto;justify-content:flex-end}
.sortTools .storySearch{flex:0 1 260px;width:260px;max-width:260px}.sortTools .storySearch input{font-size:12px}.sortTools .storySearchPanel{left:0;width:340px;max-width:calc(100vw - 32px)}.sortTools{flex-wrap:wrap;justify-content:flex-end;position:relative;z-index:12}@media(max-width:1100px){.unified:not(.visualShelves) .collectionHeader{flex-wrap:wrap}.sortTools{margin-left:auto}}
