@layer plexivo {
/* Plexivo docs layout (scripts/docs.mjs). Uses the site's tokens from :root
   in index.html; the site is light only, so the docs are too. */
.docs-page{background:var(--bg);overflow:clip}
.docs-layout{display:grid;grid-template-columns:240px minmax(0,1fr) 200px;gap:48px;width:min(1280px,100% - 48px);margin-inline:auto;padding:40px 0 96px;align-items:start}
.docs-home .docs-layout{grid-template-columns:240px minmax(0,1fr)}

/* sidebar */
.docs-side{position:sticky;top:68px;max-height:calc(100vh - 84px);overflow:auto;overscroll-behavior:contain;padding:0 4px 24px 0;scrollbar-width:thin}
.docs-nav{display:grid;gap:4px;font-size:14.5px}
.docs-nav a{display:block;padding:6px 10px;border-radius:9px;color:var(--text-2);text-decoration:none;line-height:1.35}
.docs-nav a:hover{background:#f0f0f5;color:var(--text)}
.docs-nav a[aria-current="page"]{background:var(--accent-soft);color:var(--accent);font-weight:600}
.docs-nav-home{font-weight:600;color:var(--text)!important;margin-bottom:4px}
.docs-group summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:8px 10px 6px;border-radius:9px;font-size:12px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);cursor:pointer}
.docs-group summary::-webkit-details-marker{display:none}
.docs-group summary::after{content:"";width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(-45deg);transition:transform .2s}
.docs-group[open] summary::after{transform:rotate(45deg)}
.docs-group summary:hover{color:var(--text)}
.docs-group ul{list-style:none;margin:0 0 8px;padding:0}
.docs-draft-tag{font-size:11px;font-weight:600;color:#b45309;background:#fef3c7;border-radius:6px;padding:1px 6px;margin-left:4px}
.docs-menu{display:none}

/* search */
.docs-search{position:relative;margin-bottom:18px}
.docs-search input{width:100%;height:40px;padding:0 36px 0 14px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--text);font:inherit;font-size:15px;-webkit-appearance:none;appearance:none}
.docs-search input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 4px rgb(37 99 235 / 14%)}
.docs-search kbd{position:absolute;right:10px;top:10px;min-width:20px;height:20px;display:grid;place-items:center;border:1px solid var(--border);border-radius:6px;font:12px var(--font);color:var(--faint);pointer-events:none}
.docs-results{position:absolute;z-index:30;left:0;right:-200px;top:46px;max-height:min(70vh,520px);overflow:auto;margin:0;padding:6px;list-style:none;background:#fff;border-radius:16px;box-shadow:0 24px 60px rgb(0 0 0 / 14%),0 0 0 1px var(--border)}
.docs-results li a{display:block;padding:10px 12px;border-radius:10px;text-decoration:none;color:var(--text)}
.docs-results li a b{display:block;font-size:15px;font-weight:600}
.docs-results li a small{display:block;margin-top:2px;font-size:13px;color:var(--muted);line-height:1.4}
.docs-results li a mark{background:#fef08a;color:inherit;border-radius:3px}
.docs-results li[aria-selected="true"] a,.docs-results li a:hover{background:var(--accent-soft)}
.docs-results .docs-noresult{padding:12px;font-size:14px;color:var(--muted)}

/* article */
.docs-article{min-width:0;max-width:780px}
.docs-crumbs ol{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px;padding:0;list-style:none;font-size:14px;color:var(--muted)}
.docs-crumbs li+li::before{content:"›";margin-right:6px;color:var(--faint)}
.docs-crumbs a{color:var(--muted);text-decoration:none}
.docs-crumbs a:hover{color:var(--accent)}
.docs-title{font-size:clamp(32px,4vw,44px);line-height:1.1;font-weight:700;letter-spacing:-.035em;color:var(--text)}
.docs-lede{margin-top:14px;font-size:19px;line-height:1.5;color:var(--muted);letter-spacing:-.015em}
.docs-body{margin-top:8px;font-size:17px;line-height:1.65;color:var(--text-2)}
.docs-body>*{margin-top:18px;margin-bottom:0}
.docs-body h2{margin-top:48px;font-size:26px;line-height:1.2;font-weight:700;letter-spacing:-.025em;color:var(--text)}
.docs-body h3{margin-top:32px;font-size:20px;line-height:1.3;font-weight:650;letter-spacing:-.02em;color:var(--text)}
.docs-body h2+*,.docs-body h3+*{margin-top:12px}
.docs-anchor{margin-left:8px;color:var(--faint);text-decoration:none;font-weight:400;opacity:0;transition:opacity .15s}
:is(h2,h3):hover>.docs-anchor,.docs-anchor:focus-visible{opacity:1}
.docs-body a:not(.btn):not(.docs-card):not(.docs-anchor){color:var(--accent);text-decoration:none}
.docs-body a:not(.btn):not(.docs-card):not(.docs-anchor):hover{text-decoration:underline;text-underline-offset:3px}
.docs-body strong,.docs-body b{color:var(--text);font-weight:600}
.docs-body ul,.docs-body ol{padding-left:22px}
.docs-body li+li{margin-top:6px}
.docs-body li>ul,.docs-body li>ol{margin-top:6px}
.docs-body code{font:.88em "JetBrains Mono",ui-monospace,"SF Mono",Menlo,monospace;background:#f0f0f5;color:var(--text);padding:2px 6px;border-radius:6px;overflow-wrap:anywhere}
.docs-body kbd{font:.85em var(--font);padding:1px 6px;border:1px solid var(--border);border-bottom-width:2px;border-radius:6px;background:#fff}
.docs-body dl{display:grid;grid-template-columns:minmax(120px,max-content) 1fr;gap:10px 20px}
.docs-body dt{font-weight:600;color:var(--text)}
.docs-body dd{margin:0}

/* code */
.docs-body .code{position:relative;margin-top:18px}
.docs-body .code pre{margin:0;padding:44px 20px 18px;border-radius:16px;background:#1d1d1f;color:#f5f5f7;overflow-x:auto;font:14px/1.7 "JetBrains Mono",ui-monospace,"SF Mono",Menlo,monospace;tab-size:2}
.docs-body .code pre code{background:none;padding:0;color:inherit;font:inherit;overflow-wrap:normal}
.docs-body .code .c{color:#98989d}
.docs-body .code-lang{position:absolute;left:20px;top:13px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#98989d}
.docs-body .copy{position:absolute;top:9px;right:10px;padding:6px 12px;border:0;border-radius:999px;background:rgb(255 255 255 / 14%);color:#f5f5f7;font:600 13px/1 var(--font);cursor:pointer}
.docs-body .copy:hover{background:rgb(255 255 255 / 24%)}
.docs-body .copy:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* tables */
.docs-table{overflow-x:auto;border:1px solid var(--border);border-radius:14px;background:#fff}
.docs-table table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45}
.docs-table th,.docs-table td{padding:11px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border)}
.docs-table tr:last-child>*{border-bottom:0}
.docs-table thead th{background:#f5f5f7;color:var(--text);font-weight:600;font-size:13.5px}
.docs-table tbody th{color:var(--text);font-weight:600}

/* call-outs: note, tip, important; and audience call-outs */
.docs-callout{padding:16px 18px;border-radius:14px;background:#f5f7ff;border:1px solid #dbe4ff;font-size:16px;line-height:1.55}
.docs-callout>b:first-child{display:block;margin-bottom:2px;color:var(--text)}
.docs-callout[data-kind="tip"]{background:#f0fdf4;border-color:#bbf7d0}
.docs-callout[data-kind="important"]{background:#fffbeb;border-color:#fde68a}
.docs-for{padding:16px 18px;border-radius:14px;background:#fff;border:1px solid var(--border);box-shadow:0 8px 24px rgb(0 0 0 / 4%);font-size:16px;line-height:1.55}
.docs-for>b:first-child{display:inline-block;margin-bottom:4px;padding:2px 10px;border-radius:999px;font-size:12.5px;letter-spacing:.02em;color:#fff;background:var(--accent)}
.docs-for[data-for="startups"]>b:first-child{background:#7c3aed}
.docs-for[data-for="businesses"]>b:first-child{background:#0f766e}
.docs-for[data-for="enterprises"]>b:first-child{background:#1d1d1f}
.docs-draft{margin-bottom:18px;padding:12px 16px;border-radius:12px;background:#fef3c7;color:#78350f;font-size:15px}
.docs-todo{padding:16px 18px 16px 18px;border-radius:14px;border:1px dashed #f59e0b;background:#fffbeb;font-size:15px}
.docs-todo h2{margin-top:0!important;font-size:18px!important}

/* steps */
.docs-steps{counter-reset:s;list-style:none;padding:0!important;display:grid;gap:14px}
.docs-steps>li{counter-increment:s;position:relative;padding-left:46px;margin:0!important}
.docs-steps>li::before{content:counter(s);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:#4338ca;font-weight:700;font-size:14px}
.docs-steps>li>b:first-child{color:var(--text)}

/* cards (overview and section pages) */
.docs-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.docs-cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.docs-card{display:flex;flex-direction:column;gap:6px;padding:22px 22px 20px;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgb(0 0 0 / 5%),0 0 0 1px var(--border);color:var(--text-2);text-decoration:none;transition:box-shadow .2s,transform .2s}
a.docs-card:hover{box-shadow:0 16px 40px rgb(37 99 235 / 12%),0 0 0 1px #c7d7fe;transform:translateY(-1px)}
.docs-card b{font-size:18px;letter-spacing:-.02em;color:var(--text)}
.docs-card span{font-size:15px;line-height:1.5}
.docs-card .tile{width:40px;height:40px;margin-bottom:6px;border-radius:12px;display:grid;place-items:center;color:#fff}
.docs-card .tile svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.docs-feature{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:30px;border-radius:24px;background:linear-gradient(135deg,#eef2ff,#faf5ff);border:1px solid #e0e7ff}
.docs-feature h2{margin-top:0!important}
.docs-feature .code{margin-top:0}

/* "On this page" */
.docs-toc{position:sticky;top:68px;max-height:calc(100vh - 84px);overflow:auto;font-size:13.5px}
.docs-toc-title{margin:0 0 8px;font-size:12px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.docs-toc ul,.docs-toc-inline ul{list-style:none;margin:0;padding:0;border-left:1px solid var(--border)}
.docs-toc li a,.docs-toc-inline li a{display:block;padding:5px 0 5px 14px;margin-left:-1px;border-left:2px solid transparent;color:var(--muted);text-decoration:none;line-height:1.35}
.docs-toc li a:hover,.docs-toc-inline li a:hover{color:var(--text)}
.docs-toc li a[aria-current="true"]{color:var(--accent);border-left-color:var(--accent)}
.docs-toc-h3 a{padding-left:26px!important}
.docs-toc-inline{display:none;margin-top:22px;padding:16px 18px;border-radius:14px;background:#fff;border:1px solid var(--border)}

/* previous / next */
.docs-pager{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:56px;padding-top:28px;border-top:1px solid var(--border)}
.docs-pager a{display:flex;flex-direction:column;gap:2px;padding:16px 18px;border-radius:16px;border:1px solid var(--border);background:#fff;color:var(--accent);font-weight:600;text-decoration:none;font-size:16px}
.docs-pager a:hover{border-color:#c7d7fe;box-shadow:0 10px 24px rgb(37 99 235 / 8%)}
.docs-pager small{font-size:13px;font-weight:500;color:var(--muted)}
.docs-next{text-align:right}
.docs-updated{margin-top:20px;font-size:13.5px;color:var(--faint)}

@media (max-width:1180px){
 .docs-layout{grid-template-columns:220px minmax(0,1fr);gap:40px}
 .docs-toc{display:none}
 .docs-toc-inline{display:block}
}
@media (max-width:900px){
 .docs-layout,.docs-home .docs-layout{grid-template-columns:minmax(0,1fr);gap:20px;width:min(1280px,100% - 32px);padding-top:20px}
 .docs-side{position:static;max-height:none;overflow:visible;padding:0}
 #docs-nav{display:none}
 .docs-menu{display:block;border:1px solid var(--border);border-radius:14px;background:#fff}
 .docs-menu>summary{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;font-size:15px;font-weight:600;color:var(--text);cursor:pointer;list-style:none}
 .docs-menu>summary::-webkit-details-marker{display:none}
 .docs-menu>summary::after{content:"";width:8px;height:8px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);transition:transform .2s}
 .docs-menu[open]>summary::after{transform:rotate(-135deg)}
 .docs-menu .docs-nav{padding:0 8px 10px}
 .docs-search{margin-bottom:12px}
 .docs-results{right:0}
 .docs-cards,.docs-cards.three,.docs-feature{grid-template-columns:minmax(0,1fr)}
 .docs-feature{padding:22px}
}
@media (max-width:520px){
 .docs-body{font-size:16.5px}
 .docs-body h2{margin-top:40px;font-size:23px}
 .docs-lede{font-size:17.5px}
 .docs-pager{grid-template-columns:minmax(0,1fr)}
 .docs-next{text-align:left}
 .docs-body .code pre{border-radius:14px;padding:42px 16px 16px;font-size:13px}
 .docs-body dl{grid-template-columns:minmax(0,1fr);gap:2px}
 .docs-body dd{margin-bottom:10px}
}
@media (prefers-reduced-motion:reduce){.docs-group summary::after,.docs-menu>summary::after,a.docs-card{transition:none}}
@media print{.docs-side,.docs-toc,.docs-toc-inline,.docs-pager,.copy{display:none!important}.docs-layout{display:block}}

}
