/**
 * Public Trust Identity Page — vizuelno usklađeno sa Personal Dashboard (mint / forest green).
 */
:root {
  --pti-green: #1a7f4a;
  --pti-green-600: #156b3f;
  --pti-green-light: #238a57;
  /* County pill ↔ Business Network heading — shared accent */
  --pti-local-network-accent: #e87a61;
  --pti-local-network-accent-text: #c75a43;
  /* Creation block label: darker forest than section eyebrows — entry to member content */
  --pti-creation-label: #1f3a2e;
  --pti-creation-rule: rgba(31, 58, 46, 0.22);
  --pti-mint: #ecf8f1;
  --pti-mint-deep: #d4eee3;
  --pti-line: rgba(26, 127, 74, 0.28);
  --pti-ink: #0f2133;
  --pti-text: #1a2d3a;
  --pti-muted: #5c6d7a;
  --pti-muted2: #6b7c88;
  --pti-card: #ffffff;
  --pti-bg: #f1f7f4;
  --pti-radius: 16px;
  --pti-radius-sm: 10px;
  --pti-shadow: 0 14px 42px rgba(15, 33, 51, 0.07), 0 2px 10px rgba(26, 127, 74, 0.06);
  --pti-shadow-header: 0 20px 50px rgba(15, 33, 51, 0.08), 0 4px 14px rgba(26, 127, 74, 0.07);
  --pti-font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --pti-font-display: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* About / Contact outbound links — distinct from brand green (badges stay green) */
  --pti-outbound-email: #1a6fb0;
  --pti-outbound-email-hover: #124d7d;
  --pti-outbound-web: #0f766e;
  --pti-outbound-web-hover: #0b5c56;
  --pti-outbound-map: #3d4d63;
  --pti-outbound-map-hover: #243042;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.pti-page {
  margin: 0;
  font-family: var(--pti-font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--pti-text);
  background:
    radial-gradient(90% 50% at 50% -10%, rgba(187, 247, 208, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, var(--pti-bg) 0%, #e8f4ee 100%);
  min-height: 100vh;
}

html:has(body.pti-page) {
  scroll-behavior: smooth;
}

.pti-skip {
  position: absolute;
  left: -9999px;
  top: auto;
}
.pti-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--pti-card);
  border-radius: 8px;
  outline: 2px solid var(--pti-green);
}

/* Slim global strip — avoids users/includes/header.php (that file overwrites $user for the viewed profile). */
.pti-site-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.55rem 1.25rem;
  background: var(--pti-card);
  border-bottom: 1px solid var(--pti-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  position: sticky;
  top: 0;
  z-index: 50;
}

.pti-site-chrome__brand {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--pti-green-600);
  text-decoration: none;
}

.pti-site-chrome__brand:hover {
  color: var(--pti-green);
  text-decoration: underline;
}

.pti-site-chrome__spacer {
  flex: 1 1 auto;
  min-width: 0.5rem;
}

.pti-site-chrome__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pti-text);
  text-decoration: none;
  white-space: nowrap;
}

.pti-site-chrome__link:hover {
  color: var(--pti-green-600);
  text-decoration: underline;
}

.pti-site-chrome__link--primary {
  color: var(--pti-green);
}

.pti-site-chrome__link--notif {
  position: relative;
  padding: 0.15rem 0.35rem;
}

.pti-site-chrome__notif-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.pti-site-chrome__notif-badge {
  position: absolute;
  top: -0.15rem;
  right: -0.1rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.1rem;
  text-align: center;
  color: #fff;
  background: #c2410c;
  border-radius: 999px;
}

.pti-site-chrome__sep {
  color: var(--pti-line);
  font-weight: 300;
  user-select: none;
}

.pti-site-chrome__sep--muted {
  color: rgba(92, 109, 122, 0.45);
}

.pti-site-chrome__nfb {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pti-site-chrome__nfb-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pti-green-600);
}

.pti-site-chrome__nfb-btn {
  margin: 0;
  padding: 0.2rem 0.45rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: #0f766e;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.35);
  border-radius: 8px;
  cursor: pointer;
}

.pti-site-chrome__nfb-btn:hover {
  background: rgba(15, 118, 110, 0.14);
}

.pti-site-chrome__nfb-btn--copied,
.pti-site-chrome__nfb-btn.pti-nfb-id-line__value--copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(22, 163, 74, 0.55);
}

.pti-site-chrome__time {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pti-muted);
  font-variant-numeric: tabular-nums;
}

.pti-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

@media (max-width: 520px) {
  .pti-wrap {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }
}

.pti-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pti-green-600);
}

/* —— Header —— */
.pti-header {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(165deg, #ffffff 0%, #fafefd 55%, #f4fbf7 100%);
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius);
  box-shadow: var(--pti-shadow-header);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 520px) {
  .pti-header {
    padding: 1.15rem 1.1rem 1.2rem;
  }
}

.pti-header-top-row {
  display: grid;
  /* Left = intrinsic width (avatar + tekst) kao prije bio preview-a; desno = ostatak, min. širina da meta ne padne u prazan stupac. */
  grid-template-columns: minmax(0, auto) minmax(220px, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
}

@media (max-width: 800px) {
  .pti-header-top-row {
    grid-template-columns: 1fr;
  }
}

/* Wraps avatar block + identity so the grid has two cells: lead | aside */
.pti-header-lead {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.1rem;
  min-width: 0;
}

.pti-header-main {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  min-width: 0;
}

.pti-header-face-pack {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}

.pti-header-brand-logo {
  flex-shrink: 0;
  padding: 0.25rem;
  background: var(--pti-card);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 33, 51, 0.08);
  border: 1px solid rgba(26, 127, 74, 0.14);
}

.pti-header-brand-logo__img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  vertical-align: middle;
}

.pti-header-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  flex-shrink: 0;
}

.pti-avatar-wrap {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.pti-avatar-hit {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 24px;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease, transform 0.12s ease;
}

a.pti-avatar-hit:hover,
button.pti-avatar-hit:hover {
  opacity: 0.92;
}

a.pti-avatar-hit:active,
button.pti-avatar-hit:active {
  transform: scale(0.98);
}

.pti-avatar-hit:focus-visible {
  outline: 2px solid var(--pti-green);
  outline-offset: 3px;
}

.pti-avatar-static {
  position: relative;
  display: inline-block;
  line-height: 0;
  border-radius: 24px;
}

.pti-avatar-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pti-card);
  border: 1px solid var(--pti-line);
  box-shadow: 0 1px 3px rgba(15, 33, 51, 0.1);
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  color: var(--pti-green-600);
  pointer-events: none;
}

.pti-owner-photo-hint {
  margin: 0;
  padding-left: 0.05rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.pti-owner-photo-hint a {
  color: var(--pti-muted2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.pti-owner-photo-hint a:hover {
  color: var(--pti-muted);
  border-bottom-color: rgba(92, 109, 122, 0.35);
}

.pti-avatar {
  --pti-avatar-size: 104px;
  width: var(--pti-avatar-size);
  height: var(--pti-avatar-size);
  border-radius: 22px;
  object-fit: cover;
  /* Portrait-friendly: bias crop toward upper-center (typical head position). */
  object-position: 50% 28%;
  background: linear-gradient(145deg, var(--pti-mint) 0%, var(--pti-mint-deep) 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 6px 20px rgba(26, 127, 74, 0.12),
    0 0 0 1px var(--pti-line),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.pti-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pti-green-600);
}

.pti-header-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.pti-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  margin: 0 0 0.2rem;
  min-width: 0;
  max-width: 100%;
}

.pti-name-row .pti-name {
  margin: 0;
}

/* Softer than the name — orientation, not a control (switcher stays below). */
.pti-identity-surface-badge {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.2rem 0.55rem 0.22rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--pti-surface-badge-text, var(--pti-muted2));
  background: var(--pti-surface-badge-bg, rgba(36, 51, 48, 0.055));
  border: 1px solid var(--pti-surface-badge-border, rgba(42, 110, 78, 0.14));
  border-radius: 999px;
}

/* Identity/membership surface palette (light theme) — matches dashboard */
.pti-identity-surface-badge--personal {
  --pti-surface-badge-bg: #fff1f2;
  --pti-surface-badge-text: #9f1239;
  --pti-surface-badge-border: #fecdd3;
}
.pti-identity-surface-badge--professional {
  --pti-surface-badge-bg: #fffbeb;
  --pti-surface-badge-text: #92400e;
  --pti-surface-badge-border: #fcd34d;
}
.pti-identity-surface-badge--business {
  --pti-surface-badge-bg: #ecfdf5;
  --pti-surface-badge-text: #047857;
  --pti-surface-badge-border: #a7f3d0;
}
.pti-identity-surface-badge--organizational {
  --pti-surface-badge-bg: #f5f3ff;
  --pti-surface-badge-text: #6d28d9;
  --pti-surface-badge-border: #ddd6fe;
}
.pti-identity-surface-badge--government {
  --pti-surface-badge-bg: #f1f5f9;
  --pti-surface-badge-text: #0f172a;
  --pti-surface-badge-border: #cbd5e1;
}
.pti-identity-surface-badge--blog {
  --pti-surface-badge-bg: #e0f2fe;
  --pti-surface-badge-text: #075985;
  --pti-surface-badge-border: #7dd3fc;
}
.pti-identity-surface-badge--book {
  --pti-surface-badge-bg: #fffbeb;
  --pti-surface-badge-text: #b45309;
  --pti-surface-badge-border: #fcd34d;
}
.pti-identity-surface-badge--podcast {
  --pti-surface-badge-bg: #f5f3ff;
  --pti-surface-badge-text: #5b21b6;
  --pti-surface-badge-border: #c4b5fd;
}
.pti-identity-surface-badge--video {
  --pti-surface-badge-bg: #fff1f2;
  --pti-surface-badge-text: #be123c;
  --pti-surface-badge-border: #fda4af;
}
.pti-identity-surface-badge--association {
  --pti-surface-badge-bg: #f0fdfa;
  --pti-surface-badge-text: #0f766e;
  --pti-surface-badge-border: #5eead4;
}
.pti-identity-surface-badge--organization {
  --pti-surface-badge-bg: #eef2ff;
  --pti-surface-badge-text: #3730a3;
  --pti-surface-badge-border: #a5b4fc;
}
.pti-identity-surface-badge--project {
  --pti-surface-badge-bg: #fff7ed;
  --pti-surface-badge-text: #c2410c;
  --pti-surface-badge-border: #fdba74;
}
.pti-identity-surface-badge--brand {
  --pti-surface-badge-bg: #fdf2f8;
  --pti-surface-badge-text: #9d174d;
  --pti-surface-badge-border: #f9a8d4;
}

.pti-name {
  margin: 0 0 0.2rem;
  font-family: var(--pti-font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--pti-ink);
  line-height: 1.1;
}

/* Layer title (UPI display_name): under name + badge — same padding scale as .pti-verify-inline; slate (not green = not trust). */
.pti-identity-layer-name {
  margin: 0.35rem 0 0;
  max-width: min(36rem, 100%);
  display: inline-block;
  padding: 0.32rem 0.55rem 0.34rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.014em;
  line-height: 1.38;
  color: #334155;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 40%, rgba(241, 245, 249, 0.88) 100%);
  border: 1px solid rgba(51, 65, 85, 0.14);
  border-radius: var(--pti-radius-sm);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 1px 2px rgba(15, 23, 42, 0.05);
}

.pti-name-row + .pti-identity-layer-name {
  margin-top: 0.15rem;
}

.pti-identity-layer-name + .pti-role-line {
  margin-top: 0.42rem;
}

.pti-identity-layer-name + .pti-role-line--secondary {
  margin-top: 0.35rem;
}

.pti-role-line {
  margin: 0.5rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pti-text);
  line-height: 1.4;
  max-width: 36rem;
}

.pti-role-line--secondary {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--pti-muted2);
  letter-spacing: 0.015em;
  max-width: 34rem;
}

.pti-focus-line {
  margin: 0.45rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pti-text);
  max-width: 36rem;
}

.pti-identity-links {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  max-width: 36rem;
  justify-content: flex-start;
}

.pti-identity-links__a {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pti-green-600);
  background: rgba(26, 127, 74, 0.08);
  border: 1px solid rgba(26, 127, 74, 0.22);
  text-decoration: none;
  line-height: 1.35;
}

.pti-identity-links__a:hover,
.pti-identity-links__a:focus-visible {
  background: rgba(26, 127, 74, 0.12);
  text-decoration: none;
}

/* About — outbound identity links (nofollow, human labels) */
.pti-about-outbound {
  color: var(--pti-outbound-web);
  font-weight: 600;
  text-decoration: none;
}

.pti-about-outbound:hover,
.pti-about-outbound:focus-visible {
  text-decoration: underline;
}

.pti-about-outbound--email,
.pti-about-outbound--phone {
  color: var(--pti-outbound-email);
}

.pti-about-outbound--email:hover,
.pti-about-outbound--email:focus-visible,
.pti-about-outbound--phone:hover,
.pti-about-outbound--phone:focus-visible {
  color: var(--pti-outbound-email-hover);
}

.pti-about-outbound--web {
  color: var(--pti-outbound-web);
}

.pti-about-outbound--web:hover,
.pti-about-outbound--web:focus-visible {
  color: var(--pti-outbound-web-hover);
}

/* Maps search — reads as “place / address”, not primary CTA green */
a.pti-about-outbound.pti-map-search-link {
  color: var(--pti-outbound-map);
  font-weight: 600;
}

a.pti-about-outbound.pti-map-search-link:hover,
a.pti-about-outbound.pti-map-search-link:focus-visible {
  color: var(--pti-outbound-map-hover);
}

.pti-map-search-link {
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
}

/* Social / hub pills — keep forest green (NFB trust accent) */
.pti-about-social-links__a.pti-about-outbound {
  color: var(--pti-green-600);
}

.pti-about-social-links__a.pti-about-outbound:hover,
.pti-about-social-links__a.pti-about-outbound:focus-visible {
  color: var(--pti-green);
  text-decoration: none;
  background: rgba(26, 127, 74, 0.14);
  border-color: rgba(26, 127, 74, 0.32);
}

.pti-about-subheading {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pti-ink-800, #0f172a);
}

/* Business / entity About: brand sits in the same `.pti-dl` grid as Professional (no separate sub-card). */
.pti-about-brand-dd {
  margin: 0;
}

.pti-about-brand-dd__img {
  display: block;
  max-width: 160px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--pti-border, #e2e8f0);
}

/* Overview tab: same business logo as About (default tab is Overview — users must see preview here). */
.pti-overview-business-brand {
  margin-bottom: 1.25rem;
}

.pti-overview-business-brand__title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pti-ink-800, #0f172a);
}

.pti-overview-business-brand__mark {
  margin: 0;
}

.pti-overview-business-brand__img {
  display: block;
  max-width: 140px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--pti-border, #e2e8f0);
}

.pti-overview-business-brand__more {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.pti-overview-business-brand__tablink {
  background: none;
  border: none;
  padding: 0;
  color: var(--pti-green-600, #166534);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.pti-overview-business-brand__tablink:hover,
.pti-overview-business-brand__tablink:focus-visible {
  color: var(--pti-green, #1a7f4a);
}

/* Overview: one-line signal — not a feed (single latest status update). */
.pti-overview-latest-update {
  margin-bottom: 1rem;
}

.pti-overview-latest-update__h {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pti-muted-600, #64748b);
}

.pti-overview-latest-update__badge-row {
  margin: 0 0 0.5rem;
}

.pti-overview-latest-update__card {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(26, 127, 74, 0.2);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 33, 51, 0.04);
}

.pti-overview-latest-update__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--pti-ink-800, #0f172a);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.pti-overview-latest-update__foot {
  margin: 0.45rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px solid var(--pti-border, #e8eef0);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  font-size: 0.78rem;
  color: var(--pti-muted-600, #64748b);
}

.pti-overview-latest-update__time {
  font-variant-numeric: tabular-nums;
}

.pti-overview-latest-update__link {
  font-weight: 600;
  color: var(--pti-green-600, #166534);
  text-decoration: none;
  margin-left: auto;
}

.pti-overview-latest-update__link:hover,
.pti-overview-latest-update__link:focus-visible {
  text-decoration: underline;
  color: var(--pti-green, #1a7f4a);
}

@media (max-width: 520px) {
  .pti-overview-latest-update__foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .pti-overview-latest-update__link {
    margin-left: 0;
  }
}

.pti-about-contact-location {
  margin-top: 0.25rem;
}

.pti-about-contact-location .pti-dl {
  margin-top: 0.35rem;
}

/* Contact card title + identity layer (Brand, Project, …) so long-scroll pages stay oriented. */
.pti-contact-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.65rem;
}

/* Same palette as header `.pti-identity-surface-badge--*` — only scales next to the h2. */
.pti-contact-heading .pti-identity-surface-badge.pti-contact-heading-surface {
  font-size: max(0.72rem, 0.5em);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.14rem 0.5rem 0.16rem;
  vertical-align: middle;
}

.pti-contact-intro {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--pti-ink-600, #475569);
  max-width: 40rem;
}

.pti-contact-intro-badge {
  display: inline-block;
  vertical-align: baseline;
  margin: 0 0.06em;
  padding: 0.1rem 0.58rem;
  border-radius: 999px;
  font-size: 0.9em;
  font-weight: 600;
  line-height: 1.35;
  color: #8b4d2f;
  background: #fef4ea;
  border: 1px solid #cf8a62;
}

.pti-about-social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
}

.pti-about-social-links__a {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(26, 127, 74, 0.08);
  border: 1px solid rgba(26, 127, 74, 0.2);
}

/* All identity surfaces: keep this left accent on the header bio snippet (do not remove for one type only). */
.pti-bio-preview {
  margin: 0.55rem 0 0;
  padding: 0.4rem 0 0.15rem 0.75rem;
  border-left: 3px solid var(--pti-mint-deep);
  max-width: 36rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  color: #4b5c68;
  letter-spacing: 0.01em;
}

/* Keep ellipsis + "more" on one line (ordinary space allows a break before the link). */
.pti-bio-preview__tail {
  white-space: nowrap;
}

.pti-bio-more {
  color: var(--pti-green-600);
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
}

.pti-bio-more:hover,
.pti-bio-more:focus-visible {
  text-decoration: underline;
}

button.pti-bio-more {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

/* Secondary role directly under the name row (no primary line, no layer title). */
.pti-name-row + .pti-role-line--secondary {
  margin-top: 0.45rem;
}

.pti-member-since {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pti-muted2);
}

.pti-member-since--aside {
  margin: 0.45rem 0 0;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 800px) {
  .pti-member-since--aside {
    justify-content: flex-start;
  }
}

/* Owner preview only: quiet account strip under Member since (visitors never see this). */
.pti-owner-aside-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.2rem 0.32rem;
  margin-top: 0.55rem;
  width: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .pti-owner-aside-nav {
    justify-content: flex-start;
  }
}

.pti-owner-aside-nav a {
  color: var(--pti-green-600);
  text-decoration: none;
}

.pti-owner-aside-nav a:hover {
  color: var(--pti-green);
  text-decoration: underline;
}

/* Softer than public CTAs — private shortcuts for the signed-in owner only */
.pti-owner-aside-nav.pti-owner-aside-nav--owner-secondary a {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--pti-muted2);
  text-decoration: none;
}

.pti-owner-aside-nav.pti-owner-aside-nav--owner-secondary a:hover {
  color: var(--pti-ink);
  text-decoration: underline;
}

.pti-owner-aside-nav__sep {
  color: rgba(92, 109, 122, 0.42);
  font-weight: 600;
  user-select: none;
}

/* Slightly apart from navigation greens — “consequential” without screaming error red. */
.pti-owner-aside-nav a.pti-owner-aside-nav__logout {
  color: #a8463d;
}

.pti-owner-aside-nav a.pti-owner-aside-nav__logout:hover {
  color: #8b3228;
  text-decoration: underline;
}

.pti-owner-aside-nav.pti-owner-aside-nav--owner-secondary a.pti-owner-aside-nav__logout {
  color: #8f4d44;
  font-weight: 500;
}

.pti-owner-aside-nav.pti-owner-aside-nav--owner-secondary a.pti-owner-aside-nav__logout:hover {
  color: #6f352e;
}

/* Tenure chip: same “pill” language as trust row, neutral slate (not green = not a verification claim). */
.pti-member-since__pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28rem 0.4rem;
  padding: 0.32rem 0.62rem 0.34rem;
  max-width: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--pti-text);
  background: linear-gradient(180deg, #fafcfd 0%, #f0f4f7 100%);
  border: 1px solid rgba(15, 33, 51, 0.11);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 1px 2px rgba(15, 33, 51, 0.04);
}

.pti-member-since__glyph {
  font-size: 0.78rem;
  line-height: 1;
  opacity: 0.88;
}

.pti-member-since__label {
  color: var(--pti-muted2);
  font-weight: 600;
}

.pti-member-since__year {
  font-weight: 800;
  color: var(--pti-ink);
  letter-spacing: 0.01em;
}

.pti-nfb-id-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--pti-muted2);
}

.pti-nfb-id-line__label {
  display: inline;
  font-weight: 700;
  color: var(--pti-muted2);
}

.pti-nfb-id-line__value {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0d9488;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  cursor: pointer;
  text-align: left;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.pti-nfb-id-line__value:hover {
  color: #0f766e;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.pti-nfb-id-line__value:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.pti-nfb-id-line__value--copied {
  color: #14532d !important;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.45);
  text-decoration: none !important;
}

.pti-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pti-trust-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.42rem;
  min-width: 0;
}

.pti-verify-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0.32rem 0.55rem 0.34rem;
  max-width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0.014em;
  color: var(--pti-green-600);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(236, 248, 241, 0.85) 42%, rgba(220, 239, 228, 0.55) 100%);
  border: 1px solid rgba(26, 127, 74, 0.16);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(26, 127, 74, 0.06);
}

.pti-verify-inline-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.28rem;
  white-space: nowrap;
}

.pti-verify-inline-item:not(:first-child)::before {
  content: '·';
  display: inline-block;
  margin: 0 0.42em 0 0.38em;
  color: rgba(92, 109, 122, 0.55);
  font-weight: 600;
  font-size: 1.05em;
  line-height: 1;
  transform: translateY(-0.04em);
  pointer-events: none;
}

.pti-verify-mark {
  display: inline-grid;
  place-content: center;
  flex-shrink: 0;
  width: 1.0625rem;
  height: 1.0625rem;
  font-size: 0.5625rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  background: linear-gradient(155deg, #22a356 0%, #15803d 55%, #126b34 100%);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(21, 107, 63, 0.35),
    0 1px 2px rgba(15, 33, 51, 0.12);
}

.pti-verify-sep {
  display: none;
}

/* Legacy / rare — handle now lives in .pti-identity-subline__handle */
.pti-handle {
  margin: 0 0 0.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pti-muted);
  letter-spacing: 0.02em;
}

/* @handle + “public member” — one calm line (role/headline stays above) */
.pti-identity-subline {
  margin: 0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.4rem;
  row-gap: 0.2rem;
  max-width: 36rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--pti-muted2);
}

.pti-identity-subline__handle {
  font-weight: 700;
  color: var(--pti-muted);
  letter-spacing: 0.02em;
}

.pti-identity-subline__sep {
  color: rgba(92, 109, 122, 0.45);
  font-weight: 500;
  user-select: none;
}

.pti-identity-subline__meta {
  font-weight: 500;
  color: var(--pti-muted2);
  letter-spacing: 0.01em;
}

.pti-public-soft {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pti-muted);
  letter-spacing: 0.01em;
}

.pti-titleline {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pti-muted);
  max-width: 36rem;
}

.pti-header-aside {
  text-align: right;
  justify-self: end;
  min-width: 0;
  align-self: start;
}

/* Logged-in: NFB ID, dashboard, notifications, logout, local time — mirrors .pti-site-chrome inside the card. */
.pti-header-account-strip {
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0 0 0.7rem;
  border-bottom: 1px solid rgba(26, 127, 74, 0.14);
}

.pti-header-account-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.85rem;
}

.pti-header-account-strip__nfb {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pti-header-account-strip__tools {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.65rem;
}

.pti-header-account-strip__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pti-text);
  text-decoration: none;
  white-space: nowrap;
}

.pti-header-account-strip__link:hover {
  color: var(--pti-green-600);
  text-decoration: underline;
}

.pti-header-account-strip__link--notif {
  position: relative;
  padding: 0.12rem 0.32rem;
}

.pti-header-account-strip__link--logout {
  color: #9a3412;
}

.pti-header-account-strip__link--logout:hover {
  color: #7f1d1d;
}

.pti-header-account-strip__time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pti-muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 800px) {
  .pti-header-aside {
    text-align: left;
    justify-self: stretch;
    min-width: 0;
    max-width: none;
    border-top: 1px solid var(--pti-mint-deep);
    padding-top: 1rem;
  }

  .pti-header-account-strip__inner,
  .pti-header-account-strip__tools {
    justify-content: flex-start;
  }
}

.pti-aside-meta {
  margin-bottom: 0;
}

.pti-aside-loc-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  max-width: 26rem;
  margin-left: auto;
}

@media (max-width: 800px) {
  .pti-aside-loc-group {
    align-items: flex-start;
    margin-left: 0;
    max-width: none;
  }
}

.pti-aside-meta .pti-meta-line {
  margin-bottom: 0;
}

.pti-local-network-line {
  margin: 0.15rem 0 0;
  max-width: 100%;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.015em;
  color: var(--pti-green-600);
  text-wrap: balance;
  text-align: right;
}

@media (max-width: 800px) {
  .pti-local-network-line {
    text-align: left;
  }
}

.pti-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: flex-end;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--pti-text);
}

@media (max-width: 800px) {
  .pti-meta-line {
    justify-content: flex-start;
  }
}

.pti-meta-line strong {
  color: var(--pti-ink);
}

.pti-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--pti-mint);
  color: var(--pti-green-600);
  border: 1px solid var(--pti-line);
}

.pti-badge--ok {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.35);
}

/* Trust + identity left; Follow / Message / View articles right (same row). */
.pti-header-actions-band {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--pti-mint-deep);
}

.pti-header-trust-row {
  flex: 1 1 auto;
  min-width: min(100%, 14rem);
}

.pti-header-band-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .pti-header-actions-band {
    flex-direction: column;
    align-items: stretch;
  }

  .pti-header-band-cta {
    justify-content: flex-start;
    padding-top: 0.15rem;
  }
}

.nfb-follow-control--profile {
  display: inline-flex;
  align-items: center;
}

.nfb-follow-control--profile .article-author-follow__btn {
  min-height: auto;
}

.nfb-follow-control__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.pti-header-band-cta .nfb-follow-control--profile {
  position: relative;
}

/* Trust ✓ pill + secondary identity chips (not trust, not primary CTA). */
.pti-trust-identity-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* Wider column-gap: separate verification block from “Viewing as” as a second unit */
  gap: 0.5rem 1.75rem;
  min-width: 0;
}

/* Identity layer: same pill shape as trust row, blue palette, no ✓ (trust vs identity must stay distinct). */
.pti-identity-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0.4rem 0.65rem 0.42rem;
  max-width: 100%;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.018em;
  color: #1d4ed8;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(239, 246, 255, 0.88) 42%, rgba(219, 234, 254, 0.52) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(37, 99, 235, 0.07);
}

.pti-identity-inline-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.08rem 0.12rem;
  white-space: nowrap;
  font: inherit;
  font-weight: 600;
  letter-spacing: inherit;
  line-height: inherit;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: opacity 0.12s ease, background 0.12s ease;
}

.pti-identity-inline-item:not(:first-child)::before {
  content: '·';
  display: inline-block;
  margin: 0 0.42em 0 0.38em;
  color: rgba(92, 109, 122, 0.55);
  font-weight: 600;
  font-size: 1.05em;
  line-height: 1;
  transform: translateY(-0.04em);
  pointer-events: none;
}

.pti-identity-inline-item:hover {
  background: rgba(255, 255, 255, 0.35);
}

.pti-identity-inline-item:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Owner-only: session-backed identity preview (replaces jump tabs for that row). */
.pti-identity-switch-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  max-width: 100%;
}

.pti-viewing-as-label {
  flex-shrink: 0;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pti-muted);
}

/* Match scale of .pti-verify-inline pills (compact segment controls, not oversized chips). */
.pti-identity-inline--switch .pti-identity-switch-btn {
  padding: 0.06rem 0.3rem;
}

/* Active identity: soft brand hint — visible but not as heavy as trust pills. */
.pti-identity-inline--switch .pti-identity-switch-btn--active {
  padding: 0.08rem 0.38rem;
  color: var(--pti-switch-active-text, var(--pti-green-600));
  background: var(--pti-switch-active-bg, linear-gradient(180deg, rgba(240, 249, 244, 0.92) 0%, rgba(228, 241, 234, 0.72) 100%));
  box-shadow:
    inset 0 0 0 1px var(--pti-switch-active-border, rgba(26, 127, 74, 0.38)),
    0 1px 2px rgba(21, 107, 63, 0.06);
  border-radius: 6px;
}

.pti-identity-inline--switch .pti-identity-switch-btn--active:hover {
  background: var(--pti-switch-active-bg-hover, linear-gradient(180deg, rgba(236, 248, 241, 0.98) 0%, rgba(220, 236, 228, 0.85) 100%));
  box-shadow:
    inset 0 0 0 1px var(--pti-switch-active-border-hover, rgba(26, 127, 74, 0.48)),
    0 1px 3px rgba(21, 107, 63, 0.08);
  color: var(--pti-switch-active-text-hover, var(--pti-green));
}

.pti-identity-inline--switch .pti-identity-switch-btn--active:focus-visible {
  outline: 2px solid var(--pti-switch-active-outline, rgba(26, 127, 74, 0.45));
  outline-offset: 2px;
}

/* Viewing-as active tab palette (matches dashboard surface colors) */
.pti-identity-inline--switch .pti-identity-switch-btn--personal.pti-identity-switch-btn--active {
  --pti-switch-active-text: #9f1239;
  --pti-switch-active-text-hover: #9f1239;
  --pti-switch-active-border: rgba(159, 18, 57, 0.22);
  --pti-switch-active-border-hover: rgba(159, 18, 57, 0.28);
  --pti-switch-active-outline: rgba(159, 18, 57, 0.34);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(255, 241, 242, 0.96) 0%, rgba(254, 205, 211, 0.56) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(255, 241, 242, 0.98) 0%, rgba(254, 205, 211, 0.7) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--professional.pti-identity-switch-btn--active {
  --pti-switch-active-text: #92400e;
  --pti-switch-active-text-hover: #92400e;
  --pti-switch-active-border: rgba(146, 64, 14, 0.22);
  --pti-switch-active-border-hover: rgba(146, 64, 14, 0.28);
  --pti-switch-active-outline: rgba(146, 64, 14, 0.34);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(255, 251, 235, 0.96) 0%, rgba(252, 211, 77, 0.5) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(255, 251, 235, 0.98) 0%, rgba(252, 211, 77, 0.62) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--business.pti-identity-switch-btn--active {
  --pti-switch-active-text: #047857;
  --pti-switch-active-text-hover: #047857;
  --pti-switch-active-border: rgba(4, 120, 87, 0.22);
  --pti-switch-active-border-hover: rgba(4, 120, 87, 0.28);
  --pti-switch-active-outline: rgba(4, 120, 87, 0.34);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(236, 253, 245, 0.96) 0%, rgba(167, 243, 208, 0.6) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(236, 253, 245, 0.98) 0%, rgba(167, 243, 208, 0.72) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--organizational.pti-identity-switch-btn--active {
  --pti-switch-active-text: #6d28d9;
  --pti-switch-active-text-hover: #6d28d9;
  --pti-switch-active-border: rgba(109, 40, 217, 0.2);
  --pti-switch-active-border-hover: rgba(109, 40, 217, 0.26);
  --pti-switch-active-outline: rgba(109, 40, 217, 0.32);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(245, 243, 255, 0.96) 0%, rgba(221, 214, 254, 0.6) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(245, 243, 255, 0.98) 0%, rgba(221, 214, 254, 0.72) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--government.pti-identity-switch-btn--active {
  --pti-switch-active-text: #0f172a;
  --pti-switch-active-text-hover: #0f172a;
  --pti-switch-active-border: rgba(15, 23, 42, 0.18);
  --pti-switch-active-border-hover: rgba(15, 23, 42, 0.22);
  --pti-switch-active-outline: rgba(15, 23, 42, 0.26);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(241, 245, 249, 0.96) 0%, rgba(203, 213, 225, 0.62) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(241, 245, 249, 0.98) 0%, rgba(203, 213, 225, 0.74) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--blog.pti-identity-switch-btn--active {
  --pti-switch-active-text: #075985;
  --pti-switch-active-text-hover: #075985;
  --pti-switch-active-border: rgba(7, 89, 133, 0.22);
  --pti-switch-active-border-hover: rgba(7, 89, 133, 0.3);
  --pti-switch-active-outline: rgba(7, 89, 133, 0.32);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(224, 242, 254, 0.96) 0%, rgba(125, 211, 252, 0.45) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(224, 242, 254, 0.98) 0%, rgba(125, 211, 252, 0.58) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--book.pti-identity-switch-btn--active {
  --pti-switch-active-text: #b45309;
  --pti-switch-active-text-hover: #b45309;
  --pti-switch-active-border: rgba(180, 83, 9, 0.22);
  --pti-switch-active-border-hover: rgba(180, 83, 9, 0.3);
  --pti-switch-active-outline: rgba(180, 83, 9, 0.32);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(255, 251, 235, 0.96) 0%, rgba(252, 211, 77, 0.48) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(255, 251, 235, 0.98) 0%, rgba(252, 211, 77, 0.6) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--podcast.pti-identity-switch-btn--active {
  --pti-switch-active-text: #5b21b6;
  --pti-switch-active-text-hover: #5b21b6;
  --pti-switch-active-border: rgba(91, 33, 182, 0.2);
  --pti-switch-active-border-hover: rgba(91, 33, 182, 0.28);
  --pti-switch-active-outline: rgba(91, 33, 182, 0.32);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(245, 243, 255, 0.96) 0%, rgba(196, 181, 253, 0.55) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(245, 243, 255, 0.98) 0%, rgba(196, 181, 253, 0.68) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--video.pti-identity-switch-btn--active {
  --pti-switch-active-text: #be123c;
  --pti-switch-active-text-hover: #be123c;
  --pti-switch-active-border: rgba(190, 18, 60, 0.2);
  --pti-switch-active-border-hover: rgba(190, 18, 60, 0.28);
  --pti-switch-active-outline: rgba(190, 18, 60, 0.32);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(255, 241, 242, 0.96) 0%, rgba(253, 164, 175, 0.48) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(255, 241, 242, 0.98) 0%, rgba(253, 164, 175, 0.62) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--association.pti-identity-switch-btn--active {
  --pti-switch-active-text: #0f766e;
  --pti-switch-active-text-hover: #0f766e;
  --pti-switch-active-border: rgba(15, 118, 110, 0.22);
  --pti-switch-active-border-hover: rgba(15, 118, 110, 0.3);
  --pti-switch-active-outline: rgba(15, 118, 110, 0.32);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(240, 253, 250, 0.96) 0%, rgba(94, 234, 212, 0.42) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(240, 253, 250, 0.98) 0%, rgba(94, 234, 212, 0.55) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--organization.pti-identity-switch-btn--active {
  --pti-switch-active-text: #3730a3;
  --pti-switch-active-text-hover: #3730a3;
  --pti-switch-active-border: rgba(55, 48, 163, 0.2);
  --pti-switch-active-border-hover: rgba(55, 48, 163, 0.28);
  --pti-switch-active-outline: rgba(55, 48, 163, 0.32);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(238, 242, 255, 0.96) 0%, rgba(165, 180, 252, 0.52) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(238, 242, 255, 0.98) 0%, rgba(165, 180, 252, 0.65) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--project.pti-identity-switch-btn--active {
  --pti-switch-active-text: #c2410c;
  --pti-switch-active-text-hover: #c2410c;
  --pti-switch-active-border: rgba(194, 65, 12, 0.22);
  --pti-switch-active-border-hover: rgba(194, 65, 12, 0.3);
  --pti-switch-active-outline: rgba(194, 65, 12, 0.32);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(255, 247, 237, 0.96) 0%, rgba(253, 186, 116, 0.48) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(255, 247, 237, 0.98) 0%, rgba(253, 186, 116, 0.6) 100%);
}
.pti-identity-inline--switch .pti-identity-switch-btn--brand.pti-identity-switch-btn--active {
  --pti-switch-active-text: #9d174d;
  --pti-switch-active-text-hover: #9d174d;
  --pti-switch-active-border: rgba(157, 23, 77, 0.2);
  --pti-switch-active-border-hover: rgba(157, 23, 77, 0.28);
  --pti-switch-active-outline: rgba(157, 23, 77, 0.32);
  --pti-switch-active-bg: linear-gradient(180deg, rgba(253, 242, 248, 0.96) 0%, rgba(249, 168, 212, 0.48) 100%);
  --pti-switch-active-bg-hover: linear-gradient(180deg, rgba(253, 242, 248, 0.98) 0%, rgba(249, 168, 212, 0.62) 100%);
}

.pti-identity-switch-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Collapse non-core identity rows (blog, government, …) behind a compact control. */
.pti-identity-switch-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.pti-identity-switch-more__summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0.08rem 0.28rem 0.1rem;
  min-height: 1.22rem;
  min-width: 1.45rem;
  box-sizing: border-box;
  list-style: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: rgba(29, 78, 216, 0.95);
  border-radius: 6px;
  border: 1px dashed rgba(37, 99, 235, 0.4);
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.pti-identity-switch-more__summary::-webkit-details-marker {
  display: none;
}

.pti-identity-switch-more__summary::marker {
  content: '';
}

.pti-identity-switch-more__summary:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(37, 99, 235, 0.48);
}

.pti-identity-switch-more__chev-svg {
  display: block;
  flex-shrink: 0;
  width: 9px;
  height: 6px;
  margin: 0;
  color: rgba(29, 78, 216, 0.88);
  transition: transform 0.16s ease;
}

.pti-identity-switch-more__empty {
  margin: 0 0 0.35rem;
  padding: 0;
  max-width: 14rem;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(51, 65, 85, 0.92);
}

.pti-identity-switch-more__edit {
  display: inline-block;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 78, 216, 0.35);
}

.pti-identity-switch-more__edit:hover {
  color: #1e40af;
  border-bottom-color: rgba(30, 64, 175, 0.55);
}

.pti-identity-switch-more__edit:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 2px;
}

.pti-identity-switch-more[open] .pti-identity-switch-more__chev-svg {
  transform: rotate(180deg);
}

.pti-identity-switch-more__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.28rem);
  right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.35rem;
  min-width: 10.5rem;
  max-width: min(22rem, 92vw);
  padding: 0.45rem 0.55rem;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(239, 246, 255, 0.98) 100%);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 10px;
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pti-identity-switch-more__panel .pti-identity-inline-item:not(:first-child)::before {
  content: none;
  margin: 0;
}

.pti-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.65rem;
}

@media (max-width: 800px) {
  .pti-cta-row {
    justify-content: flex-start;
  }
}

.pti-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--pti-radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.pti-btn:active {
  transform: scale(0.98);
}

.pti-btn--primary {
  background: var(--pti-green);
  color: #fff;
  border-color: var(--pti-green-600);
}
.pti-btn--primary:hover {
  background: var(--pti-green-light);
}

.pti-btn--secondary {
  background: var(--pti-card);
  color: var(--pti-green-600);
  border-color: var(--pti-line);
}
.pti-btn--secondary:hover {
  background: var(--pti-mint);
}

.pti-btn--compact {
  padding: 0.42rem 0.82rem;
  font-size: 0.78rem;
}

/* Smaller CTAs aligned with Verified row */
.pti-btn--band {
  padding: 0.28rem 0.58rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 7px;
  line-height: 1.25;
}

.pti-btn--ghost {
  background: transparent;
  color: var(--pti-green-600);
  border-color: transparent;
  box-shadow: none;
}

.pti-btn--ghost:hover {
  background: rgba(236, 248, 241, 0.75);
  color: var(--pti-green);
  border-color: transparent;
}

.pti-btn--ghost:focus-visible {
  outline: 2px solid var(--pti-green);
  outline-offset: 2px;
}

/* —— Work layer — creation hubs; visually aligned with header mint / trust chips —— */
.pti-work-layer {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem 1.05rem;
  background: linear-gradient(165deg, #ffffff 0%, #fafefd 55%, #f3faf6 100%);
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius);
  box-shadow: var(--pti-shadow);
}

.pti-work-layer__head {
  max-width: 40rem;
}

/*
 * “What … creates” — same size scale as eyebrows, stronger hierarchy:
 * darker forest (not CTA green), subtle rule = start of member content world.
 */
.pti-work-layer__title {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pti-creation-label);
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--pti-creation-rule);
}

.pti-work-layer__title::before {
  content: '';
  flex-shrink: 0;
  width: calc(0.4rem + 1px);
  height: calc(0.4rem + 1px);
  border-radius: 50%;
  background: var(--pti-green);
  opacity: 0.85;
}

/*
 * Tagline under “What … creates”. Italic reads smaller optically — use ~0.875rem
 * and slightly stronger color than pure muted2 while staying lighter than .pti-role-line.
 */
.pti-work-layer__sub {
  margin: 0.45rem 0 0;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--pti-text);
}

.pti-work-layer__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

/* Same scale + palette family as .pti-verify-inline (green mint pill, not flat grey). */
.pti-work-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.38rem 0.72rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.018em;
  line-height: 1.35;
  color: var(--pti-green-600);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(236, 248, 241, 0.78) 45%, rgba(220, 239, 228, 0.52) 100%);
  border: 1px solid rgba(26, 127, 74, 0.18);
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(26, 127, 74, 0.06);
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.pti-work-pill:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(228, 241, 234, 0.9) 40%, rgba(208, 231, 218, 0.65) 100%);
  border-color: rgba(26, 127, 74, 0.3);
  color: var(--pti-green);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 1px 3px rgba(26, 127, 74, 0.1);
}

.pti-work-pill:focus-visible {
  outline: 2px solid var(--pti-green);
  outline-offset: 2px;
}

/* —— Trust strip —— */
.pti-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.pti-trust--focus {
  grid-template-columns: 1fr;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .pti-trust:not(.pti-trust--focus) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pti-trust-item--wide {
  text-align: center;
}

.pti-trust-item {
  background: var(--pti-card);
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius-sm);
  padding: 0.75rem 0.85rem;
  box-shadow: 0 2px 8px rgba(26, 127, 74, 0.05);
}

.pti-trust-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pti-muted);
  margin-bottom: 0.25rem;
}

.pti-trust-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pti-ink);
}

.pti-trust-value--ok {
  color: #166534;
}
.pti-trust-value--no {
  color: #9ca3af;
}

.pti-trust-hint {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--pti-muted2);
}

.pti-trust-note {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--pti-muted2);
}

/* Public contributions — user output (neutral; not opportunity/coral) */
.pti-trust-item.pti-contributions {
  text-align: left;
  padding: 0.85rem 1rem 0.95rem;
}

.pti-contributions__value {
  margin-top: 0.15rem;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--pti-ink);
}

.pti-contributions__status {
  margin: 0.38rem 0 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pti-text);
}

.pti-contributions__status--start {
  color: var(--pti-muted2);
  font-weight: 600;
}

.pti-contributions__status--getting-started {
  color: #4d6b5c;
}

.pti-contributions__status--active-contributor {
  color: var(--pti-green-600);
}

.pti-contributions__status--strong-presence {
  color: #15803d;
}

.pti-contributions__status--established-contributor {
  color: var(--pti-ink);
}

.pti-contributions__breakdown {
  margin-top: calc(0.55rem + 5px);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(26, 127, 74, 0.1);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pti-muted2);
  opacity: 0.78;
}

.pti-contributions__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  max-width: 16rem;
}

.pti-contributions__row + .pti-contributions__row {
  margin-top: 0.2rem;
}

.pti-contributions__k {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex: 1 1 auto;
}

.pti-contributions__ico {
  flex-shrink: 0;
  font-size: 0.82em;
  line-height: 1;
  opacity: 0.88;
}

.pti-contributions__v {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: var(--pti-ink);
  opacity: 0.85;
}

.pti-contributions__cta {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pti-green-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 127, 74, 0.35);
  line-height: 1.35;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pti-contributions__cta:hover {
  color: var(--pti-green);
  border-bottom-color: var(--pti-green);
}

/* —— Local context (below header, not in header) —— */
.pti-local-context {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem 1.1rem;
  background: linear-gradient(165deg, #fafefd 0%, #f4fbf7 100%);
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius);
  box-shadow: var(--pti-shadow);
}

.pti-local-context--county-economy {
  border-left: 3px solid var(--pti-green);
  background: linear-gradient(115deg, rgba(236, 248, 241, 0.65) 0%, #fafefd 38%, #f4fbf7 100%);
}

.pti-local-context__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pti-green);
}

.pti-local-context__eyebrow--economy {
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--pti-green-600);
}

.pti-local-context__title {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pti-ink);
  line-height: 1.25;
}

.pti-local-context__title--economy {
  margin-top: 0.45rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  line-height: 1.15;
  max-width: 36rem;
}

.pti-local-context__heading-place {
  display: block;
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pti-ink);
}

.pti-local-context__heading-network {
  display: block;
  font-size: clamp(0.75rem, 1.45vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pti-local-network-accent);
}

.pti-local-context__subtitle--economy {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pti-muted2);
}

.pti-local-context__mission {
  margin: 0.45rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--pti-green-600);
  letter-spacing: 0.01em;
  max-width: 36rem;
}

.pti-local-context__hint {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pti-muted2);
  max-width: 40rem;
}

.pti-local-context__hint--live {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pti-green-600);
  letter-spacing: 0.01em;
}

.pti-local-context--county-economy .pti-local-context__hint--live {
  margin-top: 0.65rem;
}

.pti-local-context__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pti-muted2);
  letter-spacing: 0.02em;
}

.pti-local-context__city {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pti-muted);
}

.pti-local-context__geo-meta {
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pti-muted2);
  max-width: 42rem;
}

.pti-local-context__identity-line {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  font-style: italic;
  color: var(--pti-green-600);
  letter-spacing: 0.02em;
}

.pti-local-context__categories {
  margin: 0.65rem 0 0;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pti-muted2);
  max-width: 44rem;
}

.pti-local-context__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 0.85rem;
}

.pti-local-context__metric {
  padding: 0.7rem 0.8rem;
  background: var(--pti-card);
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius-sm);
  box-shadow: 0 1px 4px rgba(26, 127, 74, 0.05);
}

/* Activity — pulse / momentum (tier colors on card + headline; hint uses shared .network-hint) */
.pti-local-context__metric--activity {
  border-style: solid;
  border-width: 1px;
}

.pti-local-context__metric--activity-tier-low {
  border-color: rgba(71, 85, 105, 0.22);
  background: linear-gradient(175deg, rgba(226, 232, 228, 0.55) 0%, var(--pti-card) 100%);
}

.pti-local-context__metric--activity-tier-low .pti-local-context__value--activity {
  color: #647864;
}

.pti-local-context__metric--activity-tier-low .pti-local-context__network-status {
  color: var(--pti-muted2);
  font-weight: 600;
}

.pti-local-context__metric--activity-tier-moderate {
  border-color: rgba(180, 83, 9, 0.2);
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.35) 0%, var(--pti-card) 100%);
}

.pti-local-context__metric--activity-tier-moderate .pti-local-context__value--activity {
  color: #a16207;
}

.pti-local-context__metric--activity-tier-moderate .pti-local-context__network-status {
  color: #92400e;
}

.pti-local-context__metric--activity-tier-active {
  border-color: rgba(22, 163, 74, 0.28);
  background: linear-gradient(180deg, rgba(220, 252, 231, 0.55) 0%, var(--pti-card) 100%);
}

.pti-local-context__metric--activity-tier-active .pti-local-context__value--activity {
  color: #15803d;
}

.pti-local-context__metric--activity-tier-active .pti-local-context__network-status {
  color: var(--pti-green-600);
}

.pti-local-context__metric--activity-tier-high {
  border-color: rgba(21, 107, 63, 0.32);
  background: linear-gradient(180deg, rgba(209, 250, 229, 0.65) 0%, rgba(236, 253, 245, 0.4) 55%, var(--pti-card) 100%);
}

.pti-local-context__metric--activity-tier-high .pti-local-context__value--activity {
  color: var(--pti-green-600);
}

.pti-local-context__metric--activity-tier-high .pti-local-context__network-status {
  color: #14532d;
}

.pti-local-context__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pti-muted);
  margin-bottom: 0.28rem;
}

.pti-local-context__value {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--pti-green-600);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pti-local-context__value--time {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pti-local-context__value--activity {
  font-size: 1.35rem;
  text-transform: capitalize;
}

.pti-local-context__sub {
  display: block;
  margin-top: 0.32rem;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--pti-muted2);
}

/* Members card — network scale (tier) + optional 30d hint */
.pti-local-context__network-status {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--pti-text);
}

.pti-local-context__metric--members-tier-none .pti-local-context__network-status {
  color: var(--pti-muted2);
  font-weight: 500;
}

.pti-local-context__metric--members-tier-early-spark {
  border-color: rgba(232, 122, 97, 0.38);
  background: linear-gradient(165deg, rgba(232, 122, 97, 0.1) 0%, var(--pti-card) 58%);
  box-shadow: 0 1px 8px rgba(232, 122, 97, 0.1);
}

.pti-local-context__metric--members-tier-early-spark .pti-local-context__network-status {
  color: var(--pti-local-network-accent-text);
}

.pti-local-context__metric--members-tier-early .pti-local-context__network-status {
  color: var(--pti-green-600);
}

.pti-local-context__metric--members-tier-growing .pti-local-context__network-status {
  color: #b45309;
}

.pti-local-context__metric--members-tier-active .pti-local-context__network-status {
  color: #15803d;
}

.pti-local-context__metric--members-tier-established .pti-local-context__network-status {
  color: var(--pti-ink);
}

.pti-local-context__network-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.6rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--pti-muted2);
  opacity: 0.68;
}

/* Public businesses — market fill / first-mover signal */
.pti-local-context__metric--businesses-tier-open-market {
  border-color: rgba(232, 122, 97, 0.38);
  background: linear-gradient(165deg, rgba(232, 122, 97, 0.11) 0%, var(--pti-card) 58%);
  box-shadow: 0 1px 8px rgba(232, 122, 97, 0.1);
}

.pti-local-context__metric--businesses-tier-open-market .pti-local-context__network-status {
  color: var(--pti-local-network-accent-text);
}

.pti-local-context__metric--businesses-tier-very-early {
  border-color: rgba(232, 122, 97, 0.22);
  background: linear-gradient(180deg, rgba(232, 122, 97, 0.06) 0%, var(--pti-card) 100%);
}

.pti-local-context__metric--businesses-tier-very-early .pti-local-context__network-status {
  color: #c2410c;
}

.pti-local-context__metric--businesses-tier-early .pti-local-context__network-status {
  color: var(--pti-green-600);
}

.pti-local-context__metric--businesses-tier-growing .pti-local-context__network-status {
  color: #b45309;
}

.pti-local-context__metric--businesses-tier-active .pti-local-context__network-status {
  color: #15803d;
}

.pti-local-context__metric--businesses-tier-established .pti-local-context__network-status {
  color: var(--pti-ink);
}

/* Local posts — knowledge / voice in the network */
.pti-local-context__metric--posts-tier-first-insight {
  border-color: rgba(232, 122, 97, 0.38);
  background: linear-gradient(165deg, rgba(232, 122, 97, 0.11) 0%, var(--pti-card) 58%);
  box-shadow: 0 1px 8px rgba(232, 122, 97, 0.1);
}

.pti-local-context__metric--posts-tier-first-insight .pti-local-context__network-status {
  color: var(--pti-local-network-accent-text);
}

.pti-local-context__metric--posts-tier-early {
  border-color: rgba(232, 122, 97, 0.22);
  background: linear-gradient(180deg, rgba(232, 122, 97, 0.06) 0%, var(--pti-card) 100%);
}

.pti-local-context__metric--posts-tier-early .pti-local-context__network-status {
  color: #c2410c;
}

.pti-local-context__metric--posts-tier-emerging .pti-local-context__network-status {
  color: var(--pti-green-600);
}

.pti-local-context__metric--posts-tier-growing .pti-local-context__network-status {
  color: #b45309;
}

.pti-local-context__metric--posts-tier-active .pti-local-context__network-status {
  color: #15803d;
}

.pti-local-context__metric--posts-tier-established .pti-local-context__network-status {
  color: var(--pti-ink);
}

.pti-local-context__cta--business-first {
  margin-top: 0.45rem;
}

.pti-local-context__metric--businesses-tier-open-market .pti-local-context__cta--business-first {
  color: var(--pti-local-network-accent-text);
  border-bottom-color: rgba(232, 122, 97, 0.45);
}

.pti-local-context__metric--businesses-tier-open-market .pti-local-context__cta--business-first:hover {
  color: #b84a32;
  border-bottom-color: rgba(232, 122, 97, 0.75);
}

.pti-local-context__cta {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pti-green-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 127, 74, 0.35);
  line-height: 1.35;
}

.pti-local-context__cta:hover {
  color: var(--pti-green);
  border-bottom-color: var(--pti-green);
}

.pti-local-context__cta--inline {
  display: inline;
  margin-left: 0.35rem;
}

.pti-local-context__opportunities {
  margin-top: 0.85rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(26, 127, 74, 0.12);
}

.pti-local-context__opps-title {
  margin: 0.15rem 0 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--pti-green-600);
}

.pti-local-context__opps-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--pti-ink);
}

.pti-local-context__opps-list li {
  margin-bottom: 0.35rem;
}

.pti-local-context__opps-text {
  font-weight: 500;
  color: var(--pti-muted2);
}

.pti-local-context__opps-link {
  font-weight: 600;
  color: var(--pti-green-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 127, 74, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pti-local-context__opps-link:hover {
  color: var(--pti-green);
  border-bottom-color: var(--pti-green);
}

/* —— Featured hero (published work) —— */
.pti-hero-featured {
  position: relative;
  margin-bottom: 1.25rem;
  border-radius: var(--pti-radius);
  overflow: hidden;
  border: 1px solid var(--pti-line);
  box-shadow: var(--pti-shadow);
  min-height: 220px;
  background:
    linear-gradient(135deg, var(--pti-mint) 0%, var(--pti-card) 48%, rgba(236, 248, 241, 0.95) 100%);
}

.pti-hero-featured--has-cover {
  background-image: var(--pti-hero-img), linear-gradient(125deg, rgba(21, 107, 63, 0.92) 0%, rgba(15, 33, 51, 0.75) 100%);
  background-size: cover;
  background-position: 72% center;
  min-height: 280px;
}

.pti-hero-featured__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 33, 51, 0.55) 0%, rgba(15, 33, 51, 0.2) 55%, transparent 100%);
}

.pti-hero-featured--has-cover .pti-hero-featured__scrim {
  background:
    linear-gradient(90deg, rgba(8, 18, 30, 0.88) 0%, rgba(8, 18, 30, 0.76) 34%, rgba(8, 18, 30, 0.42) 56%, rgba(8, 18, 30, 0.16) 76%, rgba(8, 18, 30, 0.08) 100%),
    linear-gradient(180deg, rgba(15, 33, 51, 0.12) 0%, rgba(15, 33, 51, 0.7) 100%);
}

.pti-hero-featured__inner {
  position: relative;
  z-index: 1;
  padding: 1.65rem 1.75rem 1.75rem;
  max-width: 38rem;
}

.pti-hero-featured--has-cover .pti-hero-featured__inner {
  max-width: 31rem;
}

.pti-hero-featured--has-cover .pti-hero-featured__inner::before {
  content: "";
  position: absolute;
  inset: 1.1rem auto 1.1rem 1.05rem;
  width: min(100%, 28.5rem);
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(9, 18, 29, 0.62) 0%, rgba(9, 18, 29, 0.48) 46%, rgba(9, 18, 29, 0.16) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(8, 18, 30, 0.18);
  backdrop-filter: blur(6px);
}

.pti-hero-featured__inner > * {
  position: relative;
  z-index: 1;
}

.pti-hero-featured__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pti-green-600);
}

.pti-hero-featured--has-cover .pti-hero-featured__eyebrow {
  color: rgba(236, 248, 241, 0.95);
}

.pti-hero-featured__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.pti-hero-featured__title a {
  color: var(--pti-ink);
  text-decoration: none;
}

.pti-hero-featured__title a:hover {
  color: var(--pti-green);
}

.pti-hero-featured--has-cover .pti-hero-featured__title a {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.pti-hero-featured--has-cover .pti-hero-featured__title a:hover {
  color: #ecfdf5;
}

.pti-hero-featured__subtitle {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pti-text);
  opacity: 0.92;
}

.pti-hero-featured--has-cover .pti-hero-featured__subtitle {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.pti-hero-featured__excerpt {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--pti-muted);
}

.pti-hero-featured--has-cover .pti-hero-featured__excerpt {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.pti-hero-featured__meta {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--pti-muted2);
}

.pti-hero-featured--has-cover .pti-hero-featured__meta {
  color: rgba(236, 248, 241, 0.92);
}

.pti-hero-featured--has-cover .pti-hero-featured__excerpt,
.pti-hero-featured--has-cover .pti-hero-featured__subtitle {
  max-width: 26rem;
}

.pti-hero-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.pti-hero-featured--has-cover .pti-btn--primary {
  background: #fff;
  color: var(--pti-green-600);
  border-color: rgba(255, 255, 255, 0.9);
}

.pti-hero-featured--has-cover .pti-btn--primary:hover {
  background: var(--pti-mint);
}

.pti-hero-featured--has-cover .pti-btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.pti-hero-featured--has-cover .pti-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 700px) {
  .pti-hero-featured--has-cover {
    background-position: center;
  }

  .pti-hero-featured--has-cover .pti-hero-featured__inner::before {
    inset: 0;
    width: auto;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(9, 18, 29, 0.8) 0%, rgba(9, 18, 29, 0.58) 55%, rgba(9, 18, 29, 0.28) 100%);
    border: 0;
    backdrop-filter: none;
  }
}

/* —— Tabs —— */
.pti-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  align-items: flex-end;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--pti-line);
  padding-bottom: 0.55rem;
  row-gap: 0.45rem;
}

.pti-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pti-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pti-tab:hover {
  color: var(--pti-green-600);
  background: rgba(236, 248, 241, 0.6);
  border-color: rgba(26, 127, 74, 0.1);
}

.pti-tab:focus {
  outline: none;
}

.pti-tab:focus-visible {
  z-index: 1;
  color: var(--pti-green-600);
  background: rgba(236, 248, 241, 0.75);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pti-green);
  border-color: rgba(26, 127, 74, 0.2);
}

.pti-tab[aria-selected='true'] {
  color: var(--pti-ink);
  font-weight: 700;
  background: var(--pti-card);
  border-color: var(--pti-line) var(--pti-line) transparent;
  /* Bottom accent — reads as “connected” to the tab panel below */
  box-shadow: inset 0 -2px 0 0 var(--pti-green);
}

.pti-tab[aria-selected='true']:hover {
  color: var(--pti-ink);
  background: var(--pti-card);
}

.pti-tab[aria-selected='true']:focus-visible {
  color: var(--pti-ink);
  background: var(--pti-card);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pti-green), inset 0 -2px 0 0 var(--pti-green);
}

@media (max-width: 640px) {
  .pti-tabs {
    gap: 0.35rem 0.4rem;
    padding-bottom: 0.5rem;
  }

  .pti-tab {
    flex: 1 1 auto;
    min-width: 5.25rem;
  }
}

.pti-panel {
  display: none;
}

.pti-panel.is-active {
  display: block;
  animation: ptiFade 0.2s ease;
}

@keyframes ptiFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* —— Cards grid —— */
.pti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.pti-stat-card {
  background: var(--pti-card);
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius-sm);
  padding: 1rem 1.1rem;
  box-shadow: var(--pti-shadow);
}

.pti-stat-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pti-muted);
}

.pti-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pti-green);
  letter-spacing: -0.02em;
}

.pti-stat-card a {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pti-green-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 127, 74, 0.25);
}
.pti-stat-card a:hover {
  border-bottom-color: var(--pti-green);
}

/* Overview tab — highlight feed (not a stat grid) */
.pti-overview-empty {
  margin-bottom: 1.15rem;
  padding: 1.1rem 1.2rem;
  background: var(--pti-card);
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius-sm);
  box-shadow: 0 2px 10px rgba(15, 33, 51, 0.04);
}

.pti-overview-empty__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pti-ink);
  letter-spacing: -0.02em;
}

.pti-overview-empty__sub {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pti-muted2);
}

.pti-overview-get-started {
  margin-bottom: 1.15rem;
  padding: 0.95rem 1.1rem 1rem;
  background: linear-gradient(180deg, rgba(236, 248, 241, 0.55) 0%, var(--pti-card) 100%);
  border: 1px solid rgba(26, 127, 74, 0.18);
  border-radius: var(--pti-radius-sm);
  box-shadow: 0 1px 6px rgba(26, 127, 74, 0.06);
}

.pti-overview-get-started__heading {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pti-green-600);
}

.pti-overview-get-started__list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--pti-text);
}

.pti-overview-get-started__list li {
  margin-bottom: 0.28rem;
}

.pti-overview-get-started__list li:last-child {
  margin-bottom: 0;
}

.pti-overview-get-started__link {
  font-weight: 600;
  color: var(--pti-green-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 127, 74, 0.32);
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.pti-overview-get-started__link:hover {
  color: var(--pti-green);
  border-bottom-color: var(--pti-green);
}

.pti-overview-get-started__link--btn {
  display: inline;
}

.pti-overview-feed {
  margin-bottom: 1.15rem;
}

.pti-overview-feed__heading {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pti-green-600);
}

.pti-overview-feed__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pti-highlight-card {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--pti-card);
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius-sm);
  box-shadow: 0 2px 8px rgba(26, 127, 74, 0.05);
}

.pti-highlight-card__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pti-muted);
}

.pti-highlight-card__title {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pti-ink);
  text-decoration: none;
  line-height: 1.35;
  border-bottom: 1px solid transparent;
}

.pti-highlight-card__title:hover {
  color: var(--pti-green-600);
  border-bottom-color: rgba(26, 127, 74, 0.35);
}

.pti-highlight-card__title--text {
  border: none;
  cursor: default;
}

.pti-highlight-card__title--text:hover {
  color: var(--pti-ink);
}

.pti-highlight-card__meta {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--pti-muted2);
}

.pti-highlight-card__snippet {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--pti-text);
}

.pti-highlight-card__snippet a {
  font-weight: 600;
  color: var(--pti-green-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 127, 74, 0.3);
}

.pti-highlight-card__snippet a:hover {
  color: var(--pti-green);
  border-bottom-color: var(--pti-green);
}

.pti-highlight-card__jump {
  margin-top: 0.55rem;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--pti-green-600);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(26, 127, 74, 0.25);
  cursor: pointer;
}

.pti-highlight-card__jump:hover {
  color: var(--pti-green);
  border-bottom-color: var(--pti-green);
}

.pti-overview-tabs-hint {
  margin: 0 0 1.1rem;
  padding: 0.75rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--pti-muted2);
  background: rgba(236, 248, 241, 0.45);
  border: 1px solid rgba(26, 127, 74, 0.12);
  border-radius: var(--pti-radius-sm);
}

.pti-tab-empty-cta {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
}

.pti-tab-empty-cta a {
  font-weight: 700;
  color: var(--pti-green-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 127, 74, 0.35);
}

.pti-tab-empty-cta a:hover {
  color: var(--pti-green);
  border-bottom-color: var(--pti-green);
}

/* Tab empty state — content slot (not help text) */
.pti-card--tab-content .pti-tab-empty {
  margin-top: 0.35rem;
}

.pti-tab-empty {
  text-align: center;
}

.pti-tab-empty__surface {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 1.2rem 1.1rem 1.35rem;
  border: 1px dashed rgba(26, 127, 74, 0.14);
  border-radius: var(--pti-radius-sm);
  background: linear-gradient(165deg, rgba(236, 248, 241, 0.38) 0%, var(--pti-card) 72%);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.pti-tab-empty__surface:hover {
  border-color: rgba(26, 127, 74, 0.28);
  box-shadow: 0 2px 12px rgba(26, 127, 74, 0.08);
}

a.pti-tab-empty__surface:focus-visible {
  outline: 2px solid var(--pti-green);
  outline-offset: 2px;
}

.pti-tab-empty__surface--visitor {
  cursor: default;
}

.pti-tab-empty__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.pti-tab-empty__icon {
  font-size: 2rem;
  line-height: 1;
  opacity: 0.65;
  filter: grayscale(0.12);
}

.pti-tab-empty__ghost {
  width: 100%;
  max-width: 14rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  opacity: 0.45;
}

.pti-tab-empty__ghost-line {
  display: block;
  height: 0.4rem;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(26, 127, 74, 0.12) 0%, rgba(26, 127, 74, 0.06) 100%);
}

.pti-tab-empty__ghost-line--title {
  width: 72%;
  height: 0.5rem;
  align-self: flex-start;
}

.pti-tab-empty__ghost-line--meta {
  width: 38%;
  height: 0.32rem;
  align-self: flex-start;
  margin-top: 0.15rem;
}

.pti-tab-empty__status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pti-ink);
}

.pti-tab-empty__hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pti-muted2);
}

.pti-tab-empty__actions {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

.pti-tab-empty__secondary-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pti-muted2);
  text-decoration: none;
  border-bottom: 1px solid rgba(92, 109, 122, 0.35);
}

.pti-tab-empty__secondary-link:hover {
  color: var(--pti-green-600);
  border-bottom-color: rgba(26, 127, 74, 0.45);
}

/* Articles tab — series filter (from article read kicker link) */
.pti-series-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0.35rem 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(194, 74, 66, 0.06);
  border: 1px solid rgba(194, 74, 66, 0.14);
}

.pti-series-filter-bar__label {
  margin: 0;
  font-size: 0.875rem;
  color: #475569;
}

.pti-series-filter-bar__label strong {
  color: #a83d36;
  font-weight: 600;
}

.pti-series-filter-bar__count {
  color: #64748b;
  font-weight: 400;
}

.pti-series-filter-bar__clear {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0f766e;
  text-decoration: none;
  white-space: nowrap;
}

.pti-series-filter-bar__clear:hover,
.pti-series-filter-bar__clear:focus-visible {
  color: #115e59;
  text-decoration: underline;
}

.pti-series-filter-empty {
  margin: 1.25rem 0;
  text-align: center;
}

.pti-series-filter-empty__status {
  margin: 0;
  font-size: 0.9375rem;
  color: #64748b;
}

.pti-series-filter-empty__hint {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
}

.pti-series-filter-empty__hint a {
  color: #0f766e;
  font-weight: 500;
  text-decoration: none;
}

.pti-series-filter-empty__hint a:hover,
.pti-series-filter-empty__hint a:focus-visible {
  color: #115e59;
  text-decoration: underline;
}

/* Articles tab — editorial stack (1–5 focus; 6+ denser) */
.pti-article-stack {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pti-article-stack--dense {
  gap: 0.65rem;
}

.pti-article-card {
  margin: 0;
}

.pti-article-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius-sm);
  background: linear-gradient(165deg, rgba(236, 248, 241, 0.28) 0%, var(--pti-card) 100%);
  box-shadow: 0 2px 10px rgba(15, 33, 51, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.pti-article-card__link:hover {
  border-color: rgba(26, 127, 74, 0.32);
  box-shadow: 0 4px 16px rgba(26, 127, 74, 0.08);
}

.pti-article-card__link:focus-visible {
  outline: 2px solid var(--pti-green);
  outline-offset: 2px;
}

.pti-article-card__link--row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.85rem;
  padding: 0.85rem 1rem 0.95rem;
}

.pti-article-card__link--row .pti-article-card__body {
  flex: 1;
  min-width: 0;
}

.pti-article-card__link--stacked {
  padding: 0;
}

.pti-article-card__link--stacked .pti-article-card__body {
  padding: 1.05rem 1.15rem 1.15rem;
}

.pti-article-card--hero .pti-article-card__link:not(.pti-article-card__link--stacked) {
  padding: 1.05rem 1.15rem 1.15rem;
}

.pti-article-card--compact .pti-article-card__link:not(.pti-article-card__link--row) {
  padding: 0.85rem 1rem 0.95rem;
}

.pti-article-card__thumb--top {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
  background: rgba(26, 127, 74, 0.06);
}

.pti-article-card__thumb--top img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
}

.pti-article-card__thumb--side {
  flex: 0 0 108px;
  width: 108px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(26, 127, 74, 0.06);
  align-self: flex-start;
}

.pti-article-card__thumb--side img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: cover;
}

.pti-article-card__title {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: var(--pti-ink);
}

.pti-article-card--hero .pti-article-card__title {
  font-size: 1.22rem;
  line-height: 1.22;
}

.pti-article-card--compact .pti-article-card__title {
  font-size: 0.95rem;
  font-weight: 800;
}

.pti-article-card__excerpt {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--pti-muted2);
}

.pti-article-card__excerpt--hero {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.pti-article-card__excerpt--compact {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.8rem;
}

.pti-article-card__meta {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pti-muted2);
  opacity: 0.72;
}

.pti-article-card__cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pti-green-600);
}

/* —— Section card —— */
.pti-card {
  background: var(--pti-card);
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius);
  box-shadow: var(--pti-shadow);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

/* Local context card — system label, chips, meta line (geo control header) */
.pti-card--local-context .pti-local-context-card__title {
  margin: 0 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
  color: var(--pti-green-600);
  opacity: 0.7;
}

.pti-card--local-context .pti-local-grid {
  margin-top: 0;
  margin-bottom: 0;
  gap: 0.625rem;
}

.pti-card--local-context .pti-local-pill {
  border-radius: 10px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    opacity 0.16s ease;
}

.pti-card--local-context .pti-local-pill:not(.pti-local-pill--county-active):hover {
  transform: translateY(-1px);
  border-color: var(--pti-local-network-accent);
  box-shadow: 0 4px 14px rgba(15, 33, 51, 0.07);
}

.pti-card--local-context .pti-local-pill--city {
  opacity: 0.88;
}

.pti-card--local-context .pti-local-pill--city:hover {
  opacity: 0.95;
}

.pti-local-pill--county-active {
  border: 1px solid var(--pti-local-network-accent) !important;
  background: rgba(232, 122, 97, 0.08) !important;
  box-shadow: 0 1px 0 rgba(232, 122, 97, 0.14), 0 2px 10px rgba(15, 33, 51, 0.05);
}

.pti-card--local-context .pti-local-pill--county-active:hover {
  border-color: var(--pti-local-network-accent) !important;
  box-shadow:
    0 1px 0 rgba(232, 122, 97, 0.22),
    0 6px 18px rgba(232, 122, 97, 0.12);
}

.pti-local-pill__geo-pin {
  margin-right: 0.28rem;
  opacity: 0.82;
  font-size: 0.9em;
}

.pti-local-pill__city-value {
  display: inline-block;
  margin-top: 0.05rem;
  color: rgba(26, 45, 58, 0.82);
}

.pti-local-context-card__facts {
  margin: 0.875rem 0 0;
  padding: 0.625rem 0 0;
  border-top: 1px solid rgba(15, 33, 51, 0.07);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(107, 124, 136, 0.88);
  overflow-wrap: anywhere;
}

.pti-local-context-card__facts-item {
  font-size: 0.8125rem;
}

.pti-local-context-card__facts-key {
  font-size: 0.76em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(107, 124, 136, 0.62);
}

.pti-local-context-card__facts-val {
  font-size: 1.06em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pti-ink);
}

.pti-local-context-card__facts-sep {
  color: rgba(107, 124, 136, 0.45);
  font-weight: 500;
}

.pti-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pti-green);
  letter-spacing: -0.02em;
}

.pti-about-fallback {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--pti-text);
  background: linear-gradient(135deg, var(--pti-mint) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid var(--pti-line);
  border-radius: var(--pti-radius-sm);
}

.pti-dl {
  display: grid;
  gap: 0.5rem 1.5rem;
  margin: 0;
}

.pti-dl > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem;
  font-size: 0.875rem;
}

@media (max-width: 520px) {
  .pti-dl > div {
    grid-template-columns: 1fr;
  }
}

.pti-dl dt {
  margin: 0;
  color: var(--pti-muted);
  font-weight: 600;
}

.pti-dl dd {
  margin: 0;
  color: var(--pti-ink);
}

.pti-bio {
  font-size: 0.9rem;
  color: var(--pti-text);
  white-space: pre-wrap;
}

.pti-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pti-taglist li {
  padding: 0.2rem 0.55rem;
  background: var(--pti-mint);
  border-radius: 6px;
  font-size: 0.8125rem;
  color: var(--pti-green-600);
  border: 1px solid var(--pti-line);
}

/* —— Featured —— */
.pti-featured {
  border-left: 4px solid var(--pti-green);
  background: linear-gradient(90deg, rgba(236, 248, 241, 0.9) 0%, var(--pti-card) 40%);
}

.pti-featured h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pti-ink);
}

.pti-featured h3 a {
  color: inherit;
  text-decoration: none;
}
.pti-featured h3 a:hover {
  color: var(--pti-green);
}

.pti-featured-meta {
  font-size: 0.8rem;
  color: var(--pti-muted);
  margin-bottom: 0.5rem;
}

.pti-featured-excerpt {
  font-size: 0.875rem;
  color: var(--pti-text);
  margin: 0 0 0.75rem;
}

/* —— Lists —— */
.pti-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pti-list li {
  border-bottom: 1px solid var(--pti-mint-deep);
  padding: 0.65rem 0;
  font-size: 0.875rem;
}

.pti-list li:last-child {
  border-bottom: none;
}

.pti-list a {
  font-weight: 600;
  color: var(--pti-green-600);
  text-decoration: none;
}
.pti-list a:hover {
  text-decoration: underline;
}

.pti-muted-block {
  font-size: 0.875rem;
  color: var(--pti-muted);
  margin: 0;
}

/* —— Local context —— */
.pti-local-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.pti-local-pill {
  /* Width follows content (tighter pills for short values); max-width wraps long country names */
  box-sizing: border-box;
  flex: 0 1 auto;
  width: fit-content;
  max-width: min(100%, 28rem);
  min-width: 0;
  padding: 0.55rem 0.75rem;
  background: var(--pti-mint);
  border-radius: var(--pti-radius-sm);
  border: 1px solid var(--pti-line);
  font-size: 0.8125rem;
  line-height: 1.35;
  overflow-wrap: break-word;
}

/* Only the label line — not the county value span (see __value--county-network). */
.pti-local-pill > span:first-of-type {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pti-muted);
  margin-bottom: 0.15rem;
}

.pti-local-pill .pti-local-pill__value--county-network {
  display: block;
  margin-top: 0.05rem;
  /* Slightly under pill body (0.8125rem): caps + accent already read strong */
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--pti-local-network-accent);
}

.pti-local-pill--county-active .pti-local-pill__value--county-network {
  color: var(--pti-local-network-accent-text);
  font-weight: 600;
}

/* —— Footer —— */
.pti-foot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pti-line);
  font-size: 0.75rem;
  color: var(--pti-muted2);
  max-width: 48rem;
}

.pti-foot__line {
  margin: 0;
  line-height: 1.45;
}

.pti-foot strong {
  color: var(--pti-muted);
}

/* —— Photo lightbox (guests / visitors) —— */
.pti-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pti-lightbox[hidden] {
  display: none !important;
}

.pti-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 33, 51, 0.55);
  cursor: pointer;
}

.pti-lightbox__frame {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 720px);
  max-height: 88vh;
  padding: 0.5rem;
  background: var(--pti-card);
  border-radius: var(--pti-radius-sm);
  border: 1px solid var(--pti-line);
  box-shadow: 0 24px 60px rgba(15, 33, 51, 0.2);
}

.pti-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(88vh - 3rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.pti-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--pti-card);
  color: var(--pti-ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 33, 51, 0.12);
  border: 1px solid var(--pti-line);
}

.pti-lightbox__close:hover {
  background: var(--pti-mint);
}

/* Listings tab — shared nfb-lc-card rhythm (listing_cards_public.css) + PTI owner strip */
.pti-card--listings-tab .pti-listing-stack.nfb-lc-stack {
  margin-top: 0.4rem;
}

@media (max-width: 520px) {
  .pti-card--listings-tab {
    padding-left: 1.05rem;
    padding-right: 1.05rem;
  }
}

.pti-listing-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pti-listing-stack--dense {
  gap: 0.6rem;
}

.pti-listing-card.nfb-lc-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Visitor empty state — short, no heavy ghost */
.pti-listings-tab-empty {
  margin: 0.75rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(26, 127, 74, 0.28);
  border-radius: var(--pti-radius-sm);
  background: rgba(248, 250, 252, 0.6);
}

.pti-listings-tab-empty__title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pti-ink);
}

.pti-listings-tab-empty__hint {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--pti-muted2);
}

.pti-listings-tab-browse {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  font-weight: 650;
}

.pti-listings-tab-browse a {
  color: #0f766e;
  text-decoration: none;
}

.pti-listings-tab-browse a:hover {
  color: #0f4f49;
  text-decoration: underline;
}

/* Owner controls — profile Listings tab only */
.pti-listing-card__owner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0.5rem -1.15rem -1.05rem;
  padding: 0.55rem 1.1rem 0.65rem;
  border-top: 1px solid var(--nfb-lc-border, #e2e8f0);
  background: rgba(248, 250, 252, 0.88);
  border-radius: 0 0 var(--nfb-lc-radius, 14px) var(--nfb-lc-radius, 14px);
}

.pti-listing-card__edit {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--pti-green-600);
  text-decoration: none;
}

.pti-listing-card__edit:hover {
  text-decoration: underline;
}

.pti-listing-card__archive-form {
  margin: 0;
  display: inline;
}

.pti-listing-card__archive {
  margin: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--pti-muted2);
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 6px;
  cursor: pointer;
}

.pti-listing-card__archive:hover {
  border-color: rgba(148, 163, 184, 0.9);
  color: var(--pti-ink);
}
