/* marketing-integrations.css: the integration detail pages (src/integrations/*.njk) and their
   illustrations (src/_includes/scenes/int-*.njk). Animation state comes from the timeline in
   marketing-integrations.js, which toggles .on on elements. */

/* ---------- Page shell ---------- */
.gp-int-hero { position: relative; padding-top: 96px; padding-bottom: 20px; text-align: center; }
.gp-int-hero h1 { max-width: 980px; margin: 18px auto 20px; }
.gp-int-lead { max-width: 820px; margin: 0 auto; font-size: 20px; line-height: 1.6; color: #374151; }
.gp-int-hero .gp-connect { margin-bottom: 10px; }
.gp-int-hero .gp-connect-fill svg { width: 100%; height: 100%; }
.gp-int-guide { display: inline-block; margin-top: 16px; font-size: 15px; color: #0e7490; text-decoration: none; }
.gp-int-guide:hover { text-decoration: underline; }
.gp-int-note { margin-top: 10px; font-size: 13px; color: #6b7280; }
.gp-int-stage { padding: 26px 16px 70px; }
.gp-int-stage-in { max-width: 1180px; margin: 0 auto; }
.gp-int-caption { max-width: 1180px; margin: 14px auto 0; text-align: center; font-size: 13px; color: #94a3b8; }
.gp-int-sec { padding: 72px 16px; }
.gp-int-sec.alt { background: linear-gradient(180deg, #f6f9fb, #fff); }
.gp-int-sec-in { max-width: 1280px; margin: 0 auto; }
.gp-int-head { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.gp-int-head h2 { margin: 10px 0 14px; }
.gp-int-head p { margin: 0; font-size: 18px; line-height: 1.65; color: #4b5563; }
.gp-int-kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #e6f3f5; color: #0e7490; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 640px) { .gp-int-hero { padding-top: 84px; } .gp-int-lead { font-size: 17.5px; } .gp-int-sec { padding: 52px 16px; } .gp-int-head { margin-bottom: 28px; } .gp-int-head p { font-size: 16.5px; } }

/* ---------- Illustration building blocks ---------- */
.gp-ix { position: relative; font-family: 'Public Sans', system-ui, sans-serif; color: #1f2937; -webkit-font-smoothing: antialiased; }
.gp-ix *, .gp-ix *::before, .gp-ix *::after { box-sizing: border-box; }
.gp-iw { position: absolute; overflow: hidden; border-radius: 16px; background: #fff;
    box-shadow: 0 50px 90px -46px rgba(12,58,65,.42), 0 22px 44px -28px rgba(0,0,0,.2), 0 0 0 1px rgba(15,23,42,.07); }
.gp-iw-h { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-bottom: 1px solid #eef0f3; font-size: 13.5px; font-weight: 600; color: #111827; }
.gp-iw-logo { display: flex; width: 26px; height: 26px; flex: none; align-items: center; justify-content: center; padding: 4px; border-radius: 7px; }
.gp-iw-logo svg, .gp-iw-logo img { width: 100%; height: 100%; }
.gp-iw-meta { margin-left: auto; font-weight: 500; font-size: 12px; color: #6b7280; }
.gp-iw-tag { position: absolute; top: -12px; left: 18px; z-index: 3; padding: 3px 10px; border-radius: 999px; background: #0f172a; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.gp-ix-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.gp-ix-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.gp-ix-in { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.gp-ix-in.on { opacity: 1; transform: none; }
.gp-ix-flash { transition: background-color 1.2s ease; border-radius: 6px; }
.gp-ix-flash.on { background-color: rgba(34,197,94,.16); transition: background-color .15s ease; }
.gp-ix-pop { opacity: 0; transform: scale(.94); transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.gp-ix-pop.on { opacity: 1; transform: none; }
.gp-ix-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gp-ix-lines .base { fill: none; stroke: #d6e0e6; stroke-width: 1.6; stroke-dasharray: 5 6; }
.gp-ix-lines .pk { opacity: 0; }
.gp-ix-lines .pk circle { fill: #0e7490; } .gp-ix-lines .pk .halo { fill: rgba(14,116,144,.18); }
.gp-ix-lines .pk.back circle { fill: #ff7a59; } .gp-ix-lines .pk.back .halo { fill: rgba(255,122,89,.2); }
.gp-ix-lines .pk.out circle { fill: #15803d; } .gp-ix-lines .pk.out .halo { fill: rgba(21,128,61,.18); }

/* GrowPanel receiving card (right side of the source illustrations) */
.gp-igp { padding: 0; }
.gp-igp .gp-iw-h img { width: 22px; height: 22px; }
.gp-igp-kpi { padding: 16px 18px 6px; }
.gp-igp-kpi small { display: block; font-size: 12px; color: #6b7280; }
.gp-igp-kpi b { display: inline-block; margin-top: 2px; padding: 0 6px; margin-left: -6px; font-size: 30px; font-weight: 600; letter-spacing: -.01em; color: #0f172a; }
.gp-igp-kpi em { margin-left: 6px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #15803d; }
.gp-igp-list { padding: 4px 18px 14px; }
.gp-igp-list h4 { margin: 8px 0 6px; font-size: 11.5px; font-weight: 600; color: #6b7280; }
.gp-igp-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid #f1f3f5; font-size: 13px; }
.gp-igp-row i { width: 8px; height: 8px; flex: none; border-radius: 50%; }
.gp-igp-row span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gp-igp-row small { display: block; font-size: 11px; color: #9ca3af; }
.gp-igp-row b { font-weight: 600; color: #15803d; } .gp-igp-row b.down { color: #c0392b; }

/* ---------- Four import step cards ---------- */
.gp-imp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gp-imp-card { position: relative; display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: 22px; background: #fff;
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 0 0 1px rgba(15,23,42,.08); transition: box-shadow .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.gp-imp-card.on { box-shadow: 0 30px 50px -34px rgba(12,58,65,.5), 0 0 0 1.5px rgba(14,116,144,.45); transform: translateY(-3px); }
.gp-imp-num { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: #eef2f5; color: #64748b; font-size: 13px; font-weight: 700; transition: background .4s ease, color .4s ease; }
.gp-imp-num.on { background: #0e7490; color: #fff; }
.gp-imp-card h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 700; color: #0f172a; }
.gp-imp-card > p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; color: #4b5563; }
.gp-imp-vis { margin-top: auto; min-height: 118px; padding: 14px; border-radius: 14px; background: #f8fafc; box-shadow: inset 0 0 0 1px #edf1f5; font-size: 12.5px; }
.gp-imp-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; border-radius: 9px; color: #fff; font-weight: 600; font-size: 13px; transition: transform .2s ease; }
.gp-imp-btn svg { width: 16px; height: 16px; }
.gp-imp-btn.on { transform: scale(.97); }
.gp-imp-perm { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.gp-imp-perm span { padding: 3px 8px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #e2e8f0; font-size: 11px; color: #475569; }
.gp-imp-ok { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-weight: 600; color: #15803d; }
.gp-imp-field { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px #dfe5ea; font-size: 12px; color: #334155; }
.gp-imp-field + .gp-imp-field { margin-top: 8px; }
.gp-imp-field small { color: #94a3b8; }
.gp-imp-field b { font-weight: 500; }
.gp-imp-label { margin-bottom: 6px; font-weight: 600; color: #111827; }
/* The progress bar, mirroring GrowPanel's own import modal */
.gp-imp-track { height: 16px; overflow: hidden; border-radius: 5px; background: #e9e8e8; }
.gp-imp-fill { width: 0; height: 100%; border-radius: 5px; background-color: #1e9365;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 15px, rgba(255,255,255,.14) 15px, rgba(255,255,255,.14) 30px); background-size: 42px 30px; animation: gpImpStripe 1s linear infinite; }
@keyframes gpImpStripe { from { background-position: 0 0; } to { background-position: 42px 0; } }
.gp-imp-status { position: relative; height: 18px; margin-top: 8px; color: #475569; }
.gp-imp-status > span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transition: opacity .3s ease; }
.gp-imp-status > span.on { opacity: 1; }
.gp-imp-status .done { color: #15803d; font-weight: 600; }
.gp-imp-spark { display: block; width: 100%; height: 50px; }
.gp-imp-spark path.l { fill: none; stroke: #0e7490; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 2.4s cubic-bezier(.3,.6,.3,1); }
.gp-imp-spark path.a { fill: rgba(14,116,144,.1); opacity: 0; transition: opacity 1s ease .8s; }
.gp-imp-spark.on path.l { stroke-dashoffset: 0; } .gp-imp-spark.on path.a { opacity: 1; }
.gp-imp-kinds { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.gp-imp-kinds span { padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.gp-imp-ev { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #edf1f5; }
.gp-imp-ev:first-child { border-top: 0; }
.gp-imp-ev code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: #0f172a; background: none; }
.gp-imp-ev small { color: #94a3b8; font-size: 11px; }
.gp-imp-ev.gp-ix-in { transform: translateX(-8px); } .gp-imp-ev.gp-ix-in.on { transform: none; }
@media (max-width: 1100px) { .gp-imp { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gp-imp { grid-template-columns: 1fr; } }

/* ---------- Sync engine (how the sync works) ---------- */
.gp-ie { position: relative; padding: 30px 28px 26px; border-radius: 26px; background: #fbfcfd; box-shadow: 0 60px 120px -70px rgba(12,58,65,.45), 0 0 0 1px rgba(15,23,42,.08); overflow: hidden; }
.gp-ie::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px); background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(#000, rgba(0,0,0,.35)); mask-image: linear-gradient(#000, rgba(0,0,0,.35)); }
.gp-ie-row { position: relative; display: flex; align-items: stretch; }
.gp-ie-node { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; padding: 16px 16px 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 0 0 1px rgba(15,23,42,.08); transition: box-shadow .4s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.gp-ie-node .gp-iw-logo { margin-bottom: 10px; }
.gp-ie-ico { display: flex; width: 30px; height: 30px; margin-bottom: 10px; align-items: center; justify-content: center; border-radius: 9px; background: #e6f3f5; color: #0e7490; }
.gp-ie-ico svg { width: 17px; height: 17px; }
.gp-ie-node b { display: block; font-size: 14.5px; color: #0f172a; }
.gp-ie-node > span:not([class]) { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: #64748b; }
.gp-ie-node em { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 999px; background: #f1f7f8; font-style: normal; font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; color: #0e7490; }
.gp-ie-link { position: relative; flex: 0 0 34px; align-self: center; height: 2px; background-image: linear-gradient(90deg, rgba(14,116,144,.4) 50%, transparent 50%); background-size: 8px 2px; }
.gp-ie-link::after { content: ""; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #0e7490; box-shadow: 0 0 0 4px rgba(14,116,144,.15); animation: gpIeFlow 1.8s linear infinite; }
.gp-ie-link:nth-of-type(4)::after { animation-delay: .45s; } .gp-ie-link:nth-of-type(6)::after { animation-delay: .9s; } .gp-ie-link:nth-of-type(8)::after { animation-delay: 1.35s; }
@keyframes gpIeFlow { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: 100%; opacity: 0; } }
.gp-ie-node.on { box-shadow: 0 18px 36px -22px rgba(12,58,65,.45), 0 0 0 1.5px rgba(14,116,144,.45); transform: translateY(-2px); }
.gp-ie-fx { position: absolute; right: 12px; top: -12px; padding: 3px 9px; border-radius: 999px; background: #fff7ed; color: #b45309; box-shadow: 0 0 0 1px rgba(180,83,9,.2); font-size: 10.5px; font-weight: 600; }
.gp-ie-lane { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.07); font-size: 13.5px; color: #334155; }
.gp-ie-lane svg { width: 22px; height: 22px; flex: none; color: #0e7490; animation: gpSpin 6s linear infinite; }
.gp-ie-lane b { color: #0f172a; }
.gp-ie-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gp-ie-facts div { padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.06); font-size: 13px; line-height: 1.45; color: #475569; }
.gp-ie-facts b { display: block; font-size: 13.5px; color: #0f172a; }
.gp-ie.paused .gp-ie-link::after, .gp-ie.paused .gp-ie-lane svg { animation-play-state: paused; }
@media (max-width: 1000px) {
    .gp-ie { padding: 22px 16px 18px; }
    .gp-ie-row { flex-direction: column; }
    .gp-ie-link { flex: 0 0 26px; align-self: center; width: 2px; height: 26px; background-image: linear-gradient(180deg, rgba(14,116,144,.4) 50%, transparent 50%); background-size: 2px 8px; }
    .gp-ie-link::after { left: 50%; top: 0; margin: -4px 0 0 -4px; animation-name: gpIeFlowV; }
    .gp-ie-facts { grid-template-columns: 1fr 1fr; }
}
@keyframes gpIeFlowV { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: 100%; opacity: 0; } }
@media (max-width: 520px) {
    /* Compact phone layout: icon beside the title, tighter cards, facts stay two across. */
    .gp-ie { padding: 18px 14px 16px; }
    .gp-ie-node { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: start; padding: 12px 14px; }
    .gp-ie-node > .gp-ie-ico, .gp-ie-node > .gp-iw-logo { grid-row: span 3; margin-bottom: 0; }
    .gp-ie-node > b { font-size: 14px; } .gp-ie-node > em { justify-self: start; margin-top: 6px; }
    .gp-ie-fx { top: -9px; }
    .gp-ie-facts { grid-template-columns: 1fr 1fr; gap: 8px; }
    .gp-ie-facts div { padding: 10px 11px; font-size: 12px; } .gp-ie-facts b { font-size: 12.5px; }
    .gp-ie-lane { font-size: 12.5px; padding: 10px 12px; }
    .gp-ie-link { flex-basis: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) { .gp-ie-link::after, .gp-ie-lane svg, .gp-imp-fill { animation: none !important; } }

/* ---------- What syncs (mapping) ---------- */
.gp-imap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.gp-imap-row { display: grid; grid-template-columns: minmax(0, 200px) 34px 1fr; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.07); }
.gp-imap-from { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: #0f172a; }
.gp-imap-from .gp-iw-logo { width: 22px; height: 22px; padding: 3px; border-radius: 6px; }
.gp-imap-arrow { width: 34px; height: 12px; color: #0e7490; }
.gp-imap-to { font-size: 14px; line-height: 1.5; color: #4b5563; }
.gp-imap-to b { color: #0f172a; }
@media (max-width: 900px) { .gp-imap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .gp-imap-row { grid-template-columns: 1fr; gap: 6px; } .gp-imap-arrow { display: none; } }

/* ---------- Setup steps ---------- */
.gp-isteps { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.gp-isteps li { position: relative; padding: 20px 18px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.07); counter-increment: s; }
.gp-isteps li::before { content: counter(s); display: flex; width: 28px; height: 28px; margin-bottom: 12px; align-items: center; justify-content: center; border-radius: 50%; background: #0e7490; color: #fff; font-size: 13px; font-weight: 700; }
.gp-isteps b { display: block; font-size: 15.5px; color: #0f172a; }
.gp-isteps p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: #4b5563; }
.gp-isteps code { font-size: 12.5px; color: #0e7490; background: #f1f7f8; padding: 1px 5px; border-radius: 5px; }
.gp-isteps-foot { margin-top: 18px; text-align: center; font-size: 15px; }
.gp-isteps-foot a { color: #0e7490; font-weight: 600; text-decoration: none; }
@media (max-width: 1000px) { .gp-isteps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gp-isteps { grid-template-columns: 1fr; } }

/* ---------- Feature list next to an illustration ---------- */
.gp-isplit { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.gp-isplit.rev { grid-template-columns: 7fr 5fr; }
.gp-isplit.rev > :first-child { order: 2; }
.gp-isplit h2 { margin: 12px 0 18px; }
.gp-isplit p.lead { margin: 0 0 20px; font-size: 18px; line-height: 1.7; color: #374151; }
.gp-ichecks { margin: 0; padding: 0; list-style: none; }
.gp-ichecks li { position: relative; padding: 7px 0 7px 30px; font-size: 16px; line-height: 1.55; color: #1f2937; }
.gp-ichecks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: #dcf5e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2315803d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.gp-ichecks code { font-size: 13.5px; color: #0e7490; }
.gp-iget { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gp-iget a { padding: 8px 14px; border-radius: 999px; background: #fff; color: #0f172a; font-size: 14.5px; font-weight: 500; text-decoration: none; box-shadow: 0 0 0 1px rgba(15,23,42,.1); transition: box-shadow .2s ease, color .2s ease; }
.gp-iget a:hover { color: #0e7490; box-shadow: 0 0 0 1px #0e7490; }
@media (max-width: 949px) { .gp-isplit, .gp-isplit.rev { grid-template-columns: 1fr; gap: 28px; } .gp-isplit.rev > :first-child { order: 0; } }

/* ---------- Tiles (tool lists, event types, clients) ---------- */
.gp-itiles { display: grid; grid-template-columns: repeat(var(--c, 4), 1fr); gap: 12px; }
.gp-itile { padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.07); }
.gp-itile b { display: block; font-size: 15px; color: #0f172a; }
.gp-itile code { display: inline-block; margin-bottom: 6px; font-size: 13px; color: #0e7490; background: #f1f7f8; padding: 2px 7px; border-radius: 6px; }
.gp-itile p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: #4b5563; }
.gp-itile .gp-ie-ico { margin-bottom: 10px; }
@media (max-width: 1000px) { .gp-itiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gp-itiles { grid-template-columns: 1fr; } }

/* ---------- Related integrations ---------- */
.gp-irel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gp-irel a { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; background: #fff; text-decoration: none; box-shadow: 0 0 0 1px rgba(15,23,42,.07); transition: transform .25s ease, box-shadow .25s ease; }
.gp-irel a:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -30px rgba(12,58,65,.5), 0 0 0 1px rgba(14,116,144,.35); }
.gp-irel .gp-iw-logo { width: 38px; height: 38px; padding: 7px; border-radius: 10px; }
.gp-irel small { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.gp-irel b { font-size: 16px; color: #0f172a; }
.gp-irel p { margin: 0; font-size: 14px; line-height: 1.5; color: #4b5563; }
@media (max-width: 1000px) { .gp-irel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gp-irel { grid-template-columns: 1fr; } }

/* ============================================================================================
   Tool illustrations (scenes/int-ui-*.njk), drawn at a fixed design size inside .gp-mock
   ============================================================================================ */

/* Stripe-like billing dashboard */
.gp-ui-bill-side { position: absolute; left: 0; top: 48px; bottom: 0; width: 150px; padding: 14px 10px; background: #f7f8fa; border-right: 1px solid #eef0f3; }
.gp-ui-bill-side span { display: block; padding: 6px 10px; border-radius: 6px; font-size: 12.5px; color: #4b5563; }
.gp-ui-bill-side span.cur { background: #fff; color: var(--brand, #635bff); font-weight: 600; box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.gp-ui-bill-main { position: absolute; left: 150px; right: 0; top: 48px; bottom: 0; padding: 16px 18px; }
.gp-ui-bill-main h5 { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #111827; }
.gp-ui-tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.gp-ui-tbl th { padding: 6px 8px; text-align: left; font-weight: 600; color: #6b7280; border-bottom: 1px solid #eef0f3; }
.gp-ui-tbl td { padding: 8px 8px; border-bottom: 1px solid #f3f4f6; color: #111827; white-space: nowrap; }
.gp-ui-tbl tr.gp-ix-in { transform: translateY(-6px); }
.gp-ui-tbl tr.gp-ix-in.on { transform: none; }
.gp-ui-pill { display: inline-block; padding: 2px 7px; border-radius: 5px; font-size: 11px; font-weight: 600; }
.gp-ui-pill.ok { background: #d7f7c2; color: #05690d; } .gp-ui-pill.trial { background: #cff5f6; color: #0055bc; } .gp-ui-pill.cancel { background: #ebeef1; color: #545969; } .gp-ui-pill.warn { background: #fcedb9; color: #a82c00; }
.gp-ui-evts { position: absolute; left: 150px; right: 0; bottom: 0; height: 178px; padding: 10px 18px; border-top: 1px solid #eef0f3; background: #fbfbfc; }
.gp-ui-evts h6 { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9ca3af; }
.gp-ui-evt { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 12px; }
.gp-ui-evt code { flex: 1; font-size: 11.5px; color: #111827; background: none; }
.gp-ui-evt small { font-size: 11px; color: #9ca3af; }
.gp-ui-evt em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #15803d; }

/* API key and webhook settings screens (Chargebee, Recurly) */
.gp-ui-set { position: absolute; left: 0; right: 0; top: 48px; bottom: 0; padding: 18px 20px; }
.gp-ui-set h5 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #111827; }
.gp-ui-set > p { margin: 0 0 14px; font-size: 12px; color: #6b7280; }
.gp-ui-kv { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #f1f3f5; font-size: 12.5px; }
.gp-ui-kv span { color: #6b7280; }
.gp-ui-kv b { font-weight: 500; color: #111827; }
.gp-ui-kv code { padding: 5px 8px; border-radius: 6px; background: #f6f7f9; box-shadow: inset 0 0 0 1px #e7eaee; font-size: 11.5px; color: #334155; }
.gp-ui-hooklist { margin-top: 12px; border-radius: 10px; box-shadow: 0 0 0 1px #eceff2; overflow: hidden; }
.gp-ui-hook { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid #f1f3f5; font-size: 12px; }
.gp-ui-hook:first-child { border-top: 0; background: #fafbfc; font-weight: 600; color: #6b7280; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.gp-ui-hook code { flex: 1; font-size: 11.5px; color: #111827; background: none; }
.gp-ui-hook em { font-style: normal; font-size: 11px; font-weight: 600; color: #15803d; }
.gp-ui-hook small { width: 58px; text-align: right; font-size: 11px; color: #9ca3af; }

/* OAuth consent illustration (Alunta) */
.gp-ui-consent { position: absolute; inset: 48px 0 0 0; display: flex; flex-direction: column; align-items: center; padding: 20px 28px; text-align: center; }
.gp-ui-consent-logos { display: flex; align-items: center; gap: 12px; }
.gp-ui-consent-logos span { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; padding: 9px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e5e7eb; }
.gp-ui-consent-logos i { width: 36px; height: 2px; background-image: linear-gradient(90deg, #94a3b8 50%, transparent 50%); background-size: 6px 2px; }
.gp-ui-consent h5 { margin: 14px 0 4px; font-size: 15px; font-weight: 700; color: #111827; }
.gp-ui-consent > p { margin: 0 0 12px; font-size: 12px; color: #6b7280; }
.gp-ui-perms { width: 100%; text-align: left; }
.gp-ui-perm { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 9px; font-size: 12.5px; color: #1f2937; }
.gp-ui-perm + .gp-ui-perm { margin-top: 4px; }
.gp-ui-perm i { display: flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; background: #e5e7eb; transition: background .3s ease; }
.gp-ui-perm i svg { width: 11px; height: 11px; opacity: 0; transition: opacity .3s ease; }
.gp-ui-perm.on i { background: #16a34a; } .gp-ui-perm.on i svg { opacity: 1; }
.gp-ui-perm small { margin-left: auto; font-size: 11px; color: #94a3b8; }
.gp-ui-approve { margin-top: 12px; padding: 8px 26px; border-radius: 9px; background: #111827; color: #fff; font-size: 13px; font-weight: 600; transition: transform .2s ease, background .3s ease; }
.gp-ui-approve.on { background: #16a34a; }

/* Google Sheets grid with the GrowPanel sidebar */
.gp-ui-sheet-bar { position: absolute; left: 0; right: 250px; top: 48px; height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid #e3e6ea; background: #f8fafd; font-size: 12px; color: #5f6368; }
.gp-ui-sheet-bar b { font-family: ui-monospace, Menlo, monospace; font-weight: 500; color: #202124; }
.gp-ui-grid { position: absolute; left: 0; right: 250px; top: 78px; bottom: 32px; overflow: hidden; font-size: 12px; }
.gp-ui-grid table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.gp-ui-grid th { height: 24px; background: #f8f9fa; border: 1px solid #e2e3e5; font-weight: 500; font-size: 11px; color: #5f6368; }
.gp-ui-grid th:first-child, .gp-ui-grid td:first-child { width: 36px; background: #f8f9fa; text-align: center; color: #5f6368; font-size: 11px; }
.gp-ui-grid td { height: 28px; padding: 0 8px; border: 1px solid #e2e3e5; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #202124; }
.gp-ui-grid tr.head td { font-weight: 700; background: #e6f4ea; }
.gp-ui-grid td.st { color: #9aa0a6; transition: background .3s ease, color .3s ease; }
.gp-ui-grid td.st.on { background: #e6f4ea; color: #137333; font-weight: 600; }
.gp-ui-grid tr.reading td { background: #e8f0fe !important; }
.gp-ui-tabs { position: absolute; left: 0; right: 250px; bottom: 0; height: 32px; display: flex; align-items: flex-end; gap: 2px; padding: 0 12px; background: #f8f9fa; border-top: 1px solid #e2e3e5; }
.gp-ui-tabs span { padding: 6px 14px; font-size: 11.5px; color: #5f6368; }
.gp-ui-tabs span.cur { background: #fff; color: #188038; font-weight: 600; border-radius: 6px 6px 0 0; box-shadow: 0 -1px 0 #e2e3e5 inset; }
.gp-ui-sheet-side { position: absolute; right: 0; top: 48px; bottom: 0; width: 250px; padding: 16px; border-left: 1px solid #e2e3e5; background: #fff; }
.gp-ui-sheet-side h5 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #111827; }
.gp-ui-sheet-side h5 img { width: 20px; height: 20px; }
.gp-ui-seg { display: flex; padding: 3px; border-radius: 9px; background: #f1f3f4; font-size: 11.5px; }
.gp-ui-seg span { flex: 1; padding: 6px 0; text-align: center; border-radius: 7px; color: #5f6368; }
.gp-ui-seg span.cur { background: #fff; color: #111827; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.gp-ui-sheet-btn { margin-top: 12px; padding: 10px; border-radius: 9px; background: #1e8e3e; color: #fff; text-align: center; font-size: 13px; font-weight: 600; transition: transform .2s ease; }
.gp-ui-sheet-btn.on { transform: scale(.97); }
.gp-ui-sheet-log { margin-top: 14px; font-size: 12px; color: #475569; }
.gp-ui-sheet-log div { padding: 5px 0; border-top: 1px solid #f1f3f5; }

/* Code + response (Custom API) */
.gp-ui-code { position: absolute; overflow: hidden; border-radius: 16px; background: #0f172a; color: #cbd5e1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px;
    box-shadow: 0 50px 90px -46px rgba(12,58,65,.5), 0 0 0 1px rgba(15,23,42,.3); }
.gp-ui-code-h { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #111a2e; border-bottom: 1px solid #1e293b; color: #64748b; font-size: 12px; }
.gp-ui-code-h i { width: 10px; height: 10px; border-radius: 50%; background: #334155; } .gp-ui-code-h i:nth-child(1) { background: #f87171; } .gp-ui-code-h i:nth-child(2) { background: #fbbf24; } .gp-ui-code-h i:nth-child(3) { background: #4ade80; }
.gp-ui-code-h b { margin-left: 8px; font-weight: 500; }
.gp-ui-code pre { margin: 0; padding: 14px 18px; white-space: pre; line-height: 1.65; }
.gp-ui-code .k { color: #c084fc; } .gp-ui-code .s { color: #86efac; } .gp-ui-code .f { color: #7dd3fc; } .gp-ui-code .p { color: #93c5fd; } .gp-ui-code .n { color: #fcd34d; } .gp-ui-code .c { color: #64748b; }
.gp-ui-code .resp { border-top: 1px solid #1e293b; background: #0b1222; }
.gp-ui-code .resp-h { display: flex; gap: 10px; align-items: center; padding: 8px 18px; border-bottom: 1px solid #1e293b; font-size: 11px; color: #64748b; }
.gp-ui-code .ok200 { padding: 2px 7px; border-radius: 5px; background: rgba(74,222,128,.12); color: #4ade80; font-weight: 600; }
.gp-ui-code .cursor { display: inline-block; width: 7px; height: 14px; vertical-align: -2px; background: #4ade80; animation: gpBlink 1s steps(1) infinite; }

/* HubSpot company record */
.gp-ui-hs-top { position: absolute; left: 0; right: 0; top: 48px; height: 78px; display: flex; align-items: center; gap: 14px; padding: 0 20px; border-bottom: 1px solid #eaf0f6; }
.gp-ui-hs-av { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: #fff1ec; color: #ff7a59; font-size: 18px; font-weight: 700; }
.gp-ui-hs-top b { display: block; font-size: 16px; color: #33475b; } .gp-ui-hs-top small { font-size: 12px; color: #7c98b6; }
.gp-ui-hs-props { position: absolute; left: 0; right: 0; top: 126px; bottom: 0; padding: 12px 20px; }
.gp-ui-hs-props h6 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7c98b6; }
.gp-ui-hs-prop { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 7px; font-size: 12.5px; transition: background-color 1.4s ease; }
.gp-ui-hs-prop span { color: #516f90; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; }
.gp-ui-hs-prop b { font-weight: 600; color: #33475b; }
.gp-ui-hs-prop.on { background-color: #fff3ee; transition: background-color .15s ease; }
.gp-ui-hs-prop.pull.on { background-color: #e5f5f8; }

/* Chat apps: Slack and Teams */
.gp-ui-chat-side { position: absolute; left: 0; top: 48px; bottom: 0; width: 176px; padding: 14px 10px; color: rgba(255,255,255,.75); font-size: 12.5px; }
.gp-ui-chat-side b { display: block; padding: 0 8px 10px; color: #fff; font-size: 13.5px; }
.gp-ui-chat-side span { display: block; padding: 5px 8px; border-radius: 6px; }
.gp-ui-chat-side span.cur { background: rgba(255,255,255,.18); color: #fff; font-weight: 600; }
.gp-ui-chat-main { position: absolute; left: 176px; right: 0; top: 48px; bottom: 0; display: flex; flex-direction: column; }
.gp-ui-chat-title { padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 14px; font-weight: 700; color: #1d1c1d; }
.gp-ui-chat-title small { margin-left: 8px; font-weight: 400; font-size: 12px; color: #616061; }
.gp-ui-chat-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 18px 14px; overflow: hidden; }
.gp-ui-msg { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 8px 0; }
.gp-ui-msg .av { width: 36px; height: 36px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px #e5e7eb; padding: 6px; }
.gp-ui-msg .av img { width: 100%; height: 100%; }
.gp-ui-msg .who { font-size: 13px; font-weight: 700; color: #1d1c1d; }
.gp-ui-msg .who small { margin-left: 6px; padding: 1px 4px; border-radius: 3px; background: #e8e8e8; font-size: 9.5px; font-weight: 700; color: #616061; vertical-align: 1px; }
.gp-ui-msg .who em { margin-left: 6px; font-style: normal; font-weight: 400; font-size: 11.5px; color: #616061; }
.gp-ui-msg .body { margin-top: 2px; font-size: 13px; line-height: 1.45; color: #1d1c1d; }
.gp-ui-msg .body b { font-weight: 700; }
.gp-ui-msg .body span { color: #616061; }
.gp-ui-msg.gp-ix-in { max-height: 0; padding: 0; overflow: hidden; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1), max-height .5s ease, padding .5s ease; }
.gp-ui-msg.gp-ix-in.on { max-height: 90px; padding: 8px 0; }
.gp-ui-chat-input { margin: 0 18px 14px; padding: 10px 12px; border-radius: 8px; box-shadow: 0 0 0 1px #d0d0d0; font-size: 12.5px; color: #868686; }
.gp-ui-teams .gp-ui-msg { grid-template-columns: 32px 1fr; }
.gp-ui-teams .gp-ui-msg .card { padding: 10px 12px; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.gp-ui-teams .gp-ui-chat-msgs { background: #f5f5f5; }

/* Notification settings card next to the chat */
.gp-ui-nset { padding: 0 0 14px; }
.gp-ui-nset .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-top: 1px solid #f1f3f5; font-size: 12.5px; color: #374151; }
.gp-ui-nset .row:first-of-type { border-top: 0; }
.gp-ui-nset .sel { padding: 5px 10px; border-radius: 7px; box-shadow: 0 0 0 1px #dfe5ea; font-weight: 600; font-size: 12px; }
.gp-ui-nset .chk { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 0; }
.gp-ui-nset .chk span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: #eef7f1; color: #15803d; font-size: 11.5px; font-weight: 600; }
.gp-ui-nset .chk span.off { background: #f3f4f6; color: #9ca3af; }

/* Data Studio report */
.gp-ui-ds-canvas { position: absolute; left: 0; right: 0; top: 48px; bottom: 0; padding: 18px; background: #f1f3f4; }
.gp-ui-ds-page { position: relative; height: 100%; padding: 18px; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(60,64,67,.2); }
.gp-ui-ds-page h5 { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: #202124; }
.gp-ui-ds-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gp-ui-ds-card { padding: 10px 12px; border-radius: 4px; box-shadow: 0 0 0 1px #e0e0e0; }
.gp-ui-ds-card small { display: block; font-size: 11px; color: #5f6368; }
.gp-ui-ds-card b { font-size: 20px; font-weight: 500; color: #202124; }
.gp-ui-ds-chart { position: relative; margin-top: 12px; height: 150px; border-radius: 4px; box-shadow: 0 0 0 1px #e0e0e0; }
.gp-ui-ds-chart svg { position: absolute; inset: 8px 10px 18px; width: calc(100% - 20px); height: calc(100% - 26px); overflow: visible; }
.gp-ui-ds-chart .ln { fill: none; stroke: #1a73e8; stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.6s cubic-bezier(.3,.6,.3,1); }
.gp-ui-ds-chart .ar { fill: rgba(26,115,232,.1); opacity: 0; transition: opacity 1s ease 1s; }
.gp-ui-ds-chart.on .ln { stroke-dashoffset: 0; } .gp-ui-ds-chart.on .ar { opacity: 1; }
.gp-ui-ds-bars { display: flex; align-items: flex-end; gap: 8px; height: 100%; padding: 10px 12px 8px; }
.gp-ui-ds-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: #fbbc04; transform: scaleY(0); transform-origin: bottom; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.gp-ui-ds-bars.on i { transform: none; }
.gp-ui-ds-bars i:nth-child(2) { transition-delay: .08s; } .gp-ui-ds-bars i:nth-child(3) { transition-delay: .16s; } .gp-ui-ds-bars i:nth-child(4) { transition-delay: .24s; } .gp-ui-ds-bars i:nth-child(5) { transition-delay: .32s; } .gp-ui-ds-bars i:nth-child(6) { transition-delay: .4s; }
.gp-ui-ds-src { position: absolute; right: 18px; top: 16px; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #e6f4ea; color: #137333; font-size: 11px; font-weight: 600; }

/* Claude-style chat with an MCP connector */
.gp-ui-mcp-bar { display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 16px; border-bottom: 1px solid #eee9e1; font-size: 13.5px; font-weight: 600; color: #1f1e1d; background: #fff; }
.gp-ui-mcp-bar .cl { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 8px; background: #fdf1ec; color: #d97757; }
.gp-ui-mcp-bar .cl svg { width: 16px; height: 16px; }
.gp-ui-mcp-bar em { margin-left: auto; display: flex; align-items: center; gap: 6px; font-style: normal; font-weight: 500; font-size: 12px; color: #15803d; opacity: 0; transition: opacity .4s ease; }
.gp-ui-mcp-bar em.on { opacity: 1; }
.gp-ui-mcp-body { position: absolute; left: 0; right: 0; top: 48px; bottom: 58px; padding: 18px 22px; background: #faf9f7; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.gp-ui-mcp-in { position: absolute; left: 16px; right: 16px; bottom: 12px; height: 38px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e8e3da; font-size: 13px; color: #9a948b; }
.gp-ui-bub { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.gp-ui-bub.u { align-self: flex-end; background: #efece6; color: #1f1e1d; }
.gp-ui-bub.a { background: #fff; box-shadow: 0 0 0 1px #ece8e0; color: #1f1e1d; }
.gp-ui-bub.a p { margin: 0 0 8px; }
.gp-ui-tool { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #0e7490; }
.gp-ui-tool i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #0e7490; border-top-color: transparent; animation: gpSpin .8s linear infinite; }
.gp-ui-tool code { font-size: 12px; color: #0e7490; background: none; }
.gp-ui-tool small { color: #15803d; opacity: 0; transition: opacity .3s ease; }
.gp-ui-tool i.on { animation: none; border-color: #0e7490; background: #0e7490; }
.gp-ui-tool small.on { opacity: 1; }
.gp-ui-bars div { display: grid; grid-template-columns: 80px 1fr 44px; align-items: center; gap: 10px; margin-top: 6px; font-size: 12.5px; color: #4b5563; }
.gp-ui-bars i { display: block; height: 10px; width: 0; border-radius: 5px; background: linear-gradient(90deg, #16747f, #5cc2a0); }
.gp-ui-bars b { text-align: right; font-weight: 600; color: #111827; }
.gp-ui-dialog { position: absolute; z-index: 4; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.35), 0 0 0 1px rgba(15,23,42,.08); }
.gp-ui-dialog h5 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #1f1e1d; }
.gp-ui-dialog p { margin: 0 0 12px; font-size: 12px; color: #6b665e; }
.gp-ui-dialog label { display: block; margin: 8px 0 4px; font-size: 11.5px; font-weight: 600; color: #4b4740; }
.gp-ui-dialog .fld { height: 34px; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; box-shadow: 0 0 0 1px #ddd6cb; font-size: 12.5px; color: #1f1e1d; }
.gp-ui-dialog .fld .typing::after, .gp-ui-typed.typing::after { content: ""; display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; vertical-align: -2px; background: #1f1e1d; }
.gp-ui-dialog .btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.gp-ui-dialog .btn { padding: 7px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 600; box-shadow: 0 0 0 1px #ddd6cb; color: #4b4740; }
.gp-ui-dialog .btn.pri { background: #1f1e1d; color: #fff; box-shadow: none; transition: transform .2s ease, background .3s ease; }
.gp-ui-dialog .btn.pri.on { transform: scale(.96); background: #d97757; }
.gp-ui-fade { opacity: 0; transition: opacity .45s ease, transform .5s ease; transform: translateY(8px) scale(.98); pointer-events: none; }
.gp-ui-fade.on { opacity: 1; transform: none; }

/* Workflow canvases: n8n, Make, Zapier */
.gp-ui-canvas { position: absolute; left: 0; right: 0; top: 48px; bottom: 0; background-color: #f6f7f9; background-image: radial-gradient(#d9dde3 1px, transparent 1.2px); background-size: 18px 18px; }
.gp-ui-node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 150px; text-align: center; }
.gp-ui-node .box { position: relative; display: flex; width: 78px; height: 78px; align-items: center; justify-content: center; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px -10px rgba(0,0,0,.25), 0 0 0 1.5px #d6dbe1; transition: box-shadow .3s ease; }
.gp-ui-node .box svg, .gp-ui-node .box img { width: 100%; height: 100%; }
.gp-ui-node.round .box { border-radius: 50%; }
.gp-ui-node b { font-size: 12.5px; font-weight: 700; color: #1f2937; }
.gp-ui-node small { margin-top: -6px; font-size: 11px; color: #6b7280; }
.gp-ui-node.on .box { box-shadow: 0 8px 20px -10px rgba(0,0,0,.25), 0 0 0 2.5px #22c55e; }
.gp-ui-node .count { position: absolute; right: -8px; top: -8px; padding: 2px 7px; border-radius: 999px; background: #22c55e; color: #fff; font-size: 10.5px; font-weight: 700; opacity: 0; transform: scale(.6); transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.gp-ui-node.on .count { opacity: 1; transform: none; }
.gp-ui-canvas .gp-ix-lines .base { stroke: #b8c0ca; stroke-width: 2; stroke-dasharray: none; }
.gp-ui-canvas.make .gp-ix-lines .base { stroke-dasharray: 2 7; stroke-linecap: round; stroke-width: 3; }
.gp-ui-zap { position: absolute; left: 50%; top: 66px; width: 420px; margin-left: -210px; display: flex; flex-direction: column; align-items: center; }
.gp-ui-zstep { position: relative; width: 100%; display: grid; grid-template-columns: 40px 1fr 22px; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e1dfdc, 0 6px 16px -10px rgba(0,0,0,.2); transition: box-shadow .3s ease; }
.gp-ui-zstep .ic { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 8px; border-radius: 10px; background: #f7f6f5; }
.gp-ui-zstep .ic svg, .gp-ui-zstep .ic img { width: 100%; height: 100%; }
.gp-ui-zstep small { display: block; font-size: 11px; font-weight: 600; color: #8f8a85; }
.gp-ui-zstep b { display: block; font-size: 13px; color: #2d2e2e; }
.gp-ui-zstep .ok { display: flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: #e7e5e2; transition: background .3s ease; }
.gp-ui-zstep .ok svg { width: 12px; height: 12px; opacity: 0; transition: opacity .3s ease; }
.gp-ui-zstep.on { box-shadow: 0 0 0 2px #ff4f00, 0 6px 16px -10px rgba(0,0,0,.2); }
.gp-ui-zstep .ok.on { background: #22c55e; } .gp-ui-zstep .ok.on svg { opacity: 1; }
.gp-ui-zline { width: 2px; height: 26px; background: #d8d5d1; }

/* Values that change over time: one child per value, the current one gets .on */
.gp-ix-swap > * { display: none; }
.gp-ix-swap > .on { display: inline; animation: gpIxFlash 1.6s ease-out; border-radius: 6px; }
@keyframes gpIxFlash { 0% { background-color: rgba(34,197,94,.24); } 100% { background-color: transparent; } }
.gp-ix.still .gp-ix-swap > .on { animation: none; }
/* Rows that slide in at the top of a list */
.gp-igp-row.gp-ix-in, .gp-ui-row.gp-ix-in, .gp-ui-evt.gp-ix-in, .gp-ui-hook.gp-ix-in { max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; border-top-width: 0;
    transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1), max-height .5s ease, padding .5s ease; }
.gp-igp-row.gp-ix-in.on { max-height: 60px; padding-top: 7px; padding-bottom: 7px; border-top-width: 1px; }
.gp-ui-row.gp-ix-in.on { max-height: 48px; padding-top: 9px; padding-bottom: 9px; border-top-width: 1px; }
.gp-ui-evt.gp-ix-in.on, .gp-ui-hook.gp-ix-in.on { max-height: 40px; padding-top: 5px; padding-bottom: 5px; }
.gp-ui-hook.gp-ix-in.on { padding-top: 8px; padding-bottom: 8px; border-top-width: 1px; }
/* Div-based table rows for the billing dashboards */
.gp-ui-rows { font-size: 12.5px; }
.gp-ui-row { display: grid; grid-template-columns: 1.5fr 1fr .9fr .8fr .7fr; align-items: center; gap: 8px; padding: 9px 8px; border-top: 1px solid #f1f2f4; color: #1a1f36; white-space: nowrap; }
.gp-ui-row > * { overflow: hidden; text-overflow: ellipsis; }
.gp-ui-row.th { padding-top: 6px; padding-bottom: 6px; border-top: 0; font-size: 11.5px; font-weight: 600; color: #6a7383; }
.gp-ui-row b { font-weight: 600; }
.gp-ui-row small { color: #6a7383; }
.gp-imp-ok svg { width: 16px; height: 16px; flex: none; }
.gp-ui-code .gp-ui-hook:first-child { background: transparent; font-weight: 400; font-size: 12px; text-transform: none; letter-spacing: 0; }
.gp-ui-perm i svg { color: #fff; }
.gp-ui-consent-logos span svg, .gp-ui-consent-logos span img, .gp-imp-btn span svg { width: 100%; height: 100%; }
.gp-ui-consent .gp-imp-ok { font-size: 13.5px; }
.gp-imp-card, .gp-imp-vis { min-width: 0; }
.gp-imp-field b, .gp-imp-field small { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gp-imp-field small { flex: none; }
.gp-imp-status > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
