/* ---------- LPE Design Tokens ---------- */
.lpe-scope {
  --navy: #163A64;
  --navy-700: #102C4C;
  --navy-900: #0A1E36;
  --teal: #1B7F7C;
  --teal-600: #156562;
  --orange: #E47425;
  --orange-700: #C8631A;
  --gold: #C9A876;
  --gold-light: #E7D6B5;
  --cream: #F8F8F8;
  --cream-2: #F1EFE9;
  --grey: #6C6D6D;
  --grey-300: #D9D9D7;
  --grey-200: #E5E5E2;
  --grey-100: #EFEEEA;
  --white: #FFFFFF;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 96px;

  --container: 1280px;

  --r-sharp: 0;
  --r-soft: 2px;

  --font-sans: var(--lpe-font-sans, 'Inter'), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: var(--lpe-font-script, 'Caveat'), cursive;
  --font-mono: var(--lpe-font-mono, 'JetBrains Mono'), ui-monospace, SFMono-Regular, Menlo, monospace;

  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11', 'tnum';
}

.lpe-scope *,
.lpe-scope *::before,
.lpe-scope *::after { box-sizing: border-box; }

.lpe-scope button { font-family: inherit; cursor: pointer; }
.lpe-scope input, .lpe-scope select, .lpe-scope textarea { font-family: inherit; }
.lpe-scope a { color: inherit; text-decoration: none; }

.lpe-scope .tnum { font-variant-numeric: tabular-nums; }

/* ---------- App shell ---------- */
.lpe-scope.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lpe-scope .utility-bar {
  background: var(--teal);
  color: white;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}
.lpe-scope .utility-bar a { opacity: 0.9; cursor: pointer; }
.lpe-scope .utility-bar a:hover { opacity: 1; }
.lpe-scope .utility-bar .util-left { display: flex; gap: 24px; }
.lpe-scope .utility-bar .util-right { display: flex; gap: 24px; align-items: center; }
.lpe-scope .utility-bar .util-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.3); }

.lpe-scope .topbar {
  background: white;
  border-bottom: 1px solid var(--grey-200);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.lpe-scope .topbar .logo {
  height: 28px;
  flex-shrink: 0;
  margin-right: 8px;
}

.lpe-scope .topbar .search {
  flex: 1;
  max-width: 520px;
  position: relative;
  display: flex;
  align-items: center;
}
.lpe-scope .topbar .search input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 38px;
  border: 1px solid var(--grey-200);
  background: var(--cream);
  border-radius: 0;
  font-size: 13px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.lpe-scope .topbar .search input:focus {
  border-color: var(--navy);
  background: white;
}
.lpe-scope .topbar .search svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--grey);
}
.lpe-scope .topbar .search kbd {
  position: absolute;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: white;
  border: 1px solid var(--grey-200);
  padding: 2px 6px;
  color: var(--grey);
  letter-spacing: 0.04em;
}

.lpe-scope .topbar .spacer { flex: 1; }
.lpe-scope .topbar .topbar-actions { display: flex; align-items: center; gap: 8px; }

.lpe-scope .mode-toggle {
  display: flex;
  border: 1px solid var(--navy);
  height: 34px;
}
.lpe-scope .mode-toggle button {
  background: white;
  color: var(--navy);
  border: 0;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lpe-scope .mode-toggle button.active {
  background: var(--navy);
  color: white;
}

.lpe-scope .icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--grey-200);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--navy);
}
.lpe-scope .icon-btn:hover { border-color: var(--navy); }
.lpe-scope .icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  min-width: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lpe-scope .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--grey-200);
  flex-shrink: 0;
}
.lpe-scope button.avatar { padding: 0; cursor: pointer; }
.lpe-scope button.avatar:hover { box-shadow: 0 0 0 1px var(--navy); }
.lpe-scope button.avatar:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.lpe-scope .avatar-menu { position: relative; }
.lpe-scope .avatar-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--grey-200);
  box-shadow: 0 8px 24px rgba(10, 30, 54, 0.12);
  z-index: 50;
  padding: 6px 0;
}
.lpe-scope .avatar-dropdown-header {
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lpe-scope .avatar-dropdown-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
}
.lpe-scope .avatar-dropdown-link {
  font-size: 12px;
  color: var(--teal);
  text-decoration: none;
}
.lpe-scope .avatar-dropdown-link:hover { text-decoration: underline; }
.lpe-scope .avatar-dropdown form { margin: 0; }
.lpe-scope .avatar-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: 0;
  font-size: 13px;
  color: var(--navy);
  text-align: left;
}
.lpe-scope .avatar-dropdown-item:hover { background: var(--cream-2); }
.lpe-scope .avatar-dropdown-logout { color: var(--orange-700); }

/* ---------- Sidebar ---------- */
.lpe-scope .shell {
  display: flex;
  flex: 1;
  min-height: 0;
}

.lpe-scope .sidebar {
  width: 240px;
  flex-shrink: 0;
  background: white;
  border-right: 1px solid var(--grey-200);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}

.lpe-scope .sidebar .nav-group {
  padding: 0 16px;
  margin-bottom: 24px;
}
.lpe-scope .sidebar .nav-group-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  padding: 0 12px;
  margin-bottom: 8px;
}
.lpe-scope .sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 12px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.lpe-scope .sidebar .nav-item:hover { background: var(--cream); }
.lpe-scope .sidebar .nav-item.active {
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
}
.lpe-scope .sidebar .nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--orange);
}
.lpe-scope .sidebar .nav-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.lpe-scope .sidebar .nav-item .nav-count {
  margin-left: auto;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--grey);
  font-weight: 500;
}
.lpe-scope .sidebar .nav-item.active .nav-count { color: var(--orange); }

.lpe-scope .sidebar .sidebar-cta {
  margin: auto 16px 16px;
  padding: 18px 16px;
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.lpe-scope .sidebar .sidebar-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(228,116,37,0.15), transparent 50%);
  pointer-events: none;
}
.lpe-scope .sidebar .sidebar-cta .label {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-size: 18px;
  line-height: 1;
}
.lpe-scope .sidebar .sidebar-cta h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 4px 0 10px;
  line-height: 1.3;
}
.lpe-scope .sidebar .sidebar-cta p {
  font-size: 12px;
  margin: 0 0 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* ---------- Main / page ---------- */
.lpe-scope .main {
  flex: 1;
  min-width: 0;
  background: var(--cream);
  overflow: auto;
}

.lpe-scope .page {
  padding: 32px 40px 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.lpe-scope .page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--grey-200);
  padding-bottom: 24px;
}
.lpe-scope .page-header > .ph-title { flex: 1 1 320px; min-width: 0; }
.lpe-scope .page-header .eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 6px;
}
.lpe-scope .page-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.lpe-scope .page-header .subtitle {
  color: var(--grey);
  font-size: 14px;
  max-width: 56ch;
  margin: 0;
}
.lpe-scope .page-header .header-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.lpe-scope .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-sharp);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.lpe-scope .btn svg { width: 14px; height: 14px; }
.lpe-scope .btn-sm { height: 34px; padding: 0 14px; font-size: 11px; }
.lpe-scope .btn-lg { height: 52px; padding: 0 28px; font-size: 13px; }

.lpe-scope .btn-primary {
  background: var(--orange);
  color: white;
}
.lpe-scope .btn-primary:hover { background: var(--orange-700); }

.lpe-scope .btn-navy {
  background: var(--navy);
  color: white;
}
.lpe-scope .btn-navy:hover { background: var(--navy-700); }

.lpe-scope .btn-secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.lpe-scope .btn-secondary:hover { background: var(--navy); color: white; }

.lpe-scope .btn-outline-light {
  background: transparent;
  color: white;
  border: 1px solid white;
}
.lpe-scope .btn-outline-light:hover { background: white; color: var(--navy); }

.lpe-scope .btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--grey-200);
}
.lpe-scope .btn-ghost:hover { border-color: var(--navy); }

/* ---------- Cards ---------- */
.lpe-scope .card {
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: var(--r-sharp);
}
.lpe-scope .card-pad { padding: 24px; }
.lpe-scope .card-tight { padding: 16px; }

.lpe-scope .section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.lpe-scope .section-head h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.lpe-scope .section-head .meta { font-size: 12px; color: var(--grey); }

/* ---------- Stat block ---------- */
.lpe-scope .stat {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: white;
  border: 1px solid var(--grey-200);
  position: relative;
}
.lpe-scope .stat .stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  font-weight: 600;
  margin-bottom: 8px;
}
.lpe-scope .stat .stat-value {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.lpe-scope .stat .stat-value.accent { color: var(--orange); }
.lpe-scope .stat .stat-meta {
  margin-top: 10px;
  font-size: 12px;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lpe-scope .stat .stat-trend.up { color: var(--teal); font-weight: 600; }
.lpe-scope .stat .stat-trend.down { color: var(--orange); font-weight: 600; }
.lpe-scope .stat .stat-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border-left: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}
.lpe-scope .stat .stat-corner svg { width: 16px; height: 16px; }

/* ---------- Listing card ---------- */
.lpe-scope .listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.lpe-scope .listing-card {
  background: white;
  border: 1px solid var(--grey-200);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  position: relative;
}
.lpe-scope .listing-card:hover { border-color: var(--navy); }
.lpe-scope .listing-card .listing-img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
  display: block;
}
.lpe-scope .listing-card .listing-img .id-num {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  font-weight: 600;
}
.lpe-scope .listing-card .listing-img .status-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lpe-scope .listing-card .listing-img .status-tag.new { background: var(--teal); }
.lpe-scope .listing-card .listing-img .status-tag.under-loi { background: var(--gold); color: var(--navy); }

.lpe-scope .listing-card .save-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border: none;
  z-index: 2;
}
.lpe-scope .listing-card .save-btn.saved { background: var(--orange); color: white; }

.lpe-scope .listing-card .listing-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.lpe-scope .listing-card .listing-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lpe-scope .listing-card .listing-meta .dot { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.lpe-scope .listing-card .listing-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}
.lpe-scope .listing-card .listing-blurb {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  margin: 0;
}
.lpe-scope .listing-card .listing-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--grey-200);
  padding-top: 14px;
  margin-top: auto;
}
.lpe-scope .listing-card .figure {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lpe-scope .listing-card .figure .lab {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
}
.lpe-scope .listing-card .figure .val {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.lpe-scope .listing-card .figure .val.accent { color: var(--orange); }
.lpe-scope .listing-card .listing-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.lpe-scope .tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--grey-200);
}
.lpe-scope .tag.gold { background: rgba(201,168,118,0.15); border-color: transparent; }
.lpe-scope .tag.teal { background: rgba(27,127,124,0.1); border-color: transparent; color: var(--teal-600); }
.lpe-scope .tag.orange { background: rgba(228,116,37,0.1); border-color: transparent; color: var(--orange-700); }

/* ---------- Placeholder image ---------- */
.lpe-scope .ph {
  position: absolute;
  inset: 0;
  background: var(--navy);
  background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,0.04) 8px 9px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
}
.lpe-scope .ph.cream {
  background: var(--cream-2);
  background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(22,58,100,0.04) 8px 9px);
  color: var(--grey);
}

/* ---------- Filter rail ---------- */
.lpe-scope .market-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}
.lpe-scope .filter-rail {
  background: white;
  border: 1px solid var(--grey-200);
  position: sticky;
  top: 96px;
}
.lpe-scope .filter-rail h3 {
  margin: 0;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lpe-scope .filter-rail h3 button {
  background: none;
  border: none;
  color: var(--orange);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lpe-scope .filter-section {
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-200);
}
.lpe-scope .filter-section:last-child { border-bottom: none; }
.lpe-scope .filter-section .filter-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  margin-bottom: 12px;
}
.lpe-scope .checkbox-list { display: flex; flex-direction: column; gap: 8px; }
.lpe-scope .checkbox-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
  color: var(--navy);
}
.lpe-scope .checkbox-list label input { accent-color: var(--orange); width: 14px; height: 14px; }
.lpe-scope .checkbox-list label .count { margin-left: auto; font-size: 11px; color: var(--grey); font-variant-numeric: tabular-nums; }

.lpe-scope .range-row { display: flex; align-items: center; gap: 8px; }
.lpe-scope .range-row input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--grey-200);
  font-size: 12px;
  background: white;
  outline: none;
  font-variant-numeric: tabular-nums;
}
.lpe-scope .range-row input:focus { border-color: var(--navy); }
.lpe-scope .range-row .dash { color: var(--grey); font-size: 12px; }

.lpe-scope .market-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}
.lpe-scope .market-toolbar .results-count {
  font-size: 13px;
  color: var(--grey);
}
.lpe-scope .market-toolbar .results-count b { color: var(--navy); font-weight: 700; }
.lpe-scope .market-toolbar .toolbar-controls { display: flex; gap: 8px; align-items: center; }

.lpe-scope .select-styled {
  height: 34px;
  padding: 0 28px 0 12px;
  border: 1px solid var(--grey-200);
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23163A64' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  outline: none;
  letter-spacing: 0.04em;
}
.lpe-scope .select-styled:focus { border-color: var(--navy); }

.lpe-scope .view-toggle {
  display: inline-flex;
  border: 1px solid var(--grey-200);
  background: white;
}
.lpe-scope .view-toggle button {
  background: white;
  border: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
}
.lpe-scope .view-toggle button.active { background: var(--navy); color: white; }

/* ---------- Tag chips active filters ---------- */
.lpe-scope .active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.lpe-scope .active-filters .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 12px;
  background: var(--navy);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lpe-scope .active-filters .chip button {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 16px;
  height: 16px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Listing detail ---------- */
.lpe-scope .detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.lpe-scope .detail-hero {
  background: var(--navy);
  color: white;
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}
.lpe-scope .detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 100% at 100% 50%, rgba(228,116,37,0.12), transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.025) 14px 15px);
  pointer-events: none;
}
.lpe-scope .detail-hero > * { position: relative; }
.lpe-scope .detail-hero .id-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.lpe-scope .detail-hero .id-row .pip { width: 6px; height: 6px; background: var(--orange); }
.lpe-scope .detail-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  max-width: 28ch;
}
.lpe-scope .detail-hero .hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 24px;
  max-width: 60ch;
}
.lpe-scope .detail-hero .hero-figs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}
.lpe-scope .detail-hero .hero-figs .fig {
  border-right: 1px solid rgba(255,255,255,0.15);
  padding: 0 16px;
}
.lpe-scope .detail-hero .hero-figs .fig:first-child { padding-left: 0; }
.lpe-scope .detail-hero .hero-figs .fig:last-child { border-right: none; }
.lpe-scope .detail-hero .hero-figs .fig .lab {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-bottom: 6px;
}
.lpe-scope .detail-hero .hero-figs .fig .val {
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.01em;
}
.lpe-scope .detail-hero .hero-figs .fig .val.accent { color: var(--orange); }

.lpe-scope .detail-section { margin-top: 32px; }
.lpe-scope .detail-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lpe-scope .detail-section h2::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--orange);
}

.lpe-scope .financials-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  background: white;
  border: 1px solid var(--grey-200);
}
.lpe-scope .financials-table th, .lpe-scope .financials-table td {
  text-align: right;
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--grey-200);
}
.lpe-scope .financials-table th:first-child, .lpe-scope .financials-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
}
.lpe-scope .financials-table thead th {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  background: var(--cream);
  border-bottom: 1px solid var(--grey-200);
  font-weight: 600;
}
.lpe-scope .financials-table tbody tr:last-child td { border-bottom: none; }
.lpe-scope .financials-table tr.total td { background: var(--cream); font-weight: 700; color: var(--navy); }

.lpe-scope .practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lpe-scope .practice-bar {
  background: white;
  border: 1px solid var(--grey-200);
  padding: 16px;
}
.lpe-scope .practice-bar .label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.lpe-scope .practice-bar .pct { color: var(--orange); font-variant-numeric: tabular-nums; }
.lpe-scope .practice-bar .bar {
  height: 4px;
  background: var(--cream);
  position: relative;
}
.lpe-scope .practice-bar .bar .fill {
  position: absolute;
  inset: 0;
  background: var(--orange);
}

/* sidebar in detail */
.lpe-scope .detail-side .sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lpe-scope .detail-side .ask {
  background: white;
  border: 1px solid var(--grey-200);
  padding: 24px;
}
.lpe-scope .detail-side .ask .ask-lab {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  margin-bottom: 6px;
}
.lpe-scope .detail-side .ask .ask-val {
  font-size: 38px;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.lpe-scope .detail-side .ask .ask-meta {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 16px;
}
.lpe-scope .detail-side .ask .actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lpe-scope .detail-side .ask .meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--grey-200);
}
.lpe-scope .detail-side .ask .meta-row:first-of-type { margin-top: 16px; }
.lpe-scope .detail-side .ask .meta-row .lab { color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px; font-weight: 600; }
.lpe-scope .detail-side .ask .meta-row .val { font-weight: 600; color: var(--navy); }

.lpe-scope .broker-card {
  background: var(--cream);
  border: 1px solid var(--grey-200);
  padding: 20px;
}
.lpe-scope .broker-card .who { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.lpe-scope .broker-card .who .av {
  width: 44px; height: 44px;
  background: var(--navy); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.lpe-scope .broker-card .who .name { font-weight: 700; font-size: 14px; }
.lpe-scope .broker-card .who .role { font-size: 11px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; }
.lpe-scope .broker-card .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lpe-scope .broker-card .stats div { display: flex; flex-direction: column; }
.lpe-scope .broker-card .stats .v { font-weight: 700; color: var(--orange); font-size: 18px; font-variant-numeric: tabular-nums; }
.lpe-scope .broker-card .stats .l { font-size: 10.5px; color: var(--grey); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

/* ---------- Kanban ---------- */
.lpe-scope .kanban-board {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 24px;
  align-items: flex-start;
}

.lpe-scope .kanban-col {
  flex: 0 0 300px;
  background: var(--cream-2);
  border: 1px solid var(--grey-200);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 220px);
}
.lpe-scope .kanban-col-head {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--grey-200);
}
.lpe-scope .kanban-col-head .name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.lpe-scope .kanban-col-head .pip { width: 6px; height: 6px; background: var(--orange); }
.lpe-scope .kanban-col-head .count {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  background: var(--cream);
  color: var(--navy);
  padding: 2px 8px;
  border: 1px solid var(--grey-200);
}
.lpe-scope .kanban-col-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex: 1;
}
.lpe-scope .kanban-col-foot {
  padding: 8px 12px;
  border-top: 1px solid var(--grey-200);
  font-size: 11px;
  color: var(--grey);
  background: white;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.lpe-scope .kanban-col-foot .v { color: var(--navy); font-variant-numeric: tabular-nums; }

.lpe-scope .deal-card {
  background: white;
  border: 1px solid var(--grey-200);
  padding: 12px 14px;
  cursor: grab;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  border-left: 3px solid var(--gold);
  user-select: none;
}
.lpe-scope .deal-card.dragging { opacity: 0.4; }
.lpe-scope .deal-card.warm { border-left-color: var(--orange); }
.lpe-scope .deal-card.cool { border-left-color: var(--teal); }
.lpe-scope .deal-card.cold { border-left-color: var(--grey-300); }

.lpe-scope .deal-card:hover { border-color: var(--navy); }

.lpe-scope .deal-card .dc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--grey);
}
.lpe-scope .deal-card .dc-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.lpe-scope .deal-card .dc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--grey);
}
.lpe-scope .deal-card .dc-meta svg { width: 12px; height: 12px; }
.lpe-scope .deal-card .dc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--grey-200);
  padding-top: 8px;
  margin-top: 4px;
}
.lpe-scope .deal-card .dc-bottom .price {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.lpe-scope .deal-card .dc-avstack { display: inline-flex; }
.lpe-scope .deal-card .dc-avstack .av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  border: 2px solid white;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -6px;
}
.lpe-scope .deal-card .dc-avstack .av:first-child { margin-left: 0; }
.lpe-scope .deal-card .dc-progress {
  height: 3px;
  background: var(--cream);
  position: relative;
  margin-top: 4px;
}
.lpe-scope .deal-card .dc-progress .fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--orange);
}

.lpe-scope .kanban-col-body.drop-over {
  background: rgba(228,116,37,0.05);
  outline: 2px dashed var(--orange);
  outline-offset: -8px;
}

/* ---------- Pipeline summary ---------- */
.lpe-scope .pipeline-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--grey-200);
  margin-bottom: 24px;
}
.lpe-scope .pipeline-summary .ps-cell {
  padding: 18px 20px;
  border-right: 1px solid var(--grey-200);
}
.lpe-scope .pipeline-summary .ps-cell:last-child { border-right: none; }
.lpe-scope .pipeline-summary .ps-lab {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  margin-bottom: 6px;
}
.lpe-scope .pipeline-summary .ps-val {
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.lpe-scope .pipeline-summary .ps-val.accent { color: var(--orange); }
.lpe-scope .pipeline-summary .ps-meta { font-size: 11.5px; color: var(--grey); margin-top: 4px; }

/* ---------- Messages ---------- */
.lpe-scope .msg-shell {
  display: grid;
  grid-template-columns: 320px 1fr 320px;
  background: white;
  border: 1px solid var(--grey-200);
  height: calc(100vh - 220px);
  min-height: 600px;
}
.lpe-scope .msg-list { border-right: 1px solid var(--grey-200); display: flex; flex-direction: column; min-height: 0; }
.lpe-scope .msg-list-head {
  padding: 16px;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lpe-scope .msg-list-head .tabs { display: flex; gap: 4px; }
.lpe-scope .msg-list-head .tabs button {
  border: 0;
  background: var(--cream);
  color: var(--grey);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lpe-scope .msg-list-head .tabs button.active { background: var(--navy); color: white; }
.lpe-scope .msg-list-head .search-mini {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--grey-200);
  font-size: 12px;
  background: var(--cream);
}
.lpe-scope .msg-list-body { overflow-y: auto; flex: 1; }
.lpe-scope .msg-row {
  padding: 14px 16px;
  border-bottom: 1px solid var(--grey-200);
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.lpe-scope .msg-row:hover { background: var(--cream); }
.lpe-scope .msg-row.active { background: var(--cream); border-left: 3px solid var(--orange); padding-left: 13px; }
.lpe-scope .msg-row .av {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--navy); color: white; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.lpe-scope .msg-row .info { flex: 1; min-width: 0; }
.lpe-scope .msg-row .info-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lpe-scope .msg-row .name { font-weight: 700; font-size: 13px; }
.lpe-scope .msg-row .time { font-size: 11px; color: var(--grey); white-space: nowrap; }
.lpe-scope .msg-row .listing-ref {
  font-size: 11px; color: var(--grey); margin: 2px 0 4px;
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
}
.lpe-scope .msg-row .preview {
  font-size: 12px; color: var(--grey); line-height: 1.45;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lpe-scope .msg-row.unread .name::after {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}
.lpe-scope .msg-row.unread .preview { color: var(--navy); font-weight: 500; }

.lpe-scope .msg-thread { display: flex; flex-direction: column; min-height: 0; }
.lpe-scope .msg-thread-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lpe-scope .msg-thread-head .who { display: flex; align-items: center; gap: 12px; }
.lpe-scope .msg-thread-head .who .av {
  width: 38px; height: 38px;
  background: var(--navy); color: white;
  font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.lpe-scope .msg-thread-head .name { font-weight: 700; font-size: 15px; }
.lpe-scope .msg-thread-head .role-lab { font-size: 11px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

.lpe-scope .msg-thread-banner {
  background: var(--cream);
  padding: 12px 20px;
  border-bottom: 1px solid var(--grey-200);
  font-size: 12px;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lpe-scope .msg-thread-banner .pip { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.lpe-scope .msg-thread-banner b { color: var(--navy); }

.lpe-scope .msg-thread-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lpe-scope .bubble {
  max-width: 65%;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  position: relative;
}
.lpe-scope .bubble.them {
  align-self: flex-start;
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--grey-200);
}
.lpe-scope .bubble.me {
  align-self: flex-end;
  background: var(--navy);
  color: white;
}
.lpe-scope .bubble .meta {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  margin-top: 6px;
  opacity: 0.7;
}
.lpe-scope .day-divider {
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--grey);
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  margin: 8px 0;
}
.lpe-scope .day-divider::before, .lpe-scope .day-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: var(--grey-200);
}
.lpe-scope .day-divider::before { left: 0; }
.lpe-scope .day-divider::after { right: 0; }

.lpe-scope .attachment {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--grey-200);
  padding: 12px 16px;
  font-size: 13px;
  max-width: 65%;
}
.lpe-scope .attachment .ico {
  width: 36px; height: 36px;
  background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.lpe-scope .attachment .name { font-weight: 600; }
.lpe-scope .attachment .size { font-size: 11px; color: var(--grey); }

.lpe-scope .msg-composer {
  border-top: 1px solid var(--grey-200);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: white;
}
.lpe-scope .msg-composer textarea {
  border: 0;
  resize: none;
  height: 60px;
  padding: 8px 0;
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
}
.lpe-scope .msg-composer .composer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lpe-scope .msg-composer .composer-tools .tools-left {
  display: flex;
  gap: 4px;
}
.lpe-scope .msg-composer .tool-btn {
  width: 30px; height: 30px;
  background: var(--cream); border: 1px solid var(--grey-200);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy);
}

.lpe-scope .msg-side {
  border-left: 1px solid var(--grey-200);
  padding: 20px;
  overflow-y: auto;
}
.lpe-scope .msg-side h4 {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  margin: 0 0 12px;
}
.lpe-scope .msg-side .listing-mini {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--grey-200);
  margin-bottom: 20px;
}
.lpe-scope .msg-side .listing-mini .thumb {
  width: 64px; height: 64px;
  background: var(--navy);
  flex-shrink: 0;
  position: relative;
  background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255,255,255,0.05) 6px 7px);
}
.lpe-scope .msg-side .listing-mini .name { font-weight: 700; font-size: 13px; line-height: 1.3; margin-bottom: 4px; }
.lpe-scope .msg-side .listing-mini .meta { font-size: 11px; color: var(--grey); }
.lpe-scope .msg-side .listing-mini .price { font-weight: 700; color: var(--orange); margin-top: 4px; font-variant-numeric: tabular-nums; }
.lpe-scope .msg-side .checklist { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.lpe-scope .msg-side .check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}
.lpe-scope .msg-side .check-item .box {
  width: 16px; height: 16px;
  border: 1px solid var(--grey-300);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  color: white;
}
.lpe-scope .msg-side .check-item.done .box { background: var(--teal); border-color: var(--teal); }
.lpe-scope .msg-side .check-item.done { color: var(--grey); text-decoration: line-through; }

/* ---------- Dashboard specifics ---------- */
.lpe-scope .dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}
.lpe-scope .dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--grey-200);
  background: white;
  margin-bottom: 24px;
}
.lpe-scope .dash-stats .stat {
  border: none;
  border-right: 1px solid var(--grey-200);
}
.lpe-scope .dash-stats .stat:last-child { border-right: none; }

.lpe-scope .activity-feed { display: flex; flex-direction: column; }
.lpe-scope .activity-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-200);
}
.lpe-scope .activity-row:last-child { border-bottom: none; }
.lpe-scope .activity-row .tstamp {
  flex-shrink: 0;
  width: 56px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--grey);
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.lpe-scope .activity-row .marker {
  width: 8px; height: 8px;
  background: var(--orange);
  margin-top: 6px;
  flex-shrink: 0;
}
.lpe-scope .activity-row .marker.teal { background: var(--teal); }
.lpe-scope .activity-row .marker.gold { background: var(--gold); }
.lpe-scope .activity-row .marker.grey { background: var(--grey-300); }
.lpe-scope .activity-row .body { font-size: 13px; color: var(--navy); line-height: 1.5; }
.lpe-scope .activity-row .body b { font-weight: 700; }
.lpe-scope .activity-row .body .sub { color: var(--grey); font-size: 11.5px; margin-top: 2px; }

.lpe-scope .deal-quick-card {
  border: 1px solid var(--grey-200);
  padding: 16px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lpe-scope .deal-quick-card + .deal-quick-card { border-top: none; margin-top: -1px; }
.lpe-scope .deal-quick-card .top { display: flex; justify-content: space-between; font-size: 11px; color: var(--grey); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.lpe-scope .deal-quick-card .name { font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.lpe-scope .deal-quick-card .stage-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.lpe-scope .deal-quick-card .stage-row .step {
  flex: 1;
  height: 4px;
  background: var(--grey-200);
}
.lpe-scope .deal-quick-card .stage-row .step.done { background: var(--orange); }
.lpe-scope .deal-quick-card .stage-row .step.current { background: var(--orange); position: relative; }
.lpe-scope .deal-quick-card .stage-row .step.current::after {
  content: '';
  position: absolute;
  top: -3px; right: -3px;
  width: 10px; height: 10px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--orange);
}

/* ---------- Spotlight banner (ribbon) ---------- */
.lpe-scope .ribbon {
  display: flex;
  align-items: stretch;
  background: var(--navy);
  color: white;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.lpe-scope .ribbon .ribbon-tab {
  background: var(--orange);
  padding: 16px 24px;
  font-family: var(--font-script);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  position: relative;
}
.lpe-scope .ribbon .ribbon-tab::after {
  content: '';
  position: absolute;
  top: 0; right: -16px; bottom: 0;
  width: 32px;
  background: var(--orange);
  transform: skewX(-12deg);
}
.lpe-scope .ribbon .ribbon-body {
  padding: 16px 24px;
  flex-wrap: wrap;
  gap: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  position: relative;
  z-index: 1;
}
.lpe-scope .ribbon .ribbon-body .text { font-size: 13px; flex: 1 1 220px; min-width: 0; }
.lpe-scope .ribbon .ribbon-body .text b { font-weight: 700; font-size: 14px; display: block; margin-bottom: 2px; }
.lpe-scope .ribbon .ribbon-body .text .sub { color: rgba(255,255,255,0.7); }
.lpe-scope .ribbon .ribbon-body .stats { display: flex; gap: 32px; flex-shrink: 0; }
.lpe-scope .ribbon .ribbon-body .stats .v { font-size: 22px; font-weight: 700; color: var(--orange); font-variant-numeric: tabular-nums; line-height: 1; }
.lpe-scope .ribbon .ribbon-body .stats .l { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 4px; font-weight: 600; }

/* ---------- Misc utilities ---------- */
.lpe-scope .row { display: flex; }
.lpe-scope .col { display: flex; flex-direction: column; }
.lpe-scope .gap-sm { gap: 12px; } .lpe-scope .gap-md { gap: 16px; } .lpe-scope .gap-lg { gap: 24px; }
.lpe-scope .mt-sm { margin-top: 12px; } .lpe-scope .mt-md { margin-top: 24px; }
.lpe-scope .text-grey { color: var(--grey); }
.lpe-scope .text-orange { color: var(--orange); }
.lpe-scope .text-navy { color: var(--navy); }
.lpe-scope .text-mono { font-family: var(--font-mono); }

.lpe-scope .divider {
  height: 1px;
  background: var(--grey-200);
  margin: 16px 0;
}

.lpe-scope .script-accent {
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}

.lpe-scope .kanban-board::-webkit-scrollbar { height: 8px; }
.lpe-scope .kanban-board::-webkit-scrollbar-thumb { background: var(--grey-300); }

.lpe-scope .scroll-y::-webkit-scrollbar { width: 8px; }
.lpe-scope .scroll-y::-webkit-scrollbar-thumb { background: var(--grey-300); }

@media (max-width: 1100px) {
  .lpe-scope .market-shell { grid-template-columns: 1fr; }
  .lpe-scope .filter-rail { position: relative; top: 0; }
  .lpe-scope .detail-grid { grid-template-columns: 1fr; }
  .lpe-scope .msg-shell { grid-template-columns: 280px 1fr; }
  .lpe-scope .msg-side { display: none; }
}

/* ---------- Network page ---------- */
.lpe-scope .network-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--grey-200);
  margin: 0 0 24px;
}
.lpe-scope .network-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--grey);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.lpe-scope .network-tab:hover { color: var(--navy); }
.lpe-scope .network-tab.active {
  color: var(--navy);
  border-bottom-color: var(--orange);
}
.lpe-scope .network-tab .ct {
  font-size: 11px;
  font-weight: 700;
  background: var(--cream);
  color: var(--navy);
  padding: 2px 8px;
  border: 1px solid var(--grey-200);
  font-variant-numeric: tabular-nums;
}
.lpe-scope .network-tab.active .ct {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.lpe-scope .network-toolbar {
  margin-bottom: 12px;
  border: 1px solid var(--grey-200);
  background: white;
  padding: 10px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.lpe-scope .network-toolbar .search-inline {
  flex: 1 1 280px;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--grey-200);
  background: var(--cream);
  height: 36px;
  padding: 0 12px;
  color: var(--grey);
}
.lpe-scope .network-toolbar .search-inline:focus-within {
  border-color: var(--navy);
  background: white;
}
.lpe-scope .network-toolbar .search-inline input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  font-family: inherit;
  font-size: 13px;
  color: var(--navy);
}
.lpe-scope .network-toolbar .verified-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
  padding: 0 4px;
}
.lpe-scope .network-toolbar .verified-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--orange);
  cursor: pointer;
}

.lpe-scope .network-results {
  font-size: 12.5px;
  color: var(--grey);
  margin: 0 0 16px;
}
.lpe-scope .network-results b { color: var(--navy); font-weight: 700; }

.lpe-scope .network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}
.lpe-scope .profile-card {
  background: white;
  border: 1px solid var(--grey-200);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s;
  position: relative;
}
.lpe-scope .profile-card:hover { border-color: var(--navy); }
.lpe-scope .profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.15s;
}
.lpe-scope .profile-card.kind-buyer::before { background: var(--orange); }
.lpe-scope .profile-card.kind-seller::before { background: var(--teal); }
.lpe-scope .profile-card.kind-broker::before { background: var(--gold); }
.lpe-scope .profile-card:hover::before { opacity: 1; }

.lpe-scope .pc-head { display: flex; align-items: flex-start; gap: 14px; }
.lpe-scope .pc-av {
  position: relative;
  width: 48px; height: 48px;
  background: var(--navy);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.lpe-scope .pc-av .verified-dot {
  position: absolute;
  bottom: -3px; right: -3px;
  width: 16px; height: 16px;
  background: var(--teal);
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lpe-scope .pc-id { flex: 1; min-width: 0; }
.lpe-scope .pc-id .pc-name { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.lpe-scope .pc-id .pc-title { font-size: 12px; color: var(--grey); margin-top: 2px; line-height: 1.4; }

.lpe-scope .role-pill {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 8px;
  border: 1px solid;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}
.lpe-scope .role-pill.kind-buyer {
  color: var(--orange-700);
  border-color: rgba(228, 116, 37, 0.3);
  background: rgba(228, 116, 37, 0.08);
}
.lpe-scope .role-pill.kind-seller {
  color: var(--teal-600);
  border-color: rgba(27, 127, 124, 0.3);
  background: rgba(27, 127, 124, 0.08);
}
.lpe-scope .role-pill.kind-broker {
  color: #8a6c2f;
  border-color: rgba(201, 168, 118, 0.4);
  background: rgba(201, 168, 118, 0.12);
}

.lpe-scope .pc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--grey);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.lpe-scope .pc-meta svg { color: var(--orange); }
.lpe-scope .pc-meta .dot { color: var(--grey-300); }

.lpe-scope .pc-blurb {
  font-size: 13px;
  line-height: 1.55;
  color: #3d4756;
  margin: 0;
}

.lpe-scope .pc-focus { display: flex; gap: 6px; flex-wrap: wrap; }

.lpe-scope .pc-figs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}
.lpe-scope .pc-figs .fig .v {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.lpe-scope .profile-card.kind-buyer .pc-figs .fig:first-child .v { color: var(--orange); }
.lpe-scope .profile-card.kind-seller .pc-figs .fig:first-child .v { color: var(--teal-600); }
.lpe-scope .pc-figs .fig .l {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 4px;
  font-weight: 600;
}

.lpe-scope .pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lpe-scope .pc-foot .match {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.lpe-scope .pc-foot .match-bar {
  height: 4px;
  background: var(--cream-2);
  position: relative;
  width: 100%;
  max-width: 130px;
}
.lpe-scope .pc-foot .match-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--orange);
}
.lpe-scope .pc-foot .match-label {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
}
.lpe-scope .pc-foot .match-label b { color: var(--navy); font-weight: 700; }
.lpe-scope .pc-foot .pc-actions { display: flex; gap: 6px; flex-shrink: 0; }

.lpe-scope .network-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--grey-200);
  background: white;
}
.lpe-scope .profile-row {
  display: grid;
  grid-template-columns: 56px 1fr 160px 120px 70px auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-200);
  position: relative;
  transition: background 0.15s;
}
.lpe-scope .profile-row:last-child { border-bottom: 0; }
.lpe-scope .profile-row:hover { background: var(--cream); }
.lpe-scope .profile-row::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
}
.lpe-scope .profile-row.kind-buyer::before { background: var(--orange); }
.lpe-scope .profile-row.kind-seller::before { background: var(--teal); }
.lpe-scope .profile-row.kind-broker::before { background: var(--gold); }

.lpe-scope .pr-av {
  position: relative;
  width: 44px; height: 44px;
  background: var(--navy);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.lpe-scope .pr-av .verified-dot {
  position: absolute;
  bottom: -3px; right: -3px;
  width: 14px; height: 14px;
  background: var(--teal);
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lpe-scope .pr-main { min-width: 0; }
.lpe-scope .pr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.lpe-scope .pr-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lpe-scope .pr-meta {
  font-size: 11px;
  color: var(--grey);
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lpe-scope .pr-meta svg { color: var(--orange); }
.lpe-scope .pr-title { font-size: 12.5px; color: var(--grey); margin-bottom: 6px; }
.lpe-scope .pr-focus { display: flex; gap: 5px; flex-wrap: wrap; }
.lpe-scope .pr-focus .tag { font-size: 10px; padding: 3px 7px; }

.lpe-scope .pr-fig { text-align: right; }
.lpe-scope .pr-fig .v {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.lpe-scope .profile-row.kind-buyer .pr-fig:nth-of-type(1) .v,
.lpe-scope .profile-row.kind-seller .pr-fig:nth-of-type(1) .v { color: var(--orange); }
.lpe-scope .pr-fig .l {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 2px;
  font-weight: 600;
}

.lpe-scope .pr-match { text-align: center; }
.lpe-scope .pr-match .match-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}
.lpe-scope .pr-match .match-lab {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 4px;
  font-weight: 600;
}

.lpe-scope .pr-actions { display: flex; gap: 6px; }

.lpe-scope .network-empty {
  padding: 60px 20px;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}
.lpe-scope .network-empty .ph {
  position: relative;
  height: 160px;
  margin-bottom: 20px;
}
.lpe-scope .network-empty h3 { font-size: 18px; margin: 0 0 6px; color: var(--navy); }
.lpe-scope .network-empty p { color: var(--grey); font-size: 13px; margin: 0 0 20px; }

.lpe-scope .network-cta-ribbon {
  margin-top: 40px;
  display: flex;
  align-items: stretch;
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.lpe-scope .network-cta-ribbon .body {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.lpe-scope .network-cta-ribbon .text { flex: 1 1 360px; min-width: 0; font-size: 13px; }
.lpe-scope .network-cta-ribbon .text b {
  font-weight: 700;
  font-size: 18px;
  display: block;
  margin-bottom: 6px;
}
.lpe-scope .network-cta-ribbon .text .sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .lpe-scope .profile-row { grid-template-columns: 56px 1fr 130px auto; }
  .lpe-scope .profile-row .pr-fig:nth-of-type(2) { display: none; }
  .lpe-scope .profile-row .pr-match { display: none; }
}

/* ---------- Resources (Buyer / Seller / Help) ---------- */
.lpe-scope .resource-hero {
  position: relative;
  background: var(--navy);
  color: white;
  padding: 56px 56px 48px;
  margin: -32px -40px 32px;
  overflow: hidden;
}
.lpe-scope .resource-hero.kind-seller { background: #0E2E45; }
.lpe-scope .resource-hero.kind-help { background: #142a47; }
.lpe-scope .resource-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--orange);
}
.lpe-scope .resource-hero-inner { position: relative; z-index: 2; max-width: 720px; }
.lpe-scope .resource-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 18px;
}
.lpe-scope .resource-hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.lpe-scope .resource-hero .lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0;
}
.lpe-scope .resource-hero-deco {
  position: absolute;
  right: -40px; top: 0; bottom: 0;
  width: 320px;
  display: flex;
  gap: 4px;
  pointer-events: none;
  opacity: 0.5;
}
.lpe-scope .resource-hero-deco .rh-stripe {
  flex: 1;
  background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(255, 255, 255, 0.025) 8px 9px);
}
.lpe-scope .resource-hero-deco .rh-stripe:nth-child(2) {
  background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(228, 116, 37, 0.06) 8px 9px);
}

.lpe-scope .resource-body { display: flex; flex-direction: column; gap: 56px; }
.lpe-scope .r-section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--grey-200);
  padding-bottom: 14px;
  margin-bottom: 24px;
}
.lpe-scope .r-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
  font-weight: 600;
  flex-shrink: 0;
}
.lpe-scope .r-section-head h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex: 1;
  margin: 0;
}
.lpe-scope .r-section-action { flex-shrink: 0; }

.lpe-scope .step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid var(--grey-200);
  background: white;
}
.lpe-scope .step-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-right: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}
.lpe-scope .step-card .step-n {
  width: 32px; height: 32px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--grey-200);
}
.lpe-scope .step-card .step-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.lpe-scope .step-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.lpe-scope .step-card p { font-size: 13px; color: var(--grey); line-height: 1.5; margin: 0; }

.lpe-scope .guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.lpe-scope .guide-card {
  background: white;
  border: 1px solid var(--grey-200);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  position: relative;
}
.lpe-scope .guide-card:hover { border-color: var(--navy); }
.lpe-scope .guide-card.accent {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.lpe-scope .guide-card.accent:hover { background: var(--navy-700); }
.lpe-scope .guide-card.accent::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
}
.lpe-scope .guide-card .gc-tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
  font-family: var(--font-mono);
}
.lpe-scope .guide-card.accent .gc-tag { color: var(--orange); }
.lpe-scope .guide-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}
.lpe-scope .guide-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--grey);
  flex: 1;
  margin: 0;
}
.lpe-scope .guide-card.accent p { color: rgba(255, 255, 255, 0.7); }
.lpe-scope .guide-card .gc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--grey-200);
  font-size: 11px;
}
.lpe-scope .guide-card.accent .gc-foot { border-top-color: rgba(255, 255, 255, 0.12); }
.lpe-scope .guide-card .gc-meta {
  color: var(--grey);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.lpe-scope .guide-card.accent .gc-meta { color: rgba(255, 255, 255, 0.55); }
.lpe-scope .guide-card .gc-arrow {
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lpe-scope .tools-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey-200);
  background: white;
}
.lpe-scope .tool-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--grey-200);
  transition: background 0.15s;
}
.lpe-scope .tool-row:last-child { border-bottom: 0; }
.lpe-scope .tool-row:hover { background: var(--cream); }
.lpe-scope .tool-row .tool-icon {
  width: 42px; height: 42px;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border: 1px solid var(--grey-200);
  flex-shrink: 0;
}
.lpe-scope .tool-row .tool-text { flex: 1; min-width: 0; }
.lpe-scope .tool-row .tool-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.lpe-scope .tool-row .tool-blurb {
  font-size: 12.5px;
  color: var(--grey);
  line-height: 1.5;
}

.lpe-scope .faq-list { border: 1px solid var(--grey-200); background: white; }
.lpe-scope .faq-item { border-bottom: 1px solid var(--grey-200); }
.lpe-scope .faq-item:last-child { border-bottom: 0; }
.lpe-scope .faq-q {
  width: 100%;
  background: white;
  border: 0;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}
.lpe-scope .faq-q:hover { background: var(--cream); }
.lpe-scope .faq-toggle {
  width: 28px; height: 28px;
  border: 1px solid var(--grey-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}
.lpe-scope .faq-item.open .faq-toggle {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.lpe-scope .faq-a {
  padding: 0 22px 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--grey);
  max-width: 760px;
}

.lpe-scope .resource-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  background: var(--cream-2);
  border: 1px solid var(--grey-200);
  border-left: 4px solid var(--orange);
  padding: 28px 32px;
}
.lpe-scope .resource-cta .rc-eye {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 6px;
}
.lpe-scope .resource-cta h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  max-width: 640px;
  margin: 0;
}

/* Help center */
.lpe-scope .help-search {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--grey-200);
  background: white;
  height: 60px;
  padding: 0 22px;
  margin-bottom: 28px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lpe-scope .help-search:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22, 58, 100, 0.06);
}
.lpe-scope .help-search svg { color: var(--orange); flex-shrink: 0; }
.lpe-scope .help-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  font-family: inherit;
  font-size: 16px;
  color: var(--navy);
}
.lpe-scope .help-search kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--cream);
  padding: 4px 8px;
  border: 1px solid var(--grey-200);
  color: var(--grey);
}

.lpe-scope .help-popular { margin-bottom: 36px; }
.lpe-scope .help-popular .hp-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  margin-bottom: 12px;
}
.lpe-scope .help-popular .hp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.lpe-scope .help-popular .chip {
  background: white;
  border: 1px solid var(--grey-200);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.lpe-scope .help-popular .chip:hover { border-color: var(--navy); background: var(--cream); }

.lpe-scope .help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.lpe-scope .help-card {
  background: white;
  border: 1px solid var(--grey-200);
  padding: 22px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s;
}
.lpe-scope .help-card:hover { border-color: var(--navy); }
.lpe-scope .help-card .hc-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border: 1px solid var(--grey-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 6px;
}
.lpe-scope .help-card .hc-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.lpe-scope .help-card .hc-desc {
  font-size: 12.5px;
  color: var(--grey);
  line-height: 1.45;
  flex: 1;
}
.lpe-scope .help-card .hc-count {
  font-size: 11px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.lpe-scope .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.lpe-scope .contact-card {
  background: white;
  border: 1px solid var(--grey-200);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lpe-scope .contact-card .cc-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.lpe-scope .contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.lpe-scope .contact-card p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  margin: 0;
}
.lpe-scope .contact-card .cc-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.lpe-scope .contact-card .cc-status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grey-300);
}
.lpe-scope .contact-card .cc-status .dot.online {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(27, 127, 124, 0.2);
}
.lpe-scope .contact-card .cc-channels {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.lpe-scope .contact-card .cc-channels .lab {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  width: 50px;
  display: inline-block;
}
.lpe-scope .contact-card .cc-channels .val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--navy);
  font-weight: 600;
}
.lpe-scope .contact-card .btn { align-self: flex-start; margin-top: 6px; }

.lpe-scope .glossary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--grey-200);
  background: white;
}
.lpe-scope .glossary-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--grey-200);
  border-right: 1px solid var(--grey-200);
}
.lpe-scope .glossary-item:nth-child(2n) { border-right: 0; }
.lpe-scope .glossary-item .g-term {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.lpe-scope .glossary-item .g-def {
  font-size: 12.5px;
  color: var(--grey);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .lpe-scope .glossary { grid-template-columns: 1fr; }
  .lpe-scope .glossary-item { border-right: 0; }
  .lpe-scope .resource-hero { padding: 36px 24px 32px; margin: -32px -16px 24px; }
  .lpe-scope .resource-hero h1 { font-size: 30px; }
}
