/* Header search only: native layout, routes and quote nodes retain ownership. */
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-search__box {
  --cut:10px; background:var(--m26-surface); border-color:var(--m26-field);
  transition:box-shadow .18s ease,background .18s ease;
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-search__box:focus-within {
  box-shadow:0 0 0 4px color-mix(in srgb,var(--m26-accent) 10%,transparent);
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-search__ico { color:var(--m26-accent-t); }
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel {
  width:min(720px,calc(100vw - 2 * var(--m26-hs-gut))); --cut:14px;
  border:1px solid var(--m26-field); background:var(--m26-surface);
  box-shadow:0 18px 50px rgb(0 0 0 / .18); isolation:isolate;
  animation:m26-search-reveal .16s ease-out;
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel__intro {
  padding:16px 18px 4px; color:var(--m26-ink); font-weight:650; font-variant-numeric:tabular-nums;
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel__filters { padding:10px 16px 14px; gap:8px; }
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel__filters button,
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel__state button {
  border-radius:0; clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,0 100%);
  font-weight:650; padding:8px 14px;
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel__filters button[aria-pressed="true"] {
  color:var(--m26-accent-t); background:color-mix(in srgb,var(--m26-accent) 12%,var(--m26-surface));
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel__filters button:hover { background:var(--m26-surface-2); }
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-result-group__head {
  align-items:center; padding:11px 18px; gap:10px; border-block-end:1px solid var(--m26-line-2);
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-result-group__type {
  border-radius:0; letter-spacing:.04em; font-size:10px; padding:3px 7px;
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-opt {
  padding:14px 18px; column-gap:18px; border-inline-start:3px solid transparent;
  transition:background .14s ease,border-color .14s ease;
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-opt:hover,
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-opt[aria-selected="true"] {
  background:color-mix(in srgb,var(--m26-accent) 7%,var(--m26-surface)); border-inline-start-color:var(--m26-accent-t);
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-opt__name { font-size:14px; line-height:1.5; font-weight:600; overflow-wrap:anywhere; }
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-opt__code {
  display:inline-block; margin-inline-start:8px; padding:1px 5px; color:var(--m26-ink-2);
  border:1px solid var(--m26-line); font:500 10px/1.5 ui-monospace,monospace; white-space:nowrap; vertical-align:middle;
}
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-opt__price { font-variant-numeric:tabular-nums; font-size:13px; }
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-opt__meta { margin-block-start:4px; font-size:11.5px; }
html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel__foot { padding:10px 18px; border-block-start:1px solid var(--m26-line); }
@keyframes m26-search-reveal { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:991.98px) {
  html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel { width:auto; inset-inline:0; }
}
@media(max-width:575.98px) {
  html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-opt { padding:12px 13px; row-gap:7px; }
  html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel__filters { gap:5px; padding:8px 10px; }
  html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel__filters button { padding:8px 10px; }
}
@media(prefers-reduced-motion:reduce) {
  html.mgsm26.mgsm26-hd3 .mgsm26-hs .mgsm26-panel { animation:none; }
  html.mgsm26.mgsm26-hd3 .mgsm26-hs :is(.mgsm26-search__box,.mgsm26-opt) { transition:none; }
}
