/* Partner-check evidence block on the public company profile (markup: src/web/geo-public-profile.mjs renderGeoPublicAnswers).
   Uses the v4 profile tokens (detail-v4/v4-styles.css: --bg-card, --ink, --mute, --rule, --accent, --good) with tokens.css fallbacks,
   so light/dark follow the profile's own data-theme. Without JS the section renders after the app root; v4 moves it into <main>. */
.geo-public-evidence { --gpe-card: var(--bg-card, var(--bg-surface, #fff)); --gpe-ink: var(--ink, var(--fg-1, #1a1814)); --gpe-mute: var(--mute, var(--fg-3, #6b6557));
  --gpe-rule: var(--rule, var(--border-subtle, rgba(26, 24, 20, .1))); --gpe-good: #0a7a40;
  max-width: 1120px; margin: 0 auto; padding: 24px 0 8px; color: var(--gpe-ink); font-family: inherit; }
:root[data-theme="dark"] .geo-public-evidence { --gpe-good: #4dbf80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .geo-public-evidence { --gpe-good: #4dbf80; } }
body > .geo-public-evidence { padding: 24px 24px 40px; }
/* Collapsed by default: the whole card is one <details>; its <summary> is the one-line view (headline, meter, passive chips). */
.gpe-card { background: var(--gpe-card); border: 1px solid var(--gpe-rule); border-radius: 14px; }
.gpe-summary { display: block; padding: 14px 18px; cursor: pointer; list-style: none; border-radius: 14px; }
.gpe-summary::-webkit-details-marker { display: none; }
.gpe-summary:focus-visible { outline: 2px solid var(--accent, #d44a1c); outline-offset: 2px; }
.gpe-bar { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.gpe-badge { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 23%; border: 1px solid var(--gpe-rule); color: var(--gpe-good); }
.gpe-title-wrap { display: grid; gap: 1px; flex: 1 1 14em; min-width: 0; }
.gpe-kicker { font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-fg, var(--accent, #d44a1c)); }
.gpe-title-wrap h2 { margin: 0; font-family: var(--font-display, Georgia, serif); font-weight: 400; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.2; letter-spacing: -.01em; }
.gpe-toggle { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; color: var(--gpe-mute); white-space: nowrap; }
.gpe-summary:hover .gpe-toggle { color: var(--gpe-ink); }
.gpe-toggle-close, .gpe-details[open] .gpe-toggle-open { display: none; }
.gpe-details[open] .gpe-toggle-close { display: inline; }
.gpe-toggle-ico { display: inline-flex; transform: rotate(90deg); transition: transform .15s; }
.gpe-details[open] .gpe-toggle-ico { transform: rotate(-90deg); }
/* Passive status chips (no links or controls: they live inside the summary). */
.gpe-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.gpe-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 6px; border: 1px solid var(--gpe-rule); border-radius: 999px; font-size: 12px; line-height: 1.4; color: var(--gpe-ink); white-space: nowrap; }
.gpe-chip-ico { display: inline-flex; color: var(--gpe-mute); }
.gpe-chip-more { display: inline-flex; align-items: center; padding: 3px 4px; font-size: 12px; line-height: 1.4; color: var(--gpe-mute); white-space: nowrap; }
.gpe-dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gpe-mute); box-sizing: border-box; }
.gpe-chip--documented .gpe-dot { background: var(--gpe-good); border-color: var(--gpe-good); }
.gpe-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gpe-detail { padding: 4px clamp(18px, 3vw, 32px) clamp(18px, 3vw, 28px); border-top: 1px solid var(--gpe-rule); }
.gpe-lede { margin: 16px 0 0; max-width: 62ch; color: var(--gpe-mute); font-size: 15px; line-height: 1.55; }
/* Block meter: one square block per critical field (brand "blocks are data units"); documented = ink, missing = hairline. */
.gpe-meter { display: inline-flex; gap: 4px; }
.gpe-meter i { width: 12px; height: 12px; border-radius: 23%; border: 1px solid var(--gpe-rule); background: transparent; }
.gpe-meter i.on { background: var(--gpe-ink); border-color: var(--gpe-ink); }
/* Source not freely available: dashed, transparent block, distinct from documented (solid) and verify (hairline); no gradients (test/no-decorative-gradients). */
.gpe-meter i.na { border-style: dashed; border-color: var(--gpe-mute); background: transparent; }
.gpe-meta { margin: 8px 0 8px; font-size: 13px; color: var(--gpe-mute); }

.gpe-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.gpe-list > li { border-top: 1px dashed var(--gpe-rule); }
.gpe-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; }
.gpe-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 23%; border: 1px solid var(--gpe-rule); color: var(--gpe-mute); }
.gpe-row.is-known .gpe-ico { color: var(--gpe-ink); }
.gpe-row h3 { margin: 0; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.3; }
.gpe-value { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--gpe-ink); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gpe-state { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; font-size: 12px; font-weight: 500; color: var(--gpe-mute); white-space: nowrap; }
.gpe-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.gpe-state--known { color: var(--gpe-good); }
.gpe-state--na::before { background: transparent; border: 1px dashed currentColor; opacity: 1; }
/* Unavailable source: neutral and muted, never styled as a warning or a missing value. */
.gpe-row.is-na { opacity: .85; }
.gpe-row.is-na .gpe-ico { border-style: dashed; }
.gpe-row.is-na h3 { color: var(--gpe-mute); font-weight: 500; }
.gpe-row > a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border: 1px solid var(--gpe-rule); border-radius: 999px; font-size: 12.5px; color: var(--gpe-ink); text-decoration: none; max-width: 14em; line-height: 1.3; transition: border-color .15s, color .15s; }
.gpe-row > a::after { content: "↗"; font-size: 11px; color: var(--gpe-mute); }
.gpe-row > a:hover { border-color: var(--accent, #d44a1c); color: var(--accent, #d44a1c); }
.gpe-why { margin-top: 4px; }
.gpe-why summary, .gpe-proofs summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--gpe-mute); }
.gpe-why summary::-webkit-details-marker, .gpe-proofs summary::-webkit-details-marker { display: none; }
.gpe-why summary::before, .gpe-proofs summary::before { content: "+"; font-family: var(--font-mono, ui-monospace, monospace); }
.gpe-why[open] summary::before, .gpe-proofs[open] summary::before { content: "−"; }
.gpe-why summary:hover, .gpe-proofs summary:hover { color: var(--gpe-ink); }
.gpe-why .gpe-q { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--gpe-ink); }
.gpe-why p { margin: 6px 0 2px; font-size: 13.5px; line-height: 1.55; color: var(--gpe-mute); }

.gpe-foot { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--gpe-rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; }
.gpe-foot > p { margin: 0; color: var(--gpe-mute); }
.gpe-foot a { color: var(--gpe-ink); text-underline-offset: 3px; }
.gpe-proofs { flex: 1 1 100%; order: 2; }
.gpe-proofs dl { margin: 8px 0 0; display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 6px 16px; font-size: 12.5px; line-height: 1.5; }
.gpe-proofs dt { font-weight: 500; }
.gpe-proofs dt code { display: block; font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; color: var(--gpe-mute); font-weight: 400; }
.gpe-proofs dd { margin: 0; color: var(--gpe-mute); overflow-wrap: anywhere; }

@media (max-width: 860px) {
  .gpe-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body > .geo-public-evidence { padding: 20px 16px 32px; }
  .gpe-row { grid-template-columns: 28px minmax(0, 1fr); }
  .gpe-ico { width: 28px; height: 28px; }
  .gpe-row > a { grid-column: 2; justify-self: start; }
  .gpe-proofs dl { grid-template-columns: 1fr; }
  .gpe-summary { padding: 12px 14px; }
  .gpe-bar { gap: 8px 10px; }
  .gpe-title-wrap { flex-basis: calc(100% - 50px); }
  .gpe-meter { gap: 3px; } .gpe-meter i { width: 10px; height: 10px; }
  .gpe-toggle { margin-left: auto; }
  .gpe-detail { padding: 2px 14px 16px; }
}
@media print { .gpe-why, .gpe-proofs { display: none; } }
@media (prefers-reduced-motion: reduce) { .gpe-toggle-ico { transition: none; } }

