/* web.css — styling for the chrome that web-chrome.js injects.
   Scoped to .web-* / html.web-host so it can never affect the FETCH build,
   which never loads this file. Uses design-language tokens only. */

.web-header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-right: 10px;
  position: relative;
}

.web-theme {
  width: auto;
  height: 2.25rem;
}

.web-privacy-pop {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  z-index: 60;
  width: min(22rem, calc(100vw - 2rem));
  padding: .875rem 1rem;
  border: 1px solid var(--ds-border, rgba(255, 255, 255, .14));
  border-radius: var(--ds-radius, 8px);
  background: var(--ds-surface, #12161d);
  color: var(--ds-text, #e8edf5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  font-size: .8125rem;
  line-height: 1.5;
}

.web-privacy-pop strong { display: block; margin-bottom: .375rem; }
.web-privacy-pop p { margin: .5rem 0 0; opacity: .85; }

.web-empty-priv {
  display: inline-block;
  margin-top: .5rem;
  opacity: .75;
  font-size: .8125rem;
}

.web-example-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 1rem;
}

/* Narrow screens: the tools wrap under the product name rather than
   colliding with the document name. */
@media (max-width: 700px) {
  .web-header-tools { gap: .375rem; padding-right: 6px; }
  .web-header-tools .web-theme { display: none; }
}
