.cpa-integrated-service {
  --cpa-page: #f3f2ef;
  --cpa-paper: #ffffff;
  --cpa-ink: #141516;
  --cpa-muted: #686b6e;
  --cpa-line: #dededb;
  --cpa-stage: #15181b;
  --cpa-stage-2: #202429;
  --cpa-stage-line: rgba(255,255,255,.09);
  --cpa-accent: #d32424;
  --cpa-accent-dark: #a91919;
  --cpa-accent-soft: rgba(211,36,36,.11);
  --cpa-good: #78d69a;
}



.cpa-service-system [hidden] { display: none !important; }

.cpa-service-system {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.cpa-service-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding: 0 4px 28px;
}
.cpa-hero-copy { max-width: 820px; }
.cpa-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cpa-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.cpa-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}
.cpa-service-hero h1 {
  margin: 10px 0 13px;
  max-width: 780px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 900;
}
.cpa-service-hero p {
  margin: 0;
  max-width: 760px;
  color: var(--cpa-muted);
  font-size: 16px;
  line-height: 1.65;
}
.cpa-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cpa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.cpa-btn-primary { background: var(--cpa-accent); color: #fff; }
.cpa-btn-primary:hover { background: var(--cpa-accent-dark); transform: translateY(-1px); }
.cpa-btn-secondary { border-color: #c8c9c6; background: #fff; color: #171819; }
.cpa-btn-secondary:hover { border-color: #9d9e9b; transform: translateY(-1px); }
.cpa-btn-wide { width: 100%; }

.cpa-modebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--cpa-line);
  border-radius: 14px 14px 0 0;
}
.cpa-view-switch { display: flex; gap: 6px; min-width: 0; }
.cpa-switch, .cpa-reset {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #4f5254;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.cpa-switch.active { background: #191b1e; color: #fff; }
.cpa-reset { color: var(--cpa-accent); }
.cpa-reset:hover { background: var(--cpa-accent-soft); }

.cpa-category-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 10px;
  scrollbar-width: thin;
  background: #fafafa;
  border-inline: 1px solid var(--cpa-line);
  border-bottom: 1px solid var(--cpa-line);
}
.cpa-category-btn {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid #d9dad7;
  border-radius: 999px;
  background: #fff;
  color: #4b4e50;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.cpa-category-btn.active {
  border-color: var(--cpa-accent);
  background: var(--cpa-accent-soft);
  color: #9f1616;
}

.cpa-explorer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  border: 1px solid var(--cpa-line);
  border-top: 0;
  background: #fff;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}
.cpa-main-panel { min-width: 0; }
.cpa-vehicle-view { background: var(--cpa-stage); min-height: 650px; }
.cpa-map-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 0;
  color: #afb4b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.cpa-map-status { display: inline-flex; align-items: center; gap: 9px; }
.cpa-map-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cpa-good);
  box-shadow: 0 0 0 4px rgba(120,214,154,.12);
}
.cpa-map-hint { color: #777f85; }

.cpa-map-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 540;
  min-height: 470px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(255,255,255,.055), transparent 34%),
    linear-gradient(180deg, #16191c 0%, #1c2024 58%, #15181a 100%);
}
.cpa-map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), rgba(0,0,0,.05));
  pointer-events: none;
}
.cpa-ambient {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}
.cpa-ambient-one { width: 80%; aspect-ratio: 1; left: 10%; top: -52%; }
.cpa-ambient-two { width: 46%; aspect-ratio: 1; left: 27%; top: -18%; border-color: rgba(211,36,36,.10); }
.cpa-floor {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 70%;
  height: 5%;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  filter: blur(13px);
}
.cpa-car {
  position: absolute;
  left: 9.5%;
  top: 37%;
  width: 81%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 20px rgba(0,0,0,.4));
  user-select: none;
  pointer-events: none;
  z-index: 2;
}
.cpa-leaders, .cpa-anchor-layer, .cpa-callout-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.cpa-leaders { z-index: 3; overflow: visible; pointer-events: none; }
.cpa-leader {
  fill: none;
  stroke: rgba(235,238,240,.62);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
  transition: opacity .18s ease, stroke .18s ease, stroke-width .18s ease;
}
.cpa-leader.active { stroke: #ff6c6c; stroke-width: 2; }
.cpa-leader.dim { opacity: .14; }
.cpa-anchor-layer { z-index: 4; pointer-events: none; }
.cpa-anchor-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--cpa-accent);
  box-shadow: 0 0 0 4px rgba(211,36,36,.18), 0 0 20px rgba(211,36,36,.36);
  transition: transform .18s ease, opacity .18s ease;
}
.cpa-anchor-dot.active { transform: translate(-50%, -50%) scale(1.25); }
.cpa-anchor-dot.dim { opacity: .18; }
.cpa-callout-layer { z-index: 5; pointer-events: none; }
.cpa-callout {
  position: absolute;
  width: 78px;
  min-height: 78px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(18,21,24,.94);
  color: #f8f8f8;
  display: grid;
  place-items: center;
  padding: 11px;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 12px 30px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.cpa-callout::after {
  content: attr(data-short);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 120px;
  color: #d6d9dc;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}
.cpa-callout svg { width: 31px; height: 31px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cpa-callout:hover, .cpa-callout:focus-visible {
  transform: translate(-50%, -50%) scale(1.07);
  border-color: #ff8a8a;
  outline: none;
}
.cpa-callout.active {
  border-color: #ff6c6c;
  background: #2a1a1c;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(211,36,36,.13), 0 16px 34px rgba(0,0,0,.34);
}
.cpa-callout.dim { opacity: .18; pointer-events: none; }
.cpa-callout.related { border-color: #ff8a8a; box-shadow: 0 0 0 4px rgba(211,36,36,.09); }

.cpa-mobile-service-list { display: none; }

.cpa-detail-panel {
  padding: 30px 28px;
  border-left: 1px solid var(--cpa-line);
  background: #fff;
}
.cpa-detail-eyebrow { display: flex; justify-content: space-between; gap: 12px; color: var(--cpa-accent); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
#cpaDetailIndex { color: #bbbcb9; }
.cpa-detail-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 23px 0 18px;
  border-radius: 15px;
  background: var(--cpa-accent-soft);
  color: var(--cpa-accent);
}
.cpa-detail-icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cpa-detail-panel h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
.cpa-detail-summary { margin: 0 0 24px; color: #626568; font-size: 14px; line-height: 1.65; }
.cpa-detail-block { padding: 19px 0; border-top: 1px solid #e7e7e4; }
.cpa-detail-block h3 { margin: 0 0 12px; font-size: 11px; letter-spacing: .10em; text-transform: uppercase; }
.cpa-detail-block ul { margin: 0; padding: 0 0 0 18px; color: #55585b; font-size: 13px; line-height: 1.65; }
.cpa-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cpa-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 9px;
  border: 1px solid #e2e2df;
  border-radius: 8px;
  background: #fafafa;
  color: #4c4f52;
  font-size: 11px;
  font-weight: 750;
}
.cpa-check-item::before { content: "✓"; color: var(--cpa-accent); font-weight: 900; }
.cpa-detail-note {
  margin: 2px 0 22px;
  padding: 13px 14px;
  border-left: 3px solid var(--cpa-accent);
  background: #f7f7f5;
  color: #686b6e;
  font-size: 11px;
  line-height: 1.55;
}
.cpa-detail-actions { display: grid; gap: 12px; }
.cpa-text-link { color: #242628; text-align: center; text-decoration: none; font-size: 12px; font-weight: 800; }
.cpa-text-link:hover { color: var(--cpa-accent); }

.cpa-symptom-view { min-height: 650px; padding: 44px; background: #f7f7f5; }
.cpa-symptom-intro { max-width: 680px; }
.cpa-symptom-intro h2 { margin: 8px 0 10px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; line-height: 1; }
.cpa-symptom-intro p { margin: 0; color: #66696c; line-height: 1.65; }
.cpa-symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.cpa-symptom-card {
  min-height: 118px;
  border: 1px solid #dededb;
  border-radius: 13px;
  background: #fff;
  color: #232527;
  padding: 17px;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.cpa-symptom-card:hover, .cpa-symptom-card:focus-visible { transform: translateY(-2px); border-color: #c6c6c3; outline: none; box-shadow: 0 10px 25px rgba(0,0,0,.06); }
.cpa-symptom-card.active { border-color: var(--cpa-accent); box-shadow: 0 0 0 3px var(--cpa-accent-soft); }
.cpa-symptom-card strong { display: block; margin-bottom: 7px; font-size: 15px; }
.cpa-symptom-card span { color: #74777a; font-size: 12px; line-height: 1.45; }
.cpa-symptom-results { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #dcdcd9; }
.cpa-symptom-results h3 { margin: 8px 0 0; font-size: 24px; }
.cpa-related-services { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 520px; }
.cpa-related-service {
  min-height: 40px;
  border: 1px solid #d7d7d4;
  border-radius: 999px;
  background: #fff;
  color: #3d4042;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.cpa-related-service:hover { border-color: var(--cpa-accent); color: var(--cpa-accent); }

@media (max-width: 1100px) {
  .cpa-explorer-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .cpa-callout { width: 68px; min-height: 68px; }
  .cpa-callout svg { width: 27px; height: 27px; }
}

@media (max-width: 900px) {
  .cpa-service-hero { align-items: flex-start; flex-direction: column; }
  .cpa-hero-actions { justify-content: flex-start; }
  .cpa-explorer-layout { grid-template-columns: 1fr; }
  .cpa-detail-panel { border-left: 0; border-top: 1px solid var(--cpa-line); }
  .cpa-vehicle-view { min-height: auto; }
}

@media (max-width: 720px) {
  .demo-page { padding: 20px 10px 44px; }
  .cpa-service-hero { padding-bottom: 22px; }
  .cpa-service-hero h1 { font-size: clamp(36px, 11vw, 54px); }
  .cpa-hero-actions, .cpa-hero-actions .cpa-btn { width: 100%; }
  .cpa-modebar { align-items: stretch; flex-direction: column; }
  .cpa-view-switch { display: grid; grid-template-columns: 1fr 1fr; }
  .cpa-switch, .cpa-reset { width: 100%; }
  .cpa-map-topline { padding: 14px 14px 0; }
  .cpa-map-hint { display: none; }
  .cpa-map-canvas { min-height: 360px; aspect-ratio: 4 / 3; }
  .cpa-car { left: 5%; width: 90%; top: 39%; }
  .cpa-callout { display: none; }
  .cpa-leaders { display: none; }
  .cpa-anchor-dot { width: 12px; height: 12px; }
  .cpa-mobile-service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; background: #171a1d; }
  .cpa-mobile-service-btn {
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;
    background: #22262a;
    color: #e8e9ea;
    padding: 9px 10px;
    font-size: 11px;
    font-weight: 800;
    text-align: left;
  }
  .cpa-mobile-service-btn.active { border-color: #ff7373; background: #2c1d1f; }
  .cpa-detail-panel { padding: 26px 20px; }
  .cpa-check-grid { grid-template-columns: 1fr; }
  .cpa-symptom-view { padding: 30px 18px; min-height: 0; }
  .cpa-symptom-grid { grid-template-columns: 1fr 1fr; }
  .cpa-symptom-results { flex-direction: column; }
  .cpa-related-services { justify-content: flex-start; }
}

@media (max-width: 440px) {
  .cpa-mobile-service-list { grid-template-columns: 1fr; }
  .cpa-symptom-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cpa-service-system *, .cpa-service-system *::before, .cpa-service-system *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* ===== V6 SaaS cleanup ===== */
.cpa-integrated-service{
  --cpa-page:#f3f2ef;
  --cpa-paper:#fff;
  --cpa-ink:#141516;
  --cpa-muted:#686b6e;
  --cpa-line:#dededb;
  --cpa-stage:#15181b;
  --cpa-stage-2:#202429;
  --cpa-accent:#d32424;
  --cpa-accent-dark:#a91919;
  --cpa-accent-soft:rgba(211,36,36,.10);
  --cpa-good:#78d69a;
  padding:96px 18px;
  background:#f3f2ef;
  color:#141516;
}
.cpa-integrated-service *,
.cpa-integrated-service *::before,
.cpa-integrated-service *::after{box-sizing:border-box}
.cpa-integrated-service button,
.cpa-integrated-service input,
.cpa-integrated-service a{font:inherit}
.cpa-integrated-inner{width:min(1380px,100%);margin:0 auto}

.cpa-service-hero{
  padding:0 2px 30px;
}
.cpa-service-hero h1{
  font-family:Inter,Arial,sans-serif;
  font-size:clamp(36px,4.5vw,62px);
  letter-spacing:-.045em;
}
.cpa-service-hero p{
  max-width:720px;
  font-size:15px;
}

.cpa-modebar{
  border-radius:16px 16px 0 0;
  padding:10px 12px;
  box-shadow:0 10px 35px rgba(30,33,31,.05);
}
.cpa-toolbar-right{
  display:flex;
  align-items:center;
  gap:8px;
}
.cpa-search{
  width:230px;
  min-height:42px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 12px;
  border:1px solid #dededb;
  border-radius:9px;
  background:#f8f8f6;
}
.cpa-search:focus-within{
  border-color:#aaa;
  box-shadow:0 0 0 3px rgba(0,0,0,.04);
}
.cpa-search-icon{
  color:#888d89;
  font-size:17px;
  line-height:1;
}
.cpa-search input{
  min-width:0;
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#242628;
  font-size:12px;
}
.cpa-search input::placeholder{color:#9b9e9a}

.cpa-category-row{
  gap:7px;
  padding:12px;
  background:#fafaf8;
}
.cpa-category-btn{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:36px;
  padding:0 12px;
  border-color:#dfdfdc;
  background:#fff;
  font-size:11px;
}
.cpa-category-btn .cpa-cat-count{
  min-width:20px;
  height:20px;
  padding:0 6px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  background:#f0f0ed;
  color:#777b77;
  font-size:9px;
}
.cpa-category-btn.active .cpa-cat-count{
  background:#fff;
  color:#a91919;
}
.cpa-filter-summary{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:0 16px;
  border-inline:1px solid var(--cpa-line);
  border-bottom:1px solid var(--cpa-line);
  background:#fff;
  color:#717571;
  font-size:10px;
}
.cpa-filter-summary strong{
  color:#343735;
  font-size:11px;
}

.cpa-explorer-layout{
  grid-template-columns:minmax(0,1fr) 360px;
  border-radius:0 0 16px 16px;
  box-shadow:0 24px 60px rgba(25,30,27,.08);
}
.cpa-vehicle-view{min-height:610px}
.cpa-map-topline{
  padding:14px 18px 8px;
}
.cpa-map-canvas{
  min-height:500px;
  aspect-ratio:1000/540;
}
.cpa-car{
  left:10%;
  top:38%;
  width:80%;
}

/* Keep the map readable. Connections only appear for the selected item or symptom matches. */
.cpa-leader{
  opacity:0;
  stroke:rgba(255,255,255,.72);
  stroke-width:1.15;
}
.cpa-leader.active,
.cpa-leader.preview{
  opacity:1;
  stroke:#ff7a7a;
  stroke-width:1.8;
}
.cpa-leader.related{
  opacity:.68;
  stroke:#ff9999;
}
.cpa-anchor-dot{
  width:12px;
  height:12px;
  opacity:.58;
  box-shadow:0 0 0 3px rgba(211,36,36,.14),0 0 14px rgba(211,36,36,.24);
}
.cpa-anchor-dot.active,
.cpa-anchor-dot.preview{
  opacity:1;
  transform:translate(-50%,-50%) scale(1.25);
}
.cpa-anchor-dot.related{opacity:1}
.cpa-callout{
  width:60px;
  min-height:60px;
  padding:9px;
  border-color:rgba(255,255,255,.20);
  background:rgba(18,21,24,.94);
}
.cpa-callout svg{width:25px;height:25px}
.cpa-callout::after{
  top:calc(100% + 6px);
  max-width:108px;
  font-size:9px;
  letter-spacing:.025em;
}
.cpa-callout.active{
  background:#3a171a;
  box-shadow:0 0 0 4px rgba(211,36,36,.12),0 14px 30px rgba(0,0,0,.30);
}
.cpa-callout.related{
  border-color:#ff8a8a;
  box-shadow:0 0 0 3px rgba(211,36,36,.08);
}
.cpa-callout.filtered-out,
.cpa-anchor-dot.filtered-out,
.cpa-leader.filtered-out,
.cpa-mobile-service-btn.filtered-out{
  display:none !important;
}

.cpa-detail-panel{
  padding:28px 26px;
  background:#fff;
}
.cpa-detail-icon{
  width:52px;
  height:52px;
  margin:20px 0 16px;
  border-radius:13px;
}
.cpa-detail-panel h2{
  font-size:29px;
}
.cpa-detail-summary{
  font-size:13px;
  line-height:1.62;
}
.cpa-detail-block{
  padding:17px 0;
}
.cpa-detail-note{
  margin-bottom:18px;
}

.cpa-symptom-view{
  min-height:610px;
  padding:36px;
}
.cpa-symptom-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.cpa-symptom-card{
  min-height:110px;
  border-radius:11px;
}
.cpa-symptom-card.active{
  background:#fff8f8;
}

.cpa-empty-state{
  position:absolute;
  inset:0;
  z-index:8;
  display:none;
  place-items:center;
  padding:30px;
  text-align:center;
  pointer-events:none;
}
.cpa-empty-state.show{display:grid}
.cpa-empty-card{
  width:min(360px,90%);
  padding:24px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(18,21,24,.94);
  color:#fff;
  box-shadow:0 20px 50px rgba(0,0,0,.26);
}
.cpa-empty-card strong{display:block;font-size:16px;margin-bottom:6px}
.cpa-empty-card span{color:#aeb4b8;font-size:12px;line-height:1.5}

@media(max-width:1100px){
  .cpa-explorer-layout{grid-template-columns:minmax(0,1fr) 330px}
}
@media(max-width:900px){
  .cpa-explorer-layout{grid-template-columns:1fr}
  .cpa-detail-panel{border-left:0;border-top:1px solid var(--cpa-line)}
}
@media(max-width:720px){
  .cpa-integrated-service{padding:64px 10px}
  .cpa-toolbar-right{width:100%}
  .cpa-search{width:100%}
  .cpa-reset{flex:0 0 auto}
  .cpa-filter-summary{align-items:flex-start;flex-direction:column;justify-content:center;padding:10px 14px}
  .cpa-symptom-grid{grid-template-columns:1fr}
}


/* =========================================================
   V7 PHONE EXPERIENCE FOR SERVICE EXPLORER
   ========================================================= */

@media(max-width:760px){
  .cpa-integrated-service{
    padding:58px 10px 66px;
  }

  .cpa-integrated-inner{
    width:100%;
  }

  .cpa-service-hero{
    gap:18px;
    padding:0 2px 22px;
  }

  .cpa-service-hero h1{
    margin:8px 0 10px;
    font-size:clamp(34px,10.5vw,46px);
    line-height:1;
  }

  .cpa-service-hero p{
    font-size:14px;
    line-height:1.58;
  }

  .cpa-hero-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    width:100%;
  }

  .cpa-hero-actions .cpa-btn{
    width:100%;
    min-height:46px;
    padding-inline:10px;
    font-size:12px;
  }

  .cpa-modebar{
    gap:9px;
    padding:9px;
    border-radius:12px 12px 0 0;
  }

  .cpa-view-switch{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }

  .cpa-switch{
    width:100%;
    min-height:44px;
    padding:0 8px;
    font-size:11px;
  }

  .cpa-toolbar-right{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
  }

  .cpa-search{
    width:100%;
    min-height:44px;
  }

  .cpa-reset{
    width:auto;
    min-width:68px;
    min-height:44px;
    padding:0 12px;
    background:#f4f4f1;
  }

  .cpa-category-row{
    display:flex;
    gap:7px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
    padding:10px;
    -webkit-overflow-scrolling:touch;
  }

  .cpa-category-row::-webkit-scrollbar{
    display:none;
  }

  .cpa-category-btn{
    scroll-snap-align:start;
    min-height:40px;
    padding:0 12px;
    font-size:11px;
  }

  .cpa-filter-summary{
    min-height:38px;
    padding:8px 12px;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }

  .cpa-filter-summary strong{
    font-size:10px;
  }

  .cpa-explorer-layout{
    display:block;
    border-radius:0 0 12px 12px;
  }

  .cpa-vehicle-view{
    min-height:0;
  }

  .cpa-map-topline{
    padding:12px 12px 8px;
    font-size:9px;
  }

  .cpa-map-hint{
    display:none;
  }

  .cpa-map-canvas{
    min-height:285px;
    aspect-ratio:16/11;
  }

  .cpa-car{
    left:3%;
    top:34%;
    width:94%;
  }

  /* On a phone, the car stays visual but only the active system marker is shown.
     Service selection happens from the clean touch-friendly list below. */
  .cpa-callout,
  .cpa-leaders{
    display:none !important;
  }

  .cpa-anchor-dot{
    width:13px;
    height:13px;
    opacity:0;
    pointer-events:none;
  }

  .cpa-anchor-dot.active,
  .cpa-anchor-dot.related{
    opacity:1;
  }

  .cpa-mobile-service-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    padding:11px;
    background:#171a1d;
  }

  .cpa-mobile-service-btn{
    min-height:48px;
    display:flex;
    align-items:center;
    border:1px solid rgba(255,255,255,.12);
    border-radius:9px;
    background:#22262a;
    color:#f0f1f1;
    padding:9px 10px;
    font-size:10px;
    line-height:1.25;
    font-weight:800;
    text-align:left;
  }

  .cpa-mobile-service-btn.active{
    border-color:#ff7373;
    background:#351c1f;
    color:#fff;
    box-shadow:inset 3px 0 0 #d32424;
  }

  .cpa-detail-panel{
    scroll-margin-top:118px;
    padding:24px 18px 26px;
    border-top:1px solid var(--cpa-line);
  }

  .cpa-detail-eyebrow{
    font-size:9px;
  }

  .cpa-detail-icon{
    width:46px;
    height:46px;
    margin:18px 0 14px;
  }

  .cpa-detail-panel h2{
    font-size:28px;
  }

  .cpa-detail-summary{
    font-size:13px;
    line-height:1.62;
  }

  .cpa-detail-block{
    padding:15px 0;
  }

  .cpa-check-grid{
    grid-template-columns:1fr 1fr;
  }

  .cpa-check-item{
    min-height:42px;
  }

  .cpa-detail-actions .cpa-btn{
    min-height:50px;
  }

  .cpa-symptom-view{
    padding:24px 14px;
    min-height:0;
  }

  .cpa-symptom-intro h2{
    font-size:34px;
  }

  .cpa-symptom-intro p{
    font-size:13px;
  }

  .cpa-symptom-grid{
    grid-template-columns:1fr;
    gap:8px;
    margin-top:20px;
  }

  .cpa-symptom-card{
    min-height:84px;
    padding:14px;
  }

  .cpa-symptom-card strong{
    font-size:14px;
  }

  .cpa-symptom-results{
    margin-top:20px;
    padding-top:18px;
  }

  .cpa-related-services{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
  }

  .cpa-related-service{
    width:100%;
    min-height:44px;
    text-align:left;
  }
}

@media(max-width:440px){
  .cpa-mobile-service-list{
    grid-template-columns:1fr;
  }

  .cpa-check-grid{
    grid-template-columns:1fr;
  }

  .cpa-hero-actions{
    grid-template-columns:1fr;
  }
}
