/* Shared Semantic X-Ray chips — City page shell (Country keeps doorguard-country.css). */

.pm-bb-shell.is-content-xray .pm-bb-classification,
.pm-bb-shell.is-content-xray article.pm-bb-local,
.pm-bb-shell.is-content-xray article.pm-city-page,
.pm-bb-shell.is-content-xray .pm-city-intro,
.pm-bb-shell.is-content-xray .pm-city-local,
.pm-bb-shell.is-content-xray .pm-city-listings,
.pm-bb-shell.is-content-xray .pm-bb-back-hub,
.pm-bb-shell.is-content-xray .pm-bb-legal-nav,
.pm-bb-shell.is-content-xray .pm-dg__page-shell--city-page,
.pm-bb-shell.is-content-xray .pm-dg__page-shell {
  position: relative;
}

.pm-bb-shell.is-content-xray .pm-dg-ia-chip {
  position: absolute;
  z-index: 100060;
  box-sizing: border-box;
  padding: 4px 8px;
  background: #f4f6f8;
  border: 1px solid #5b6b7a;
  border-left: 3px solid var(--ia-accent, #5b6b7a);
  border-radius: 4px;
  font: 600 11px/1.25 "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #1a2330;
  pointer-events: none;
  user-select: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-place="tc"] { top: 6px; left: 50%; transform: translateX(-50%); }
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-place="tl"] { top: 6px; left: 6px; }
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-place="tr"] { top: 6px; right: 6px; }
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-place="bl"] { bottom: 6px; left: 6px; }
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-place="br"] { bottom: 6px; right: 6px; }

.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="WIRED"] { border-left-color: #15803d; }
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="SPECIMEN"],
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="FALLBACK"] { border-left-color: #d97706; }
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="EMPTY"] { border-left-color: #64748b; }
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="UNRESOLVED"] { border-left-color: #b91c1c; }
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="PUBLICATION"] { border-left-color: #db2777; }
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="GENERATED"] { border-left-color: #2563eb; }
.pm-bb-shell.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="CHROME"] { border-left-color: #64748b; }

.pm-bb-shell.is-content-xray-hidden .pm-dg-ia-chip,
.pm-bb-shell.is-content-xray-hidden .pm-dg-ia-tip {
  display: none !important;
}

.pm-bb-shell.is-content-xray .pm-dg-ia-tip {
  position: fixed;
  right: 14px;
  bottom: 78px;
  z-index: 100120;
  box-sizing: border-box;
  width: min(420px, calc(100vw - 24px));
  max-height: min(52vh, 480px);
  overflow: auto;
  padding: 12px 14px;
  background: #f7f8fa;
  border: 1px solid #8a96a3;
  border-radius: 6px;
  color: #1f2a36;
  font: 500 12.5px/1.45 "Segoe UI", system-ui, sans-serif;
  white-space: pre-wrap;
  display: none;
  pointer-events: none;
  box-shadow: 0 8px 28px rgba(20, 30, 40, 0.22);
}
.pm-bb-shell.is-content-xray .pm-dg-ia-tip.is-open { display: block; }
.pm-bb-shell.is-content-xray .pm-dg-ia-tip__title {
  display: block;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #c5ced6;
  color: #243447;
  font-weight: 700;
  font-size: 13px;
}
.pm-bb-shell.is-content-xray .pm-dg-ia-tip__body { color: #2c3a4a; }

.pm-bb-shell.is-content-xray .is-ia-hot {
  outline: 2px dashed rgba(57, 255, 20, 0.45);
  outline-offset: 2px;
}

/* Country chips: same implementation-state colors when annotated. */
.pm-dg__page-shell--country-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="WIRED"] { border-left-color: #15803d; }
.pm-dg__page-shell--country-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="SPECIMEN"],
.pm-dg__page-shell--country-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="FALLBACK"] { border-left-color: #d97706; }
.pm-dg__page-shell--country-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="EMPTY"] { border-left-color: #64748b; }
.pm-dg__page-shell--country-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="UNRESOLVED"] { border-left-color: #b91c1c; }
.pm-dg__page-shell--country-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="PUBLICATION"] { border-left-color: #db2777; }
.pm-dg__page-shell--country-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="GENERATED"] { border-left-color: #2563eb; }
.pm-dg__page-shell--country-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="CHROME"] { border-left-color: #64748b; }

.pm-dg__page-shell--city-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="WIRED"] { border-left-color: #15803d; }
.pm-dg__page-shell--city-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="SPECIMEN"],
.pm-dg__page-shell--city-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="FALLBACK"] { border-left-color: #d97706; }
.pm-dg__page-shell--city-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="EMPTY"] { border-left-color: #64748b; }
.pm-dg__page-shell--city-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="UNRESOLVED"] { border-left-color: #b91c1c; }
.pm-dg__page-shell--city-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="PUBLICATION"] { border-left-color: #db2777; }
.pm-dg__page-shell--city-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="GENERATED"] { border-left-color: #2563eb; }
.pm-dg__page-shell--city-page.is-content-xray .pm-dg-ia-chip[data-pm-xray-state="CHROME"] { border-left-color: #64748b; }
