/*
 * Shared 2026 InferaSpace visual language for public, sign-in and portal pages.
 * Scope all rules to opt-in body classes. Legacy DOM, APIs, menus, 2FA, account
 * data and report generation remain unchanged. Portal can switch to Classic.
 */
body.sw-marketing-modern{
 --navy:#122237;--navy-dark:#0d1d2f;--cyan:#2479a7;--cyan-dark:#19638d;
 --ink:#243b50;--body:#536a7b;--line:#dfe6eb;
 --heading:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
 --text:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
 background:#fff;color:#253448;font:400 15px/1.65 system-ui,"Segoe UI",Arial,sans-serif}
body.sw-marketing-modern h1,body.sw-marketing-modern h2,
body.sw-marketing-modern h3{font-family:system-ui,"Segoe UI",Arial,sans-serif;letter-spacing:-.03em}
body.sw-marketing-modern .site-header{background:#122237;color:#e7f1f8}
body.sw-marketing-modern .utility-bar{background:#0f1e2f;color:#9cb9ca}
body.sw-marketing-modern .main-header{min-height:74px;gap:24px}
body.sw-marketing-modern .brand-logo{width:214px}
body.sw-marketing-modern .main-nav{gap:24px;font-size:12px}
body.sw-marketing-modern .main-nav a{color:#d3e4ef}
body.sw-marketing-modern .main-nav a:hover{color:#fff}
body.sw-marketing-modern .main-nav .contact-nav{
 color:#fff;background:#2479a7;border:1px solid #398aaf;
 border-radius:7px;padding:10px 18px;font-size:12px}
body.sw-marketing-modern .menu-toggle{color:#e2eef5}
body.sw-marketing-modern .hero{height:610px;background:#243f51}
body.sw-marketing-modern .hero-inner{align-items:center;padding-bottom:12px}
body.sw-marketing-modern .hero-panel{
 width:min(650px,100%);padding:39px 43px;
 background:#102338ef;border:1px solid #496575;border-radius:10px;
 box-shadow:0 16px 48px #0019263f}
body.sw-marketing-modern .hero h1{
 font-size:clamp(34px,3.6vw,50px);font-weight:760;line-height:1.13;
 letter-spacing:-.042em}
body.sw-marketing-modern .hero-category{font-size:11px;letter-spacing:.1em;color:#9bd9ec}
body.sw-marketing-modern .hero-panel>p:not(.hero-category){
 font-size:16px;color:#e0edf4;line-height:1.7}
body.sw-marketing-modern .button{
 border-radius:7px;background:#2479a7;border-color:#2479a7;
 font:680 13px/1.4 system-ui,"Segoe UI",Arial,sans-serif;
 padding:11px 18px}
body.sw-marketing-modern .button:hover{background:#1c648e}
body.sw-marketing-modern .overview{padding:73px 0 68px}
body.sw-marketing-modern .overview-heading h2,
body.sw-marketing-modern .product-copy h2,
body.sw-marketing-modern .capabilities-section h2{font-weight:760}
body.sw-marketing-modern .overview-grid{gap:18px}
body.sw-marketing-modern .overview-grid article{
 border:1px solid #e0e8ed;background:#f8fafc;
 border-radius:9px;padding:22px}
body.sw-marketing-modern .overview-grid h3{font-size:16px;font-weight:720;margin-bottom:11px}
body.sw-marketing-modern .integration-diagram{
 border-radius:10px;background:#f7fafb;border-color:#dfe8ed}
body.sw-marketing-modern .diagram-source{border-radius:7px}
body.sw-marketing-modern .diagram-dashboard{border-radius:8px;background:#122237}
body.sw-marketing-modern .capabilities-section{background:#122237}
body.sw-marketing-modern .capability-table thead{background:#1b384d}
body.sw-marketing-modern .source-summary,
body.sw-marketing-modern .product-layout{border-color:#e0e8ec}
body.sw-concept-login-modern{
 background:#edf2f5!important;border-top:0!important;
 color:#253d51;font:14px/1.6 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important}
body.sw-concept-login-modern .access-card{
 max-width:450px;border-radius:11px;border:1px solid #d6e0e7;
 box-shadow:0 22px 60px #10283d16;padding:40px 38px}
body.sw-concept-login-modern .access-label{
 color:#2479a7;font-size:11px;font-weight:750;letter-spacing:.13em;margin-bottom:24px}
body.sw-concept-login-modern h1{
 font:760 28px/1.22 system-ui,"Segoe UI",Arial,sans-serif;letter-spacing:-.04em;
 color:#192f42}
body.sw-concept-login-modern .access-intro{font-size:13px;color:#637789}
body.sw-concept-login-modern input[type=password]{
 height:47px;border:1px solid #bdcedb;border-radius:7px;
 font:14px system-ui,"Segoe UI",Arial,sans-serif;color:#203c50}
body.sw-concept-login-modern button{
 border-radius:7px;background:#2479a7;border-color:#2479a7;
 font:700 13px/1.4 system-ui,"Segoe UI",Arial,sans-serif;
 padding:13px;margin-top:20px}
body.sw-concept-login-modern button:hover{background:#195e89}
body.sw-concept-login-modern .access-back{color:#2479a7}
body.sw-portal-modern{
 --sw2026-navy:#122237;
 font:14px/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
 background:#f2f6f8;color:#253448}
body.sw-portal-modern #authView.auth-screen{
 font-family:Arial,Helvetica,sans-serif!important;background:#f4f7f9!important}
body.sw-portal-modern #authView .auth-card{border-radius:4px!important}
body.sw-portal-modern #authView h1{font-size:29px!important}
body.sw-portal-modern #appView.aleph-shell .work-header{
 height:64px!important;min-height:64px!important;background:#122237!important;
 color:#e9f3f8!important;border-bottom:1px solid #334f64!important;gap:14px!important}
body.sw-portal-modern #appView .work-header .version-wordmark{font-size:14px;color:#c5dbe8}
body.sw-portal-modern #appView .work-header .workspace-label{font-size:11px;letter-spacing:.09em}
body.sw-portal-modern #appView.aleph-shell .work-frame{height:calc(100dvh - 64px)!important}
body.sw-portal-modern #appView .work-sidebar{
 background:#eff3f6!important;border-right:1px solid #dbe5ec!important}
body.sw-portal-modern #appView .work-sidebar .nav-link{
 color:#4c6b83;border-radius:9px;margin-bottom:7px;font-size:11px}
body.sw-portal-modern #appView .work-sidebar .nav-link:hover,
body.sw-portal-modern #appView .work-sidebar .nav-link.active{
 color:#1f6b97;background:#dcebf5!important}
body.sw-portal-modern #appView.aleph-shell .main-content{
 padding:0!important;overflow:hidden}
body.sw-portal-modern #appView.aleph-shell #view-overview{height:100%;padding:0!important}
body.sw-portal-modern #appView.aleph-shell .workspace-main,
body.sw-portal-modern #appView.aleph-shell.inspector-collapsed .workspace-main,
body.sw-portal-modern #appView.aleph-shell.catalog-collapsed .workspace-main,
body.sw-portal-modern #appView.aleph-shell.catalog-collapsed.inspector-collapsed .workspace-main{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 position:relative!important;min-height:0;height:100%;width:100%;background:#dce6ec}
body.sw-portal-modern #appView.aleph-shell .map-column{
 grid-column:1!important;grid-row:1!important;min-height:0;position:relative}
body.sw-portal-modern #appView.aleph-shell .explorer-catalog{
 position:absolute!important;left:18px;top:18px;bottom:18px;height:auto!important;
 width:302px!important;min-width:0;z-index:31;
 border:1px solid #dce6ec;border-radius:11px;
 background:#fff;box-shadow:0 16px 42px #18344d30;overflow-y:auto}
body.sw-portal-modern #appView.aleph-shell .scene-inspector{
 position:absolute!important;right:18px!important;top:18px!important;bottom:18px!important;
 height:auto!important;max-height:none;width:332px!important;z-index:34;
 border:1px solid #dce6ec;border-radius:11px;
 box-shadow:0 16px 42px #18344d30;background:#fff}
body.sw-portal-modern #appView.aleph-shell .imagery-titlebar{
 background:#fffffff2;border:1px solid #dce5ea;border-radius:9px;
 margin:15px auto 0;max-width:calc(100% - 720px);
 width:max-content;min-width:280px;padding:8px 12px;
 position:absolute;top:0;left:50%;transform:translateX(-50%);
 z-index:20;box-shadow:0 7px 24px #173a482d}
body.sw-portal-modern #appView.aleph-shell .map-panel{position:relative;flex:1;min-height:0}
body.sw-portal-modern #appView.aleph-shell #imageViewport{height:100%!important}
body.sw-portal-modern #appView.aleph-shell .catalog-heading h1{
 font:760 20px/1.2 system-ui,"Segoe UI",Arial,sans-serif;color:#243c50}
body.sw-portal-modern #appView.aleph-shell .page-intro h1{font-size:27px;font-weight:760}
body.sw-portal-modern #appView.aleph-shell .scene-inspector .inspector-content{
 font-size:12px;padding:15px}
body.sw-portal-modern #appView.aleph-shell .surface{
 border-radius:10px;border-color:#dce6ed}
body.sw-portal-modern #appView.aleph-shell button.button-primary{
 background:#2479a7;border-color:#2479a7;border-radius:7px}
body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .workspace-main,
body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell.inspector-collapsed .workspace-main,
body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell.catalog-collapsed .workspace-main,
body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell.catalog-collapsed.inspector-collapsed .workspace-main{
 grid-template-columns:300px minmax(0,1fr) 332px!important}
body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .explorer-catalog{
 position:relative!important;grid-column:1!important;grid-row:1!important;
 inset:auto!important;width:300px!important;height:100%!important;border-radius:0;box-shadow:none}
body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .map-column{
 grid-column:2!important;grid-row:1!important}
body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .scene-inspector{
 position:relative!important;grid-column:3!important;grid-row:1!important;
 inset:auto!important;width:332px!important;height:100%!important;border-radius:0;box-shadow:none}
body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .imagery-titlebar{
 max-width:calc(100% - 20px)}
.sw-portal-layout-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.sw-portal-layout-actions button{
 background:#263f56;border:1px solid #476983;color:#e4f0f7;
 border-radius:7px;font:650 11px/1.3 system-ui,"Segoe UI",Arial,sans-serif;
 padding:8px 11px;min-height:34px;white-space:nowrap}
.sw-portal-layout-actions button:hover{background:#35546e}
@media(max-width:1100px){
 body.sw-portal-modern #appView.aleph-shell .imagery-titlebar{
 max-width:calc(100% - 32px);min-width:0;top:5px}
 body.sw-portal-modern #appView.aleph-shell .explorer-catalog{
 left:10px;top:78px;bottom:44px;width:260px!important}
 body.sw-portal-modern #appView.aleph-shell .scene-inspector{
 right:10px!important;top:78px!important;bottom:44px!important;width:290px!important}
 body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .workspace-main,
 body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell.inspector-collapsed .workspace-main,
 body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell.catalog-collapsed .workspace-main,
 body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell.catalog-collapsed.inspector-collapsed .workspace-main{
 grid-template-columns:minmax(0,1fr)!important}
 body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .map-column{grid-column:1!important}
 body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .explorer-catalog,
 body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .scene-inspector{
 position:absolute!important;z-index:34!important;height:auto!important;top:78px!important;bottom:44px!important}
 body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .explorer-catalog{
 left:10px!important;width:260px!important}
 body.sw-portal-modern.sw-portal-workbench #appView.aleph-shell .scene-inspector{
 right:10px!important;width:290px!important}
}
@media(max-width:750px){
 body.sw-marketing-modern .hero{height:auto;min-height:600px}
 body.sw-marketing-modern .hero-panel{padding:24px;border-radius:8px}
 body.sw-marketing-modern .brand-logo{width:175px}
 body.sw-marketing-modern .main-header{min-height:68px}
 body.sw-portal-modern #appView .explorer-catalog{width:min(300px,calc(100vw - 32px))!important}
 body.sw-portal-modern #appView .scene-inspector{width:min(315px,calc(100vw - 32px))!important}
 .sw-portal-layout-actions{gap:4px}
 .sw-portal-layout-actions button{font-size:10px;padding:6px}
}
@media(prefers-reduced-motion:reduce){
 body.sw-marketing-modern *,body.sw-portal-modern *{scroll-behavior:auto!important;
 transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* Preserve contrast for the existing supplied logo on a dark navigation bar. */
body.sw-marketing-modern .site-header .brand-logo img{filter:brightness(0) invert(1)}
@media(max-width:900px){
 body.sw-marketing-modern .main-nav{background:#182d41!important;
 border-color:#3d5769!important;box-shadow:0 16px 32px #071e2f4d}
 body.sw-marketing-modern .main-nav a{color:#e3eef6!important;
 border-color:#37536a!important}
 body.sw-marketing-modern .main-nav .contact-nav{background:#2479a7!important;
 border:1px solid #398aaf!important}
}
