/* Loaded in the document head so the third-party notice is compact from first paint.
   Scope overrides to the notice; TermsFeed still owns the preferences dialog. */
#termsfeed-com---nb.termsfeed-com---nb-simple {
  position: fixed;
  inset: auto 20px 20px auto;
  width: 420px;
  max-width: calc(100% - 40px);
  height: auto;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: #334155;
  box-shadow: 0 6px 24px rgb(15 23 42 / 10%);
}

#termsfeed-com---nb .cc-nb-main-container {
  padding: 20px;
}

#termsfeed-com---nb .cc-nb-title {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

#termsfeed-com---nb .cc-nb-text {
  margin: 0 0 16px;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

#termsfeed-com---nb .cc-nb-text a {
  color: #3730a3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#termsfeed-com---nb .cc-nb-buttons-container {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: 8px;
  align-items: stretch;
}

#termsfeed-com---nb .cc-nb-buttons-container button {
  display: block;
  width: auto;
  min-width: 0;
  min-height: 44px;
  margin: 0 !important; /* TermsFeed's default button margins are also important. */
  padding: 10px 12px;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

#termsfeed-com---nb .cc-nb-buttons-container button:hover {
  border-color: #a5b4fc;
  background: #e0e7ff;
}

#termsfeed-com---nb .cc-nb-buttons-container .cc-nb-changep {
  padding-inline: 8px;
  border-color: transparent;
  background: transparent;
  color: #475569;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#termsfeed-com---nb .cc-nb-buttons-container .cc-nb-changep:hover {
  background: #f1f5f9;
  color: #0f172a;
}

#termsfeed-com---nb .cc-nb-buttons-container button:focus-visible,
#termsfeed-com---nb .cc-nb-text a:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 3px;
  box-shadow: none;
}

@media (max-width: 480px) {
  #termsfeed-com---nb.termsfeed-com---nb-simple {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: calc(100% - 24px);
  }

  #termsfeed-com---nb .cc-nb-main-container {
    padding: 16px;
  }
}

@media (max-width: 359px) {
  #termsfeed-com---nb .cc-nb-buttons-container {
    grid-template-columns: 1fr 1fr;
  }

  #termsfeed-com---nb .cc-nb-changep {
    grid-column: 1 / -1;
  }
}
