/*
 * AdvCorp R29.8 — contrato canônico para campos de busca.
 * ARQUIVO GERADO — não editar manualmente.
 * Fonte de verdade: src/search-standard.css.
 */
body.portal input[type="search"],
body.portal input[data-ac-search]{
  --ac-input-background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  --ac-input-background-repeat:no-repeat;
  --ac-input-background-position:13px 50%;
  --ac-input-background-size:17px 17px;
  --ac-input-padding-left:40px;
}

/* Shells que já renderizam um SVG próprio não recebem uma segunda lupa no input. */
body.portal .command-search>input[type="search"],
body.portal .office-search-field>input[type="search"],
body.portal .search>input[type="search"],
body.portal .conversation-search>input[type="search"]{
  --ac-input-background-image:none;
}

body.portal .search>svg,
body.portal .conversation-search>svg,
body.portal .command-search>svg,
body.portal .office-search-field .nav-icon>svg,
body.portal .intake-library-search>svg{
  width:17px;
  height:17px;
  color:#718096;
  flex:0 0 17px;
}

/* A biblioteca usa SVG absoluto; por isso reserva espaço sem desenhar background duplicado. */
body.portal .intake-library-search{position:relative}
body.portal .intake-library-search>svg{
  position:absolute;
  left:14px;
  top:50%;
  width:17px;
  height:17px;
  transform:translateY(-50%);
  color:#718096;
  pointer-events:none;
  z-index:2;
}
body.portal .intake-library-search>input[type="search"]{
  --ac-input-background-image:none;
  --ac-input-padding-left:42px;
}
