.header .public-theme-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #dce6d3;border-radius:12px;background:#f1f6e9;color:#66864f;cursor:pointer}
.public-theme-toggle .theme-label{display:none}.public-theme-toggle .theme-icon{display:block;width:21px;height:21px;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M20.5 13.5A8.5 8.5 0 0 1 10.5 3a9 9 0 1 0 10 10.5Z'/%3E%3C/svg%3E")}
html[data-theme=dark] .theme-icon{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M2 12h2M20 12h2M5 5l1.5 1.5M17.5 17.5 19 19M5 19l1.5-1.5M17.5 6.5 19 5'/%3E%3C/svg%3E")}
.header{gap:14px}.header>nav{min-width:0}
@media(min-width:851px) and (max-width:1120px){.header{flex-wrap:wrap}.header>nav{order:3;width:100%;justify-content:center}.header>.brand{margin-right:auto}}
@media(max-width:850px){.header{display:flex;flex-wrap:wrap;gap:10px;padding:12px 14px}.header>.brand{flex:1;min-width:0}.header>.button{margin-left:auto}.header .public-theme-toggle{order:2}.header>nav{order:3;width:100%}}
@media(max-width:480px){.header>.button{display:none}.header .public-theme-toggle{margin-left:auto}}
html[data-theme=dark]{color-scheme:dark;--green:#a7ce8e;--ink:#e1edda;--muted:#b2c4a8;--line:#3b503c;background:#121c17;color:#e1edda}
html[data-theme=dark] body{background:#121c17!important;color:#e1edda!important}
html[data-theme=dark] :is(h1,h2,h3,h4,strong,b,.brand,dt,summary){color:#e1edda!important}
html[data-theme=dark] :is(p,li,dd,small,figcaption,.lead,.eyebrow,.hero-note,.text-link,.breadcrumbs,.footer a){color:#b7c9ad!important}
html[data-theme=dark] h1 span,html[data-theme=dark] .brand-dot{color:#aed193!important}
html[data-theme=dark] :is(.header,.site-menu-panel,article,.card,.panel,.expectations,.step,.pricing-card,.comparison-card,.feature-card,.site-directory,.site-directory-card,.connection-section,.connection-steps,.connection-note,.service-note,.faq details,.note,.callout,.warning,.info-box,.seo-card,.table-wrap,.table-scroll,.format-card,.workflow-card){background:#1d2c22!important;border-color:#3e533d!important;box-shadow:none!important;color:#d7e5d0!important}
html[data-theme=dark] :is(section,footer,.section,.faq,.site-directory){border-color:#3e533d!important;background-color:#121c17!important}
html[data-theme=dark] :is(.final-cta,.api-card,.dark-card){background:#263d2a!important;border-color:#4b6444!important;color:#e4f0dd!important}
html[data-theme=dark] :is(.header nav a,.site-menu summary,.site-menu-panel a,.site-menu-group p){color:#c3d7b8!important}
html[data-theme=dark] :is(.site-menu-panel a:hover,.site-menu summary:hover){background:#304730!important}
html[data-theme=dark] .public-theme-toggle{background:#2a402b!important;color:#d1e6be!important;border-color:#526b45!important}
html[data-theme=dark] .button{background:#a7ca8b!important;color:#172717!important;border-color:#a7ca8b!important;box-shadow:none!important}
html[data-theme=dark] .button-outline{background:#223626!important;color:#c4dcB7!important;border-color:#57724c!important}
html[data-theme=dark] :is(table,thead,tbody,tr,th,td){background:#1d2c22!important;border-color:#40563d!important;color:#d4e3cb!important}
html[data-theme=dark] th{background:#2a3f2b!important}
html[data-theme=dark] :is(pre,code){background:#18251c!important;color:#c2daae!important;border-color:#425a3c!important}
html[data-theme=dark] :is(.badge,.pill,.tag,.card-icon,.step-number,.icon,.preview){background:#30462e!important;border-color:#4a6541!important;color:#c6deb5!important}
html[data-theme=dark] :is(.hero::before,.hero::after,.workspace-glow){opacity:.15!important}
html[data-theme=dark] :is(.product,.product-top,.product-main,.product-side,.mockup,.mock-chat,.browser-frame,.code-card,.message-card){background:#213226!important;border-color:#425b3d!important;color:#c7dabb!important}
html[data-theme=dark] :is(a,button,summary):focus-visible{outline-color:#b2d493!important}
html[data-theme=dark] :is(hr,.footer small,.site-menu-group,.faq details,.api-card dl>div){border-color:#3e533d!important}
html[data-theme=dark] .site-menu-panel{backdrop-filter:none!important}
@media(prefers-reduced-motion:reduce){.public-theme-toggle{transition:none}}
html[data-theme=dark] :is(.site-directory-group,.steps li,.steps>div,.connection-step,.connection-card,.service-note-card){background:#203125!important;border-color:#425b3e!important;color:#d4e5ca!important;box-shadow:none!important}
html[data-theme=dark] section{background-image:none!important}
html[data-theme=dark] :is(.site-directory-group a,.site-directory-home a,.text-link,.steps li p,.steps li strong){color:#bfd5b2!important}
html[data-theme=dark] :is([class*="-example"],[class*="-demo"],[class^="example-"],[class*="-visual"],[class*="mock-"],[class*="-card"],[class*="-panel"],[class*="-note"]){background-color:#213326!important;background-image:none!important;border-color:#455e3e!important;color:#c7dcb9!important}
html[data-theme=dark] :is(.example-in,.example-file){background:#2b3e2c!important;border-color:#4a6541!important;color:#deecd5!important}
html[data-theme=dark] .example-out{background:#354f30!important;border-color:#5b7c4b!important;color:#e2efd9!important}
html[data-theme=dark] .example-person>span{background:#354e30!important;color:#bed8ac!important}

/* Full-site dark contrast audit: previously light secondary surfaces. */
html[data-theme=dark] :is(.help-symptoms>a,.ig-flow-node>span,.ig-steps>li,.section.wrap.doc-section>p,aside.guide-checklist,aside.ig-notice,aside.ig-summary,caption,div.api-table-wrap,div.compare-table-scroll,div.connect-destination,div.connect-device,div.feature-scene.scene-chat,div.feature-scene.scene-connect,div.feature-scene.scene-media,div.ig-flow-node,div.ig-notice,div.tw-fields,div.workspace-window,li,span.compare-tag,span.flow-node,span.inbox-badge,span.inbox-badge.inbox-badge-ig,span.method,span.option-tag,span.scene-document,span.scene-message,span.scene-message.scene-reply,span.scene-node,span.scene-node.node-crm){background:#213326!important;border-color:#496340!important;color:#c5d9b8!important;box-shadow:none!important}
html[data-theme=dark] body :is(a,span,i,dt,dd,p,li,caption){color:#bed2b2!important}
html[data-theme=dark] :is(.chats-reveal,.chats-workflow li,.chats-statuses dl>div,.mobile-path span,.ig-summary,.ig-steps li,.doc-section>p,.doc-section li){background:#213326!important;background-image:none!important;border-color:#496340!important}
html[data-theme=dark] .skip{background:#2d492f!important;color:#e3efd8!important}
html[data-theme=dark] body .button,html[data-theme=dark] body .button span{color:#172717!important}
html[data-theme=dark] body .button-outline,html[data-theme=dark] body .button-outline span{color:#d1e5c3!important}
html[data-theme=dark] body h1 span{color:#b5d69d!important}
html[data-theme=dark] :is(.chats-status-list>div,.connect-device .device-icon,.connect-device .device-check,.connect-path span,.service-facts i,.guide-steps li>span){background:#2a412b!important;background-image:none!important;border-color:#4d6843!important;color:#d1e5c3!important}

html[data-theme=dark] :is(.steps li>span,.tw-checks article>span){background:#2a412b!important;border-color:#4d6843!important;color:#d1e5c3!important}

html[data-theme=dark] li>span{background-color:#2a412b!important;color:#d1e5c3!important}
.standalone-theme-toolbar{display:flex;justify-content:flex-end;max-width:1440px;margin:12px auto;padding:0 20px}
.standalone-theme-toolbar .public-theme-toggle{display:grid;place-items:center;width:44px;height:44px;border:1px solid #dce6d3;border-radius:12px;background:#f1f6e9;color:#66864f;cursor:pointer}
html[data-theme=dark] .public-theme-standalone :is(main,section,.metric,.stat,.filters,.pager,.table-scroll){background:#1b2b21!important;border-color:#425b3d!important;color:#d7e7cd!important}
html[data-theme=dark] .public-theme-standalone :is(input,select,textarea){background:#17271c!important;border-color:#526c46!important;color:#dcebd2!important}
html[data-theme=dark] .public-theme-standalone :is(header,.explain,#owner-audit,.owner-dialog,.audit-dialog){background:#223626!important;border-color:#496340!important;color:#c9dcbf!important;box-shadow:none!important}
html[data-theme=dark] .public-theme-standalone button{background:#304e33!important;color:#e0edd6!important;border-color:#58764b!important}
html[data-theme=dark] article>span{background:#2a412b!important;color:#d1e5c3!important;border-color:#4d6843!important}
html[data-theme=dark] .public-theme-standalone :is(#refresh,#owner-audit){background:#304e33!important;background-image:none!important;color:#e0edd6!important;border-color:#58764b!important;opacity:1!important}

/* Explicit theme preference menu, shared across public site and workspace. */
.theme-choice-menu{position:fixed;z-index:10000;padding:6px;border:1px solid #dce6d3;border-radius:15px;background:#fff;box-shadow:0 12px 38px #1f3d2c26;color:#45693b}
.theme-choice-menu[hidden]{display:none!important}
.theme-choice-menu>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;margin:0;padding:12px 13px;border:1px solid transparent;border-radius:10px;background:transparent;color:#526f45;font:inherit;font-size:13px;font-weight:500;line-height:1.5;text-align:left;cursor:pointer;box-shadow:none}
.theme-choice-menu>button:hover,.theme-choice-menu>button:focus-visible{background:#f2f7eb;outline:2px solid #91b279;outline-offset:-2px;filter:none}
.theme-choice-menu>button[aria-checked=true]{background:#edf5e5;color:#426d32}
.theme-choice-menu>button[aria-checked=true]::after{content:'✓';font-size:16px;font-weight:600}
html[data-theme=dark] .theme-choice-menu{background:#203026!important;border-color:#496140!important;color:#d9e8cf!important}
html[data-theme=dark] .theme-choice-menu>button{background:transparent!important;color:#cbdfbe!important}
html[data-theme=dark] .theme-choice-menu>button:hover,html[data-theme=dark] .theme-choice-menu>button:focus-visible,html[data-theme=dark] .theme-choice-menu>button[aria-checked=true]{background:#314a30!important;color:#e1f0d7!important}
html[data-theme-mode=auto] .theme-icon{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E")!important}

/* Animate palette changes only after an explicit/runtime theme change. */
@media(prefers-reduced-motion:no-preference){
 html.theme-transition,html.theme-transition *,html.theme-transition *::before,html.theme-transition *::after{transition-property:background-color,color,border-color,box-shadow,fill,stroke!important;transition-duration:220ms!important;transition-timing-function:ease-in-out!important;transition-delay:0s!important}
}
@media(prefers-reduced-motion:reduce){html.theme-transition,html.theme-transition *,html.theme-transition *::before,html.theme-transition *::after{transition:none!important}}
/* Disclosure/navigation states must use the same palette on every page. */
html[data-theme=dark] .header .site-menu summary,html[data-theme=dark] .header .site-menu[open] summary{background:#2b402d!important;border-color:#506c45!important;color:#d0e3c2!important;box-shadow:none!important}
html[data-theme=dark] .header .site-menu-panel{background:#1d2d22!important;background-image:none!important;border-color:#425c3c!important;box-shadow:0 18px 44px #0005!important}
html[data-theme=dark] .header .site-menu-panel .site-menu-group{background:transparent!important;border-color:#3e5738!important}
html[data-theme=dark] .header .site-menu-panel .site-menu-group p{color:#d1e4c3!important;font-size:12px}
html[data-theme=dark] .header .site-menu-panel a{color:#bfd3b1!important;border-radius:8px}
html[data-theme=dark] .header .site-menu-panel a:hover,html[data-theme=dark] .header .site-menu-panel a:focus-visible{background:#30472f!important;color:#e1efda!important}
html[data-theme=dark] .header .site-menu-panel a[aria-current=page]{background:#2c422c!important;color:#e1efda!important;box-shadow:inset 3px 0 #90b473}
html[data-theme=dark] .header .site-menu-account a{background:#30492f!important;color:#deeed3!important;border:1px solid #58774a}
html[data-theme=dark] .header>nav>a:hover,html[data-theme=dark] .header>nav>a:focus-visible{background:#30472f!important;color:#e1efda!important}
html[data-theme=dark] .header>nav{border-color:#3e5738!important}
@media(max-width:850px){.header,.comparison-page .header{flex-wrap:nowrap;gap:8px}.header>.brand{flex:1;min-width:0}.header>nav,.comparison-page .header>nav{flex:0 0 auto;order:3;width:auto;max-width:none;padding:0;margin:0;border:0}.header .public-theme-toggle{order:2;flex:0 0 44px}.header>.button{order:1}.header .site-menu-panel{top:calc(100% + 8px)}}
/* Suppress leftover long hover transitions once the palette transition ends. */
html[data-theme=dark] .header .site-menu-panel::-webkit-scrollbar{width:6px}
html[data-theme=dark] .header .site-menu-panel::-webkit-scrollbar-thumb{background:#526a47;border-radius:6px}
html[data-theme=dark] :is(.flow-node,.flow-mark,.flow-node>div,.flow-node small,.flow-top,.api-flow>div,.api-flow strong,.api-flow small){background:#243827!important;border-color:#4c6641!important;color:#c9dfba!important}
html[data-theme=dark] .doc-section strong{background-color:#2b422b!important;color:#e1efd7!important}
html[data-theme=dark] .flow-branches>div{background:#243827!important;border-color:#4c6641!important}
html[data-theme=dark] .flow-branches :is(strong,small){color:#d2e5c4!important}
html[data-theme=dark] body a.button,html[data-theme=dark] body a.button span,html[data-theme=dark] body .ig-related a.button{color:#172717!important}
html[data-theme=dark] body a.button-outline,html[data-theme=dark] body a.button-outline span{color:#d1e5c3!important}
html[data-theme=dark] body.tg-hub a.button:not(.button-outline){color:#172717!important}
html[data-theme=dark] body.tg-hub a.button-outline{color:#d1e5c3!important}
/* Light-theme audit: stronger secondary text, while retaining intentional dark callouts. */
html[data-theme=light] body :is(main p,main li,main small,main td,main caption,main dd,.footer p,.footer small,.eyebrow,.ig-label,.ig-meta,.ig-visual-note,.guide-card-number,.card-label,.option-tag,.ig-flow-line){color:#5c7150!important}
html[data-theme=light] :is(.header nav a,.site-directory-group a,.footer a,.breadcrumbs a,.guide-breadcrumbs a,.chats-breadcrumbs a,.ig-breadcrumbs a){color:#456638!important}
html[data-theme=light] :is(.api-card,.api-code,.final-cta,.guide-final,.chats-final,.tw-final,.compare-final,.ig-final){background-color:#173b2d!important}
html[data-theme=light] :is(.api-card,.api-code,.final-cta,.guide-final,.chats-final,.tw-final,.compare-final,.ig-final) :is(p,li,small,td,dd,dt,code,.eyebrow,.text-link,a:not(.button)){color:#c4daba!important}
html[data-theme=light] .api-code code{background-color:#173b2d!important}
html[data-theme=light] :is(.api-card,.final-cta,.guide-final,.chats-final,.tw-final,.compare-final,.ig-final) :is(h2,h3,strong){color:#edf5e6!important}
html[data-theme=light] :is(.connect-path span,.guide-card-number,.ig-flow-node>span,.method,.option-tag,.compare-tag,.inbox-badge){color:#4f6e3f!important}
html[data-theme=light] .public-theme-standalone :is(.metric span,.explain,#count,#status,.pager span){color:#5b704f!important}
html[data-theme=light] .public-theme-standalone #refresh{background:#34784c!important;color:#fff!important}
html[data-theme=light] :is(.ig-related p,.ig-related .eyebrow,.ig-flow-last small,.ig-flow-last>span){color:#c8ddbd!important}
html[data-theme=light] :is(.connect-scene-note,.workspace-stage figcaption,.workspace-stage figcaption span,.example-person>span){color:#5d764d!important}
/* Owner/legal pages keep a visible theme label next to the icon. */
.standalone-theme-toolbar .public-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:auto;min-width:160px;padding:10px 14px}
.standalone-theme-toolbar .public-theme-toggle .theme-label{display:block;font-size:12px;font-weight:500}

/* Dark audit: explicit pseudo-element selectors must stay outside :is(). */
html[data-theme=dark] .hero::before,html[data-theme=dark] .hero::after{opacity:.15!important}
html[data-theme=dark] #faq summary::after,html[data-theme=dark] #faq details[open] summary::after,html[data-theme=dark] .compare-faq summary::after,html[data-theme=dark] .compare-faq details[open] summary::after{background:#2b402c!important;border-color:#4d6843!important;color:#d0e4c2!important}
html[data-theme=dark] .crm-steps li::before,html[data-theme=dark] .guide-steps li::before,html[data-theme=dark] .compare-recovery li::before,html[data-theme=dark] .api-preflight li::before,html[data-theme=dark] .doc-section>h2::before,html[data-theme=dark] .tw-before li::before,html[data-theme=dark] .tw-steps li::before,html[data-theme=dark] .chats-steps li::before{background:#2a412b!important;border-color:#4d6843!important;color:#d1e5c3!important;box-shadow:none!important}
html[data-theme=dark] .two-wix-page .tw-fields tbody td::before{color:#b7d0a8!important}
html[data-theme=dark] .workspace-chrome,html[data-theme=dark] .api-window-bar,html[data-theme=dark] .api-code-top,html[data-theme=dark] .scene-typing{background:#25372a!important;background-image:none!important;border-color:#465f40!important;color:#c0d5b3!important}
html[data-theme=dark] .scene-typing i,html[data-theme=dark] .device-line{background:#79966c!important}
html[data-theme=dark] .workspace-chrome .workspace-address{color:#c2d5b5!important}
html[data-theme=dark] .workspace-chrome .chrome-dots i{background:#7e9275!important}
html[data-theme=dark] .api-card dt span{background:#304b31!important;border-color:#527247!important;color:#d0e7bf!important}
/* Owner account cards, matched phones and management feedback keep their semantics. */
html[data-theme=dark] body.public-theme-standalone .account-state{background:#2b432d!important;border-color:#4b6a42!important;color:#cae4bc!important}
html[data-theme=dark] body.public-theme-standalone .account-state.blocked{background:#433a25!important;border-color:#7a693c!important;color:#ecd79e!important}
html[data-theme=dark] body.public-theme-standalone .account-state.archived{background:#333c34!important;border-color:#566355!important;color:#c3d0bd!important}
html[data-theme=dark] .public-theme-standalone .user-channels .user-channel-item{background:#223729!important;border-color:#4a6142!important}
html[data-theme=dark] .public-theme-standalone .user-channels .user-channel-item.phone-match{background:#423a25!important;border-color:#ab8b47!important;box-shadow:none!important}
html[data-theme=dark] .public-theme-standalone .user-channel-item.phone-match-current{outline-color:#a8d18b!important}
html[data-theme=dark] body.public-theme-standalone .phone-match-label,html[data-theme=dark] body.public-theme-standalone .phone-match-navigation span{color:#ecd79e!important}
html[data-theme=dark] .public-theme-standalone .phone-match-navigation{background:#302e21!important;border-color:#927a43!important;box-shadow:0 8px 28px #0005!important}
html[data-theme=dark] .public-theme-standalone .owner-dialog label,html[data-theme=dark] .public-theme-standalone .user-channel-state,html[data-theme=dark] .public-theme-standalone .protected-owner{color:#bfd4b2!important}
html[data-theme=dark] body.public-theme-standalone .management-error{color:#f1b5ac!important}
html[data-theme=dark] .public-theme-standalone .owner-dialog::backdrop{background:#030b08b3!important}
html[data-theme=dark] .public-theme-standalone :is(input,textarea)::placeholder{color:#9eb493!important;opacity:1}
html[data-theme=dark] .public-theme-standalone .bar{background:linear-gradient(0deg,#4c7951,#9cbf7d)!important;border-color:#6e925b!important}
html[data-theme=dark] .public-theme-standalone :is(input,select,textarea){color-scheme:dark;caret-color:#dcebd2}
html[data-theme=dark] .ig-steps li::before{background:#2a412b!important;border-color:#4d6843!important;color:#d1e5c3!important}
html[data-theme=dark] #connect .steps::before,html[data-theme=dark] .tw-route ol::before{background:#496340!important}
html[data-theme=dark] .compare-table-scroll::before{background:#25392a!important;border-color:#4b6542!important;color:#c2d8b4!important}
