.augment-web-research {
  box-sizing: border-box;
  width: min(100%, 44rem);
  align-self: flex-start;
  margin: .65rem 0 1rem;
  scroll-margin-bottom: 7rem;
  padding: .8rem 1rem;
  border: 1px solid #b3c8c9;
  border-radius: .5rem;
  background: #f5f9f9;
  color: #132c30;
  text-align: start;
  overflow-wrap: anywhere;
}

.augment-web-research p {
  margin: .35rem 0;
  white-space: pre-wrap;
}

#message-content .augment-web-research p,
#message-content .augment-web-research p strong,
.messages-content_demo .augment-web-research p,
.messages-content_demo .augment-web-research p strong {
  color: #132c30 !important;
}

.augment-web-research ul {
  margin: .4rem 0 0 1.25rem;
  padding: 0;
}

.augment-web-research a {
  color: #075361;
  text-decoration: underline;
}

#augment-chat-controls .augment-web-usage {
  margin: .35rem 0 .65rem;
}

.augment-web-toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  cursor: pointer;
}

#augment-web-lookup-toggle {
  appearance: none;
  display: inline-grid;
  align-items: center;
  justify-items: start;
  flex-shrink: 0;
  width: 2.25rem;
  height: 1.4rem;
  padding: 2px;
  margin: 0;
  border: 0;
  border-radius: 1rem;
  background: #c9f6ff;
  cursor: pointer;
}

#augment-web-lookup-toggle::after {
  content: '';
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #141517;
}

#augment-web-lookup-toggle:checked::after { justify-self: end; background: #17658b; }
#augment-web-lookup-toggle:disabled { opacity: .6; cursor: wait; }
#augment-web-lookup-toggle:focus-visible { outline: 2px solid #78d1ec; outline-offset: 3px; }

.augment-web-lookup-balance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .3rem .4rem;
  margin-top: .3rem;
}

.augment-web-usage-count { font-size: .8125rem; }

#augment-chat-controls button.augment-web-lookup-help {
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: 1.5rem;
  height: 1.5rem;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: .75rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: #c9f6ff;
  line-height: 1;
  cursor: pointer;
}

#augment-chat-controls button.augment-web-lookup-help:focus-visible { outline: 2px solid #78d1ec; outline-offset: 2px; }

#augment-web-lookup-tip {
  grid-column: 1 / -1;
  min-width: 0;
  padding: .4rem .6rem;
  border-radius: .3rem;
  background: #eef8fa;
  color: #141517;
  font-size: .8rem;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
}

#augment-web-lookup-tip[hidden] { display: none; }

.augment-web-membership { padding-block: 1rem; }
