.container { display: flex; gap: var(--s-4); margin-left: auto; min-width: 0; } .supportWrapper { @media screen and (max-width: 599px) { display: none; } } .supportWrapperCompact { display: none; } @media screen and (min-width: 600px) { @container (max-width: 700px) { .supportWrapper { display: none; } .supportWrapperCompact { display: block; } } @container (max-width: 920px) { .withStatus .supportWrapper { display: none; } .withStatus .supportWrapperCompact { display: block; } } } .searchAndAddContainer { display: flex; gap: var(--s-2); min-width: 0; } .searchWrapper { flex: 1 1 0; min-width: 0; } /* the status indicator takes the room the search button gives up */ .withStatus { @container (max-width: 920px) { & .searchWrapper { flex: none; } } } .searchWrapper > button { width: 100%; } .chatButtonWrapperPersistent { display: none; position: relative; @media screen and (min-width: 1000px) { display: block; } & > button { width: 100%; } } .chatButtonWrapperModal { display: none; position: relative; @media screen and (min-width: 600px) and (max-width: 999px) { display: block; } & > button { width: 100%; } } .chatUnreadBadge { position: absolute; top: -6px; right: -6px; font-size: var(--font-2xs); font-weight: var(--weight-bold); color: var(--color-text-inverse); background-color: var(--color-text-accent); min-width: 18px; height: 18px; padding: 0 var(--s-1); border-radius: 9px; display: grid; place-items: center; pointer-events: none; }