/* FINAL · SEARCH. The search component page in A's register (a-search.html only).
 * Specimens sit on quiet inset stages. The pill, summary button, chips and filter popovers keep the header's own classes;
 * the suggestion lists (.dx-ac) are drawn in the lean popover style: 40px rows, elev-3, 14px radius, 6px inset. */

/* sections: heading, one paragraph, then the stage */
.dx-search .dx-ssec{scroll-margin-top:20px}
.dx-search .dx-ssec+.dx-ssec{margin-top:52px}
.dx-search .dx-ssec>h2{font-size:20px;font-weight:600;letter-spacing:-.02em}
.dx-search .dx-ssec>p{margin-top:6px;color:var(--dim);font-size:14.5px;line-height:1.6}
.dx-sstage{position:relative;margin-top:18px;padding:28px;border-radius:var(--r-card);background:#f4f5f7;box-shadow:var(--elev-inset);min-width:0}
.dx-sspec{display:grid;gap:10px;align-content:start;min-width:0}
.dx-slabel{color:var(--faint);font-size:12.5px;font-weight:550;line-height:1.3}
.dx-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* the header pill outside the header: the .os-nav wrapper keeps the slim pill rules; its own bar box is removed */
body.dx .dx-snav{position:relative;z-index:auto;display:flex;align-items:center;height:auto;padding:0;border:0;background:none}
body.dx .dx-snav .os-q{display:flex}
.dx-spair{display:flex;flex-wrap:wrap;gap:24px 56px}
.dx-snav.is-open .os-q{box-shadow:var(--elev-1),0 0 0 3px rgb(22 131 91/.14)}

/* suggestion lists: anchored under the pill (the place list under the place field), lean popover surface */
.dx-ac{position:absolute;left:0;top:calc(100% + 6px);z-index:5;width:min(560px,100%);padding:6px;border-radius:14px;background:#fff;box-shadow:var(--elev-3);
  transform-origin:top left;transition:opacity .16s,transform .2s var(--premium-ease,cubic-bezier(.2,.8,.2,1)),visibility 0s}
.dx-ac.is-loc{width:min(320px,100%)}
.dx-snav:not(.is-open) .dx-ac{opacity:0;transform:translateY(-5px) scale(.985);visibility:hidden;pointer-events:none;transition:opacity .16s,transform .2s var(--premium-ease,cubic-bezier(.2,.8,.2,1)),visibility 0s .2s}
.dx-og[hidden],.dx-opt[hidden]{display:none}
.dx-og+.dx-og,.dx-opt+.dx-og{margin-top:4px}
.dx-ogh{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 10px 4px;color:var(--faint);font-size:12px;font-weight:600;line-height:1.3}
.dx-ogh small{font-size:12px;font-weight:500}
.dx-opt{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:40px;padding:3px 10px;border-radius:8px;cursor:pointer;transition:background-color .12s}
@media(hover:hover) and (pointer:fine){.dx-opt:hover{background:#f2f4f5}}
.dx-opt.is-active{background:#f2f4f5;outline:2px solid #9fcfb9;outline-offset:-2px}
.dx-otile{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--quiet);color:var(--dim)}
.dx-otile svg{width:15px;height:15px}
.dx-opt.is-active .dx-otile{background:var(--g-bg);color:var(--g-ink)}
.dx-oface{width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgb(15 17 20/.08)}
.dx-otx{display:grid;min-width:0}
.dx-otx b,.dx-otx small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dx-otx b{color:var(--ink);font-size:13.5px;font-weight:500;line-height:17px}
.dx-otx small{color:var(--faint);font-size:12px;line-height:16px}
.dx-opt mark{background:none;color:inherit;font-weight:650}
.dx-opt em{color:var(--faint);font-size:12px;font-style:normal;white-space:nowrap;font-variant-numeric:tabular-nums}
.dx-onone{padding:10px;color:var(--dim);font-size:13px}
.dx-onone[hidden]{display:none}
.dx-acf{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin-top:4px;padding:8px 10px 4px;color:var(--faint);font-size:12px;line-height:1.5}
.dx-acf kbd{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-right:3px;padding:0 5px;border-radius:5px;background:var(--quiet);box-shadow:var(--elev-inset);color:var(--dim);font:600 11px/1 Inter;vertical-align:-3px}
.dx-acf kbd svg{width:10px;height:10px}

/* filter popovers: the live lean popover, held open in the flow under its chip */
.dx-sfilters{display:flex;flex-wrap:wrap;gap:24px 72px}
.dx-sfa{display:grid;justify-items:start;gap:6px}
body.dx .dx-spop.os-livepop{position:relative;left:0!important;top:0!important;z-index:1;max-height:none;overflow:visible;transform-origin:top left}
.dx-sfa:not(.is-open) .dx-spop.os-livepop{opacity:0;transform:translateY(-5px) scale(.985);visibility:hidden;pointer-events:none;transition:opacity .16s,transform .2s var(--premium-ease,cubic-bezier(.2,.8,.2,1)),visibility 0s .2s}

/* phone: the summary button, and the panel it opens, at phone width */
.dx-sphone{display:flex;flex-wrap:wrap;gap:24px 56px}
.dx-sphone .dx-sspec{width:min(358px,100%)}
.dx-sframe{min-width:0}
body.dx .dx-sqs{display:flex;width:100%}
.dx-sframe.is-scrim{padding:16px;border-radius:22px;background:rgb(17 19 24/.14)}
body.dx .dx-smob{position:static;inset:auto;z-index:auto;display:block;padding:0;background:none;backdrop-filter:none;transition:opacity .22s,visibility 0s}
body.dx .dx-smob:not(.is-open){visibility:hidden;transition:opacity .22s,visibility 0s .24s}
body.dx .dx-smob .os-mobile-search-panel{padding:18px}

/* loading: A's register with its column heads and grey rows in the result rows' grid, the map beside it */
.dx-sload{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,36%);gap:24px;align-items:stretch}
.dx-sload .dx-lh .dx-sload-h{margin:0;font-size:24px;line-height:1.15;font-weight:600;letter-spacing:-.03em;color:var(--ink)}
.dx-sload .dx-lh{padding:0 0 18px}
.dx-sload .dx-colh{position:relative}
.dx-sload-map{position:relative;min-height:440px;height:100%;border-radius:var(--r-card);overflow:hidden}
.dx-skrow{min-height:84px}
.dx-skrow:hover{background:none}
.dx-skrow .dx-nm,.dx-skl{display:grid;gap:9px;align-content:center}
.dx-skl{flex:1;min-width:0}
.dx-skrow .dx-out{align-items:center}
.dx-skrow :is(.dx-n,.dx-d){gap:9px}
.dx-sk{display:block;width:var(--w);max-width:100%;height:11px;border-radius:6px;background:linear-gradient(90deg,#eceef1 0%,#eceef1 35%,#f6f7f9 50%,#eceef1 65%,#eceef1 100%);background-size:300% 100%;animation:dx-sk 1.8s ease-in-out infinite}
.dx-sk.is-sm{height:8px}
.dx-sk.is-av{width:44px;height:44px;border-radius:50%}
.dx-sk.is-dot{width:18px;height:18px;flex:none;border-radius:50%}
.dx-sk.is-cmp{width:32px;height:32px;border-radius:50%;justify-self:end}
@keyframes dx-sk{from{background-position:100% 0}to{background-position:0 0}}

@media(max-width:1100px){.dx-sload{grid-template-columns:minmax(0,1fr) minmax(260px,34%)}}
@media(max-width:860px){
  .dx-sload{grid-template-columns:1fr}
  .dx-sload-map{display:none}
  .dx-skrow .dx-n,.dx-skrow .dx-d{align-items:center}
}
@media(max-width:760px){
  .dx-sstage{padding:16px}
  .dx-acf{display:none}
  .dx-sfilters{gap:24px 32px}
  .dx-sframe.is-scrim{padding:12px}
}
@media(prefers-reduced-motion:reduce){
  .dx-sk{animation:none}
  .dx-ac,.dx-snav:not(.is-open) .dx-ac,.dx-sfa:not(.is-open) .dx-spop.os-livepop,body.dx .dx-smob,body.dx .dx-smob .os-mobile-search-panel{transition:none}
}
/* the panel holds the phone form at every page width: the stacked fields and the full-width Search button of search.css's phone rules */
body.dx .dx-smob .os-q{flex-direction:column;align-items:stretch;gap:4px}
body.dx .dx-smob .os-q .os-go{width:100%}
body.dx .dx-smob .os-q .os-go span{display:inline}
.dx-sfa .os-n{display:none}
/* on a phone the specimen pills stay one row, as in the header (search.css stacks a bare .os-q below 560px) */
body.dx .dx-snav .os-q{flex-direction:row;align-items:center;gap:2px;max-width:100%}
body.dx .dx-snav .os-q .os-go{width:32px}
body.dx .dx-snav .os-q .os-go span{display:none}

/* Location permission and address guidance stay complete inside the anchored list. */
body[data-source] .dx-ac.is-loc .dx-opt{padding-block:8px}
body[data-source] .dx-ac.is-loc .dx-otx small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
