.product-map .section-head>p { max-width:400px; }
.connection-map { margin:0; position:relative; border:1px solid #d4d0df; border-radius:16px; overflow:hidden; background:radial-gradient(ellipse at 49% 40%,#ebe6fb 0,transparent 55%),#f7f6fa; }
.connection-map::before { content:""; position:absolute; inset:0; background-image:radial-gradient(#9691aa 0.7px,transparent .9px); background-size:12px 12px; opacity:.26; pointer-events:none; }
.connection-map figcaption { position:relative; padding:24px 3.6% 0; font-size:18px; font-weight:550; letter-spacing:-.035em; }
.icon-library { position:absolute; }
.map-flow { --lane:70px; position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(24px,.42fr) minmax(130px,.8fr) minmax(24px,.42fr) minmax(0,1.08fr); align-items:center; padding:50px 3.6% 22px; }
.map-flow h3 { position:absolute; bottom:100%; font:11px/1.4 var(--mono); color:#625b76; margin-bottom:4px; }
.input-group,.output-group { position:relative; min-width:0; }
.map-flow ul { padding:0; margin:0; list-style:none; }
.source-stack li,.tool-stack li { height:var(--lane); display:grid; align-items:center; }
.source-stack button,.tool-stack a { position:relative; display:flex; align-items:center; text-align:left; gap:12px; width:100%; min-height:55px; padding:9px 12px; color:#302a41; background:#fcfbfe; border:1px solid #d6d2df; border-radius:9px; box-shadow:0 2px 5px #342b4e09; transition:background .2s,border-color .2s,box-shadow .2s; }
.source-stack button:hover,.tool-stack a:hover { border-color:#9784bf; box-shadow:0 3px 9px #47355c16; }
.source-stack button[aria-pressed=true] { border-color:#8c74bd; background:#f6f2ff; }
.source-stack button[data-source=whatsapp][aria-pressed=true] { background:#f2faf5; border-color:#6fa68c; }
.map-flow strong { font-size:15px; line-height:1.25; font-weight:570; letter-spacing:-.025em; }
.source-stack small { display:block; color:#655e71; font-size:12px; line-height:1.32; }
.map-icon { width:23px; height:23px; flex:none; stroke:currentColor; fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.source-icon { display:grid; place-items:center; flex:none; width:34px; height:34px; border-radius:8px; color:#52428d; background:#efebf7; }
[data-source=whatsapp] .source-icon { background:#d7f1e2; color:#187549; }
[data-source=tally] .source-icon { background:#e5ebf6; color:#405b84; }
[data-source=billing] .source-icon { background:#f7eddc; color:#91651d; }
[data-source=banking] .source-icon { background:#dcf0ed; color:#246b62; }
.tool-stack a { min-height:48px; background:#ffffffcd; }
.tool-stack .map-icon { color:#675583; width:20px; }
.tool-stack a span { margin-left:auto; font-size:15px; color:#695880; }
.wires { width:100%; height:calc(4 * var(--lane)); fill:none; stroke:#a99abc; }
.wires-in { height:calc(5 * var(--lane)); }
.wires path { vector-effect:non-scaling-stroke; stroke-width:1.4px; }
[data-active=tally] .wires-in .route-tally,[data-active=stock] .wires-in .route-stock,[data-active=billing] .wires-in .route-billing { stroke:#7450b8; stroke-width:2.5px; }
[data-active=whatsapp] .wires-in .route-whatsapp { stroke:#338462; stroke-width:2.5px; }
[data-active=banking] .wires-in .route-banking { stroke:#246b62; stroke-width:2.5px; }
.map-hub { position:relative; display:grid; place-items:center; aspect-ratio:1; isolation:isolate; }
.hub-art { position:absolute; width:111%; height:111%; fill:none; stroke:#8466b5; stroke-width:.55; }
.hub-art>circle { stroke:#b7a9ce; stroke-dasharray:1 4; }
.hub-disc { width:55%; aspect-ratio:1; border-radius:100%; display:flex; flex-flow:column; align-items:center; justify-content:center; gap:5px; background:radial-gradient(at 30% 12%,#62507f,#302439 70%); box-shadow:0 5px 16px #38284936,inset 0 1px 1px #bba6d1; color:white; z-index:1; }
.hub-disc img { width:37%; height:auto; }
.hub-disc strong { font-size:clamp(12px,1.45vw,22px); }
.source-example { position:relative; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:28px; padding:19px 3.6%; border-top:1px solid #d7d2df; background:#fcfbfdf5; }
.source-example small { font:11px var(--mono); color:#675482; }
.source-example p { margin:5px 0 0; font-size:15px; letter-spacing:-.02em; }
#example-note { color:#686170; display:block; font-size:12px; margin-top:2px; }
.example-arrow { color:#7c6c94; }
@media(min-width:701px) and (max-width:960px) {
  .map-flow { grid-template-columns:1.1fr .18fr .7fr .18fr 1.13fr; }
  .map-flow strong { font-size:13px; }
  .source-stack button,.tool-stack a { gap:7px; padding-inline:8px; }
}
@media(max-width:700px) {
  .connection-map figcaption { padding:18px 16px 0; }
  .map-flow { padding:16px; grid-template-columns:30% 9% 61%; }
  .map-flow h3 { position:static; margin:0 0 7px; }
  .input-group { grid-column:1/-1; margin-bottom:19px; }
  .source-stack { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
  .source-stack li { height:auto; }
  .source-stack li:last-child { grid-column:1/-1; }
  .source-stack button { height:100%; min-height:48px; gap:6px; padding:5px 7px; }
  .source-stack small { display:none; }
  .map-flow strong { font-size:13px; }
  .source-icon { width:25px; height:28px; }
  .source-stack .map-icon { width:19px; }
  .wires-in { display:none; }
  .map-hub::before { content:""; position:absolute; bottom:91%; left:50%; width:1px; height:45px; background:linear-gradient(transparent,#a393ba); }
  .map-hub,.wires-out { margin-top:22px; }
  .tool-stack li { height:45px; }
  .wires-out { height:180px; }
  .tool-stack a { padding:5px 7px; min-height:40px; gap:6px; }
  .tool-stack a span { font-size:12px; }
  .tool-stack .map-icon { width:16px; }
  .source-example { grid-template-columns:1fr; gap:12px; padding:16px; }
  .example-arrow { display:none; }
  .source-example p { font-size:14px; }
}
