/* Parallax Lens (panel-lens.js): the card an identified capture draws, and the
   camera button that armed it.

   The card sits on the bubble's glass, so it has no ground and no filter of its
   own — a filter here would be a nested one. A hairline, the rim, and theme
   tokens only, which is panel-ask.css's vocabulary and for the same reasons. */
.px-lens {
  margin: 10px 0 4px;
  padding: 10px 12px;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* An identification that failed is a result, not an error: the same card, the
   rim dropped to meta so it does not read as a finding. */
.px-lens.is-unknown { border-style: dashed; }

.px-lens-what {
  color: var(--t-primary);
  font-size: var(--fs-lg);
  line-height: 1.4;
}
/* The region's own size, after the identification rather than above it: it is
   provenance, and it should never compete with the answer. */
.px-lens-region {
  margin-left: 8px;
  font-size: var(--fs-sm);
  color: var(--t-meta);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.px-lens-context {
  margin: 0;
  color: var(--t-body);
  font-size: var(--fs-base);
  line-height: 1.5;
}

.px-lens-h {
  font-size: var(--fs-sm);
  letter-spacing: .02em;
  color: var(--t-meta);
}

.px-lens-sources {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--fs-md);
}
.px-lens-sources a { color: var(--t-primary); text-decoration: none; border-bottom: 1px solid var(--hair); }
.px-lens-sources a:hover { border-bottom-color: var(--rim); }
.px-lens-host { color: var(--t-meta); font-size: var(--fs-sm); }

/* Unverified says so. Dashed rather than coloured: this is not a warning about
   the page, it is a statement about what Parallax could and could not check. */
.px-lens-note {
  padding: 6px 8px;
  border: 1px dashed var(--hair);
  border-radius: var(--r-ctl);
  color: var(--t-meta);
  font-size: var(--fs-md);
  line-height: 1.45;
}

/* The vision model's own word for what the region was: a category, not a claim,
   so it is drawn as a chip and never as part of the sentence. */
.px-lens-kind {
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: var(--r-ctl-sm);
  background: var(--s-rim);
  color: var(--rim);
  font-size: var(--fs-sm);
  letter-spacing: .02em;
  vertical-align: 1px;
  white-space: nowrap;
}

/* "Ask about this": the one action a card offers. The answer bar's vocabulary
   (panel-ask.css) so it reads as Parallax's own control rather than a link. */
.px-lens-foot { display: flex; }
/* .px-lens-ask is the chat action, primary (panel-controls.css). */

/* THE BUTTON, armed. Same .tb-btn as its neighbours; armed is the rim wash the
   other toggles use, so the toolbar keeps one language for "this is on". */
#barLens.is-armed {
  background: var(--s-rim);
  color: var(--rim);
}
#barLens.is-armed svg { stroke: var(--rim); }

