/* Connectors page only (file name kept: integrations). Shared parts live in site.css. */

:root { --sec: 96px; }   /* section spacing, as on the other pages */

/* ---- fold: copy left, the hub right ---- */
.cx { padding: 32px 0 40px; overflow: hidden; }
.sec__head { margin-bottom: 40px; }
.cx__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(24px, 3.4vw, 48px); align-items: center; }
.cx__copy { display: grid; gap: 18px; align-content: center; }
.cx__copy .lead { max-width: 28em; }
.cx__fig { position: relative; margin: 0; min-width: 0; }
.cx__svg { display: block; width: 100%; height: auto; margin: 0 auto; }
@media (max-width: 1023px) { .cx__in { grid-template-columns: 1fr; } }

/* the hub: tiles with the systems' own logos and names, each on a read-only line to the platform.
   The platform, Buildright and the label are there from the start; tiles, lines and records draw in once. */
.cx__svg text, .cx__svg .lbl { font-size: 11px; }
.cx__svg .cx-tile--own { fill: var(--ground); stroke: var(--sheet); stroke-dasharray: 4 3; }
/* logos, everywhere on the page: grey and slightly faded at rest, full colour under the pointer (commercial lead, 2026-11-27) */
.cx__svg .cx-src image, .rg__logo img, .mcp__who img { filter: grayscale(1); opacity: .55; transition: filter calc(var(--u) * 2) var(--ease), opacity calc(var(--u) * 2) var(--ease); }
.cx__svg .cx-src:hover image, .rg:hover .rg__logo img, .mcp__who li:hover img { filter: none; opacity: 1; }
.cx__svg .cx-tile { fill: var(--paper); stroke: var(--ln-3); stroke-width: 1; }
.cx__svg .cx-tile--br { stroke: var(--ink); stroke-width: 1.5; }
.cx__svg .cx-foot { fill: var(--ink); }
.cx__svg .cx-wire { stroke: var(--ln-3); stroke-width: 1; }
@media (max-width: 520px) { .cx__svg .lbl.ink { font-size: 10px; } }
.cx__svg .cx-wire.cx-wire--own { stroke: var(--sheet); stroke-dasharray: 4 3; stroke-dashoffset: 0; opacity: 0; transition: opacity calc(var(--u) * 4) var(--ease) calc(var(--d, 0ms) + var(--u) * 1); }
.cx__svg.drawn .cx-wire--own { opacity: 1; }
.cx__svg .cx-src, .cx__svg .cx-chev { opacity: 0; transition: opacity calc(var(--u) * 3) var(--ease) var(--d, 0ms); }
.cx__svg .cx-chev { transition-delay: calc(var(--d, 0ms) + var(--u) * 5); }
.cx__svg .cx-wire { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset calc(var(--u) * 4) var(--ease) calc(var(--d, 0ms) + var(--u) * 1); }
.cx__svg.drawn .cx-src, .cx__svg.drawn .cx-chev { opacity: 1; }
.cx__svg.drawn .cx-wire { stroke-dashoffset: 0; }
.cx__svg.still * { transition: none !important; }

/* ---- MCP, short: copy left, one chat example right ---- */
.mcp { scroll-margin-top: 64px; }
.mcp__in { align-items: center; }
.mcp__copy { display: grid; gap: 18px; justify-items: start; }
.mcp__copy .lead { max-width: 30em; }
.mcp__who { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mcp__who li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 10px; background: var(--paper); border: 1px solid var(--ln-3); border-radius: 6px; font-size: 15px; color: var(--ink); }
.mcp__who .is-own { padding-left: 12px; background: none; border: 1px dashed var(--sheet); }
.mcp__who img { display: block; }
.mx { margin: 0; min-width: 0; }
.mx__chat { min-height: 232px; align-content: start; }
.mx__chat .p-ev { margin-top: 10px; }
.mx__chat .p-ev__row { align-items: flex-start; }
.mx__chat .p-ev__row .p-src { padding-top: 2px; }
.mx__chat .p-plan { font-size: 12px; }
@media (max-width: 1023px) { .mx__chat { min-height: 0; } }
@media (max-width: 760px) { .mx__chat .p-ev__row { flex-wrap: wrap; } }

/* ---- what it reads: the five categories ---- */
.cats__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--hair); }
.cats__grid li { padding: 20px 24px 28px 0; border-bottom: 1px solid var(--hair); }
.cats__grid p { margin-top: 8px; }
@media (max-width: 1179px) { .cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cats__grid { grid-template-columns: 1fr; } }

/* ---- a source of your own: the mapping ---- */
.own__in { align-items: center; }
.own__copy { display: grid; gap: 18px; }
.own__copy .lead { max-width: 30em; }
.own__map { margin: 0; padding: clamp(20px, 2vw, 28px); background: var(--paper); }
/* the field list: each field of the register, who fills it, what it means */
.fl__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.fl__head b { padding: 3px 10px; background: var(--ground); font-weight: 600; color: var(--ink); }
.fl__head code, .fl code { font: 500 12px var(--f-mono); }
.fl__head span { margin-left: auto; }
.fl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; text-align: left; }
.fl thead th { padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); font-weight: 500; white-space: nowrap; }
.fl tbody th, .fl td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); vertical-align: top; font-weight: 400; }
.fl tbody th { width: 30%; }
.fl tbody th code { display: block; color: var(--ink); }
.fl tbody th span { color: var(--muted); }
.fl td { color: var(--muted); }
.fl .fl__by { width: 22%; font-weight: 500; color: var(--ink); white-space: nowrap; }
.fl .is-br .fl__by { color: var(--teal); }
.fl tr:nth-child(2) { transition-delay: var(--u); } .fl tr:nth-child(3) { transition-delay: calc(var(--u) * 2); }
.fl tr:nth-child(4) { transition-delay: calc(var(--u) * 3); } .fl tr:nth-child(5) { transition-delay: calc(var(--u) * 4); }
@media (max-width: 1023px) { .own__in { grid-template-columns: 1fr; } }
.own__copy, .own__map { min-width: 0; }
@media (max-width: 520px) { .fl { font-size: 13px; table-layout: fixed; } .fl thead th, .fl .fl__by { white-space: normal; } .fl tbody th { width: 34%; overflow-wrap: anywhere; } .fl .fl__by { width: 24%; } .fl code { font-size: 11px; } .fl__head span { margin-left: 0; } }

/* ---- the list: twenty systems, one icon size, the name as text under it ---- */
.reg-sec .lead { max-width: none; }
.reg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.rg { padding: 22px 24px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--paper); display: grid; gap: 14px; align-content: start; }
.rg__n { font: 500 16px/1.3 var(--f-text); color: var(--ink); }
.rg__logo { display: flex; align-items: center; height: 32px; }
.rg__logo img { display: block; height: 32px; width: auto; max-width: 120px; object-fit: contain; object-position: left center; }
.reg__ro { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; font-size: 18px; color: var(--ink); }
.close { padding-bottom: 96px; }
@media (max-width: 1023px) { .reg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rg { padding: 16px; } .rg__n { font-size: 15px; } }
