/* Expanded ERP story. Third-party names are plain text, never styled as logos. */
.erp-showcase.integration { display: block; }
.erp-heading { max-width: 850px; }
.erp-heading > p:last-child { color: var(--muted); max-width: 650px; font-size: 1.125rem; margin: 1.5rem 0 2.5rem; }
.erp-references { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
.erp-reference { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); min-width: 0; }
.erp-reference:last-child { border-right: 0; }
.erp-reference > span, .erp-reference small { color: var(--muted); font-size: .8125rem; }
.erp-reference strong { font: 700 clamp(1.1rem, 1.6vw, 1.45rem)/1.4 var(--font-body); color: var(--text); margin-block: .25rem; }
.erp-reference small { line-height: 1.5; }
.trademark { font-size: .6em; vertical-align: super; margin-left: .1em; }
.erp-reference-note { font-size: .8125rem; color: var(--muted); margin: .875rem 0 2.5rem; }
.erp-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; align-items: stretch; }
.erp-flow-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 1.75rem; min-width: 0; }
.erp-flow-card + .erp-flow-card::before { content: ''; position: absolute; left: calc(-2rem - 1px); top: 50%; width: 2rem; height: 2px; background: linear-gradient(90deg, var(--line), var(--accent)); }
.erp-overline { font-size: .75rem; letter-spacing: .1em; font-weight: 700; color: var(--accent); margin: 0 0 1.25rem; }
.erp-flow h3 { font-size: 1.5rem; letter-spacing: -.035em; line-height: 1.25; }
.erp-flow-card > p:not(.erp-overline) { font-size: .9375rem; color: var(--muted); margin-block: 1rem; }
.erp-data { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0 .75rem; }
.erp-data span { padding: .35rem .6rem; border-radius: var(--radius-control); background: var(--soft); font-size: .8125rem; }
.erp-flow-source small { display: block; color: var(--muted); font-size: .75rem; }
.erp-flow-sync { background: #10283c; color: #f4f7fb; border-color: #326183; box-shadow: var(--shadow-panel); }
.erp-flow-sync img { display: block; max-width: 100%; height: auto; margin-bottom: 1.75rem; }
.erp-flow-sync .erp-overline { color: #85cefa; }
.erp-flow-sync > p:not(.erp-overline) { color: #b7cbdc; }
.erp-sync-label { display: block; color: #b7cbdc; font-size: .75rem; border-top: 1px solid #ffffff26; padding-top: 1rem; }
.erp-flow-field ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; color: var(--muted); font-size: .9375rem; }
.erp-flow-field li { border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.erp-agent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-gap); margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.erp-agent .eyebrow { margin-bottom: 1rem; font-size: .75rem; }
.erp-agent h3 { font-size: 1.8rem; line-height: 1.25; }
.erp-agent p:not(.eyebrow) { margin: 0 0 1rem; color: var(--muted); }
.erp-agent .erp-agent-note { font-size: .875rem; }
.erp-outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 1.5rem; }
.erp-outcomes strong { font-size: 1rem; }
.erp-outcomes p { color: var(--muted); font-size: .9375rem; margin: .5rem 0 0; }
.erp-bottom { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.erp-bottom p { color: var(--muted); font-size: .875rem; max-width: 440px; margin: 0; }
.erp-trademarks { font-size: .75rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.5rem; margin: 2rem 0 0; line-height: 1.8; }
@media (max-width: 1000px) {
  .erp-references { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .erp-reference:nth-child(2) { border-right: 0; }
  .erp-reference:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .erp-flow { gap: 1.25rem; }
  .erp-flow-card { padding: 1.25rem; }
  .erp-flow-card + .erp-flow-card::before { left: calc(-1.25rem - 1px); width: 1.25rem; }
}
@media (max-width: 760px) {
  .erp-flow, .erp-agent { grid-template-columns: minmax(0, 1fr); }
  .erp-flow { gap: 1.75rem; }
  .erp-flow-card { padding: 1.5rem; }
  .erp-flow-card + .erp-flow-card::before { top: calc(-1.75rem - 1px); left: 50%; width: 2px; height: 1.75rem; background: linear-gradient(var(--line), var(--accent)); }
  .erp-reference { padding: 1rem; }
  .erp-reference strong { font-size: 1.125rem; }
  .erp-agent { gap: 1.5rem; }
  .erp-outcomes { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .erp-bottom { gap: 1rem; }
}
@media (max-width: 360px) {
  .erp-references { grid-template-columns: minmax(0, 1fr); }
  .erp-reference { border-right: 0; border-bottom: 1px solid var(--line); }
  .erp-reference:last-child { border-bottom: 0; }
}
