/* /integrations, /integrations/{slug} and /developers
   (new/templ/page/integrations.templ, developers.templ).
   Loaded after pages/download.css, whose shell they share with /whiteboard:
   tokens (--dl-*), backdrop, glass nav, hero type, pill buttons, footer.
   This file re-tunes those tokens to Tutorio's violet and adds the pages' own
   parts (ig-* for the integrations pages, dv-* for the docs).
   Class names here avoid "card", "panel", "-tile" and "-menu": theme.css
   repaints anything so named in dark mode. */

/* ---------- Tokens ---------- */
.ig-body {
	--dl-blue: #6554f0;
	--dl-sky: #ec4899;
	--c1: #8b5cf6; --c2: #ec4899;
	--ig-surface: #ffffff;
	--ig-soft: #f4f2ff;
	--ig-code: #0f0d26;
	--ig-code-line: rgba(167, 155, 255, .16);
	--ig-ok: #059669; --ig-wait: #b45309; --ig-link: #0369a1; --ig-ask: #7c3aed;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	background: linear-gradient(180deg, #f8f7ff 0, #f0edff 38%, #f6f4ff 70%, #fbfaff 100%);
}
html[data-theme="dark"] .ig-body {
	--dl-blue: #a99cff;
	--dl-sky: #f9a8d4;
	--dl-card: rgba(24, 20, 52, .74);
	--dl-solid: #16132f;
	--dl-line: rgba(167, 155, 255, .16);
	--ig-surface: #2a2658;
	--ig-soft: #1a1736;
	--ig-code: #0a0919;
	--ig-ok: #34d399; --ig-wait: #fbbf24; --ig-link: #7dd3fc; --ig-ask: #c4b5fd;
	background: linear-gradient(180deg, #080716 0, #0d0b22 45%, #090818 100%);
}
.ig-body .dl-blob-1 { background: linear-gradient(135deg, #a78bfa, #67e8f9); }
.ig-body .dl-blob-2 { background: linear-gradient(135deg, #f9a8d4, #a78bfa); }
.ig-body .dl-blob-3 { background: linear-gradient(135deg, #7dd3fc, #c4b5fd); }
html[data-theme="dark"] .ig-body .dl-blob-1 { background: linear-gradient(135deg, #5a49e8, #0891b2); }
html[data-theme="dark"] .ig-body .dl-blob-2 { background: linear-gradient(135deg, #be185d, #5a49e8); }
html[data-theme="dark"] .ig-body .dl-blob-3 { background: linear-gradient(135deg, #2e1fa6, #0e7490); }
.ig-body .dl-btn-main { background: linear-gradient(120deg, #7c6cf6 0, #5a49e8 55%, #2e1fa6 100%); box-shadow: 0 20px 40px -16px rgba(90, 73, 232, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.ig-body .dl-btn-main:hover { box-shadow: 0 26px 48px -16px rgba(90, 73, 232, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.ig-body .dl-btn-main i { font-size: 17px; }
.ig-body .dl-btn-ghost i { font-size: 15px; color: var(--dl-blue); }
.ig-body .dl-nav-links a[aria-current] { color: var(--dl-ink); background: color-mix(in srgb, var(--dl-blue) 11%, transparent); }
.ig-body .dl-hero h1 { font-size: clamp(38px, 5.6vw, 76px); }
.ig-body h1, .ig-body h2 { word-spacing: .07em; }
.ig-body :where(ol) { margin: 0; padding: 0; list-style: none; }
.ig-body code, .ig-body pre, .ig-body kbd { font-family: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace; }
.ig-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ig-skip { position: absolute; z-index: 40; left: 16px; top: -60px; padding: 10px 16px; border-radius: 999px; background: var(--dl-solid); color: var(--dl-ink); font-weight: 700; text-decoration: none; box-shadow: var(--dl-shadow); }
.ig-skip:focus { top: 12px; }

/* ---------- Logo chips ---------- */
.ig-mark { --mb: #fff; --mf: #fff; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--mb); color: var(--mf); font-size: 24px; box-shadow: 0 0 0 1px rgba(15, 12, 50, .08), 0 10px 22px -12px rgba(46, 31, 166, .45); }
.ig-mark svg, .ig-mark img { display: block; width: 58%; height: 58%; object-fit: contain; }
.ig-mark-mono b { font-size: .7em; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
/* A brand's own square app icon: it is the chip, edge to edge (Bg matches its colour). */
.ig-mark-app { overflow: hidden; }
.ig-mark-app img { width: 100%; height: 100%; object-fit: cover; }
.ig-mark.is-big { width: 84px; height: 84px; border-radius: 26px; font-size: 38px; }
.ig-mark-tutorio { background: #fff; }
html[data-theme="dark"] .ig-mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 26px -12px rgba(0, 0, 0, .8); }

/* ---------- Status ---------- */
.ig-status { --sc: var(--ig-ok); display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; background: color-mix(in srgb, var(--sc) 12%, transparent); color: var(--sc); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ig-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ig-status.is-live i { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sc) 60%, transparent); animation: ig-ping 2.2s infinite; }
.ig-status.is-setup { --sc: var(--ig-wait); }
.ig-status.is-link { --sc: var(--ig-link); }
.ig-status.is-contact { --sc: var(--ig-ask); }
@keyframes ig-ping { to { box-shadow: 0 0 0 7px transparent; } }

/* ---------- Hub hero: logos wired into a board ---------- */
.ig-hero .dl-cta { margin-top: 30px; }
.ig-flow { --s: clamp(42px, 6.1cqw, 66px); position: relative; container-type: inline-size; max-width: 1080px; margin: 56px auto 0; aspect-ratio: 1080 / 440; }
.ig-flow-glow { position: absolute; inset: 6% 22% 0; border-radius: 40%; background: linear-gradient(90deg, #22d3ee, #7c6cf6 45%, #ec4899); filter: blur(80px); opacity: .42; }
.ig-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ig-wires-phone { display: none; }
.ig-wire { stroke: color-mix(in srgb, var(--dl-blue) 30%, transparent); stroke-width: 1.5; }
.ig-pulse { stroke: #ec4899; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 93; stroke-dashoffset: 8; opacity: .95; animation: ig-pulse 3.4s cubic-bezier(.5, 0, .5, 1) var(--d, 0s) infinite; }
.ig-pulse:nth-of-type(odd) { stroke: #22d3ee; }
@keyframes ig-pulse { 0% { stroke-dashoffset: 8; opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { stroke-dashoffset: -93; opacity: 0; } }
.ig-flow-chip { position: absolute; left: calc(var(--x) - var(--s) / 2); top: calc(var(--y) - var(--s) / 2); width: var(--s); height: var(--s); animation: ig-bob 6s ease-in-out var(--t, 0s) infinite; }
.ig-flow-chip .ig-mark { width: 100%; height: 100%; border-radius: 30%; font-size: calc(var(--s) * .46); box-shadow: 0 0 0 1px rgba(15, 12, 50, .06), 0 16px 30px -14px rgba(46, 31, 166, .55); }
@keyframes ig-bob { 50% { transform: translateY(-6px); } }
.ig-flow-board { position: absolute; inset: 9% 31%; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 12, 50, .08), 0 0 0 7px color-mix(in srgb, var(--dl-solid) 60%, transparent), 0 40px 80px -30px rgba(46, 31, 166, .6); text-align: left; }
.ig-flow-bar { flex: none; display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; background: #f6f5fb; border-bottom: 1px solid #ebe9f5; color: #1e1b4b; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.ig-flow-bar span { display: flex; gap: 5px; }
.ig-flow-bar span i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.ig-flow-bar span i:nth-child(2) { background: #febc2e; } .ig-flow-bar span i:nth-child(3) { background: #28c840; }
.ig-flow-bar b { display: flex; align-items: center; gap: 6px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.ig-flow-bar img { flex: none; }
.ig-flow-paper { position: relative; flex: 1; min-height: 0; background: #fff radial-gradient(#d9d6ee 1.1px, transparent 1.5px) 0 0 / 18px 18px; }
.ig-flow-paper svg { position: absolute; inset: 4% 6% 14% 12%; width: 82%; height: 82%; }
.ig-ink { stroke: #1e1b4b; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ig-draw 1.2s cubic-bezier(.5, 0, .3, 1) .5s forwards; }
.ig-ink-curve { stroke: #6554f0; stroke-width: 5; animation-delay: 1.5s; animation-duration: 1.4s; }
.ig-dot { fill: #ec4899; opacity: 0; animation: ig-pop .4s ease 2.9s forwards; }
.ig-hand { fill: #6554f0; font: 700 22px "Plus Jakarta Sans", sans-serif; opacity: 0; animation: ig-pop .5s ease 3.2s forwards; }
@keyframes ig-draw { to { stroke-dashoffset: 0; } }
@keyframes ig-pop { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.ig-flow-tools { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); display: grid; gap: 3px; padding: 5px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 12, 50, .08), 0 10px 20px -10px rgba(15, 12, 50, .35); }
.ig-flow-tools i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: #57537a; font-size: 11px; }
.ig-flow-tools i.is-on { background: #6554f0; color: #fff; }
.ig-flow-faces { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; }
.ig-flow-faces b { display: grid; place-items: center; width: 58px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--f1), var(--f2)); color: #fff; font-size: 11px; font-weight: 700; }
.ig-flow-faces b:first-child { box-shadow: 0 0 0 2px #22c55e; }
.ig-flow-toast { position: absolute; left: 50%; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border-radius: 999px; background: #1e1b4b; color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; transform: translateX(-50%); animation: ig-toast 9s ease-in-out infinite; }
.ig-flow-toast i { color: #4ade80; font-size: 11px; }
.ig-flow-toast.is-b { animation-delay: -4.5s; }
.ig-flow-toast.is-b i { color: #a5b4fc; }
@keyframes ig-toast { 0%, 6% { opacity: 0; transform: translate(-50%, 10px); } 12%, 44% { opacity: 1; transform: translate(-50%, 0); } 50%, 100% { opacity: 0; transform: translate(-50%, -6px); } }

/* ---------- Hub: search and the four groups ---------- */
.ig-find-wrap { padding-top: 104px; }
.ig-find-wrap .dl-head { margin-bottom: 28px; }
.ig-find { position: sticky; z-index: 10; top: 86px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 980px; margin: 0 auto; padding: 8px; border-radius: 999px; border: 1px solid var(--dl-line); background: var(--dl-card); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: var(--dl-shadow); }
.ig-search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; background: color-mix(in srgb, var(--dl-blue) 7%, transparent); color: var(--dl-muted); transition: box-shadow .2s, background-color .2s; }
.ig-search:focus-within { background: var(--dl-solid); box-shadow: 0 0 0 2px var(--dl-blue); color: var(--dl-blue); }
.ig-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--dl-ink); font: inherit; font-size: 15px; font-weight: 600; -webkit-appearance: none; appearance: none; }
.ig-body .ig-search input:focus-visible { outline: 0; }
/* The site theme paints every text box in dark mode (theme.css); inside
   the search pill the box must stay see-through or it shows as a darker
   slab in the middle of the pill. */
html .ig-body .ig-search input,
html[data-theme="dark"] .ig-body .ig-search input { background: transparent !important; background-image: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; }
.ig-search input::placeholder { color: var(--dl-muted); font-weight: 500; }
.ig-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ig-filters { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ig-filters::-webkit-scrollbar { display: none; }
.ig-filter { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--dl-muted); font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: color .2s, background-color .2s; }
.ig-filter i { font-size: 12px; opacity: .8; }
.ig-filter:hover { color: var(--dl-ink); background: color-mix(in srgb, var(--dl-blue) 9%, transparent); }
.ig-filter.is-on { color: #fff; background: linear-gradient(120deg, #7c6cf6, #5a49e8); box-shadow: 0 10px 20px -10px rgba(90, 73, 232, .9); }
.ig-count { min-height: 20px; margin: 14px 0 0 !important; text-align: center; color: var(--dl-muted); font-size: 13.5px; font-weight: 600; }
.ig-group { margin-top: 44px; scroll-margin-top: 160px; }
.ig-group[hidden], .ig-grid li[hidden] { display: none; }
.ig-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ig-group-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #8b5cf6, #ec4899); color: #fff; font-size: 17px; box-shadow: 0 12px 22px -12px #8b5cf6; }
.ig-group-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ig-group-head p { color: var(--dl-muted); font-size: 14.5px; font-weight: 500; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: 14px; }
.ig-item { position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%; min-height: 176px; padding: 20px; overflow: hidden; border-radius: 24px; border: 1px solid var(--dl-line); background: var(--dl-card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--dl-shadow); text-decoration: none; text-align: left; transition: transform .3s var(--dl-ease), border-color .25s, box-shadow .3s var(--dl-ease); }
.ig-item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px 180px at 100% 0, color-mix(in srgb, var(--dl-blue) 12%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; }
.ig-item:hover, .ig-item:focus-visible { transform: translateY(-4px); border-color: color-mix(in srgb, var(--dl-blue) 45%, var(--dl-line)); box-shadow: 0 26px 50px -26px rgba(90, 73, 232, .6); }
.ig-item:hover::before, .ig-item:focus-visible::before { opacity: 1; }
.ig-body .ig-item:focus-visible { border-radius: 24px; }
.ig-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.ig-item > b { font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.ig-item > small { margin-top: 4px; color: var(--dl-muted); font-size: 13.5px; font-weight: 500; line-height: 1.45; }
.ig-item-go { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 14px; color: var(--dl-blue); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--dl-ease); }
.ig-item-go i { font-size: 11px; }
.ig-item:hover .ig-item-go, .ig-item:focus-visible .ig-item-go { opacity: 1; transform: none; }
@media (hover: none) { .ig-item-go { opacity: 1; transform: none; } }

/* The apps already in the board's library. */
.ig-apps { margin-top: 14px; padding: 18px 0 20px; overflow: hidden; border-radius: 24px; border: 1px dashed color-mix(in srgb, var(--dl-blue) 30%, var(--dl-line)); background: color-mix(in srgb, var(--dl-blue) 4%, transparent); }
.ig-apps > p { padding: 0 20px; color: var(--dl-muted); font-size: 14.5px; font-weight: 500; }
.ig-apps > p b { color: var(--dl-ink); font-weight: 800; }
.ig-apps-run { margin-top: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ig-apps-run ul { display: flex; gap: 10px; width: max-content; animation: ig-run 60s linear infinite; }
.ig-apps:hover .ig-apps-run ul { animation-play-state: paused; }
.ig-apps-run li { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--dl-line); background: var(--dl-solid); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ig-apps-run li i { color: var(--c); }
@keyframes ig-run { to { transform: translateX(calc(-50% - 5px)); } }
.ig-empty { margin: 44px auto 0; max-width: 460px; padding: 34px 26px; border-radius: 28px; border: 1px dashed color-mix(in srgb, var(--dl-blue) 35%, var(--dl-line)); text-align: center; }
.ig-empty[hidden] { display: none; }
.ig-empty .ig-group-icon { margin: 0 auto 14px; }
.ig-empty h3 { font-size: 20px; font-weight: 800; }
.ig-empty p { margin-top: 6px; color: var(--dl-muted); font-size: 15px; }
.ig-empty a, .ig-more a, .dv-sec a { color: var(--dl-blue); font-weight: 700; text-decoration: none; }
.ig-empty a:hover, .ig-more a:hover, .dv-sec a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- "Don't see your tool?" ---------- */
.ig-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 0 auto; }
.ig-way { --c1: #8b5cf6; --c2: #ec4899; display: flex; flex-direction: column; height: 100%; padding: 28px; border-radius: 28px; border: 1px solid var(--dl-line); background: var(--dl-card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--dl-shadow); text-decoration: none; text-align: left; transition: transform .3s var(--dl-ease), border-color .25s, box-shadow .3s; }
.ig-way:hover, .ig-way:focus-visible { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c1) 45%, var(--dl-line)); box-shadow: 0 28px 56px -28px color-mix(in srgb, var(--c1) 70%, transparent); }
.ig-body .ig-way:focus-visible { border-radius: 28px; }
.ig-way-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-size: 21px; box-shadow: 0 14px 26px -14px var(--c1); }
.ig-way b { margin-top: 20px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.ig-way small { margin-top: 6px; color: var(--dl-muted); font-size: 15px; font-weight: 500; line-height: 1.5; }
.ig-way-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; color: var(--dl-blue); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.ig-way-go i { font-size: 11px; transition: transform .25s var(--dl-ease); }
.ig-way:hover .ig-way-go i { transform: translateX(3px); }

/* ---------- Dark bands: "for software companies" and the closing one ---------- */
.ig-build, .ig-close { position: relative; isolation: isolate; overflow: hidden; border-radius: 40px; color: #fff; }
.ig-build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 44px; padding: 60px; background: #120f2e; box-shadow: 0 50px 100px -40px rgba(46, 31, 166, .75); text-align: left; }
.ig-glow { position: absolute; z-index: -1; width: 52%; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .55; animation: dl-drift 18s ease-in-out infinite alternate; }
.ig-glow-a { left: -16%; top: -44%; background: #22d3ee; }
.ig-glow-b { right: -18%; bottom: -52%; background: #ec4899; animation-delay: -8s; }
.ig-build .ig-glow-a { background: #5a49e8; opacity: .8; }
.ig-pill { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ig-build h2, .ig-close h2 { margin-top: 18px; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.07; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.ig-body .ig-build h2 em { background: linear-gradient(95deg, #a5f3fc, #f9a8d4); -webkit-background-clip: text; background-clip: text; }
.ig-build-copy > p, .ig-close > p { margin-top: 14px; max-width: 32em; color: rgba(255, 255, 255, .82); font-size: 17px; font-weight: 500; }
.ig-build-list { display: grid; gap: 14px; margin: 26px 0 30px !important; }
.ig-build-list li { display: flex; align-items: flex-start; gap: 14px; }
.ig-build-list li > i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(255, 255, 255, .13); font-size: 15px; }
.ig-build-list b { display: block; font-size: 15.5px; font-weight: 700; }
.ig-build-list span { display: block; color: rgba(255, 255, 255, .72); font-size: 14px; font-weight: 500; }
.ig-build-actions, .ig-close-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ig-btn-light, .ig-btn-glass { height: 56px; padding: 0 26px; font-size: 16px; }
.ig-btn-light { background: #fff; color: #3b2bc4 !important; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .6); }
.ig-btn-glass { color: #fff !important; border: 1px solid rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .1); }
.ig-btn-light:hover, .ig-btn-glass:hover { transform: translateY(-2px); }
.ig-btn-glass:hover { background: rgba(255, 255, 255, .18); }
.ig-btn-light i, .ig-btn-glass i { font-size: 13px; }
.ig-body .ig-build :focus-visible, .ig-body .ig-close :focus-visible { outline-color: #fff; }
.ig-build-art .ig-code { transform: rotate(1.2deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.ig-close-wrap { padding-bottom: 110px; }
.ig-close { padding: 72px 32px; text-align: center; background: linear-gradient(135deg, #7c6cf6 0, #5a49e8 45%, #2e1fa6 100%); box-shadow: 0 50px 100px -40px rgba(46, 31, 166, .8); }
.ig-close > p { margin-left: auto; margin-right: auto; }
.ig-close-actions { justify-content: center; margin-top: 30px; }

/* ---------- Code ---------- */
.ig-code { margin: 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--ig-code-line); background: var(--ig-code); color: #e7e5ff; text-align: left; }
.ig-code figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 0 8px 0 18px; border-bottom: 1px solid var(--ig-code-line); color: #a7a2d6; font-size: 12.5px; font-weight: 700; }
.ig-code figcaption > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-copy { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(167, 155, 255, .14); color: #d9d5ff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.ig-copy:hover { background: rgba(167, 155, 255, .28); color: #fff; }
.ig-copy.is-done { background: rgba(52, 211, 153, .2); color: #6ee7b7; }
.ig-body .ig-code :focus-visible { outline-color: #c4b5fd; outline-offset: -3px; }
.ig-code pre { margin: 0; font-weight: 400; padding: 18px; overflow-x: auto; font-size: 13px; line-height: 1.65; tab-size: 2; scrollbar-width: thin; scrollbar-color: rgba(167, 155, 255, .35) transparent; }
.ig-code code { font-size: inherit; color: inherit; background: none; padding: 0; white-space: pre; }
.ig-code .k { color: #a5b4fc; } .ig-code .s { color: #86efac; } .ig-code .n { color: #f9a8d4; }

/* ---------- Questions ---------- */
.ig-faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; text-align: left; }
.ig-q { border-radius: 22px; border: 1px solid var(--dl-line); background: var(--dl-card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--dl-shadow); transition: border-color .25s; }
.ig-q[open] { border-color: color-mix(in srgb, var(--dl-blue) 34%, var(--dl-line)); }
.ig-q summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; list-style: none; border-radius: 22px; }
.ig-q summary::-webkit-details-marker { display: none; }
.ig-q summary h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.ig-q summary i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--dl-blue); font-size: 13px; background: color-mix(in srgb, var(--dl-blue) 11%, transparent); transition: transform .3s var(--dl-ease); }
.ig-q[open] summary i { transform: rotate(45deg); }
.ig-q p { padding: 0 24px 22px; color: var(--dl-muted); font-size: 15.5px; font-weight: 500; line-height: 1.6; }

/* ---------- An integration's page ---------- */
.ig-crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 26px; color: var(--dl-muted); font-size: 13px; font-weight: 600; }
.ig-crumbs a { text-decoration: none; transition: color .2s; }
.ig-crumbs a:hover { color: var(--dl-blue); }
.ig-crumbs i { font-size: 9px; opacity: .6; }
.ig-crumbs [aria-current] { color: var(--dl-ink); }
.ig-pair { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ig-pair-link { display: flex; gap: 6px; }
.ig-pair-link i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #ec4899); animation: ig-hop 1.6s ease-in-out infinite; }
.ig-pair-link i:nth-child(2) { animation-delay: .18s; } .ig-pair-link i:nth-child(3) { animation-delay: .36s; }
@keyframes ig-hop { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.ig-page-hero h1 { margin-top: 30px; }
.ig-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px !important; }
.ig-facts li { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 5px 15px; border-radius: 999px; border: 1px solid var(--dl-line); background: var(--dl-card); color: var(--dl-ink); font-size: 13.5px; font-weight: 600; }
.ig-facts li:first-child { padding: 5px 6px; }
.ig-facts li > i { color: var(--dl-blue); font-size: 12px; }
.ig-note { display: inline-flex; align-items: center; gap: 9px; max-width: 640px; margin-top: 16px !important; padding: 9px 16px; border-radius: 16px; background: color-mix(in srgb, var(--nc, var(--dl-blue)) 10%, transparent); color: color-mix(in srgb, var(--nc, var(--dl-blue)) 70%, var(--dl-ink)); font-size: 14px; font-weight: 600; text-align: left; }
.ig-note.is-setup { --nc: var(--ig-wait); } .ig-note.is-link { --nc: var(--ig-link); } .ig-note.is-contact { --nc: var(--ig-ask); }
.ig-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.ig-steps > li { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; border: 1px solid var(--dl-line); background: var(--dl-card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--dl-shadow); text-align: left; }
.ig-step-art { display: grid; place-items: center; height: 232px; padding: 20px; overflow: hidden; background: linear-gradient(150deg, color-mix(in srgb, #8b5cf6 17%, var(--dl-solid)), color-mix(in srgb, #ec4899 11%, var(--dl-solid)) 60%, color-mix(in srgb, #22d3ee 12%, var(--dl-solid))); }
html[data-theme="dark"] .ig-step-art { background: linear-gradient(150deg, #3b2f8f, #6a2c7c 62%, #1f5d7a); }
html[data-theme="dark"] .ig-m { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 22px 40px -18px rgba(0, 0, 0, .7); }
.ig-step-text { display: flex; gap: 16px; padding: 22px 24px 26px; }
.ig-step-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(135deg, #7c6cf6, #5a49e8); color: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 10px 20px -10px #5a49e8; }
.ig-step-text h3 { font-size: 18.5px; font-weight: 800; letter-spacing: -.015em; }
.ig-step-text p { margin-top: 5px; color: var(--dl-muted); font-size: 14.5px; font-weight: 500; line-height: 1.5; }

/* The little screens in each step. One window, a few parts. */
.ig-m { width: min(100%, 272px); overflow: hidden; border-radius: 16px; background: var(--ig-surface); color: var(--dl-ink); font-size: 12px; font-weight: 600; line-height: 1.3; box-shadow: 0 0 0 1px color-mix(in srgb, var(--dl-ink) 8%, transparent), 0 22px 40px -20px rgba(46, 31, 166, .5); transform: rotate(-1.2deg); transition: transform .5s var(--dl-ease); }
.ig-steps > li:nth-child(2) .ig-m { transform: rotate(1.2deg); }
.ig-steps > li:hover .ig-m { transform: none; }
.ig-m-bar { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 12px; border-bottom: 1px solid color-mix(in srgb, var(--dl-ink) 7%, transparent); background: color-mix(in srgb, var(--dl-ink) 3%, transparent); font-size: 11.5px; }
.ig-m-bar > span { display: flex; gap: 4px; }
.ig-m-bar > span i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--dl-ink) 18%, transparent); }
.ig-m-bar b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-m-bar em { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--dl-blue) 12%, transparent); color: var(--dl-blue); font-size: 10.5px; font-style: normal; font-weight: 700; white-space: nowrap; }
.ig-m-body { display: grid; gap: 8px; padding: 14px; }
.ig-m-label { color: var(--dl-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ig-m-input { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 11px; border-radius: 10px; border: 1.5px solid var(--dl-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dl-blue) 16%, transparent); font-size: 11.5px; }
.ig-m-input i { color: var(--dl-blue); font-size: 11px; }
.ig-m-input em { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-weight: 500; }
.ig-m-input u { flex: none; width: 1.5px; height: 15px; background: var(--dl-blue); animation: ig-blink 1.1s steps(1) infinite; }
@keyframes ig-blink { 50% { opacity: 0; } }
.ig-m-btn { justify-self: end; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; border-radius: 999px; background: linear-gradient(120deg, #7c6cf6, #5a49e8); color: #fff; font-size: 11.5px; font-weight: 700; }
.ig-m-btn i { font-size: 9px; }
.ig-m-btn.is-wide { justify-self: stretch; justify-content: center; height: 40px; font-size: 13px; }
.ig-m-btn.is-wide i { font-size: 12px; }
.ig-m-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--ig-ok); font-size: 11.5px; }
.ig-m-row { display: flex; align-items: center; gap: 9px; min-height: 32px; padding: 6px 10px; border-radius: 10px; background: color-mix(in srgb, var(--dl-ink) 4%, transparent); }
.ig-m-row > i:first-child { flex: none; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 6px; background: var(--dl-blue); color: #fff; font-size: 9px; }
.ig-m-row.is-plain > i:first-child, .ig-m-row.is-file > i:first-child { width: auto; height: auto; background: none; color: var(--dl-muted); font-size: 13px; }
.ig-m-row.is-file .fa-file-word { color: #2563eb; } .ig-m-row.is-file .fa-file-powerpoint { color: #ea580c; } .ig-m-row.is-file .fa-file-excel, .ig-m-row.is-file .fa-file-csv { color: #16a34a; }
.ig-m-row.is-picked, .ig-m-row.is-tool { background: color-mix(in srgb, var(--dl-blue) 12%, transparent); box-shadow: inset 0 0 0 1.5px var(--dl-blue); }
.ig-m-row.is-tool i { margin-left: auto; color: var(--dl-blue); font-size: 10px; }
.ig-m-row.is-log { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 11px; font-weight: 500; }
.ig-m-row.is-log > i:first-child { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.ig-m-signin .ig-m-body, .ig-m-connect .ig-m-body { justify-items: center; padding: 18px 16px; text-align: center; }
.ig-m-signin b { font-size: 13.5px; font-weight: 800; }
.ig-m-sso { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 36px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--dl-ink) 14%, transparent); font-size: 12px; }
.ig-m-sso:first-of-type { margin-top: 4px; }
.ig-m-sso .fa-google { color: #ea4335; } .ig-m-sso .fa-microsoft { color: #00a4ef; }
.ig-m-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ig-m-tags i { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--dl-ink) 6%, transparent); color: var(--dl-muted); font-size: 11px; font-style: normal; }
.ig-m-lms { display: flex; }
.ig-m-side { flex: none; display: grid; align-content: start; gap: 9px; width: 40px; padding: 14px 10px; background: #2d3b45; }
.ig-m-side i { height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .22); }
.ig-m-side i:first-child { background: rgba(255, 255, 255, .6); }
.ig-m-lms .ig-m-body { flex: 1; min-width: 0; }
.ig-m-lms .ig-m-body > b, .ig-m-cal .ig-m-body > b { font-size: 13.5px; font-weight: 800; }
.ig-m-when, .ig-m-url { display: flex; align-items: center; gap: 8px; color: var(--dl-muted); font-size: 11.5px; }
.ig-m-url { min-width: 0; color: var(--dl-blue); }
.ig-m-code { background: var(--ig-code); color: #e7e5ff; }
.ig-m-code .ig-m-bar { border-color: var(--ig-code-line); background: none; color: #a7a2d6; }
.ig-m-code .ig-m-bar > span i { background: rgba(167, 155, 255, .3); }
.ig-m-code .ig-m-body { gap: 3px; }
.ig-m-code code { display: block; color: #c7d2fe; font-size: 11px; font-weight: 500; white-space: pre; overflow: hidden; text-overflow: ellipsis; background: none; padding: 0; }
.ig-m-flow .ig-m-body { justify-items: stretch; gap: 0; }
.ig-m-node { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, #f97316 50%, transparent); background: color-mix(in srgb, #f97316 8%, transparent); }
.ig-m-node.is-do { border-color: color-mix(in srgb, var(--dl-blue) 55%, transparent); background: color-mix(in srgb, var(--dl-blue) 8%, transparent); }
.ig-m-node small { color: var(--dl-muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ig-m-node b { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.ig-m-node b i { color: #f97316; font-size: 11px; }
.ig-m-node.is-do b i { color: var(--dl-blue); }
.ig-m-wire { justify-self: center; width: 2px; height: 18px; background: linear-gradient(#f97316, var(--dl-blue)); }
.ig-m-board .ig-m-body { position: relative; display: block; height: 164px; padding: 0; background: #fff radial-gradient(#d9d6ee 1px, transparent 1.4px) 0 0 / 14px 14px; }
.ig-m-board svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ig-m-sheet { position: absolute; left: 24%; top: 13%; display: grid; align-content: start; gap: 7px; width: 44%; height: 62%; padding: 12px 10px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 12, 50, .1), 0 12px 22px -12px rgba(15, 12, 50, .4); }
.ig-m-sheet i { height: 5px; border-radius: 3px; background: #dcd9ef; }
.ig-m-sheet i:first-child { width: 60%; height: 7px; background: #6554f0; }
.ig-m-sheet i:last-child { width: 72%; }
.ig-m-sheet.is-back { left: 32%; top: 9%; transform: rotate(5deg); }
.ig-m-app { position: absolute; left: 50%; top: 42%; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 20px; border-radius: 16px; background: #fff; color: #1e1b4b; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(15, 12, 50, .1), 0 14px 26px -12px rgba(15, 12, 50, .4); }
.ig-m-app b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ig-m-app i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, #f59e0b, #ec4899); color: #fff; font-size: 14px; }
.ig-m-faces { position: absolute; right: 8px; top: 8px; display: grid; gap: 4px; }
.ig-m-faces i { width: 34px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #7c6cf6, #3b82f6); }
.ig-m-faces i:last-child { background: linear-gradient(135deg, #f97316, #ec4899); }
.ig-m-cap { position: absolute; left: 50%; bottom: 9px; display: inline-flex; align-items: center; gap: 7px; max-width: 92%; height: 26px; padding: 0 11px; border-radius: 999px; background: #1e1b4b; color: #fff; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateX(-50%); }
.ig-m-cap i { flex: none; color: #4ade80; font-size: 6px; }

/* What you get. */
.ig-get { display: grid; gap: 40px; padding: 52px; border-radius: 36px; border: 1px solid var(--dl-line); background: var(--dl-card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--dl-shadow); text-align: left; }
.ig-get.has-side { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.ig-get h2 { margin-top: 18px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.ig-ticks { display: grid; gap: 14px; margin-top: 26px !important; }
.ig-get:not(.has-side) .ig-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.ig-ticks li { display: flex; align-items: flex-start; gap: 13px; font-size: 16px; font-weight: 600; line-height: 1.45; }
.ig-ticks i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%; background: color-mix(in srgb, var(--ig-ok) 15%, transparent); color: var(--ig-ok); font-size: 11px; }
.ig-get-side { display: grid; gap: 18px; min-width: 0; }
.ig-chips { padding: 22px; border-radius: 22px; background: var(--ig-soft); }
.ig-chips > b { display: block; margin-bottom: 12px; color: var(--dl-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ig-chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ig-chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--dl-line); background: var(--dl-solid); font-size: 13.5px; font-weight: 600; }
#related .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 940px; margin: 0 auto; }
.ig-more { margin-top: 26px !important; text-align: center; font-size: 15px; }
.ig-more a i { margin-left: 4px; font-size: 12px; }
.ig-footer .ig-foot-all { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--dl-line); font-size: 13px; font-weight: 500; }

/* ---------- /developers ---------- */
.dv-hero { padding-top: 64px; }
.dv-body .dv-hero h1 { font-size: clamp(34px, 4.6vw, 60px); }
.dv-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 26px !important; }
.dv-base code { padding: 9px 16px; border-radius: 999px; background: var(--ig-code); color: #c7d2fe; font-size: 13.5px; }
.dv-base a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: color-mix(in srgb, var(--dl-blue) 11%, transparent); color: var(--dl-blue); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.dv-base a:hover { background: color-mix(in srgb, var(--dl-blue) 19%, transparent); }
.dv-wrap { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 44px; max-width: 1368px; margin: 64px auto 0; padding: 0 24px; text-align: left; }
.dv-nav { position: sticky; top: 92px; align-self: start; display: grid; gap: 2px; max-height: calc(100vh - 112px); padding: 14px; overflow-y: auto; border-radius: 22px; border: 1px solid var(--dl-line); background: var(--dl-card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); scrollbar-width: thin; }
.dv-nav b { margin: 14px 0 4px; padding: 0 12px; color: var(--dl-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dv-nav b:first-child { margin-top: 2px; }
.dv-nav a { padding: 7px 12px; border-radius: 10px; color: var(--dl-muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .15s, background-color .15s; }
.dv-nav a:hover { color: var(--dl-ink); background: color-mix(in srgb, var(--dl-blue) 8%, transparent); }
.dv-nav a.is-on { color: var(--dl-blue); background: color-mix(in srgb, var(--dl-blue) 12%, transparent); }
.dv-doc { min-width: 0; }
.dv-sec, .dv-ep { scroll-margin-top: 96px; }
.dv-sec { padding: 44px 0 8px; max-width: 820px; }
.dv-sec:first-child { padding-top: 0; }
.dv-sec > h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.dv-sec > p { margin-top: 12px; color: color-mix(in srgb, var(--dl-ink) 76%, var(--dl-muted)); font-size: 16px; line-height: 1.7; }
.dv-sec > p em { font-style: italic; }
.dv-sec p code, .dv-sec li code, .dv-ep-info > p code, .dv-fields td code { padding: 2px 7px; border-radius: 7px; background: color-mix(in srgb, var(--dl-blue) 10%, transparent); color: color-mix(in srgb, var(--dl-blue) 80%, var(--dl-ink)); font-size: .88em; }
.dv-sec > .ig-code, .dv-sec > .dv-tabs, .dv-sec > .dv-events, .dv-sec > table { margin-top: 20px; }
.dv-group { max-width: none; padding-top: 72px; border-top: 0; }
.dv-warn { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, #f59e0b 12%, transparent); font-size: 14.5px !important; font-weight: 600; }
.dv-warn i { color: #d97706; }
.dv-start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px !important; }
.dv-start li { padding: 20px; border-radius: 20px; border: 1px solid var(--dl-line); background: var(--dl-card); }
.dv-start li > b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, #7c6cf6, #5a49e8); color: #fff; font-size: 15px; font-weight: 800; }
.dv-start h3 { margin-top: 14px; font-size: 16.5px; font-weight: 800; }
.dv-start p { margin-top: 4px; color: var(--dl-muted); font-size: 14px; line-height: 1.5; }
.dv-points { display: grid; gap: 8px; margin-top: 16px !important; }
.dv-points li { position: relative; padding-left: 22px; color: color-mix(in srgb, var(--dl-ink) 76%, var(--dl-muted)); font-size: 15.5px; line-height: 1.6; }
.dv-points li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.dv-points b { color: var(--dl-ink); }
.dv-points + .ig-code, .dv-points + p { margin-top: 20px; }
.dv-method { --mc: #059669; flex: none; display: inline-grid; place-items: center; min-width: 58px; height: 24px; padding: 0 9px; border-radius: 8px; background: color-mix(in srgb, var(--mc) 14%, transparent); color: var(--mc); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.dv-method.is-post { --mc: #6554f0; } .dv-method.is-patch { --mc: #c2410c; } .dv-method.is-delete { --mc: #dc2626; }
html[data-theme="dark"] .dv-method { --mc: #34d399; }
html[data-theme="dark"] .dv-method.is-post { --mc: #a99cff; } html[data-theme="dark"] .dv-method.is-patch { --mc: #fdba74; } html[data-theme="dark"] .dv-method.is-delete { --mc: #fca5a5; }
.dv-toc { display: grid; gap: 6px; margin-top: 18px !important; max-width: 820px; }
.dv-toc a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--dl-line); background: var(--dl-card); color: var(--dl-ink); font-weight: 600; text-decoration: none; transition: border-color .2s, transform .2s var(--dl-ease); }
.dv-toc a:hover { border-color: color-mix(in srgb, var(--dl-blue) 45%, var(--dl-line)); transform: translateX(3px); text-decoration: none; }
.dv-toc code { font-size: 13.5px; }
.dv-toc span:last-child { margin-left: auto; color: var(--dl-muted); font-size: 13.5px; font-weight: 500; text-align: right; }
.dv-ep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; margin-top: 22px; padding: 30px; border-radius: 28px; border: 1px solid var(--dl-line); background: var(--dl-card); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--dl-shadow); }
.dv-ep-info { min-width: 0; }
.dv-ep-info h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.dv-sig { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px !important; }
.dv-sig code { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.dv-ep-info > p:not(.dv-sig) { margin-top: 14px; color: color-mix(in srgb, var(--dl-ink) 74%, var(--dl-muted)); font-size: 15px; line-height: 1.65; }
.dv-ep-code { display: grid; gap: 14px; min-width: 0; }
.dv-ep-code .ig-code pre { max-height: 380px; }
.dv-fields { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 14px; }
.dv-fields caption { padding-bottom: 8px; color: var(--dl-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.dv-fields tr { border-top: 1px solid var(--dl-line); }
.dv-fields th { width: 38%; padding: 11px 14px 11px 0; font-weight: 600; text-align: left; vertical-align: top; }
.dv-fields th code { display: block; color: var(--dl-ink); font-size: 13.5px; font-weight: 700; overflow-wrap: anywhere; }
.dv-fields th span { color: var(--dl-muted); font-size: 12px; }
.dv-fields th em { margin-left: 8px; color: #dc2626; font-size: 11.5px; font-style: normal; font-weight: 700; }
html[data-theme="dark"] .dv-fields th em { color: #fca5a5; }
.dv-fields td { padding: 11px 0; color: color-mix(in srgb, var(--dl-ink) 74%, var(--dl-muted)); line-height: 1.55; vertical-align: top; }
.dv-events { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.dv-event { min-width: 0; }
.dv-event { border-radius: 18px; border: 1px solid var(--dl-line); background: var(--dl-card); }
.dv-event summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 18px; cursor: pointer; list-style: none; border-radius: 18px; }
.dv-event summary::-webkit-details-marker { display: none; }
.dv-event summary code { font-size: 14px; font-weight: 700; color: var(--dl-blue); }
.dv-event summary span { color: var(--dl-muted); font-size: 14px; }
.dv-event summary i { margin-left: auto; color: var(--dl-muted); font-size: 12px; transition: transform .25s var(--dl-ease); }
.dv-event[open] summary i { transform: rotate(180deg); }
.dv-event .ig-code { margin: 0 10px 10px; }
.dv-event .ig-code pre { max-height: 420px; }
.dv-tablist { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--dl-muted) 13%, transparent); }
.dv-tablist button { height: 34px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--dl-muted); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.dv-tablist button[aria-selected="true"] { background: var(--dl-solid); color: var(--dl-ink); box-shadow: 0 4px 12px -6px rgba(15, 12, 50, .4); }
.dv-tabs [role="tabpanel"] { margin-top: 12px; }
.dv-tabs [role="tabpanel"][hidden] { display: none; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1180px) {
	.dv-ep { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 980px) {
	.ig-find { top: 82px; border-radius: 28px; }
	.ig-steps { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
	.ig-ways { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
	#related .ig-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
	.ig-build { grid-template-columns: minmax(0, 1fr); padding: 44px 32px; }
	.ig-build-art .ig-code { transform: none; }
	.ig-get, .ig-get.has-side { grid-template-columns: minmax(0, 1fr); padding: 36px; }
	.dv-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 40px; }
	.dv-nav { z-index: 15; top: 82px; display: flex; gap: 4px; max-height: none; margin: 0 -8px 28px; padding: 6px; overflow-x: auto; border-radius: 999px; box-shadow: var(--dl-shadow); scrollbar-width: none; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
	.dv-nav::-webkit-scrollbar { display: none; }
	.dv-nav b { display: none; }
	.dv-nav a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; }
	.dv-sec, .dv-ep { scroll-margin-top: 150px; }
}
@media (max-width: 640px) {
	.ig-flow { --s: 46px; aspect-ratio: 360 / 400; margin-top: 44px; }
	.ig-wires-wide { display: none; }
	.ig-wires-phone { display: block; }
	.ig-flow-chip { left: calc(var(--mx) - var(--s) / 2); top: calc(var(--my) - var(--s) / 2); }
	.ig-flow-chip.is-wide { display: none; }
	.ig-flow-board { inset: 27% 5%; border-radius: 14px; }
	.ig-flow-glow { inset: 20% 4%; }
	.ig-flow-faces b { width: 46px; height: 30px; }
	.ig-flow-tools i { width: 20px; height: 20px; }
	.ig-find-wrap { padding-top: 76px; }
	.ig-find { top: 74px; padding: 6px; }
	.ig-search { flex-basis: 100%; height: 44px; }
	.ig-filters { margin: 0 -2px; }
	.ig-filter { height: 40px; padding: 0 13px; font-size: 13.5px; }
	.ig-group { margin-top: 36px; }
	.ig-group-head h3 { font-size: 19px; }
	.ig-grid, #related .ig-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.ig-item { min-height: 0; padding: 18px; border-radius: 22px; }
	.ig-item-top { margin-bottom: 12px; }
	.ig-way { padding: 22px; border-radius: 24px; }
	.ig-build, .ig-close { border-radius: 30px; }
	.ig-build { padding: 34px 20px; }
	.ig-close { padding: 52px 20px; }
	.ig-build-actions, .ig-close-actions { flex-direction: column; }
	.ig-btn-light, .ig-btn-glass { width: 100%; }
	.ig-close-wrap { padding-bottom: 76px; }
	.ig-code { border-radius: 16px; }
	.ig-code pre { padding: 14px; font-size: 12px; }
	.ig-q summary { padding: 18px; }
	.ig-q p { padding: 0 18px 20px; }
	.ig-mark.is-big { width: 68px; height: 68px; border-radius: 22px; font-size: 30px; }
	.ig-facts li { font-size: 13px; }
	.ig-note { align-items: flex-start; }
	.ig-note i { margin-top: 3px; }
	.ig-step-art { height: 214px; }
	.ig-get, .ig-get.has-side { padding: 26px 20px; border-radius: 28px; gap: 28px; }
	.ig-get:not(.has-side) .ig-ticks { grid-template-columns: minmax(0, 1fr); }
	.ig-ticks li { font-size: 15px; }
	.dv-hero { padding-top: 44px; }
	.dv-wrap { padding: 0 16px; }
	.dv-nav { top: 74px; }
	.dv-start { grid-template-columns: minmax(0, 1fr); }
	.dv-ep { padding: 20px 16px; border-radius: 22px; }
	.dv-fields th { width: 42%; padding-right: 10px; }
	.dv-toc span:last-child { display: none; }
	.dv-group { padding-top: 52px; }
}

@media (prefers-reduced-motion: reduce) {
	.ig-pulse { display: none; }
	.ig-ink { stroke-dashoffset: 0; }
	.ig-dot, .ig-hand { opacity: 1; }
	.ig-flow-toast { opacity: 0; }
	.ig-flow-toast.is-a { opacity: 1; transform: translateX(-50%); }
	.ig-item-go { opacity: 1; transform: none; }
}
