@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Application themes are color-only. Never add layout, sizing, spacing, positioning, typography, display, grid, flex, or responsive rules here. */
body[data-theme="pinnacle-developer"] {
  --app-primary:#091827;--app-primary-strong:#071421;--app-accent:#ff5b27;--app-surface:#f6f3ee;--app-surface-soft:#f6f3ee;--app-surface-raised:#fff;--app-text:#182536;--app-muted:#687279;--app-border:#cdd1d3;--app-hero:#142032;--app-on-dark:#fff;--app-on-dark-muted:#bec6d0;--app-accent-soft:#fff0ea;
}
body[data-theme="classic-indigo"] {
  --app-primary:#3f51b5;--app-primary-strong:#303f9f;--app-accent:#3f51b5;--app-surface:#fffbfe;--app-surface-soft:#f1ecf4;--app-surface-raised:#fff;--app-text:#1c1b1f;--app-muted:#49454f;--app-border:#cac4d0;--app-hero:#3f51b5;--app-on-dark:#fff;--app-on-dark-muted:#e8eaf6;--app-accent-soft:#e8eaf6;
}

/* Shared documentation/Admin and standalone landing-page aliases. */
body[data-theme] {
  --md-primary:var(--app-primary);--md-primary-dark:var(--app-primary-strong);--md-primary-light:var(--app-accent-soft);--md-primary-container:var(--app-accent-soft);--md-on-primary-container:var(--app-primary);--md-secondary:var(--app-accent);--md-secondary-container:color-mix(in srgb,var(--app-accent) 16%,var(--app-surface-raised));--md-on-secondary-container:var(--app-primary);--md-surface:var(--app-surface-raised);--md-surface-1:var(--app-surface-soft);--md-surface-2:color-mix(in srgb,var(--app-surface) 88%,var(--app-primary));--md-surface-container:var(--app-surface-soft);--md-on-surface:var(--app-text);--md-on-surface-variant:var(--app-muted);--md-outline:color-mix(in srgb,var(--app-text) 55%,var(--app-surface));--md-outline-variant:var(--app-border);--md-error:var(--app-accent);--md-error-container:color-mix(in srgb,var(--app-accent) 14%,var(--app-surface-raised));--md-on-error-container:var(--app-primary-strong);--md-shadow-1:0 2px 8px color-mix(in srgb,var(--app-primary) 12%,transparent);--md-shadow-2:0 8px 24px color-mix(in srgb,var(--app-primary) 16%,transparent);--md-elevation-1:var(--md-shadow-1);
  --ink:var(--app-text);--muted:var(--app-muted);--line:var(--app-border);--paper:var(--app-surface-soft);--card:var(--app-surface-raised);--dark:var(--app-primary);
  --blue:var(--app-accent);--navy:var(--app-primary);--green:var(--app-accent);--pale:var(--app-surface-soft);--text:var(--app-text);
  --mui-primary:var(--app-primary);--mui-primary-dark:var(--app-primary-strong);--mui-bg:var(--app-surface-soft);--mui-paper:var(--app-surface-raised);--mui-text:var(--app-text);--mui-muted:var(--app-muted);--mui-divider:var(--app-border);
  background-color:var(--app-surface-soft);color:var(--app-text);
}

/* Organisation authentication: all component colors derive from theme tokens. */
body[data-theme].organisation-auth-page{background:var(--app-surface-soft);color:var(--app-text)}
body[data-theme].organisation-auth-page .auth-nav{background:var(--app-surface-raised);border-color:var(--app-border)}
body[data-theme].organisation-auth-page .auth-brand>span{background:var(--app-border)}
body[data-theme].organisation-auth-page .auth-nav a{color:var(--app-text)}
body[data-theme].organisation-auth-page .auth-nav nav a:hover{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme].organisation-auth-page .auth-kicker,body[data-theme].organisation-auth-page .auth-intro li span{color:var(--app-accent)}
body[data-theme].organisation-auth-page .auth-intro>p,body[data-theme].organisation-auth-page .auth-card-heading p,body[data-theme].organisation-auth-page .auth-form label>small,body[data-theme].organisation-auth-page .account-details dt{color:var(--app-muted)}
body[data-theme].organisation-auth-page .auth-card{background:var(--app-surface-raised);border-color:var(--app-border);box-shadow:0 18px 55px color-mix(in srgb,var(--app-primary) 13%,transparent)}
body[data-theme].organisation-auth-page .auth-card-heading>span{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme].organisation-auth-page .auth-form input{background:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-text)}
body[data-theme].organisation-auth-page .auth-form input:focus{border-color:var(--app-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--app-accent) 14%,transparent)}
body[data-theme].organisation-auth-page .auth-form input::placeholder{color:var(--app-muted)}
body[data-theme].organisation-auth-page .password-field button{background:var(--app-surface-soft);color:var(--app-primary)}
body[data-theme].organisation-auth-page :is(.auth-form-links a,.auth-switch a){color:var(--app-primary)}
body[data-theme].organisation-auth-page .auth-submit{background:var(--app-accent);border-color:var(--app-accent);color:var(--app-on-dark)}
body[data-theme].organisation-auth-page .auth-submit:hover{background:var(--app-primary);border-color:var(--app-primary)}
body[data-theme].organisation-auth-page .auth-register-prompt{background:var(--app-surface-soft);border-color:var(--app-border)}
body[data-theme].organisation-auth-page .auth-register-icon{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme].organisation-auth-page .auth-register-copy small{color:var(--app-muted)}
body[data-theme].organisation-auth-page .auth-register-prompt>a{background:var(--app-surface-raised);border-color:var(--app-accent);color:var(--app-primary)}
body[data-theme].organisation-auth-page .auth-register-prompt>a:hover{background:var(--app-accent);color:var(--app-on-dark);box-shadow:0 7px 18px color-mix(in srgb,var(--app-accent) 24%,transparent)}
body[data-theme].organisation-auth-page .auth-submit.secondary{background:var(--app-primary);border-color:var(--app-primary)}
body[data-theme].organisation-auth-page .auth-message.error{background:color-mix(in srgb,var(--app-accent) 12%,var(--app-surface-raised));border-color:var(--app-accent);color:var(--app-primary-strong)}
body[data-theme].organisation-auth-page .auth-message.notice,body[data-theme].organisation-auth-page .auth-dev-code{background:var(--app-accent-soft);border-color:var(--app-accent);color:var(--app-primary)}
body[data-theme].organisation-auth-page .account-details>div{border-color:var(--app-border)}

/* Logo-safe light navigation for documentation, Admin, contact, and landing pages. */
body[data-theme] .topbar,body[data-theme] .lp-nav,body[data-theme] .m2-nav{background:color-mix(in srgb,var(--app-surface-raised) 96%,transparent)!important;border-color:var(--app-border)!important;color:var(--app-text)!important}
body[data-theme] .topbar a,body[data-theme] .topbar strong,body[data-theme] .lp-nav nav a,body[data-theme] .m2-nav nav a{color:var(--app-text)!important}
body[data-theme] .lp-nav nav,body[data-theme] .m2-nav nav{background:var(--app-surface-soft)!important;border-color:var(--app-border)!important}
body[data-theme] .lp-nav nav a.active,body[data-theme] .m2-nav nav a.active{background:var(--app-primary)!important;color:var(--app-on-dark)!important}
body[data-theme] .lp-nav nav a:hover,body[data-theme] .m2-nav nav a:hover{background:var(--app-accent-soft)!important;color:var(--app-primary)!important}
body[data-theme] .lp-nav nav a.active:hover,body[data-theme] .m2-nav nav a.active:hover{background:var(--app-accent)!important;color:var(--app-on-dark)!important}
body[data-theme] .lp-brand-divider,body[data-theme] .m2-brand-divider,body[data-theme] .brand-divider{background:var(--app-border)!important;border-color:var(--app-border)!important}
body[data-theme] .lp-cta,body[data-theme] .m2-talk{background:var(--app-accent)!important;border-color:var(--app-accent)!important;color:var(--app-on-dark)!important}
body[data-theme] .topbar input{background:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-text)}body[data-theme] .topbar input::placeholder{color:var(--app-muted)}
body[data-theme] .topbar-right>nav>a{background:var(--app-accent)!important;border-color:var(--app-accent)!important;color:var(--app-on-dark)!important}
body[data-theme] .topbar-signed-in{background:var(--app-surface-raised)!important;border-color:var(--app-border)!important;color:var(--app-text)!important}

/* Dedicated Administration navbar controls. */
body[data-theme] .admin-topbar .topbar-signed-in{border-color:var(--app-primary)!important;background:var(--app-accent-soft)!important;color:var(--app-primary)!important;box-shadow:none;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
body[data-theme] .admin-topbar .topbar-signed-in>.material-symbols-rounded{background:var(--app-primary)!important;color:var(--app-on-dark)!important;line-height:1}
body[data-theme] .admin-topbar .topbar-signed-in strong{color:var(--app-primary)!important}
body[data-theme] .admin-topbar .topbar-signed-in small{color:var(--app-muted)!important}
body[data-theme] .admin-topbar .topbar-signed-in:hover{border-color:var(--app-primary-strong)!important;background:var(--app-surface-raised)!important;box-shadow:0 5px 14px color-mix(in srgb,var(--app-primary) 20%,transparent);transform:translateY(-1px)}
body[data-theme] .admin-topbar .topbar-signed-in:focus-visible{outline:3px solid color-mix(in srgb,var(--app-accent) 42%,transparent);outline-offset:2px}
body[data-theme] .admin-topbar .topbar-account-actions .button{border:1px solid var(--app-primary)!important;background:var(--app-accent-soft)!important;color:var(--app-primary)!important;box-shadow:none;font-weight:700;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
body[data-theme] .admin-topbar .topbar-account-actions .button:hover{border-color:var(--app-primary)!important;background:var(--app-primary)!important;color:var(--app-on-dark)!important;box-shadow:0 5px 14px color-mix(in srgb,var(--app-primary) 24%,transparent);transform:translateY(-1px)}
body[data-theme] .admin-topbar .topbar-account-actions form .button{border-color:var(--app-primary)!important;background:var(--app-primary)!important;color:var(--app-on-dark)!important}
body[data-theme] .admin-topbar .topbar-account-actions form .button:hover{border-color:var(--app-primary-strong)!important;background:var(--app-primary-strong)!important;color:var(--app-on-dark)!important}
body[data-theme] .admin-topbar .topbar-account-actions .button .material-symbols-rounded{color:inherit;line-height:1}
body[data-theme] .admin-topbar .topbar-account-actions .button:focus-visible{outline:3px solid color-mix(in srgb,var(--app-accent) 42%,transparent);outline-offset:2px}

/* White-logo legacy navbar. */
body[data-theme] .nav-shell{background:var(--app-primary-strong);color:var(--app-on-dark)}body[data-theme] .nav-shell a{color:var(--app-on-dark)}body[data-theme] .nav-shell nav{color:var(--app-on-dark-muted)}body[data-theme] .nav-cta{border-color:color-mix(in srgb,var(--app-on-dark) 28%,transparent)}

/* Home page colors only. Layout remains exclusively in mock3.css. */
body[data-theme] .d-nav,body[data-theme] .d-footer{background:var(--app-primary-strong);color:var(--app-on-dark)}
body[data-theme] .d-nav a,body[data-theme] .d-footer a{color:var(--app-on-dark)}
body[data-theme] .d-brand span{color:color-mix(in srgb,var(--app-on-dark) 88%,transparent);border-color:color-mix(in srgb,var(--app-on-dark) 25%,transparent)}
body[data-theme] .d-nav .create{background:var(--app-accent);border-color:var(--app-accent);color:var(--app-on-dark)}body[data-theme] .d-nav .login{border-color:color-mix(in srgb,var(--app-on-dark) 28%,transparent)}
body[data-theme] .d-hero,body[data-theme] .d-platform{background-color:var(--app-hero);color:var(--app-on-dark)}
body[data-theme] .d-hero h1,body[data-theme] .d-platform h2{color:var(--app-on-dark)}
body[data-theme] .d-hero h1 em,body[data-theme] .section-head h2 em,body[data-theme] .d-platform h2 em,body[data-theme] .dev-cards article>i,body[data-theme] .dev-cards code{color:var(--app-accent)}
body[data-theme] .d-hero-copy>p,body[data-theme] .platform-copy p{color:var(--app-on-dark-muted)}body[data-theme] .terminal-label,body[data-theme] .runtime{color:color-mix(in srgb,var(--app-on-dark) 58%,transparent)}body[data-theme] .runtime b,body[data-theme] .arrow-link{color:var(--app-on-dark)}
body[data-theme] .orange-btn,body[data-theme] .api-symbol,body[data-theme] .arrow-link b{background:var(--app-accent);color:var(--app-on-dark)}
body[data-theme] .d-apis,body[data-theme] .d-capabilities{background:var(--app-surface);color:var(--app-text)}body[data-theme] .api-row,body[data-theme] .dev-cards article{border-color:var(--app-border)}body[data-theme] .api-row:hover,body[data-theme] .dev-cards article{background:var(--app-surface-raised)}body[data-theme] .api-row p,body[data-theme] .section-head p,body[data-theme] .dev-cards p{color:var(--app-muted)}

/* Landing-page colors without structural overrides. */
body[data-theme] .sub-hero,body[data-theme] .guide-hero,body[data-theme] .m2-hero{background-color:var(--app-surface-soft)!important;color:var(--app-text)}
body[data-theme] .hub-products,body[data-theme] .tool-section,body[data-theme] .m2-platform,body[data-theme] .m2-capabilities,body[data-theme] .destination-section{background-color:var(--app-surface)!important;color:var(--app-text)}
body[data-theme] .hub-product,body[data-theme] .tool-grid article,body[data-theme] .channel,body[data-theme] .cap-card,body[data-theme] .destination-card,body[data-theme] .guide-toolbar{background-color:var(--app-surface-raised)!important;border-color:var(--app-border)!important;color:var(--app-text)}
body[data-theme] .sub-hero h1 em,body[data-theme] .sub-heading h2 em,body[data-theme] .guide-hero h1 em,body[data-theme] .m2-copy h1 em,body[data-theme] .m2-heading h2 em,body[data-theme] .platform-copy h2 em,body[data-theme] .cap-heading h2 em{color:var(--app-accent)}
body[data-theme] .hero-links a:first-child,body[data-theme] .m2-btn.primary,body[data-theme] .m2-btn.dark{background:var(--app-primary)!important;border-color:var(--app-primary)!important;color:var(--app-on-dark)!important}
body[data-theme] .hub-flow,body[data-theme] .m2-results,body[data-theme] .m2-cta{background:var(--app-primary)!important;color:var(--app-on-dark)}body[data-theme] .lp-footer,body[data-theme] .m2-footer{background:var(--app-primary-strong)!important;color:var(--app-on-dark)}

/* API Reference homepage: every color is derived from the selected application theme. */
body[data-theme].api-reference-page{
  --reference-code-bg:var(--app-primary-strong);
  --reference-shadow:color-mix(in srgb,var(--app-primary) 14%,transparent);
  --reference-soft-accent:color-mix(in srgb,var(--app-accent) 12%,var(--app-surface-raised));
  background:var(--app-surface-soft);
}
body[data-theme].api-reference-page main{background:var(--app-surface-soft);color:var(--app-text)}
body[data-theme].api-reference-page .sub-hero{background:var(--app-surface-soft)!important;color:var(--app-text)}
body[data-theme].api-reference-page :is(.sub-hero>div:first-child>span,.sub-heading>span){background:var(--app-accent-soft);color:var(--app-primary-strong)}
body[data-theme].api-reference-page :is(.sub-hero h1,.sub-heading h2,.hub-product h3,.tool-grid h3){color:var(--app-text)}
body[data-theme].api-reference-page :is(.sub-hero h1 em,.sub-heading h2 em){color:var(--app-accent)}
body[data-theme].api-reference-page :is(.sub-hero p,.sub-heading p,.hub-product p,.hub-product ul,.tool-grid p){color:var(--app-muted)}
body[data-theme].api-reference-page .hero-links a{background:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-primary)}
body[data-theme].api-reference-page .hero-links a:first-child{background:var(--app-primary);border-color:var(--app-primary);color:var(--app-on-dark);box-shadow:0 4px 12px var(--reference-shadow)}
body[data-theme].api-reference-page .hero-links a:hover{border-color:var(--app-accent);box-shadow:0 8px 24px var(--reference-shadow)}
body[data-theme].api-reference-page .hub-console{background:var(--reference-code-bg);border-color:color-mix(in srgb,var(--app-on-dark) 18%,var(--reference-code-bg));box-shadow:0 18px 42px var(--reference-shadow)}
body[data-theme].api-reference-page .hub-console>div{background:var(--reference-code-bg);border-color:color-mix(in srgb,var(--app-on-dark) 18%,transparent);color:var(--app-on-dark-muted)}
body[data-theme].api-reference-page .hub-console i{background:var(--app-accent)}
body[data-theme].api-reference-page .hub-console i:nth-child(2){background:color-mix(in srgb,var(--app-accent) 62%,var(--app-on-dark))}
body[data-theme].api-reference-page .hub-console i:nth-child(3){background:color-mix(in srgb,var(--app-accent) 78%,var(--app-on-dark))}
body[data-theme].api-reference-page .hub-console pre{color:var(--app-on-dark-muted)}
body[data-theme].api-reference-page .hub-console code span{color:var(--app-accent)}
body[data-theme].api-reference-page .hub-console code em{color:color-mix(in srgb,var(--app-accent) 58%,var(--app-on-dark));font-style:normal}
body[data-theme].api-reference-page .hub-stats{background:var(--app-surface-raised)}
body[data-theme].api-reference-page .hub-stats div{background:var(--app-surface-raised);border-color:var(--app-border);border-left-color:var(--app-accent);box-shadow:0 2px 8px var(--reference-shadow)}
body[data-theme].api-reference-page .hub-stats b{color:var(--app-primary)}
body[data-theme].api-reference-page .hub-stats span{color:var(--app-muted)}
body[data-theme].api-reference-page :is(.hub-products,.tool-section){background:var(--app-surface-soft)!important}
body[data-theme].api-reference-page .hub-product{background:var(--app-surface-raised)!important;border-color:var(--app-border)!important;border-top-color:var(--app-accent)!important;box-shadow:0 2px 8px var(--reference-shadow)}
body[data-theme].api-reference-page .hub-product::before{display:none}
body[data-theme].api-reference-page .hub-product:hover{border-color:var(--app-accent)!important;box-shadow:0 16px 40px var(--reference-shadow)}
body[data-theme].api-reference-page .hub-card-icon,body[data-theme].api-reference-page :is(.sms-icon,.rcs-icon,.wa-icon){background:var(--app-accent);color:var(--app-on-dark);box-shadow:0 8px 20px var(--reference-shadow)}
body[data-theme].api-reference-page .hub-product:hover .hub-card-icon{box-shadow:0 15px 28px color-mix(in srgb,var(--app-accent) 24%,transparent)}
body[data-theme].api-reference-page :is(.hub-product>div,.hub-product footer){color:var(--app-muted)}
body[data-theme].api-reference-page :is(.hub-product>div b,.hub-product li::before,.hub-product footer,.hub-product footer strong){color:var(--app-primary)}
body[data-theme].api-reference-page .hub-product footer{background:var(--app-surface-soft);border-color:var(--app-border)}
body[data-theme].api-reference-page .hub-product footer strong{background:var(--app-accent-soft)}
body[data-theme].api-reference-page .hub-product:hover footer{background:var(--app-accent-soft)}
body[data-theme].api-reference-page .tool-grid{background:transparent;border-color:var(--app-border)}
body[data-theme].api-reference-page .tool-grid article{background:var(--app-surface-raised)!important;border-color:var(--app-border)!important;box-shadow:0 2px 8px var(--reference-shadow)}
body[data-theme].api-reference-page .tool-grid article:hover{transform:none;box-shadow:0 2px 8px var(--reference-shadow)}
body[data-theme].api-reference-page .tool-grid article>i,body[data-theme].api-reference-page .tool-grid article:nth-child(2n)>i{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme].api-reference-page .tool-grid article::after{display:none}
body[data-theme].api-reference-page .hub-flow{background:var(--app-surface-soft)!important;color:var(--app-text)}
body[data-theme].api-reference-page .hub-flow span{background:var(--app-accent-soft);border-color:var(--app-border);color:var(--app-primary)}
body[data-theme].api-reference-page .workflow-steps li{background:var(--app-surface-raised);border-color:var(--app-border);backdrop-filter:none}
body[data-theme].api-reference-page .workflow-steps b{background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme].api-reference-page .workflow-steps strong{color:var(--app-text)}
body[data-theme].api-reference-page .workflow-steps small{color:var(--app-muted)}
body[data-theme].api-reference-page .lp-footer{background:var(--app-primary-strong)!important;border-color:color-mix(in srgb,var(--app-on-dark) 10%,transparent);color:var(--app-on-dark)}
body[data-theme].api-reference-page .lp-footer :is(p,small){color:var(--app-on-dark-muted)}
body[data-theme].api-reference-page .lp-footer small{border-color:color-mix(in srgb,var(--app-on-dark) 18%,transparent)}

/* Channel documentation pages (SMS, RCS, WhatsApp) use the selected palette. */
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)){background:var(--app-surface-soft)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .breadcrumb-current{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-hero{border-color:var(--app-border);background:linear-gradient(135deg,var(--app-surface-raised) 0%,var(--app-surface-soft) 62%,color-mix(in srgb,var(--app-surface-soft) 82%,var(--app-accent)) 100%)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-hero::after{background:color-mix(in srgb,var(--app-accent) 10%,transparent)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-hero-icon{background:linear-gradient(135deg,var(--app-primary),var(--app-accent));color:var(--app-on-dark)}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-hero-icon:is(.sms,.rcs){background:var(--app-accent);color:var(--app-on-dark)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-hero h1,body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-description h2,body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-capabilities h3{color:var(--app-text)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-hero-main .eyebrow{color:var(--app-accent)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-hero-main p,body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-description .markdown{color:var(--app-muted)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-overview-card,body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-information,body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-versions-section,body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-version-card{border-color:var(--app-border);background:var(--app-surface-raised)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-overview-metrics,body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-base-url>div{border-color:var(--app-border);background:var(--app-surface-soft)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-overview-metrics strong{color:var(--app-primary)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-capabilities{border-color:var(--app-border);background:var(--app-accent-soft)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-capabilities>div{border-color:var(--app-border)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-capabilities>div>.material-symbols-rounded{background:var(--app-surface-raised);color:var(--app-primary)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-version-card{border-top-color:var(--app-primary)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-version-action{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .global-search button,body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs)) .product-base-url button{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.product-hero-icon:is(.sms,.whatsapp,.rcs))>footer{background:var(--app-primary-strong);border-color:var(--app-primary-strong);color:var(--app-on-dark-muted)}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-hero,body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-overview-card,body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-versions-section,body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-information,body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-version-card{box-shadow:0 8px 24px color-mix(in srgb,var(--app-primary) 10%,transparent)}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .badge.active{background:var(--app-accent-soft);color:var(--app-primary);border-color:color-mix(in srgb,var(--app-primary) 28%,var(--app-border))}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .global-search{background:var(--app-surface-soft);border-color:var(--app-border)}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .global-search:focus-within{background:var(--app-surface-raised);border-color:var(--app-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--app-accent) 14%,transparent)}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .global-search button:hover,body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-base-url button:hover,body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-base-url button.copied{background:var(--app-accent);color:var(--app-on-dark)}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .topbar-signed-in:hover{border-color:var(--app-accent);box-shadow:0 4px 14px color-mix(in srgb,var(--app-primary) 12%,transparent)}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .breadcrumb-home{color:var(--app-primary)}body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .breadcrumb-home:hover{color:var(--app-accent)}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .overview-label,body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-version-head>.material-symbols-rounded,body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-version-details .material-symbols-rounded{color:var(--app-primary)}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs)) .product-version-card:hover{border-color:var(--app-accent);box-shadow:0 12px 28px color-mix(in srgb,var(--app-accent) 16%,transparent)}
body[data-theme]:has(.product-hero-icon:is(.sms,.rcs))>footer a{color:var(--app-on-dark)}body[data-theme]:has(.product-hero-icon:is(.sms,.rcs))>footer a:hover{color:var(--app-accent)}

/* SMS page: strict semantic palette for every remaining component and state. */
body[data-theme]:has(.product-hero-icon.sms) :is(.breadcrumbs,.breadcrumb-separator,.product-overview-card,.product-base-url>span,.product-overview-metrics span,.section-title p,.product-version-title>span,.product-version-details,.product-capabilities small){color:var(--app-muted)}
body[data-theme]:has(.product-hero-icon.sms) :is(.product-overview-card,.product-information,.product-versions-section,.product-version-card,.product-empty){border-color:var(--app-border);background:var(--app-surface-raised)}
body[data-theme]:has(.product-hero-icon.sms) :is(.product-overview-metrics,.product-base-url>div){border-color:var(--app-border);background:var(--app-surface-soft)}
body[data-theme]:has(.product-hero-icon.sms) .product-overview-metrics>div+div{border-color:var(--app-border)}
body[data-theme]:has(.product-hero-icon.sms) .product-base-url code{color:var(--app-text)}
body[data-theme]:has(.product-hero-icon.sms) .product-compare-link{border-color:var(--app-border);color:var(--app-primary)}
body[data-theme]:has(.product-hero-icon.sms) .product-compare-link:hover{border-color:var(--app-accent);background:var(--app-accent-soft)}
body[data-theme]:has(.product-hero-icon.sms) .product-compare-link>.material-symbols-rounded:first-child{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.product-hero-icon.sms) .product-compare-link strong,body[data-theme]:has(.product-hero-icon.sms) .product-version-details strong{color:var(--app-text)}
body[data-theme]:has(.product-hero-icon.sms) .product-compare-link small{color:var(--app-muted)}
body[data-theme]:has(.product-hero-icon.sms) .badge{border-color:var(--app-border);background:var(--app-surface-soft);color:var(--app-muted)}
body[data-theme]:has(.product-hero-icon.sms) .badge.active{background:var(--app-accent-soft);color:var(--app-primary);border-color:color-mix(in srgb,var(--app-primary) 28%,var(--app-border))}
body[data-theme]:has(.product-hero-icon.sms) .badge.beta{background:color-mix(in srgb,var(--app-primary) 12%,var(--app-surface-raised));color:var(--app-primary)}
body[data-theme]:has(.product-hero-icon.sms) .badge.deprecated{background:color-mix(in srgb,var(--app-accent) 18%,var(--app-surface-raised));color:var(--app-primary-strong)}
body[data-theme]:has(.product-hero-icon.sms) .badge.obsolete{background:var(--app-surface-soft);color:var(--app-muted)}
body[data-theme]:has(.product-hero-icon.sms) .version-date-warning,body[data-theme]:has(.product-hero-icon.sms) .version-date-warning .material-symbols-rounded{color:var(--app-accent)}
body[data-theme]:has(.product-hero-icon.sms) .product-empty>.material-symbols-rounded{color:var(--app-primary)}

/* SMS, RCS, and WhatsApp version directories: colors and states come only from application theme tokens. */
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)){background:var(--app-surface-soft);color:var(--app-text)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .version-page:is(.version-whatsapp,.version-sms,.version-rcs){background:linear-gradient(180deg,var(--app-surface-soft),color-mix(in srgb,var(--app-surface) 88%,var(--app-accent-soft)));color:var(--app-text)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .breadcrumbs a{color:var(--app-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .breadcrumbs a:hover{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .breadcrumb-home>.material-symbols-rounded{display:grid;place-items:center;width:24px;height:24px;padding:0;border-radius:7px;background:var(--app-primary);color:var(--app-on-dark);font-size:16px;line-height:1;text-align:center}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .breadcrumb-separator{color:var(--app-border)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .breadcrumb-current{background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-directory-head{border-color:var(--app-border);background:var(--app-surface-raised);box-shadow:0 8px 24px color-mix(in srgb,var(--app-primary) 10%,transparent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-directory-head::after{display:none}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-directory-head h1{color:var(--app-text)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-directory-head h1 span,body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .eyebrow{color:var(--app-accent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-directory-head p{color:var(--app-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-reference-stats>div{grid-template-columns:36px auto;border-color:var(--app-primary);background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-reference-stats .material-symbols-rounded{display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:10px;background:var(--app-on-dark);color:var(--app-primary);font-size:20px;line-height:1;text-align:center}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-reference-stats strong{color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-reference-stats small{color:var(--app-on-dark-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .badge{border-color:var(--app-primary);background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .badge.active{background:var(--app-primary);color:var(--app-on-dark);border-color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .badge.beta,body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .badge.deprecated,body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .badge.obsolete{background:var(--app-primary);color:var(--app-on-dark);border-color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) :is(.openapi-button,.version-notes,.category-nav a,.api-toolbar,.api-search,.api-rows){border-color:var(--app-border);background:var(--app-surface-raised);color:var(--app-text)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .openapi-button{box-shadow:0 2px 8px color-mix(in srgb,var(--app-primary) 9%,transparent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .openapi-button:hover{border-color:var(--app-accent);background:var(--app-accent-soft);box-shadow:0 8px 24px color-mix(in srgb,var(--app-accent) 14%,transparent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .openapi-button:focus-visible{outline-color:color-mix(in srgb,var(--app-accent) 35%,transparent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) :is(.openapi-icon,.postman-button .openapi-icon){display:grid;place-items:center;width:38px;height:38px;padding:0;border-radius:10px;background:var(--app-primary);color:var(--app-on-dark);font-size:21px;line-height:1;text-align:center}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .version-notes-icon{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-group-icon{display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:10px;background:var(--app-primary);color:var(--app-on-dark);font-size:19px;line-height:1;text-align:center}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) :is(.openapi-button-copy small,.openapi-arrow,.version-notes p,.api-browser-head p,.api-browser-total,.category-nav a,.category-nav small,.result-count,.api-row-main small){color:var(--app-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .postman-button:hover{border-color:var(--app-accent);background:var(--app-accent-soft)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .openapi-arrow{display:grid;width:20px;height:20px;place-items:center;line-height:1;text-align:center}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .openapi-button:hover .openapi-arrow{color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .notice{border-color:var(--app-accent);background:var(--app-accent-soft);color:var(--app-primary-strong)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-panel{background:var(--app-primary-strong);color:var(--app-on-dark);box-shadow:0 8px 24px color-mix(in srgb,var(--app-primary) 18%,transparent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-panel-icon{display:grid;place-items:center;width:48px;height:48px;padding:0;background:var(--app-on-dark);color:var(--app-primary);font-size:24px;line-height:1;text-align:center}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-panel .eyebrow{color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-panel p,body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-download small{color:var(--app-on-dark-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-download{border-color:color-mix(in srgb,var(--app-on-dark) 36%,transparent);background:color-mix(in srgb,var(--app-on-dark) 10%,var(--app-primary-strong));color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-download strong{color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-download:hover{border-color:var(--app-on-dark);background:color-mix(in srgb,var(--app-on-dark) 16%,var(--app-primary-strong))}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-download:focus-visible{outline:3px solid var(--app-on-dark);outline-offset:2px}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-download>.material-symbols-rounded:first-child{display:grid;place-items:center;width:34px;height:34px;padding:0;background:var(--app-on-dark);color:var(--app-primary);font-size:19px;line-height:1;text-align:center}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .sdk-download-arrow{color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-browser-head h2,body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-group-title h2{color:var(--app-text)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-browser-total strong,body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .result-count strong{color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .category-nav a:hover{border-color:var(--app-accent);background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .category-nav small,body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-group-title>span{background:var(--app-surface-soft);color:var(--app-text)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-toolbar{background:color-mix(in srgb,var(--app-surface-raised) 94%,transparent);box-shadow:0 8px 24px color-mix(in srgb,var(--app-primary) 10%,transparent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-search:focus-within{border-color:var(--app-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--app-accent) 12%,transparent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-search :is(input,.material-symbols-rounded){color:var(--app-text)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-search-clear{color:var(--app-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-search-clear:hover{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .filter-chip{border-color:var(--app-border);background:transparent;color:var(--app-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .filter-chip:hover{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .filter-chip.active{border-color:var(--app-primary);background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-group-title{border-color:var(--app-border)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-group-title>span small{color:var(--app-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-row{border-color:var(--app-border);color:var(--app-text)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-row:hover{background:var(--app-accent-soft);box-shadow:inset 3px 0 var(--app-accent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-row-main code,body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-row-arrow{color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-rows .method{border-color:var(--app-primary);background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-empty{border-color:var(--app-border);background:var(--app-surface-raised);color:var(--app-text)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-empty .material-symbols-rounded,body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .api-empty p{color:var(--app-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .mock-panel{border-color:var(--app-border);background:linear-gradient(125deg,var(--app-surface-raised),var(--app-accent-soft));color:var(--app-text)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) :is(.mock-panel-icon,.mock-options>span){background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) :is(.mock-panel p,.mock-server-details>label,.mock-options strong){color:var(--app-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .mock-server-details{border-color:var(--app-border);background:color-mix(in srgb,var(--app-surface-raised) 82%,transparent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .mock-status,body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .mock-options code{color:var(--app-primary)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .mock-status>span{background:var(--app-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--app-accent) 13%,transparent)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .mock-url{border-color:var(--app-border);background:var(--app-primary-strong);color:var(--app-on-dark)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs)) .mock-url button{border-color:color-mix(in srgb,var(--app-on-dark) 22%,transparent);color:var(--app-on-dark-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs))>footer{background:var(--app-primary-strong);border-color:var(--app-primary-strong);color:var(--app-on-dark-muted)}
body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs))>footer a{color:var(--app-on-dark)}body[data-theme]:has(.version-page:is(.version-whatsapp,.version-sms,.version-rcs))>footer a:hover{color:var(--app-accent)}

/* RCS and WhatsApp endpoint details: strict semantic theme with no fixed component colors. */
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)){background:var(--app-surface-soft);color:var(--app-text)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp){background:linear-gradient(180deg,var(--app-surface-soft),color-mix(in srgb,var(--app-surface) 88%,var(--app-accent-soft)));color:var(--app-text)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .breadcrumbs a{color:var(--app-muted)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .breadcrumbs a:hover{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .breadcrumb-separator{color:var(--app-border)}
body[data-theme]:has(.endpoint-page) .breadcrumb-current{background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .api-detail-hero{border-color:var(--app-border);background:linear-gradient(135deg,var(--app-surface-raised) 55%,var(--app-accent-soft));box-shadow:0 8px 24px color-mix(in srgb,var(--app-primary) 10%,transparent)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .api-detail-title h1,body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .detail-section h2,body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .detail-section h3{color:var(--app-text)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) :is(.api-detail-title p,.detail-section .lead,.detail-section>p,.metadata-grid span,.auth-card span,.detail-nav>span){color:var(--app-muted)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) :is(.eyebrow,.section-kicker,.detail-nav a.active,.detail-nav .back-link){color:var(--app-primary)}
body[data-theme]:has(.endpoint-page) .api-detail-title>.method{border-color:var(--app-primary);background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page) .request-url{border-color:var(--app-border);background:#0b0b0b;color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .request-url code span{color:var(--app-on-dark-muted)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .request-url code strong{color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .request-url button{border-color:color-mix(in srgb,var(--app-on-dark) 22%,transparent);color:var(--app-accent)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .request-url button:hover{background:color-mix(in srgb,var(--app-on-dark) 9%,transparent)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-simulator-jump{border-color:var(--app-border);background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-simulator-jump>.material-symbols-rounded:first-child{background:var(--app-accent);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-simulator-jump small{color:var(--app-muted)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .detail-nav{border-color:var(--app-border)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .detail-nav a{color:var(--app-muted)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .detail-nav a:hover{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .detail-nav a.active{border-color:var(--app-accent);background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .detail-section{border-color:var(--app-border)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) :is(.metadata-grid,.auth-card){border-color:var(--app-border);background:var(--app-border)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) :is(.metadata-grid>div,.auth-card>div){background:var(--app-surface-raised);color:var(--app-text)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) :is(.metadata-grid code,.auth-card code,.parameter-row code){color:var(--app-primary)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .parameter-table{border-color:var(--app-border);background:var(--app-surface-raised)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .parameter-row{border-color:var(--app-border);color:var(--app-text)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .parameter-row.header{background:var(--app-surface-soft);color:var(--app-muted)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) :is(.required-chip,.neutral-chip){background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page) :is(.payload-card,.api-detail-content .code-panel){background:#0b0b0b;color:var(--app-on-dark);box-shadow:0 4px 16px color-mix(in srgb,var(--app-primary) 15%,transparent)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .payload-card-head{border-color:color-mix(in srgb,var(--app-on-dark) 20%,transparent)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .payload-tab{color:var(--app-on-dark-muted)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .payload-tab.active{background:color-mix(in srgb,var(--app-on-dark) 16%,transparent);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page) .payload-panel{background:#0b0b0b;color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page) .api-detail-content .code-examples{background:#0b0b0b;color:var(--app-on-dark);box-shadow:0 4px 16px color-mix(in srgb,var(--app-primary) 15%,transparent)}
body[data-theme]:has(.endpoint-page) .api-detail-content .code-head{min-height:48px;padding:0 8px 0 12px;border-color:color-mix(in srgb,var(--app-on-dark) 20%,transparent);background:#0b0b0b}
body[data-theme]:has(.endpoint-page) .api-detail-content .code-tab{min-height:36px;padding:0 13px;border-radius:18px;color:var(--app-on-dark-muted)}
body[data-theme]:has(.endpoint-page) .api-detail-content .code-tab:hover{background:color-mix(in srgb,var(--app-on-dark) 10%,transparent);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page) .api-detail-content .code-tab.active{background:color-mix(in srgb,var(--app-on-dark) 16%,transparent);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page) .api-detail-content .copy-code{color:var(--app-on-dark-muted)}
body[data-theme]:has(.endpoint-page) .api-detail-content .copy-code:hover{background:color-mix(in srgb,var(--app-on-dark) 16%,transparent);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page) .api-detail-content .code-panel{background:#0b0b0b;color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .icon-copy,body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .copy-code{color:var(--app-on-dark-muted)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .code-tab{color:var(--app-on-dark-muted)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .code-tab:hover{background:color-mix(in srgb,var(--app-on-dark) 10%,transparent);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .code-tab.active{background:color-mix(in srgb,var(--app-on-dark) 16%,transparent);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .status-table{border-color:var(--app-border);background:var(--app-surface-raised)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .status-row{border-color:var(--app-border);color:var(--app-text)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .status-code.success{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .status-code.error{background:color-mix(in srgb,var(--app-accent) 20%,var(--app-surface-raised));color:var(--app-primary-strong)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .endpoint-pagination{border-color:var(--app-border)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .endpoint-pagination>a{border-color:var(--app-border);background:var(--app-surface-raised);color:var(--app-text)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) .endpoint-pagination>a:hover{border-color:var(--app-accent);background:var(--app-accent-soft)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-simulator-layout{border-color:var(--app-border);background:linear-gradient(135deg,var(--app-surface-raised),var(--app-accent-soft));box-shadow:0 8px 24px color-mix(in srgb,var(--app-primary) 10%,transparent)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-simulator-note{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-simulator-form>label,body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-request-editor label,body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-request-editor>small{color:var(--app-muted)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-simulator-form>label input{border-color:var(--app-border);background:var(--app-surface-soft);color:var(--app-text)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-request-editor button{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-request-editor button:hover{background:color-mix(in srgb,var(--app-accent) 20%,var(--app-surface-raised))}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-request-editor textarea{border-color:var(--app-border);background:var(--app-primary-strong);color:var(--app-on-dark);caret-color:var(--app-accent)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-test-send{background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page.endpoint-rcs) .rcs-simulator-status{color:var(--app-primary)!important}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .whatsapp-simulator-jump{border-color:var(--app-border);background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .whatsapp-simulator-jump>.material-symbols-rounded:first-child{background:var(--app-accent);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .whatsapp-simulator-jump small{color:var(--app-muted)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-api-layout{border-color:var(--app-border);background:linear-gradient(135deg,var(--app-surface-raised),var(--app-accent-soft));box-shadow:0 8px 24px color-mix(in srgb,var(--app-primary) 10%,transparent)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-credential-note{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-api-form label,body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-request-editor>small{color:var(--app-muted)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-api-form :is(input,textarea){border-color:var(--app-border);background:var(--app-surface-raised);color:var(--app-text)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-api-form input[readonly]{background:var(--app-surface-soft);color:var(--app-muted)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-request-editor label em{color:var(--app-primary)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-request-editor button{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-request-editor button:hover{background:color-mix(in srgb,var(--app-accent) 20%,var(--app-surface-raised))}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-request-editor textarea{border-color:var(--app-border);background:var(--app-primary-strong);color:var(--app-on-dark);caret-color:var(--app-accent)}
body[data-theme]:has(.endpoint-page) :is(.simulated-request-editor,.rcs-request-editor) .json-editor-shell{background:#0b0b0b}
body[data-theme]:has(.endpoint-page) :is(.simulated-request-editor,.rcs-request-editor) .json-line-numbers{background:#000;color:var(--app-on-dark-muted)}
body[data-theme]:has(.endpoint-page) :is(.simulated-request-editor,.rcs-request-editor) .json-editor-shell textarea{background:#0b0b0b;color:var(--app-on-dark);caret-color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-send{background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme]:has(.endpoint-page.endpoint-whatsapp) .simulated-status{color:var(--app-primary)!important}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) button:focus-visible,body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp)) a:focus-visible{outline-color:var(--app-accent)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp))>footer{background:var(--app-primary-strong);border-color:var(--app-primary-strong);color:var(--app-on-dark-muted)}
body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp))>footer a{color:var(--app-on-dark)}body[data-theme]:has(.endpoint-page:is(.endpoint-rcs,.endpoint-whatsapp))>footer a:hover{color:var(--app-accent)}

/* Contact Sales page: strict semantic colors without inline presentation styles. */
body[data-theme]:has(.contact-page){background:var(--app-surface-soft);color:var(--app-text)}
body[data-theme]:has(.contact-page) .contact-page{background:linear-gradient(180deg,var(--app-surface-soft),color-mix(in srgb,var(--app-surface) 88%,var(--app-accent-soft)));color:var(--app-text)}
body[data-theme]:has(.contact-page) .breadcrumbs a{color:var(--app-muted)}
body[data-theme]:has(.contact-page) .breadcrumbs a:hover{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.contact-page) .breadcrumb-separator{color:var(--app-border)}
body[data-theme]:has(.contact-page) .breadcrumb-current{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.contact-page) .contact-intro h1,body[data-theme]:has(.contact-page) .contact-form-head h2,body[data-theme]:has(.contact-page) .contact-success h2{color:var(--app-text)}
body[data-theme]:has(.contact-page) .contact-intro>p,body[data-theme]:has(.contact-page) .contact-form-head p,body[data-theme]:has(.contact-page) .contact-success p{color:var(--app-muted)}
body[data-theme]:has(.contact-page) .contact-trust{border-color:var(--app-border);background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme]:has(.contact-page) .contact-trust small{color:var(--app-muted)}
body[data-theme]:has(.contact-page) .contact-form-card{border-color:var(--app-border);background:var(--app-surface-raised);box-shadow:0 18px 48px color-mix(in srgb,var(--app-primary) 11%,transparent)}
body[data-theme]:has(.contact-page) .contact-form-card::before{background:linear-gradient(90deg,var(--app-primary),var(--app-accent))}
body[data-theme]:has(.contact-page) .contact-form-head{border-color:var(--app-border)}
body[data-theme]:has(.contact-page) .contact-form-head>.material-symbols-rounded{background:var(--app-accent);color:var(--app-on-dark);box-shadow:0 8px 18px color-mix(in srgb,var(--app-accent) 20%,transparent)}
body[data-theme]:has(.contact-page) .contact-grid label{color:var(--app-text)}
body[data-theme]:has(.contact-page) .contact-grid :is(em,small){background:var(--app-surface-soft);color:var(--app-muted)}
body[data-theme]:has(.contact-page) .contact-grid em{background:var(--app-accent-soft);color:var(--app-primary-strong)}
body[data-theme]:has(.contact-page) .contact-grid input{border-color:var(--app-border);background:var(--app-surface-soft);color:var(--app-text);box-shadow:inset 0 1px 2px color-mix(in srgb,var(--app-primary) 4%,transparent)}
body[data-theme]:has(.contact-page) .contact-grid input:hover{border-color:var(--app-accent);background:var(--app-surface-raised)}
body[data-theme]:has(.contact-page) .contact-grid input:focus{border-color:var(--app-accent);background:var(--app-surface-raised);box-shadow:0 0 0 4px color-mix(in srgb,var(--app-accent) 12%,transparent),0 4px 12px color-mix(in srgb,var(--app-primary) 7%,transparent)}
body[data-theme]:has(.contact-page) .contact-grid input::placeholder{color:var(--app-muted)}
body[data-theme]:has(.contact-page) .contact-uppercase{text-transform:uppercase}
body[data-theme]:has(.contact-page) .contact-consent{border-color:var(--app-border);background:var(--app-surface-soft);color:var(--app-muted)}
body[data-theme]:has(.contact-page) .contact-consent input{accent-color:var(--app-accent)}
body[data-theme]:has(.contact-page) .contact-submit{border-color:var(--app-primary);background:var(--app-primary);color:var(--app-on-dark);box-shadow:0 8px 19px color-mix(in srgb,var(--app-primary) 22%,transparent)}
body[data-theme]:has(.contact-page) .contact-submit:hover{background:var(--app-accent);border-color:var(--app-accent);box-shadow:0 12px 25px color-mix(in srgb,var(--app-accent) 25%,transparent)}
body[data-theme]:has(.contact-page) .contact-errors{border:1px solid var(--app-accent);background:var(--app-accent-soft);color:var(--app-primary-strong)}
body[data-theme]:has(.contact-page) .contact-success>.material-symbols-rounded{color:var(--app-accent)}
body[data-theme]:has(.contact-page) .contact-success .button{background:var(--app-primary);border-color:var(--app-primary);color:var(--app-on-dark)}
body[data-theme]:has(.contact-page) .lp-footer{background:var(--app-primary-strong)!important;color:var(--app-on-dark)}
body[data-theme]:has(.contact-page) .lp-footer :is(p,small){color:var(--app-on-dark-muted)}
body[data-theme]:has(.contact-page) .lp-footer small{border-color:color-mix(in srgb,var(--app-on-dark) 18%,transparent)}

/* Product Guide: strict semantic theme for navigation, reading surfaces, and code. */
body[data-theme].product-guide-page{background:var(--app-surface-soft);color:var(--app-text)}
body[data-theme].product-guide-page main{background:linear-gradient(180deg,var(--app-surface-soft),color-mix(in srgb,var(--app-surface) 88%,var(--app-accent-soft)));color:var(--app-text)}
body[data-theme].product-guide-page .guide-hero{background:linear-gradient(135deg,var(--app-surface-raised),var(--app-surface-soft) 58%,var(--app-accent-soft))!important;color:var(--app-text)}
body[data-theme].product-guide-page .guide-hero>span{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme].product-guide-page .guide-hero h1{color:var(--app-text)}
body[data-theme].product-guide-page .guide-hero h1 em{color:var(--app-accent)}
body[data-theme].product-guide-page .guide-hero p{color:var(--app-muted)}
body[data-theme].product-guide-page .guide-toolbar{border-color:var(--app-border);background:color-mix(in srgb,var(--app-surface-raised) 97%,transparent);box-shadow:0 2px 8px color-mix(in srgb,var(--app-primary) 7%,transparent)}
body[data-theme].product-guide-page .guide-toolbar label{border-color:var(--app-border);background:var(--app-surface-raised);box-shadow:inset 0 1px 2px color-mix(in srgb,var(--app-primary) 5%,transparent)}
body[data-theme].product-guide-page .guide-toolbar label:focus-within{border-color:var(--app-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--app-accent) 14%,transparent)}
body[data-theme].product-guide-page .guide-toolbar svg{stroke:var(--app-primary)}
body[data-theme].product-guide-page .guide-toolbar input{background:transparent;color:var(--app-text)}
body[data-theme].product-guide-page .guide-toolbar input::placeholder{color:var(--app-muted)}
body[data-theme].product-guide-page .guide-toolbar>span{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme].product-guide-page .guide-layout aside,body[data-theme].product-guide-page .guide-content{border-color:var(--app-border);background:var(--app-surface-raised);box-shadow:0 2px 8px color-mix(in srgb,var(--app-primary) 9%,transparent)}
body[data-theme].product-guide-page .guide-layout aside>strong{color:var(--app-muted)}
body[data-theme].product-guide-page .guide-layout aside a{color:var(--app-muted)}
body[data-theme].product-guide-page .guide-layout aside a.active,body[data-theme].product-guide-page .guide-layout aside a:hover{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme].product-guide-page .guide-content :is(h2,h3){color:var(--app-text)}
body[data-theme].product-guide-page .guide-content h2::after{background:var(--app-accent)}
body[data-theme].product-guide-page .guide-content :is(p,li){color:var(--app-muted)}
body[data-theme].product-guide-page .guide-content a{color:var(--app-primary)}
body[data-theme].product-guide-page .guide-content a:hover{color:var(--app-accent)}
body[data-theme].product-guide-page .guide-content li::marker{color:var(--app-accent)}
body[data-theme].product-guide-page .guide-content blockquote{border-color:var(--app-accent);background:var(--app-accent-soft);color:var(--app-primary-strong)}
body[data-theme].product-guide-page .guide-content table{border-color:var(--app-border);background:var(--app-surface-raised)}
body[data-theme].product-guide-page .guide-content :is(th,td){border-color:var(--app-border);color:var(--app-text)}
body[data-theme].product-guide-page .guide-content th{background:var(--app-surface-soft);color:var(--app-primary)}
body[data-theme].product-guide-page .guide-content code{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme].product-guide-page .guide-content pre{border-color:var(--app-border);background:var(--app-primary-strong);box-shadow:0 8px 22px color-mix(in srgb,var(--app-primary) 18%,transparent)}
body[data-theme].product-guide-page .guide-content pre code{background:transparent;color:var(--app-on-dark)}
body[data-theme].product-guide-page .lp-footer{background:var(--app-primary-strong)!important;color:var(--app-on-dark)}
body[data-theme].product-guide-page .lp-footer :is(p,small){color:var(--app-on-dark-muted)}
body[data-theme].product-guide-page .lp-footer small{border-color:color-mix(in srgb,var(--app-on-dark) 18%,transparent)}

/* Shared light landing footer with the combined Pinnacle and 1SPOC brand. */
body[data-theme] .lp-footer.lp-footer-light{background:var(--app-surface-raised)!important;border-color:var(--app-border);color:var(--app-text)}
body[data-theme] .lp-footer.lp-footer-light .lp-footer-brand>span{background:var(--app-border)}
body[data-theme] .lp-footer.lp-footer-light p,body[data-theme] .lp-footer.lp-footer-light small{color:var(--app-muted)}
body[data-theme] .lp-footer.lp-footer-light a{color:var(--app-text)}
body[data-theme] .lp-footer.lp-footer-light a:hover{color:var(--app-accent)}
body[data-theme] .lp-footer.lp-footer-light small{border-color:var(--app-border)}

/* Shared form and action colors. */
body[data-theme] input,body[data-theme] textarea,body[data-theme] select{background-color:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-text)}body[data-theme] input:focus,body[data-theme] textarea:focus,body[data-theme] select:focus{border-color:var(--app-accent);outline-color:color-mix(in srgb,var(--app-accent) 30%,transparent)}body[data-theme] .button.primary{background:var(--app-primary);border-color:var(--app-primary);color:var(--app-on-dark)}body[data-theme] .eyebrow{color:var(--app-accent)}
body[data-theme] .global-search,body[data-theme] .api-search{background:var(--app-surface-raised)!important;border-color:var(--app-border)!important;color:var(--app-text)}
body[data-theme] .global-search:focus-within,body[data-theme] .api-search:focus-within{background:var(--app-surface-raised)!important;border-color:var(--app-accent)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--app-accent) 14%,transparent)!important}
body[data-theme] .global-search :is(input,.material-symbols-rounded),body[data-theme] .api-search :is(input,.material-symbols-rounded){background:transparent;color:var(--app-text)}
body[data-theme] .global-search input::placeholder,body[data-theme] .api-search input::placeholder{color:var(--app-muted)}
body[data-theme] .global-search button,body[data-theme] .api-search-clear{background:var(--app-accent-soft)!important;color:var(--app-primary)!important}
body[data-theme] .global-search button:hover,body[data-theme] .api-search-clear:hover{background:var(--app-accent)!important;color:var(--app-on-dark)!important}

/* Admin theme chooser; identical under every theme. */
.themes-admin-page .admin-hero{display:grid;grid-template-columns:minmax(0,1fr) auto}.themes-admin-page .admin-hero>.form-success{grid-column:1/-1;width:100%;margin:18px 0 0}.theme-active-summary{display:flex;align-items:center;gap:14px;margin:0 0 38px;padding:18px 20px;border:1px solid var(--app-border);border-left:5px solid var(--app-primary);border-radius:14px;background:var(--app-surface-raised);box-shadow:0 4px 14px color-mix(in srgb,var(--app-primary) 8%,transparent)}.theme-active-summary>.material-symbols-rounded{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:var(--app-primary);color:var(--app-on-dark)}.theme-active-summary small,.theme-active-summary strong{display:block}.theme-active-summary small{color:var(--app-muted);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.theme-active-summary strong{margin-top:2px;font-size:17px}.theme-active-summary p{margin:3px 0 0;color:var(--app-muted);font-size:12px}.theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:22px;margin-top:24px}.theme-option{display:flex;min-width:0;flex-direction:column;gap:20px;padding:24px;border:1px solid var(--app-border);border-radius:18px;background:var(--app-surface-raised);box-shadow:0 4px 16px color-mix(in srgb,var(--app-primary) 8%,transparent);transition:border-color .18s,box-shadow .18s,transform .18s}.theme-option:hover{transform:translateY(-2px);border-color:var(--app-primary);box-shadow:0 12px 30px color-mix(in srgb,var(--app-primary) 13%,transparent)}.theme-option.active{border:2px solid var(--app-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--app-primary) 12%,transparent),0 12px 30px color-mix(in srgb,var(--app-primary) 13%,transparent)}.theme-option-head h2{margin:9px 0 0;font-size:28px}.theme-option-head p{min-height:44px;margin:7px 0 0;color:var(--app-muted);line-height:1.55}.theme-status{display:inline-flex;align-items:center;gap:6px;color:var(--app-primary);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.theme-status>.material-symbols-rounded{font-size:17px}.theme-interface-preview{overflow:hidden;border:1px solid color-mix(in srgb,var(--preview-text) 18%,transparent);border-radius:14px;background:var(--preview-surface);color:var(--preview-text);box-shadow:0 8px 22px color-mix(in srgb,var(--preview-primary) 15%,transparent)}.theme-preview-nav{display:flex;height:36px;align-items:center;gap:6px;padding:0 12px;background:var(--preview-primary)}.theme-preview-nav i{width:11px;height:11px;border-radius:50%;background:var(--preview-accent)}.theme-preview-nav span{width:34px;height:5px;border-radius:4px;background:#fff8}.theme-preview-nav b{width:42px;height:16px;margin-left:auto;border-radius:5px;background:var(--preview-accent)}.theme-preview-body{padding:18px}.theme-preview-body>small{color:var(--preview-accent);font-size:8px;font-weight:800;letter-spacing:.1em}.theme-preview-body>strong{display:block;margin-top:6px;font-size:18px}.theme-preview-body>p{margin:4px 0 14px;color:color-mix(in srgb,var(--preview-text) 68%,transparent);font-size:10px}.theme-preview-body>div{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid color-mix(in srgb,var(--preview-text) 16%,transparent);border-radius:8px;background:#fff}.theme-preview-body>div span{padding:4px 6px;border-radius:5px;background:var(--preview-primary);color:#fff;font-size:8px;font-weight:800}.theme-preview-body>div em{color:var(--preview-text);font:9px "JetBrains Mono",monospace}.theme-swatches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.theme-swatches>div{min-width:0;padding:9px;border:1px solid var(--app-border);border-radius:10px;background:var(--app-surface-soft)}.theme-swatches dt{display:flex;align-items:center;gap:8px}.theme-swatches i{display:block;flex:0 0 auto;width:24px;height:24px;border:1px solid #0002;border-radius:7px}.theme-swatches dt span{overflow:hidden;color:var(--app-text);font-size:10px;font-weight:700;text-overflow:ellipsis;text-transform:capitalize}.theme-swatches dd{margin:5px 0 0 32px;color:var(--app-muted);font:9px "JetBrains Mono",monospace;text-transform:uppercase}.theme-option form{margin-top:auto}.theme-option form .button{display:flex;width:100%;min-height:44px;align-items:center;justify-content:center;gap:8px;padding-block:0;line-height:1;text-align:center}.theme-option form .button>.material-symbols-rounded{display:grid;width:20px;height:20px;flex:0 0 20px;place-items:center;font-size:19px;line-height:1}.theme-option form .button:disabled{border-color:var(--app-primary);background:var(--app-primary);color:var(--app-on-dark);opacity:1;cursor:default}@media(max-width:700px){.themes-admin-page .admin-hero{grid-template-columns:1fr}.themes-admin-page .admin-hero-actions{margin-top:18px}.theme-active-summary{align-items:flex-start}.theme-grid{grid-template-columns:1fr}.theme-swatches{grid-template-columns:1fr}.theme-option{padding:18px}}

/* Strict theme enforcement: component visuals consume only the selected theme tokens. */
body[data-theme] :is(.admin-page,.auth,.search-page,.compare-page,.mcp-setup-page,.product-page,.version-page,.endpoint-page) :is(.editor-section,.admin-table,.form,.card,.analytics-card,.auth-card,.metadata-grid,.detail-section){background-color:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-text)}
body[data-theme] .admin-quick-links>a.workflow-featured-link{background:linear-gradient(135deg,var(--app-primary),color-mix(in srgb,var(--app-primary) 72%,var(--app-accent)));border-color:var(--app-primary);color:var(--app-on-dark);box-shadow:0 8px 22px color-mix(in srgb,var(--app-primary) 24%,transparent)}
body[data-theme] .admin-quick-links>a.workflow-featured-link:hover{box-shadow:0 12px 28px color-mix(in srgb,var(--app-primary) 32%,transparent)}
body[data-theme] .workflow-featured-link>span:first-child{background:color-mix(in srgb,var(--app-on-dark) 16%,transparent);color:var(--app-on-dark)}body[data-theme] .workflow-featured-link>span:last-child{background:var(--app-surface-raised);color:var(--app-primary)}body[data-theme] .admin-quick-links>a.workflow-featured-link small{color:var(--app-on-dark-muted)}
body[data-theme] :is(.admin-product-icon,.editor-section-icon,.workflow-entity-icon,.virtual-sms-icon,.virtual-email-item summary>.material-symbols-rounded){background:var(--app-accent-soft)!important;color:var(--app-primary)!important}
body[data-theme] .admin-product-table .product-manage-action{box-sizing:border-box;min-width:150px;min-height:44px;gap:8px;padding:6px 10px 6px 7px;border:1px solid var(--app-primary);border-radius:12px;background:var(--app-primary);color:var(--app-on-dark);font-size:12px;font-weight:800;line-height:1;box-shadow:0 4px 12px color-mix(in srgb,var(--app-primary) 24%,transparent);transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
body[data-theme] .admin-product-table .product-manage-action>.material-symbols-rounded{display:grid!important;width:28px;height:28px;flex:0 0 28px;place-items:center;border-radius:8px;background:var(--app-on-dark);color:var(--app-primary);font-size:17px;line-height:1;text-align:center}
body[data-theme] .admin-product-table .row-actions .product-icon-action.edit{background:var(--app-accent-soft);border-color:var(--app-accent);color:var(--app-primary)}body[data-theme] .admin-product-table .row-actions .product-icon-action.delete{background:color-mix(in srgb,var(--app-accent) 12%,var(--app-surface-raised));border-color:var(--app-accent);color:var(--app-primary-strong)}
body[data-theme] .admin-product-table{border-color:var(--app-border);background:var(--app-surface-raised);color:var(--app-text);box-shadow:0 6px 20px color-mix(in srgb,var(--app-primary) 9%,transparent)}
body[data-theme] .admin-product-table .tr{border-color:var(--app-border);color:var(--app-text)}
body[data-theme] .admin-product-table .tr.th{background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme] .admin-product-table .tr.th>span{color:var(--app-on-dark)}
body[data-theme] .admin-product-table .tr:not(.th):hover{background:var(--app-accent-soft)}
body[data-theme] .admin-page .admin-product-table .admin-product-icon{display:grid;place-items:center;background:var(--app-primary)!important;color:var(--app-on-dark)!important}
body[data-theme] .admin-product-table .admin-product-icon.has-svg-icon img{filter:brightness(0) invert(1)}
body[data-theme] .admin-product-table .admin-product-name strong{color:var(--app-text);font-size:17px;line-height:1.2;font-weight:700}
body[data-theme] .admin-product-table .admin-product-name small{color:var(--app-muted)}
body[data-theme] .admin-product-table .admin-product-name small code{color:var(--app-primary)}
body[data-theme] .admin-product-table .admin-count strong{background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme] .admin-product-table .admin-version-count strong{display:inline-flex;min-width:0;height:32px;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid var(--app-primary);border-radius:999px;background:var(--app-accent-soft);color:var(--app-primary);font-size:12px;font-weight:700;line-height:1;white-space:nowrap;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--app-primary) 8%,transparent)}
body[data-theme] .admin-product-table .admin-version-count strong::before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--app-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--app-primary) 14%,transparent)}
body[data-theme] .admin-product-table .product-view-action{box-sizing:border-box;min-width:100px;min-height:44px;gap:8px;padding:6px 10px 6px 7px;border:1px solid var(--app-primary);border-radius:12px;background:var(--app-accent-soft);color:var(--app-primary);font-size:12px;font-weight:800;line-height:1;box-shadow:0 3px 10px color-mix(in srgb,var(--app-primary) 16%,transparent);transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
body[data-theme] .admin-product-table .product-view-action>.material-symbols-rounded{display:grid!important;width:28px;height:28px;flex:0 0 28px;place-items:center;border-radius:8px;background:var(--app-primary);color:var(--app-on-dark);font-size:17px;line-height:1;text-align:center}
body[data-theme] .admin-product-table .product-view-action:hover{border-color:var(--app-primary);background:var(--app-primary);color:var(--app-on-dark);box-shadow:0 7px 17px color-mix(in srgb,var(--app-primary) 28%,transparent);transform:translateY(-1px)}
body[data-theme] .admin-product-table .product-view-action:hover>.material-symbols-rounded{background:var(--app-on-dark);color:var(--app-primary)}
body[data-theme] .admin-product-table .product-view-action:focus-visible{outline:3px solid color-mix(in srgb,var(--app-accent) 42%,transparent);outline-offset:2px}
body[data-theme] .admin-product-table .product-manage-action:hover{border-color:var(--app-primary-strong);background:var(--app-primary-strong);color:var(--app-on-dark);box-shadow:0 7px 17px color-mix(in srgb,var(--app-primary) 32%,transparent);transform:translateY(-1px)}
body[data-theme] .admin-product-table .product-manage-action:focus-visible{outline:3px solid color-mix(in srgb,var(--app-accent) 42%,transparent);outline-offset:2px}
body[data-theme] .admin-product-table .row-actions .product-icon-action.edit{background:var(--app-accent-soft);border-color:var(--app-primary);color:var(--app-primary)}
body[data-theme] .admin-product-table .row-actions .product-icon-action.delete{background:color-mix(in srgb,var(--app-primary) 10%,var(--app-surface-raised));border-color:var(--app-primary-strong);color:var(--app-primary-strong)}
body[data-theme] .admin-product-table .row-actions .product-icon-action:hover{background:var(--app-primary);border-color:var(--app-primary);color:var(--app-on-dark)}
body[data-theme] .admin-dashboard-overview article{border-color:var(--app-primary);background:var(--app-surface-raised);color:var(--app-text);box-shadow:0 6px 18px color-mix(in srgb,var(--app-primary) 14%,transparent)}
body[data-theme] .admin-dashboard-overview article:hover{background:var(--app-accent-soft);box-shadow:0 12px 28px color-mix(in srgb,var(--app-primary) 22%,transparent)}
body[data-theme] .admin-dashboard-overview article>.material-symbols-rounded{display:grid;place-items:center;background:var(--app-primary);color:var(--app-on-dark);line-height:1;text-align:center}
body[data-theme] .admin-dashboard-overview strong{color:var(--app-primary)}
body[data-theme] .admin-dashboard-overview small,body[data-theme] .admin-dashboard-overview em{color:var(--app-muted)}
body[data-theme] .admin-dashboard-overview em{border-color:var(--app-border)}
body[data-theme] .admin-home-hero{border-color:var(--app-border);background:var(--app-surface-raised);color:var(--app-text);box-shadow:0 8px 24px color-mix(in srgb,var(--app-primary) 12%,transparent)}
body[data-theme] .admin-home-hero :is(h1,.admin-home-hero-copy h1){color:var(--app-text)}
body[data-theme] .admin-home-hero .eyebrow{color:var(--app-primary)}
body[data-theme] .admin-home-hero p{color:var(--app-muted)}
body[data-theme] .admin-home-hero .admin-hero-actions{border-color:var(--app-border)}
body[data-theme] .admin-home-hero .admin-hero-actions .button:not(.primary){border-color:var(--app-border);background:var(--app-surface-soft);color:var(--app-primary)}
body[data-theme] .admin-home-hero .admin-hero-actions .button:not(.primary):hover{border-color:var(--app-primary);background:var(--app-accent-soft);color:var(--app-primary-strong)}
body[data-theme] .admin-home-hero .admin-hero-actions .button.primary{border-color:var(--app-primary);background:var(--app-primary);color:var(--app-on-dark)}
body[data-theme] .admin-home-hero .admin-hero-actions .button.primary:hover{border-color:var(--app-primary-strong);background:var(--app-primary-strong);color:var(--app-on-dark)}
body[data-theme] .review-list .review-item-icon{display:grid!important;width:44px;height:44px;place-items:center;padding:0;font-size:22px;line-height:1;text-align:center}
body[data-theme] .review-list .review-item-action{display:grid!important;width:32px;height:32px;place-items:center;padding:0;font-size:19px;line-height:1;text-align:center}
body[data-theme] :is(.workflow-status,.contact-status,.email-category){background:var(--app-accent-soft)!important;color:var(--app-primary)!important}body[data-theme] :is(.workflow-status.changes_requested,.contact-status.spam,.expired-label){background:color-mix(in srgb,var(--app-accent) 16%,var(--app-surface-raised))!important;color:var(--app-primary-strong)!important}
body[data-theme] .sms-settings-message.success{background:var(--app-accent-soft);border-color:var(--app-accent);color:var(--app-primary)}body[data-theme] .sms-settings-message.error{background:color-mix(in srgb,var(--app-accent) 14%,var(--app-surface-raised));border-color:var(--app-accent);color:var(--app-primary-strong)}
body[data-theme] :is(.sms-mode-card,.virtual-sms-item,.virtual-email-item,.email-method-options label){background:var(--app-surface-raised);border-color:var(--app-border);color:var(--app-text)}body[data-theme] :is(.sms-mode-card:has(input:checked),.email-method-options label:has(input:checked)){background:var(--app-accent-soft);border-color:var(--app-accent);color:var(--app-primary)}
body[data-theme] .sms-settings-page .editor-section-intro>.editor-section-icon{background:var(--app-primary)!important;color:var(--app-on-dark)!important}

/* A consistent, accessible breadcrumb treatment across every Administration page. */
body[data-theme] .admin-page>.breadcrumbs{display:flex;align-items:center;gap:5px;max-width:100%;overflow-x:auto;padding:24px 2px 2px;color:var(--app-muted);scrollbar-width:none;-webkit-overflow-scrolling:touch}
body[data-theme] .admin-page>.breadcrumbs::-webkit-scrollbar{display:none}
body[data-theme] .admin-page>.breadcrumbs a{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:5px 9px;border-radius:9px;color:var(--app-muted);line-height:1.25;transition:background-color .18s ease,color .18s ease}
body[data-theme] .admin-page>.breadcrumbs a:hover{background:var(--app-accent-soft);color:var(--app-primary)}
body[data-theme] .admin-page>.breadcrumbs>a:first-child>.material-symbols-rounded,
body[data-theme] .admin-page>.breadcrumbs>a:first-child:not(:has(.material-symbols-rounded))::before{display:grid!important;width:24px;height:24px;flex:0 0 24px;place-items:center;padding:0;border-radius:7px;background:var(--app-primary);color:var(--app-on-dark);font-size:16px;line-height:1;text-align:center}
body[data-theme] .admin-page>.breadcrumbs>a:first-child:not(:has(.material-symbols-rounded))::before{content:"dashboard";font-family:"Material Symbols Rounded"!important;font-weight:normal;font-style:normal}
body[data-theme] .admin-page>.breadcrumbs>.breadcrumb-separator,
body[data-theme] .admin-page>.breadcrumbs>span.material-symbols-rounded:not(:last-child){display:grid!important;width:20px;height:20px;flex:0 0 20px;place-items:center;padding:0;color:var(--app-border);font-size:17px;line-height:1;text-align:center}
body[data-theme] .admin-page>.breadcrumbs>.breadcrumb-current,
body[data-theme] .admin-page>.breadcrumbs>span:last-child:not(.material-symbols-rounded){display:inline-flex;align-items:center;min-height:34px;max-width:min(360px,55vw);overflow:hidden;padding:5px 10px;border-radius:9px;background:var(--app-primary);color:var(--app-on-dark);font-weight:700;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:620px){body[data-theme] .admin-page>.breadcrumbs{gap:2px;padding-top:18px}body[data-theme] .admin-page>.breadcrumbs a,body[data-theme] .admin-page>.breadcrumbs>.breadcrumb-current,body[data-theme] .admin-page>.breadcrumbs>span:last-child:not(.material-symbols-rounded){padding-right:7px;padding-left:7px}}
@media(max-width:800px){body[data-theme] .admin-product-table .admin-product-name{order:-1}}
@media(max-width:560px){body[data-theme].api-reference-page .hub-product{min-height:0}}

/* Single-font mode: Inter is used for all text. Material Symbols is retained only for icons. */
body[data-theme],
body[data-theme] :not(.material-symbols-rounded){font-family:Inter,sans-serif!important}

/* Code samples use a dedicated developer-focused typeface. */
body[data-theme] main pre:not(.material-symbols-rounded),
body[data-theme] main pre :not(.material-symbols-rounded),
body[data-theme] .code-window code,
body[data-theme] .code-window code *,
body[data-theme] .simulated-request-editor textarea,
body[data-theme] .rcs-request-editor textarea{font-family:"JetBrains Mono",monospace!important}

/* Editable color controls in the application theme catalog. */
.theme-color-form fieldset{min-width:0;margin:0 0 12px;padding:0;border:0}.theme-color-form legend{margin-bottom:10px;color:var(--app-text);font-size:12px;font-weight:800}.theme-color-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.theme-color-fields>label{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;padding:8px;border:1px solid var(--app-border);border-radius:10px;background:var(--app-surface-soft);color:var(--app-text);font-size:10px;font-weight:700}.theme-color-control{display:flex;align-items:center;gap:6px}.theme-color-control .theme-color-picker{width:30px;height:30px;flex:0 0 30px;padding:1px;border:1px solid var(--app-border);border-radius:6px;background:var(--app-surface-raised);cursor:pointer}.theme-color-control .theme-color-hex{width:82px;height:30px;padding:5px 7px;border:1px solid var(--app-border);border-radius:6px;background:var(--app-surface-raised);color:var(--app-text);font:10px "JetBrains Mono",monospace;text-transform:uppercase}.theme-color-control .theme-color-hex:focus{outline:2px solid var(--app-accent);outline-offset:1px}@media(max-width:700px){.theme-color-fields{grid-template-columns:1fr}}

body[data-theme="classic-indigo"]{--app-primary:#3f51b5;--app-primary-strong:#303f9f;--app-accent:#3f51b5;--app-surface:#fffbfe;--app-surface-soft:#f1ecf4;--app-surface-raised:#ffffff;--app-text:#1c1b1f;--app-muted:#49454f;--app-border:#cac4d0;--app-hero:#3f51b5;--app-on-dark:#ffffff;--app-on-dark-muted:#e8eaf6;--app-accent-soft:#e8eaf6}
body[data-theme="pinnacle-developer"]{--app-primary:#091827;--app-primary-strong:#071421;--app-accent:#ff5b27;--app-surface:#f6f3ee;--app-surface-soft:#f6f3ee;--app-surface-raised:#ffffff;--app-text:#182536;--app-muted:#687279;--app-border:#cdd1d3;--app-hero:#142032;--app-on-dark:#ffffff;--app-on-dark-muted:#bec6d0;--app-accent-soft:#fff0ea}