@layer ifix-graphites {
  html:is(#ifix-ui,:root) .growth-header .growth-ai-agent {
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    flex: 0 0 30px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    overflow: visible !important;
  }

  html:is(#ifix-ui,:root) .growth-header .growth-ai-agent:not(:hover) {
    background: transparent !important;
    box-shadow: none !important;
  }

  html:is(#ifix-ui,:root) .growth-header .growth-ai-agent > span {
    display: none !important;
  }

  html:is(#ifix-ui,:root) .growth-header .growth-ai-agent > img {
    display: block !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    margin: 0 !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    filter: none !important;
  }

  html:is(#ifix-ui,:root)[data-theme="light"] .growth-header .growth-ai-agent > img {
    filter: url("/brand/ifix-ai-wrench-theme.v1.svg#light-wrench") !important;
  }

  @media (hover: hover) and (pointer: fine) {
    html:is(#ifix-ui,:root) .growth-header .growth-ai-agent:hover {
      background: var(--sg-raised, rgb(26 172 234 / .12)) !important;
      box-shadow: inset 0 0 0 1px var(--sg-accent-text, #1aacea) !important;
    }
  }
}

@layer ifix-graphites {
  html:is(#ifix-ui,:root) .growth-header .growth-search > .search-action-divider {
    display: block !important;
    flex: 0 0 1px !important;
    height: 22px;
    margin-inline: 4px;
    background: rgb(1 10 18 / .18);
  }
  html:is(#ifix-ui,:root)[data-theme="dark"] .growth-header .growth-search > .search-action-divider {
    background: rgb(241 247 251 / .20);
  }
  html:is(#ifix-ui,:root) .growth-header .growth-search > button:has(> [data-ifix-action-icon]) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: var(--sg-text, currentColor) !important;
  }
  html:is(#ifix-ui,:root) .growth-header .growth-search > button:has(> [data-ifix-action-icon])::before,
  html:is(#ifix-ui,:root) .growth-header .growth-search > button:has(> [data-ifix-action-icon])::after {
    content: none !important;
    display: none !important;
  }
  html:is(#ifix-ui,:root) .growth-header .growth-search > button > [data-ifix-action-icon] {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
  }
  html:is(#ifix-ui,:root) .growth-header .growth-search > button:has(> [data-ifix-action-icon]):not(:hover) {
    background: transparent !important;
    box-shadow: none !important;
  }
  html:is(#ifix-ui,:root) .growth-header :is(.growth-ai-agent,button:has(> [data-ifix-action-icon])):focus-visible {
    outline: 2px solid var(--sg-accent-text, #1aacea) !important;
    outline-offset: 3px !important;
  }
  @media (hover: hover) and (pointer: fine) {
    html:is(#ifix-ui,:root) .growth-header .growth-search > button:has(> [data-ifix-action-icon]):hover {
      background: var(--sg-raised, rgb(26 172 234 / .12)) !important;
      box-shadow: inset 0 0 0 1px var(--sg-accent-text, #1aacea) !important;
    }
  }
}

@layer ifix-graphites {
  html:is(#ifix-ui,:root) .growth-header .growth-search > button[type="submit"] {
    box-sizing: border-box !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
  }
}
