/* Field search of the Themen hub (content block dgm_section_search, Themen task 20, agent C, 2026-11-12). Moved from the
   page stylesheet fileadmin/DGM/Themen-Neu/themen.css (l.557-578, "hub: search in the hero", unchanged) and made
   complete in itself: the tokens it used from :root of themen.css and .tm-sr are defined here on the search itself.
   Loaded by the element (f:asset.css), once per page. The search stands in the hub's hero (the network layout leaves
   its right half empty without event data): from 1024px it is pulled up by half the hero's least height (672px). */
#crm__widgets .tm-s { --tm-primary: #00abe3; --tm-deep: #007aa8; --tm-ink: #003e52; --tm-text: #0f172a; --tm-muted: #475569; --tm-border: rgb(227 232 236); --tm-tint: rgb(0 171 227 / .07); --tm-shadow: 0 1px 2px rgb(15 34 51 / .04), 0 10px 30px -18px rgb(15 34 51 / .2); }
#crm__widgets .tm-s .tm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

#crm__widgets .tm-s { position: relative; z-index: 30; width: min(1232px, 100vw - 48px); margin: 0 calc((100% - min(1232px, 100vw - 48px)) / 2); }
@media (min-width: 1024px) {
  /* placed into the hero's right half (the network layout leaves it empty without event data) */
  #crm__widgets .tm-s { margin-top: calc(-1 * 672px / 2 - 60px); margin-bottom: calc(672px / 2 + 60px); height: 0; }
  #crm__widgets .tm-s__box { margin-left: auto; width: min(460px, 42%); }
}
#crm__widgets .tm-s__box { position: relative; padding: 22px; border: 1px solid rgb(255 255 255 / .16); border-radius: 22px; background: rgb(0 33 44 / .55); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
#crm__widgets .tm-s__label { display: block; margin: 0 0 10px; color: #7fd8f5; font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .24em; text-transform: uppercase; }
#crm__widgets .tm-s__field { position: relative; }
#crm__widgets .tm-s__field i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--tm-primary); }
#crm__widgets .tm-s input { box-sizing: border-box; width: 100%; height: 54px; padding: 0 16px 0 46px; border: 1px solid rgb(255 255 255 / .2); border-radius: 14px; background: #fff; color: var(--tm-text); font: 400 16px/1 Theme-Font, Inter, sans-serif; }
#crm__widgets .tm-s input:focus { outline: 3px solid rgb(0 171 227 / .5); outline-offset: 1px; }
#crm__widgets .tm-s [role="listbox"] { position: absolute; left: 22px; right: 22px; top: calc(100% - 14px); max-height: 360px; margin: 0; padding: 6px; overflow: auto; list-style: none; border: 1px solid var(--tm-border); border-radius: 14px; background: #fff; box-shadow: 0 24px 48px -24px rgb(0 33 44 / .45); }
#crm__widgets .tm-s [role="listbox"][hidden] { display: none; }
#crm__widgets .tm-s [role="option"] { display: grid; gap: 2px; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
#crm__widgets .tm-s [role="option"][aria-selected="true"], #crm__widgets .tm-s [role="option"]:hover { background: rgb(0 171 227 / .1); }
#crm__widgets .tm-s__name { color: var(--tm-text); font: 600 15px/1.3 Theme-Font, Inter, sans-serif; }
#crm__widgets .tm-s__name mark { padding: 0 1px; border-radius: 3px; background: rgb(0 171 227 / .2); color: inherit; }
#crm__widgets .tm-s__path { color: var(--tm-muted); font: 400 12.5px/1.3 Theme-Font, Inter, sans-serif; }
#crm__widgets .tm-s__none { padding: 10px 12px; color: var(--tm-muted); font: 400 14px/1.5 Theme-Font, Inter, sans-serif; }
@media (max-width: 1023.98px) { #crm__widgets .tm-s { margin-top: -28px; } #crm__widgets .tm-s__box { background: var(--tm-ink); } }
