/* Shared chrome for the multi-sample demo. Lives in
   examples/dist so both the standalone smoke (index.html)
   and the docs site (which embeds the bundle) pick it up.

   In the docs site this stylesheet is overridden by
   `docs/styles/jt-theme.css`, which remaps the picker chips
   and the tree wrapper onto Material's `--md-*` tokens — so
   these rules are the standalone fallback, not the canonical
   look. */

.jt-demo {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  color: var(--jt-fg, #1f2328);
}

.jt-demo__picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.jt-demo__pick {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border: 1px solid var(--jt-line, #d0d7de);
  border-radius: 999px;
  background: transparent;
  color: var(--jt-fg, #1f2328);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s, border-color 0.15s,
    box-shadow 0.15s;
}

.jt-demo__pick:hover {
  background: var(--jt-copy-hover-bg, #eaeef2);
  border-color: var(--jt-marker, #6e7781);
}

.jt-demo__pick:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--jt-link, #0969da);
}

.jt-demo__pick--active,
.jt-demo__pick--active:hover {
  background: var(--jt-link, #0969da);
  border-color: var(--jt-link, #0969da);
  color: #ffffff;
}

.jt-demo__subtitle {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--jt-marker, #6e7781);
  font-style: italic;
}

.jt-demo__chrome {
  display: block;
}

.jt-demo__bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 6px;
}

.jt-demo__hint {
  margin: 10px 0 0;
  padding: 0;
  font-size: 12px;
  color: var(--jt-marker, #6e7781);
  line-height: 1.55;
}
