.shared-brand-results{margin-top:8px;background:#fff;border:1px solid #dfdce9;border-radius:18px;overflow:hidden;text-align:left;width:100%;box-shadow:0 8px 24px #29243f0a}.shared-brand-results[hidden]{display:none!important}.shared-brand-results [role=listbox]{max-height:min(280px,38svh);overflow:auto;overscroll-behavior:contain}.shared-brand-results [role=option]{display:flex;align-items:center;gap:12px;padding:12px 16px;min-height:64px;cursor:pointer;color:#353142;border-bottom:1px solid #f0edf5}.shared-brand-results [role=option]:hover,.shared-brand-results [aria-selected=true]{background:#f0edfc}.shared-brand-results strong{display:block;font-size:14px;line-height:1.4}.shared-brand-results small{display:block;font-size:11px;color:#777280;margin-top:4px}.shared-brand-logo{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#f4f1fb;font-size:12px;color:#6651bd}.shared-brand-logo img{max-width:30px;max-height:30px;object-fit:contain}.shared-brand-add{border:0;background:transparent;color:#6651bd;font-size:14px;min-height:48px;padding:12px 16px;width:100%;text-align:left;justify-content:flex-start}.shared-brand-empty{font-size:13px;padding:14px 16px;margin:0}.brand-search-error{color:#a32744;font-size:13px}.brand-add-dialog{border:0;border-radius:24px;background:#f6f5fb;color:#332e48;padding:26px;width:min(480px,calc(100vw - 32px));max-height:90dvh;box-sizing:border-box}.brand-add-dialog::backdrop{background:#25243199}.brand-add-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand-add-heading h2{font-size:24px;margin:0}.brand-add-heading button{background:transparent;color:#625a74;padding:8px;font-size:22px}.brand-add-dialog p{font-size:13px;line-height:1.6}.brand-add-dialog label{display:block;font-size:13px;margin:20px 0 8px}.brand-add-dialog input,.brand-add-dialog select{width:100%;box-sizing:border-box;padding:14px;border:1px solid #ded9e7;border-radius:14px;background:white;font:inherit;font-size:16px}.brand-add-dialog [type=submit]{width:100%;margin-top:12px;background:#705ce6;color:#fff;justify-content:center}.shared-brand-results :focus-visible,.brand-add-dialog :focus-visible{outline:3px solid #8d7dde;outline-offset:2px}

/* Home search keeps its original single-row bar; suggestions sit directly below it. */
.shared-brand-search-host{position:relative;overflow:visible}.shared-brand-search-host>.shared-brand-results{position:absolute;z-index:30;left:0;top:100%;width:100%;margin-top:8px}.shared-brand-search-host .shared-brand-results .shared-brand-add{width:100%;min-width:0;min-height:48px;padding:12px 16px;border:0;border-radius:0;background:#fff;color:#6651bd;font-size:14px;justify-content:flex-start;gap:8px}.shared-brand-add svg,.brand-add-heading svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}.shared-brand-search-host .shared-brand-add svg{width:20px;height:20px;stroke:currentColor;fill:none}.brand-add-heading button{min-width:40px;min-height:40px}.header-search-dialog .shared-brand-search-host{flex-wrap:wrap}.header-search-dialog .shared-brand-search-host input{flex:1;width:0}.header-search-dialog .shared-brand-search-host>.shared-brand-results{position:static;flex:0 0 100%;margin-top:8px}
