/* Import is a bounded picker: controls and confirmation remain visible. */
dialog:has(#actImport552){width:min(94vw,760px);max-height:94dvh;padding:0;overflow:hidden}
dialog:has(#actImport552) #dialogContent{padding:20px;max-height:94dvh;display:flex;flex-direction:column;gap:10px;overflow:hidden}
dialog:has(#actImport552) .dialoghead{flex-shrink:0;margin:0}
dialog:has(#actImport552) .dialoghead h2{font-size:24px;margin:0}
dialog:has(#actImport552) #dialogContent>.card{padding:12px 16px;flex-shrink:0}
dialog:has(#actImport552) #dialogContent>.card h2{font-size:20px;margin:2px 0 0;overflow-wrap:anywhere}
#actImport552{display:flex;flex-direction:column;gap:10px;min-height:0;margin:0;overflow:hidden}
#actImport552>label{display:flex;gap:10px;align-items:center;margin:0;font-size:14px;flex-shrink:0}
#actImport552>label:has(select){display:grid;gap:4px}
#actImport552 select,#actImport552>input{width:100%;padding:10px 12px;min-height:44px;margin:0;flex-shrink:0}
#actImport552 input[type=checkbox]{appearance:auto;accent-color:#f97300;width:21px;height:21px;min-height:21px;flex:0 0 21px;padding:0;margin:0;cursor:pointer}
#actImport552 #rows552{min-height:64px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:2px;flex:1 1 auto}
#actImport552 #rows552 label{padding:12px;min-height:67px;flex-shrink:0;cursor:pointer;gap:14px!important}
#actImport552 #rows552 label:has(input:checked){border-color:#f97300;background:#472b1e}
#actImport552 #rows552 span{display:grid;gap:3px;min-width:0}
#actImport552 #rows552 strong{font-size:16px;overflow-wrap:anywhere}
#actImport552 #rows552 small{display:block;color:var(--muted);font-size:13px}
#actImport552 p{font-size:13px;margin:0;flex-shrink:0}
#actImport552 progress{width:100%;height:8px;accent-color:#f97300;flex-shrink:0}
#actImport552>button{width:100%;min-height:50px;flex-shrink:0}
@media(max-width:600px){dialog:has(#actImport552) #dialogContent{padding:14px;gap:8px}#actImport552{gap:8px}#actImport552>label,#actImport552 p{font-size:12px}}

/* The act badge sits outside the search field, clear of its icon. */
body:has(.workspace537) .topsearch{padding-top:28px}
body:has(.workspace537) .topsearch>.icon{top:39px}
body:has(.workspace537) .topsearch>.librarypill537{position:absolute;top:0;left:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 8px;font-size:12px;line-height:18px}
