/* PCR Design System — scoped to [data-theme='porsche']. See PCR_Design_System.zip for source. */

/* ============================================================
   1. FONT IMPORT — R2: single DM Sans import
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   2. DESIGN TOKENS — R1: re-scoped from :root to [data-theme='porsche']
   Source: tokens.css + colors_and_type.css (merged, deduped)
   ============================================================ */
[data-theme='porsche'] {
  /* Backgrounds & surfaces */
  --bg-primary:    #0A0A0A;
  --bg-surface:    #1A1A1A;
  --bg-elevated:   #242424;
  --bg-nav:        #0F0F0F;
  --border:        #2A2A2A;
  --border-strong: #3A3A3A;

  /* Text */
  --text-primary:   #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-tertiary:  #6E6E6E;

  /* Accents */
  --accent:        #C0C0C0;
  --accent-hover:  #E0E0E0;
  --danger:        #FF4444;
  --success:       #2E7D32;
  --trunex-accent: #F26419;

  /* Sub-page button tints */
  --tint-blue-bg:       rgba(96, 150, 210, 0.22);
  --tint-blue-border:   rgba(96, 150, 210, 0.45);
  --tint-blue-fg:       #CFE3F5;
  --tint-orange-bg:     rgba(242, 100, 25, 0.12);
  --tint-orange-border: rgba(242, 100, 25, 0.30);
  --tint-orange-fg:     #F3A37A;
  --tint-silver-bg:     rgba(192, 192, 192, 0.08);
  --tint-silver-border: rgba(192, 192, 192, 0.25);
  --tint-silver-fg:     #E0E0E0;
  --tint-danger-bg:     rgba(215, 60, 70, 0.16);
  --tint-danger-border: rgba(215, 60, 70, 0.45);
  --tint-danger-fg:     #F0B4B8;
  --tint-teal-fg:       #10B5A0;

  /* Transparency / glass */
  --overlay-modal:    rgba(0, 0, 0, 0.70);
  --overlay-sheet:    rgba(0, 0, 0, 0.60);
  --overlay-hover:    rgba(255, 255, 255, 0.05);
  --overlay-pressed:  rgba(255, 255, 255, 0.08);
  --overlay-skeleton: rgba(255, 255, 255, 0.10);
  --frost-bg:         rgba(26, 26, 26, 0.80);
  --frost-blur:       blur(12px);

  /* Romanian flag (badges / logo lockup only) */
  --ro-blue:   #002B7F;
  --ro-yellow: #FCD116;
  --ro-red:    #CE1126;

  /* Spacing (4-pt scale) */
  --space-xs:      4px;
  --space-sm:      8px;
  --space-md:      16px;
  --space-lg:      24px;
  --space-xl:      32px;
  --space-xxl:     48px;
  --screen-px:     20px;
  --screen-top:    16px;
  --screen-bottom: 16px;

  /* Radius */
  --radius-btn:   8px;
  --radius-input: 6px;
  --radius-card:  10px;
  --radius-pill:  9999px;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-full:  9999px;

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:      cubic-bezier(0.0, 0, 0.2, 1);
  --ease-in:       cubic-bezier(0.4, 0, 1, 1);
  --dur-press:  100ms;
  --dur-hover:  150ms;
  --dur-modal:  240ms;
  --dur-screen: 280ms;

  /* Typography */
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --fs-display: 28px; --lh-display: 1.2; --fw-display: 700;
  --fs-h1:      22px; --lh-h1:      1.3; --fw-h1:      700;
  --fs-h2:      17px; --lh-h2:      1.4; --fw-h2:      600;
  --fs-h3:      14px; --lh-h3:      1.4; --fw-h3:      600;
  --fs-body:    15px; --lh-body:    1.6; --fw-body:    400;
  --fs-body-sm: 13px; --lh-body-sm: 1.5; --fw-body-sm: 400;
  --fs-label:   12px; --lh-label:   1.4; --fw-label:   500;
  --fs-caption: 11px; --lh-caption: 1.4; --fw-caption: 400;
  --fs-button:  15px; --lh-button:  1.0; --fw-button:  600;
}

/* ============================================================
   3. BODY BASE — R4: scoped to prevent global override
   ============================================================ */
html[data-theme='porsche'],
html[data-theme='porsche'] body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   4. TYPE SCALE — R5: base element mappings scoped
   ============================================================ */
[data-theme='porsche'] h1    { font: var(--fw-h1) var(--fs-h1)/var(--lh-h1) var(--font-sans); letter-spacing: -0.02em; }
[data-theme='porsche'] h2    { font: var(--fw-h2) var(--fs-h2)/var(--lh-h2) var(--font-sans); letter-spacing: -0.01em; }
[data-theme='porsche'] h3    { font: var(--fw-h3) var(--fs-h3)/var(--lh-h3) var(--font-sans); }
[data-theme='porsche'] p     { font: var(--fw-body) var(--fs-body)/var(--lh-body) var(--font-sans); }
[data-theme='porsche'] small { font: var(--fw-body-sm) var(--fs-body-sm)/var(--lh-body-sm) var(--font-sans); color: var(--text-secondary); }

/* ============================================================
   5. SEMANTIC TYPE CLASSES — R6: opt-in, no scoping needed
   Source: colors_and_type.css
   ============================================================ */
.t-display {
  font: var(--fw-display) var(--fs-display)/var(--lh-display) var(--font-sans);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.t-h1 {
  font: var(--fw-h1) var(--fs-h1)/var(--lh-h1) var(--font-sans);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.t-h2 {
  font: var(--fw-h2) var(--fs-h2)/var(--lh-h2) var(--font-sans);
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.t-h3 {
  font: var(--fw-h3) var(--fs-h3)/var(--lh-h3) var(--font-sans);
  color: var(--text-primary);
}
.t-body {
  font: var(--fw-body) var(--fs-body)/var(--lh-body) var(--font-sans);
  color: var(--text-primary);
}
.t-body-sm {
  font: var(--fw-body-sm) var(--fs-body-sm)/var(--lh-body-sm) var(--font-sans);
  color: var(--text-secondary);
}
.t-label {
  font: var(--fw-label) var(--fs-label)/var(--lh-label) var(--font-sans);
  color: var(--text-secondary);
}
.t-caption {
  font: var(--fw-caption) var(--fs-caption)/var(--lh-caption) var(--font-sans);
  color: var(--text-tertiary);
}
.t-button {
  font: var(--fw-button) var(--fs-button)/var(--lh-button) var(--font-sans);
}

/* ============================================================
   6. COMPONENT CLASSES — R7: all .pcr-* except omitted classes (R3, R8)
   Source: ui-kit/styles.css
   ============================================================ */

/* Status bar */
[data-theme='porsche'] .pcr-statusbar {
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  font: 600 14px/1 'DM Sans';
  color: #fff;
  position: relative;
  z-index: 5;
}
[data-theme='porsche'] .pcr-statusbar .notch {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #000;
  border-radius: 20px;
}
[data-theme='porsche'] .pcr-statusbar .dot-row { display: flex; gap: 6px; align-items: center; }

/* Header accent line */
[data-theme='porsche'] .pcr-header-line {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #F26419 0%, rgba(242, 100, 25, 0.55) 30%, transparent 90%);
  opacity: 0.85;
  z-index: 10;
  pointer-events: none;
}

/* App layout */
[data-theme='porsche'] .pcr-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
[data-theme='porsche'] .pcr-screen {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px 20px 96px;
  position: relative;
}
[data-theme='porsche'] .pcr-screen.no-pad { padding: 0 0 88px; }
[data-theme='porsche'] .pcr-screen::-webkit-scrollbar { width: 0; }

/* Screen header */
[data-theme='porsche'] .pcr-sheader {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
}
[data-theme='porsche'] .pcr-sheader .title {
  font: 700 22px/1.3 'DM Sans';
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex: 1;
}
[data-theme='porsche'] .pcr-sheader .sub {
  font: 400 13px/1.4 'DM Sans';
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Back button */
[data-theme='porsche'] .pcr-back-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #2A2A2A;
  border: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 100ms ease;
  flex-shrink: 0;
}
[data-theme='porsche'] .pcr-back-btn:active { background: #3A3A3A; }

/* Buttons */
[data-theme='porsche'] .pcr-btn {
  height: 52px;
  border-radius: 8px;
  font: 600 15px/1 'DM Sans';
  border: none;
  cursor: pointer;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 150ms ease, transform 100ms ease, opacity 150ms ease;
}
[data-theme='porsche'] .pcr-btn:active { transform: scale(0.97); }
[data-theme='porsche'] .pcr-btn.primary { background: var(--accent); color: #0A0A0A; }
[data-theme='porsche'] .pcr-btn.primary:hover { background: var(--accent-hover); }
[data-theme='porsche'] .pcr-btn.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
[data-theme='porsche'] .pcr-btn.danger { background: var(--danger); color: #fff; }
[data-theme='porsche'] .pcr-btn.ghost { background: transparent; color: var(--text-secondary); height: 44px; }
[data-theme='porsche'] .pcr-btn.full { width: 100%; }
[data-theme='porsche'] .pcr-btn.tinted {
  background: rgba(242, 100, 25, 0.10);
  color: #F3A37A;
  border: 1px solid rgba(242, 100, 25, 0.25);
}
[data-theme='porsche'] .pcr-btn.tinted.silver {
  background: rgba(192, 192, 192, 0.08);
  color: #E0E0E0;
  border: 1px solid rgba(192, 192, 192, 0.25);
}

[data-theme='porsche'] .pcr-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms ease;
}
[data-theme='porsche'] .pcr-icon-btn:active { background: var(--bg-elevated); }

/* Card */
[data-theme='porsche'] .pcr-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  transition: background 150ms ease;
}
[data-theme='porsche'] .pcr-card:hover { background: #1E1E1E; }
[data-theme='porsche'] .pcr-card:active { background: #222; }
[data-theme='porsche'] .pcr-card-row { display: flex; align-items: center; gap: 12px; }

/* Avatar */
[data-theme='porsche'] .pcr-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 13px/1 'DM Sans';
  color: #fff;
  flex-shrink: 0;
}

/* Badge */
[data-theme='porsche'] .pcr-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: #fff;
  font: 500 11px/1.4 'DM Sans';
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[data-theme='porsche'] .pcr-badge.outline { background: transparent; }
[data-theme='porsche'] .pcr-badge.silver { background: transparent; color: #C0C0C0; border-color: rgba(192, 192, 192, 0.5); }

/* Input field */
[data-theme='porsche'] .pcr-field { display: flex; flex-direction: column; gap: 6px; }
[data-theme='porsche'] .pcr-field label {
  font: 500 12px/1.4 'DM Sans';
  color: var(--text-secondary);
}
[data-theme='porsche'] .pcr-input {
  height: 52px;
  border-radius: 8px;
  background: var(--bg-elevated);
  color: #fff;
  border: 1px solid var(--border);
  padding: 0 14px;
  font: 400 15px/1 'DM Sans';
  outline: none;
  transition: border-color 150ms ease;
}
[data-theme='porsche'] .pcr-input:focus { border-color: var(--accent); }
[data-theme='porsche'] .pcr-input::placeholder { color: var(--text-secondary); }

/* Search */
[data-theme='porsche'] .pcr-search {
  position: relative;
  width: 100%;
}
[data-theme='porsche'] .pcr-search input {
  width: 100%;
  height: 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  padding: 0 14px 0 44px;
  font: 400 14px/1 'DM Sans';
  outline: none;
}
[data-theme='porsche'] .pcr-search .icn {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

/* Chips */
[data-theme='porsche'] .pcr-chipbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
[data-theme='porsche'] .pcr-chipbar::-webkit-scrollbar { display: none; height: 0; }
[data-theme='porsche'] .pcr-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font: 500 13px/1 'DM Sans';
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
[data-theme='porsche'] .pcr-chip.active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Bottom nav */
[data-theme='porsche'] .pcr-bottomnav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 84px;
  padding-bottom: 22px;
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  z-index: 5;
}
[data-theme='porsche'] .pcr-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 4px 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 150ms ease;
  border: none;
  background: transparent;
}
[data-theme='porsche'] .pcr-tab .lbl { font: 400 11px/1 'DM Sans'; }
[data-theme='porsche'] .pcr-tab.active { color: #fff; }
[data-theme='porsche'] .pcr-tab.active .lbl { font-weight: 500; }

/* Trunex watermark (map only — 10% rule) */
[data-theme='porsche'] .pcr-trunex-mark {
  position: absolute;
  bottom: 100px;
  right: 16px;
  font: 700 13px/1 'DM Sans';
  letter-spacing: 0.08em;
  color: #F26419;
  opacity: 0.22;
  pointer-events: none;
}

/* List */
[data-theme='porsche'] .pcr-list { display: flex; flex-direction: column; gap: 10px; }
[data-theme='porsche'] .pcr-section-title {
  font: 500 11px/1 'DM Sans';
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 18px 0 10px;
}

/* Map */
[data-theme='porsche'] .pcr-map {
  position: relative;
  height: 100%;
  min-height: 600px;
  background:
    radial-gradient(circle at 30% 40%, #1b1b1b 0%, #0a0a0a 70%),
    #0A0A0A;
  overflow: hidden;
}
[data-theme='porsche'] .pcr-map-grid { position: absolute; inset: 0; opacity: 0.5; }
[data-theme='porsche'] .pcr-map-overlay-top {
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
[data-theme='porsche'] .pcr-map-searchbar {
  background: rgba(26, 26, 26, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
[data-theme='porsche'] .pcr-map-searchbar input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font: 400 14px/1.2 'DM Sans';
  outline: none;
}
[data-theme='porsche'] .pcr-map-searchbar input::placeholder { color: var(--text-secondary); }
[data-theme='porsche'] .pcr-map-ctrls {
  position: absolute;
  right: 12px;
  bottom: 110px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Marker */
[data-theme='porsche'] .pcr-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #0A0A0A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}
[data-theme='porsche'] .pcr-marker.active {
  outline: 3px solid rgba(192, 192, 192, 0.6);
  outline-offset: 2px;
}
[data-theme='porsche'] .pcr-marker.cluster {
  width: 34px;
  height: 34px;
  background: #1A1A1A;
  color: #fff;
  border: 2px solid #C0C0C0;
  font: 600 11px/1 'DM Sans';
}
[data-theme='porsche'] .pcr-userdot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(192, 192, 192, 0.25), 0 0 0 8px rgba(192, 192, 192, 0.10);
}

/* Bottom sheet */
[data-theme='porsche'] .pcr-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 84px;
  background: var(--bg-surface);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border: 1px solid var(--border);
  padding: 14px 16px 16px;
  z-index: 4;
  max-height: 44%;
  overflow-y: auto;
}
[data-theme='porsche'] .pcr-sheet .handle {
  width: 36px;
  height: 4px;
  background: var(--border-strong);
  border-radius: 2px;
  margin: 0 auto 10px;
}

/* Divider */
[data-theme='porsche'] .pcr-hr { border: none; border-top: 1px solid var(--border); margin: 14px 0; }

/* Meta row */
[data-theme='porsche'] .pcr-meta { font: 400 12px/1.4 'DM Sans'; color: var(--text-secondary); }
[data-theme='porsche'] .pcr-meta.sm { font-size: 11px; }

/* Row item */
[data-theme='porsche'] .pcr-row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
[data-theme='porsche'] .pcr-row-item + .pcr-row-item { margin-top: 8px; }

/* Filter row */
[data-theme='porsche'] .pcr-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
[data-theme='porsche'] .pcr-filter-row:last-child { border-bottom: none; }

/* Toggle */
[data-theme='porsche'] .pcr-toggle {
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background 150ms ease;
}
[data-theme='porsche'] .pcr-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #A0A0A0;
  transition: left 150ms ease, background 150ms ease;
}
[data-theme='porsche'] .pcr-toggle.on { background: #2a2a2a; border-color: #C0C0C0; }
[data-theme='porsche'] .pcr-toggle.on::after { left: 21px; background: #fff; }

/* ============================================================
   7. LEGACY ELEMENT MAPPING — §4.3: surgical override of
      Trunex legacy selectors for PCR hostname
   ============================================================ */
html[data-theme='porsche'],
html[data-theme='porsche'] body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

[data-theme='porsche'] .btn.primary,
[data-theme='porsche'] button.primary {
  background: var(--accent);
  color: #0A0A0A;
}

[data-theme='porsche'] .card,
[data-theme='porsche'] .panel {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

[data-theme='porsche'] input,
[data-theme='porsche'] textarea,
[data-theme='porsche'] select {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
}

[data-theme='porsche'] a { color: var(--accent); }

[data-theme='porsche'] hr { border: none; border-top: 1px solid var(--border); }

/* ============================================================
   8. PHASE 1B OVERRIDES — eliminates Trunex-era blue/orange
      from PCR pages without touching trunex.app
   ============================================================ */

/* §4.2 — blue CSS class defaults overridden for PCR */
[data-theme='porsche'] .conv-avatar { background: rgba(192,192,192,0.08) !important; border: 1px solid rgba(192,192,192,0.25); }
[data-theme='porsche'] .member-avatar { background: rgba(192,192,192,0.08) !important; border: 1px solid rgba(192,192,192,0.25); }
[data-theme='porsche'] .sp-status.available { background: rgba(192,192,192,0.12) !important; color: #FFFFFF !important; }
[data-theme='porsche'] #nd-icon { background: var(--bg-elevated) !important; border: 1px solid var(--border); }
[data-theme='porsche'] #nd-icon svg { stroke: var(--text-secondary); }
[data-theme='porsche'] [style*="color:#1a73e8"] { color: var(--accent) !important; }
[data-theme='porsche'] [style*="color: #1a73e8"] { color: var(--accent) !important; }
[data-theme='porsche'] [style*="background:#e8f0fe"] { background: var(--bg-elevated) !important; }
[data-theme='porsche'] [style*="background: #e8f0fe"] { background: var(--bg-elevated) !important; }
[data-theme='porsche'] [style*="border:1.5px solid #c5d8fd"] { border-color: var(--border) !important; }
[data-theme='porsche'] [style*="borderColor:#4285f4"] { border-color: var(--border) !important; }

/* §4.3 — silver auto-generated avatar */
[data-theme='porsche'] #avatar-preview {
  background: var(--tint-silver-bg) !important;
  border: 1px solid var(--tint-silver-border) !important;
  color: var(--text-primary) !important;
}
[data-theme='porsche'] .conv-avatar,
[data-theme='porsche'] .member-avatar,
[data-theme='porsche'] #inv-avatar,
[data-theme='porsche'] #inv-req-target-avatar {
  background: var(--tint-silver-bg) !important;
  border: 1px solid var(--tint-silver-border) !important;
  color: var(--text-primary) !important;
}

/* §4.6 — horizontal accent lines: thick solid → 2px gradient */
[data-theme='porsche'] #pcr-header-line {
  height: 2px !important;
  background: linear-gradient(90deg, #F26419 0%, rgba(242,100,25,0.55) 30%, transparent 90%) !important;
  opacity: 0.85;
}
[data-theme='porsche'] #pcr-footer-line {
  height: 2px !important;
  background: linear-gradient(90deg, #F26419 0%, rgba(242,100,25,0.55) 30%, transparent 90%) !important;
  opacity: 0.85;
}

/* §4.8 — Chats help icon containers: white bg → dark elevated */
[data-theme='porsche'] .intro-icon {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border);
}
[data-theme='porsche'] .intro-icon svg {
  color: var(--text-primary);
}
