/* TOATRA 13.0: deterministic, high-contrast visual system.
   Explicit solid surfaces replace unreliable low-opacity gradients/legacy text-fill rules.
   Scoped to site marketing content; auth, dashboards, admin and application subdomains untouched. */
:root{--tv13-navy:#081931;--tv13-panel:#102a49;--tv13-paper:#f7fbff;--tv13-ink:#f6fbff;--tv13-secondary:#d9ebfa;--tv13-cyan:#a9f5ff;--tv13-action:#a8f2fc;--tv13-action-ink:#051d31}
html body .tv12,html body .tv12-page,html body main.tv12{background:#081931!important;color:#f6fbff!important;-webkit-text-fill-color:initial;opacity:1!important}
html body .tv12 :is(h1,h2,h3,h4,h5,h6){color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;opacity:1!important;filter:none!important;background-clip:border-box!important;-webkit-background-clip:border-box!important}
html body .tv12 :is(p,li,blockquote,figcaption,summary,label,dt,dd){color:#dcecfb!important;-webkit-text-fill-color:#dcecfb!important;opacity:1!important;text-shadow:none!important}
html body .tv12 :is(.tv12-lead,.t3-lead){color:#f1f9ff!important;-webkit-text-fill-color:#f1f9ff!important}
html body .tv12 :is(.tv12-eyebrow,.tv12-kicker,.t3-eyebrow,.t3-kicker,.tv12-card-kicker){color:#a8f4ff!important;-webkit-text-fill-color:#a8f4ff!important;opacity:1!important}
html body .tv12 :is(.tv12-bubble-label,.tv12-app-label,.tv12-preview-note,.tv12-small){color:#d8ecf9!important;-webkit-text-fill-color:#d8ecf9!important;opacity:1!important}
html body .tv12 a:not(.tv12-btn):not(.t3-button){color:#a5f3ff!important;-webkit-text-fill-color:#a5f3ff!important;opacity:1!important;text-decoration-thickness:1px;text-underline-offset:3px}
html body .tv12 :is(.tv12-request,.tv13-policy-paper) p,html body .tv12 .tv12-request .tv12-bubble-label{color:#122b45!important;-webkit-text-fill-color:#122b45!important}
/* Every primary CTA: single pale cyan surface with extremely dark lettering.
   This bypasses inherited white/transparent text-fill and iOS gradient clipping. */
html body .tv12 :is(a,button,input[type=submit]).tv12-btn.tv12-primary,
html body .tv12 :is(a,button,input[type=submit]).tv12-btn.tv12-primary:visited,
html body .tv12 :is(a,button).t3-button.t3-button-primary,
html body .tv12 :is(a,button).t3-button.t3-button-primary:visited,
html body .tv12 :is(a,button).tv12-primary,
html body .tv12 :is(a,button).tv12-primary:visited,
html body.toatra-body .toatra-site-header a.tv12-header-join {
 background:#a8f2fc!important;background-image:none!important;
 color:#061f35!important;-webkit-text-fill-color:#061f35!important;
 border:2px solid #d1faff!important;box-shadow:0 5px 20px rgba(72,177,235,.18)!important;
 text-shadow:none!important;opacity:1!important;filter:none!important;
 -webkit-background-clip:border-box!important;background-clip:border-box!important;
 font-weight:800!important;min-height:48px!important;letter-spacing:0!important;
}
html body .tv12 :is(a,button).tv12-btn.tv12-primary *,
html body .tv12 :is(a,button).t3-button.t3-button-primary *,
html body .tv12 :is(a,button).tv12-primary *,
html body .tv12 :is(a,button).tv12-btn.tv12-primary::before,
html body .tv12 :is(a,button).tv12-btn.tv12-primary::after{
 color:#061f35!important;-webkit-text-fill-color:#061f35!important;
 opacity:1!important;text-shadow:none!important;filter:none!important;
 background-image:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;
}
html body .tv12 :is(a,button).tv12-btn.tv12-secondary,
html body .tv12 :is(a,button).tv12-btn.tv12-secondary:visited{background:#143451!important;background-image:none!important;border:2px solid #82b6d5!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
html body .tv12 :is(a,button).tv12-btn.tv12-secondary *{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
html body .tv12 .tv12-btn:hover,html body .tv12 .t3-button:hover{filter:brightness(.97)!important}
/* Constrain all text blocks to their explicit dark surfaces. */
html body .tv12 :is(.tv12-trio>article,.tv12-four-grid>article,.tv12-leader-card,.tv12-contact-grid>article,.tv12-form-card,.tv12-example,.tv12-tabpanel,.tv12-panel-grid>div,.tv12-faq-item,.tv13-concept-card,.tv13-video-card,.tv13-empty-tutorials){background:#112d4c!important;background-image:none!important;border:1px solid #4d7d9d!important;color:#f6fbff!important;opacity:1!important}
html body .tv12 :is(.tv12-trio>article,.tv12-four-grid>article,.tv12-leader-card,.tv12-contact-grid>article,.tv12-form-card,.tv12-example,.tv12-tabpanel,.tv12-panel-grid>div,.tv12-faq-item,.tv13-concept-card,.tv13-video-card,.tv13-empty-tutorials) :is(h2,h3,h4){color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .tv12 :is(.tv12-trio>article,.tv12-four-grid>article,.tv12-leader-card,.tv12-contact-grid>article,.tv12-form-card,.tv12-example,.tv12-tabpanel,.tv12-panel-grid>div,.tv12-faq-item,.tv13-concept-card,.tv13-video-card,.tv13-empty-tutorials) :is(p,li,small){color:#e4f0fc!important;-webkit-text-fill-color:#e4f0fc!important}
html body .tv12 .tv12-request{background:#f0f9ff!important;background-image:none!important;border:1px solid #d3eaf7!important;color:#0b2b46!important}
html body .tv12 .tv12-request :is(span,p,strong){color:#102d49!important;-webkit-text-fill-color:#102d49!important}
html body .tv12 .tv12-fake-actions span:first-child{background:#a9eef9!important;color:#062236!important;-webkit-text-fill-color:#062236!important;border:1px solid #d6ffff!important}
html body .tv12 .tv12-fake-actions span:not(:first-child){background:#173953!important;color:#f6fbff!important;-webkit-text-fill-color:#f6fbff!important}
html body .tv12 :is(input,select,textarea){background:#fbfdff!important;color:#0b2a43!important;-webkit-text-fill-color:#0b2a43!important;opacity:1!important;border:1px solid #82a1b8!important}
html body .tv12 :is(input,textarea)::placeholder{color:#46576d!important;-webkit-text-fill-color:#46576d!important;opacity:1!important}
html body .tv12 label.tv12-checkbox,html body .tv12 label.tv12-checkbox span{color:#f0f8ff!important;-webkit-text-fill-color:#f0f8ff!important;opacity:1!important}
html body .tv12 label.tv12-checkbox input{accent-color:#a4f2fd}
/* Integration logos are black/dark SVGs in many cases. Each gets an opaque light tile. */
html body .tv12 :is(.tv12-logo-item,.t3-integration-card){background:#122c4a!important;border:1px solid #4f7591!important;color:#f7fbff!important}
html body .tv12 .tv12-logo-item>span:last-child,html body .tv12 .t3-integration-card h3{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
html body .tv12 .tv12-logo-item :is(.t3-integration-logo,.tv12-neutral-icon),
html body .tv12 .t3-brand-icon-wrap .t3-integration-logo,
html body .tv12 .t3-brand-icon-wrap .tv12-neutral-icon{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:50px!important;min-width:50px!important;height:50px!important;padding:6px!important;
 border-radius:11px!important;background:#fff!important;background-image:none!important;
 border:1px solid #c9e2f1!important;box-shadow:none!important;opacity:1!important;
 overflow:hidden!important;filter:none!important;mix-blend-mode:normal!important;
}
html body .tv12 :is(.tv12-logo-item,.t3-brand-icon-wrap) .t3-integration-logo img{
 display:block!important;width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important;
 object-fit:contain!important;opacity:1!important;filter:none!important;mix-blend-mode:normal!important;
}
html body .tv12 .tv12-neutral-icon{color:#102b43!important;-webkit-text-fill-color:#102b43!important;font-size:12px!important;font-weight:900!important}
html body .tv12 .t3-catalogue-group{background:#0d2743!important;color:#fff!important;border:1px solid #537795!important}
html body .tv12 .t3-catalogue-group summary{background:#173654!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
html body .tv12 :is(.t3-catalogue-category-name,.t3-catalogue-category-count,.t3-catalogue-chevron,.t3-result-count){color:#f4faff!important;-webkit-text-fill-color:#f4faff!important;opacity:1!important}
html body .tv12 .t3-filter-row button{color:#f0faff!important;-webkit-text-fill-color:#f0faff!important;background:#153856!important;opacity:1!important}
html body .tv12 .t3-filter-row button[aria-pressed=true]{background:#aaeffb!important;color:#06253f!important;-webkit-text-fill-color:#06253f!important}
html body .tv12 .t3-integration-card .t3-integration-card-copy{flex:1!important;min-width:0!important}
/* Sitewide header/footer and old theme pages: avoid dark text on navy, including mobile menu. */
html body.toatra-body .toatra-site-header :is(a,button,span,small,svg),
html body.toatra-body .toatra-site-footer :is(a,button,span,small,svg){opacity:1!important}
html body.toatra-body .toatra-site-header :is(nav a,nav button),
html body.toatra-body .toatra-site-footer a{color:#f0f8ff!important;-webkit-text-fill-color:#f0f8ff!important}
html body.toatra-body .toatra-site-header :is(nav svg,.toatra-menu-toggle svg){fill:currentColor!important;stroke:currentColor!important}
html body.toatra-body :is(.toatra-site-header,.toatra-site-footer) .tv12-header-join,
html body.toatra-body .toatra-site-header .tv12-header-join{color:#061f35!important;-webkit-text-fill-color:#061f35!important}
/* Prevent the admin toolbar and existing login links from being rewritten. */
html body .tv12 :is(a,button,input,summary):focus-visible{outline:3px solid #b7f8ff!important;outline-offset:3px!important}
/* Policy contents are presented on a single white sheet. Embedded legacy backgrounds/text
   are normalized so old CSS cannot make legal paragraphs disappear. */
html body .tv12 .tv13-policy-paper{background:#f7fbff!important;background-image:none!important;border:1px solid #bed5e7!important;border-radius:16px!important;padding:clamp(20px,4.5vw,52px)!important;margin:20px 0 32px!important;color:#122b43!important;box-shadow:0 8px 25px rgba(2,13,29,.16)}
html body .tv12 .tv13-policy-paper *:not(img):not(svg):not(iframe):not(video){background:transparent!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important;color:#122b43!important;-webkit-text-fill-color:#122b43!important;opacity:1!important;filter:none!important}
html body .tv12 .tv13-policy-paper :is(h1,h2,h3,h4,h5){color:#0b2947!important;-webkit-text-fill-color:#0b2947!important;max-width:none!important;line-height:1.3!important;margin:1.4em 0 .5em!important}
html body .tv12 .tv13-policy-paper h2{font-size:1.6rem!important}
html body .tv12 .tv13-policy-paper :is(p,ul,ol,blockquote){margin:0 0 1.1em!important;line-height:1.75!important}
html body .tv12 .tv13-policy-paper :is(ul,ol){padding-left:1.6em!important}
html body .tv12 .tv13-policy-paper a{color:#074e86!important;-webkit-text-fill-color:#074e86!important;text-decoration:underline!important}
html body .tv12 .tv13-policy-paper :is(strong,b){color:#082a46!important;-webkit-text-fill-color:#082a46!important}
html body .tv12 .tv13-policy-paper :is(img,iframe){max-width:100%;height:auto}
html body .tv12 .tv13-legal-note{padding-bottom:35px!important}
/* Supplementary About/Tutorial pages, with explicit readable surfaces. */
html body .tv12 .tv13-about-intro{border-top:none!important}
html body .tv12 .tv13-about-intro p{margin:0 0 15px!important}
html body .tv12 .tv13-concept-card{padding:26px;border-radius:16px;min-width:0}
html body .tv12 .tv13-concept-card .tv13-label{font-weight:800!important;color:#b4effb!important;-webkit-text-fill-color:#b4effb!important;margin:20px 0 7px!important}
html body .tv12 .tv13-concept-card blockquote{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .tv12 .tv13-concept-card ul{padding-left:22px;margin:11px 0 15px}
html body .tv12 .tv13-empty-tutorials{text-align:center;border-style:dashed!important;border-width:2px!important;padding:clamp(26px,6vw,60px);margin:25px 0 30px;border-radius:18px}
html body .tv12 .tv13-empty-tutorials h3{margin-bottom:13px}
html body .tv12 .tv13-empty-tutorials p{max-width:60ch;margin:auto}
html body .tv12 .tv13-empty-icon{display:inline-grid;place-items:center;width:62px;height:62px;background:#b1f4ff!important;border-radius:50%;color:#072139!important;-webkit-text-fill-color:#072139!important;font-size:1.7rem;margin-bottom:21px}
html body .tv12 .tv13-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:28px}
html body .tv12 .tv13-video-card{border-radius:15px;overflow:hidden;min-width:0}
html body .tv12 .tv13-video-media{aspect-ratio:16/9;background:#06162a!important;display:flex;align-items:center;justify-content:center;color:#e8f5ff;padding:10px}
html body .tv12 .tv13-video-media iframe{width:100%;height:100%;border:0;aspect-ratio:16/9}
html body .tv12 .tv13-video-pending{color:#effaff!important;-webkit-text-fill-color:#effaff!important}
html body .tv12 .tv13-video-body{padding:21px}
html body .tv12 .tv13-video-body h3{margin-bottom:10px}
html body .tv12 .tv13-video-body a{display:inline-block;margin-top:12px;color:#adf6ff!important;-webkit-text-fill-color:#adf6ff!important}
html body .tv12 .tv13-tutorial-teaser{background:#0d2746!important}
html body .tv12 .tv13-related-link{margin:28px 0 45px}
/* Prevent old Product demo double rendering and brittle "legacy" text visually reappearing. */
html body .tv12 .tv12-legacy{display:none!important}
/* Mobile: readable text and full-width actions without horizontal spill. */
@media(max-width:800px){
 html body .tv12 .tv13-video-grid{grid-template-columns:1fr}
 html body .tv12 .tv13-about-intro .tv12-two-col{grid-template-columns:1fr;gap:24px}
 html body .tv12 :is(.tv12-container,.t3-container){min-width:0!important;max-width:100%!important}
 html body .tv12 :is(.tv12-page-hero,.tv12-section,.t3-section){overflow-wrap:break-word}
}
@media(max-width:480px){
 html body .tv12 .tv12-page-hero h1{font-size:clamp(31px,7.8vw,38px)!important;line-height:1.12!important;max-width:none!important}
 html body .tv12 .tv12-page-hero{padding:39px 0 30px!important}
 html body .tv12 .tv12-logo-item :is(.t3-integration-logo,.tv12-neutral-icon),html body .tv12 .t3-brand-icon-wrap .t3-integration-logo{min-width:44px!important;width:44px!important;height:44px!important}
 html body .tv12 .tv12-logo-item .t3-integration-logo img{max-height:31px!important;max-width:31px!important}
 html body .tv12 .tv12-btn.tv12-primary{width:100%!important;font-size:16px!important;text-align:center!important;padding:14px 18px!important}
 html body .tv12 .tv12-cta-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 html body .tv12 :is(.tv12-trio,.tv12-four-grid){grid-template-columns:1fr!important}
}
/* Supplementary pages and future single-video view. */
html body .tv12 .tv13-video-single-frame{max-width:1000px;min-height:240px;border:1px solid #537993;border-radius:14px;overflow:hidden}
html body .tv12 .tv13-tutorial-description{max-width:76ch;margin:24px 0;color:#e0edf9}
html body .tv12 .tv13-tutorial-description p{margin-bottom:1em}
html body .tv12 .tv13-resources .tv12-trio article .tv12-link{display:inline-block;margin-top:16px}
html body.toatra-body .toatra-site-footer :is(svg,path,use){fill:currentColor!important;stroke:currentColor!important;opacity:1!important}
/* Known legacy page sections not routed through a replacement template. */
html body.toatra-body :is(.toatra-upgrade-content,.toatra-v6-product-intro,.toatra-help-callout,.toatra-v3:not(.tv12)) :is(h1,h2,h3,h4,h5,h6){color:#f5fbff!important;-webkit-text-fill-color:#f5fbff!important;opacity:1!important}
html body.toatra-body :is(.toatra-upgrade-content,.toatra-v6-product-intro,.toatra-help-callout,.toatra-v3:not(.tv12)) :is(p,li,small,summary){color:#dfedfa!important;-webkit-text-fill-color:#dfedfa!important;opacity:1!important}
/* The legacy theme's own top-navigation early-access button must also pass contrast. */
html body.toatra-body .toatra-site-header a[href*="early-access"],
html body.toatra-body .toatra-site-header a[href*="#early-access"],
html body.toatra-body .toatra-site-header a[href*="waitlist"] {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:44px!important;padding:8px 13px!important;border-radius:9px!important;
 background:#a8f2fc!important;background-image:none!important;
 color:#061f35!important;-webkit-text-fill-color:#061f35!important;opacity:1!important;
 font-weight:800!important;text-decoration:none!important;text-shadow:none!important;
 -webkit-background-clip:border-box!important;background-clip:border-box!important;
}
html body.toatra-body .toatra-site-header a[href*="early-access"] *,
html body.toatra-body .toatra-site-header a[href*="#early-access"] *,
html body.toatra-body .toatra-site-header a[href*="waitlist"] *{color:#061f35!important;-webkit-text-fill-color:#061f35!important;opacity:1!important}
