/* Complete website themes. Product screen contents retain the application's own appearance. */
body[data-theme=light]{--page:#ebeae6;--surface:#f8f7f4;--surface-alt:#dedfdb;--text:#172a42;--secondary:#495d76;--subtle:#4e6077;--edge:#c5c9cb;--link:#2461b2;--paper:#ebeae6;--ink:#172a42;--line:#c5c9cb;color-scheme:light}
body[data-theme=dark]{--page:#101a2b;--surface:#18263b;--surface-alt:#142136;--text:#edf3fc;--secondary:#b5c3d6;--subtle:#96aac4;--edge:#304159;--link:#8db9ff;--paper:#101a2b;--ink:#edf3fc;--line:#304159;color-scheme:dark}
body[data-theme]{background:var(--page);color:var(--text)}
body[data-theme] .section-light,body[data-theme] .site-footer{background:var(--page);color:var(--text)}
body[data-theme] .capabilities-section,body[data-theme] .contact-section{background:var(--surface-alt);color:var(--text)}
body[data-theme] .site-header{background:var(--page);border-color:var(--edge);color:var(--text)}
body[data-theme] .project,body[data-theme] .contact-card{background:var(--surface);border-color:var(--edge);color:var(--text)}
body[data-theme] :is(.intro-columns p,.section-heading>p,.project-copy>p,.project-copy>div>p,.process-steps p,.about-copy>p:not(.eyebrow),.capability-intro,.capabilities details p,.contact-grid>div>p:not(.eyebrow),.contact-card>p,.dialog-lead,.dialog-features p,.mdb-detail-copy>p:not(.dialog-category)){color:var(--secondary)}
body[data-theme] .about-copy>.about-lead{color:var(--text)!important}
body[data-theme] :is(.eyebrow,.dark-label,.muted,.project-meta,.product-type,.project-meta>span:first-child,.work-outro,.founder-line>div:last-child>span,.footer-top>span,.footer-bottom,.dialog-top .mono,.capability-index,.cap-num){color:var(--subtle)}
body[data-theme] :is(.project-link,.work-outro>a,.contact-mail,.copy-email,.dialog-actions>a:not(.button),.footer-top>a:last-child,.text-link){color:var(--link)}
body[data-theme] .project-tags span{background:var(--surface-alt);border-color:var(--edge);color:var(--secondary)}
body[data-theme] :is(.section-heading,.about-grid,.founder-line,.capabilities details,.capabilities details:last-child,.footer-bottom,.footer-top,.dialog-features article,.dialog-top){border-color:var(--edge)}
body[data-theme] .capabilities summary{color:var(--text)}
body[data-theme] .capabilities details[open] h3{color:var(--link)}
body[data-theme] .contact-divider{background:var(--edge)}
body[data-theme] .founder-initials span{background:var(--surface);color:var(--link);border-color:var(--page)}
body[data-theme] .founder-initials span+span{background:var(--surface-alt)}
body[data-theme] .project-dialog,body[data-theme] .dialog-top{background:var(--surface);color:var(--text)}
body[data-theme] .dialog-close{color:var(--text);border-color:var(--edge)}
body[data-theme] .dialog-category{color:var(--link)}
body[data-theme] .screen-dialog{background:var(--page);color:var(--text);border-color:var(--edge)}
body[data-theme] :is(.screen-toolbar,.screen-tabs,.screen-note){background:var(--surface);color:var(--secondary);border-color:var(--edge)}
body[data-theme] :is(.screen-toolbar button,.screen-tabs button){background:var(--surface-alt);color:var(--secondary);border-color:var(--edge)}
body[data-theme] .screen-tabs button[aria-pressed=true]{background:#2563eb;color:#fff;border-color:#2563eb}
body[data-theme] .screen-scroll{background:var(--page)}
body[data-theme] .screen-stage.ops-view .screen-scroll{background:#f7f9fc}
body[data-theme=dark] .hero{background:radial-gradient(ellipse at 90% 30%,#1c3453,transparent 60%),var(--page)}
body[data-theme=dark] .about-visual{background:radial-gradient(ellipse at 50% 50%,#244575,transparent 75%),var(--surface-alt)}
body[data-theme=dark] .mdb-product-stage{background:linear-gradient(135deg,#1e3452,#16283f)}
body[data-theme=dark] :is(.mdb-product-top,.mdb-product-steps){color:var(--secondary)}
body[data-theme=dark] .mdb-flat-preview,body[data-theme=dark] .mdb-expand{background:var(--surface);border-color:var(--edge)}
body[data-theme=dark] .mdb-flat-preview>span,body[data-theme=dark] .mdb-expand>span{background:var(--surface);color:var(--link)}
body[data-theme=dark] .step-number{color:var(--subtle);border-color:var(--edge)}
body[data-theme=dark] .step-number>span{background:var(--surface);color:var(--link);border-color:var(--edge)}
body[data-theme=dark] .hero-bottom{border-color:var(--edge)}
body[data-theme=dark] .hero-intro,body[data-theme=dark] .hero-note{color:var(--secondary)}
body[data-theme] .hero h1>span,body[data-theme] .brand-blue-text{color:#3b82f6}
body[data-theme] .hero h1{font-size:clamp(2.8rem,5.7vw,5.35rem);font-weight:700;line-height:1.04;letter-spacing:-.055em}
body[data-theme] .hero h1>span{white-space:normal}
/* Plain navigation, with one moving underline instead of boxes. */
body[data-theme] .site-header #navigation{background:transparent;border:0;box-shadow:none;border-radius:0;padding:5px 0}
body[data-theme] .site-header #navigation>a{background:transparent;border-radius:0;color:var(--secondary);font-weight:500;padding:12px 13px}
body[data-theme] .site-header #navigation>a:hover,body[data-theme] .site-header #navigation>a.is-current{background:transparent;color:var(--link)}
body[data-theme] .nav-indicator{background:none;border:0;border-radius:0;box-shadow:none}
body[data-theme] .nav-indicator:after{left:13px;right:13px;width:auto;height:2px;bottom:3px;background:var(--link);box-shadow:none;border-radius:2px}
body[data-theme] .site-header .nav-cta{color:var(--link);border-color:var(--edge)}
body[data-theme] .site-header .nav-cta.is-current{background:#2563eb;color:white;border-color:#2563eb}
@media(max-width:1199px){body[data-theme] .site-header #navigation{background:var(--surface);border:1px solid var(--edge);padding:10px;border-radius:10px;box-shadow:0 12px 24px #0002}body[data-theme] .site-header #navigation>a.is-current{box-shadow:inset 2px 0 var(--link);background:transparent}}
body[data-theme] .product-screen{background:var(--surface-alt);color:var(--text)}
body[data-theme] .screen-caption,body[data-theme] .screen-caption>span{color:var(--secondary)}
body[data-theme] .screen-heading>span:last-child,body[data-theme] .mdb-detail-copy>a:last-child{color:var(--link)}

/* A quieter neutral palette, with BizzBit blue reserved for emphasis. */
body[data-theme=light] .hero{background:linear-gradient(90deg,var(--page) 0%,var(--page) 55%,#d9dcde 100%)}
body[data-theme=light] .studio-showcase{background:linear-gradient(140deg,#f4f3ef,#e2e3df);border-color:#c5c9cb;box-shadow:0 24px 65px #24334614}
body[data-theme=light] .studio-products :is(button,a){background:#f8f7f4;border-color:#d0d3d3}
body[data-theme=light] .studio-products :is(button,a):hover{background:#eeefed}
body[data-theme=light] .studio-showcase:before{background:#b9c5d017}
body[data-theme=light] .about-visual{background:linear-gradient(135deg,#c8ced3,#e0e2de)}
body[data-theme=light] .mdb-product-stage{background:linear-gradient(135deg,#d9dfe4,#e6e7e3)}
@media(max-width:600px){body[data-theme] .hero h1{font-size:clamp(2.75rem,10.3vw,3.5rem);line-height:1.07}}
/* Connected software fragments remain behind all interactive content. */
.hero{isolation:isolate}.software-fragments{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:hidden;contain:strict}.hero-grid,.hero-bottom{z-index:1}.software-fragment{opacity:.38}.fragment-panel{fill:#f8f7f4;fill-opacity:.4;stroke:#3b82f6;stroke-opacity:.45;stroke-width:1}.fragment-icon{fill:none;stroke:#3b82f6;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.fragment-accent-fill{fill:#3b82f6;fill-opacity:.13}.fragment-trend{stroke-width:1.7}.fragment-connections{fill:none;stroke:#3b82f6;stroke-opacity:.15;stroke-width:1;stroke-dasharray:3 8}.fragment-4{opacity:.24}body[data-theme=dark] .software-fragment{opacity:.32}body[data-theme=dark] .fragment-panel{fill:#192c46;fill-opacity:.65;stroke:#75aaff}body[data-theme=dark] .fragment-icon{stroke:#80b0ff}body[data-theme=dark] .fragment-connections{stroke:#75aaff;stroke-opacity:.15}
@media(max-width:759px){.software-fragment{opacity:.18}.fragment-2,.fragment-4{display:none}.fragment-connections{stroke-opacity:.08}body[data-theme=dark] .software-fragment{opacity:.2}}
@media(prefers-reduced-motion:reduce){.software-fragments *{animation:none!important;transition:none!important}}
/* Technical blueprint: crisp paths, junctions and travelling light accents. */
.software-fragments .blueprint-node{opacity:.48}.software-fragments .fragment-icon{stroke-width:1;stroke:#3b82f6}.blueprint-grid{stroke:#3b82f6;stroke-width:.65;stroke-opacity:.07}.software-fragments .fragment-connections{stroke:#3b82f6;stroke-opacity:.27;stroke-width:1;stroke-dasharray:none;stroke-linejoin:round}.blueprint-pulse{stroke:none;fill:#3b82f6;fill-opacity:.8}body[data-theme=dark] .software-fragments .blueprint-node{opacity:.55}body[data-theme=dark] .software-fragments .fragment-connections{stroke-opacity:.36}body[data-theme=dark] .blueprint-grid{stroke-opacity:.1}body[data-theme=dark] .blueprint-pulse{fill:#82b4ff}.theme-switching *, .theme-switching *:before,.theme-switching *:after{transition:none!important}
::view-transition-old(root){animation:theme-fade-out .28s ease-in-out both}::view-transition-new(root){animation:theme-fade-in .28s ease-in-out both}::view-transition-group(root){animation-duration:.28s}
@keyframes theme-fade-out{to{opacity:0}}@keyframes theme-fade-in{from{opacity:0}}
@media(max-width:759px){.software-fragments .blueprint-node{opacity:.3}.software-fragments .fragment-connections{stroke-opacity:.15}.blueprint-grid{stroke-opacity:.04}.blueprint-pulse{r:1.5px;fill-opacity:.5}}
@media(prefers-reduced-motion:reduce){.blueprint-pulse{display:none}::view-transition-old(root),::view-transition-new(root){animation:none}}
/* Floating document network replaces the technical grid and signal pulses. */
.document-network .document-node{opacity:.52}.document-network .fragment-icon{stroke:#3b82f6;stroke-width:1.25}.document-network .document-paper{fill:#f8f7f4;fill-opacity:.55}.document-network .fragment-connections{stroke-dasharray:none;stroke-width:1;stroke-opacity:.23}body[data-theme=dark] .document-network .document-node{opacity:.52}body[data-theme=dark] .document-network .fragment-icon{stroke:#8cbaff}body[data-theme=dark] .document-network .document-paper{fill:#182b45;fill-opacity:.7}
/* Blue light sits behind the product screens, never over the interface. */
.mdb-product-stage,.product-screen{position:relative;isolation:isolate}.mdb-product-stage:before,.product-screen:before{content:'';position:absolute;inset:4% -4%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,#3b82f666 0%,#3b82f62e 35%,#3b82f600 72%);filter:blur(22px);opacity:.65;transition:opacity .35s ease}.mdb-product-stage:hover:before,.mdb-product-stage:focus-within:before,.product-screen:hover:before,.product-screen:focus-visible:before{opacity:1}body[data-theme=light] .mdb-product-stage:before,body[data-theme=light] .product-screen:before{inset:10% 4%;background:radial-gradient(ellipse at 50% 50%,#3b82f640 0%,#3b82f61f 35%,#3b82f600 70%);filter:blur(18px);opacity:.7}body[data-theme=light] .mdb-product-stage:hover:before,body[data-theme=light] .mdb-product-stage:focus-within:before,body[data-theme=light] .product-screen:hover:before,body[data-theme=light] .product-screen:focus-visible:before{opacity:1}.product-screen:hover .screen-viewport{transform:none}
@media(max-width:759px){.document-network .document-node:nth-of-type(3),.document-network .document-node:nth-of-type(5){display:none}.document-network .document-node{opacity:.3}.document-network .fragment-connections{stroke-opacity:.13}.mdb-product-stage:before,.product-screen:before{filter:blur(14px)}}
@media(prefers-reduced-motion:reduce){.mdb-product-stage:before,.product-screen:before{transition:none}}
/* Flowing information stays in the open margins around the hero content. */
.information-flow{fill:none}.flow-route{stroke:#3b82f6;stroke-width:1;opacity:.17}.flow-packet{stroke:#6ca7ff;stroke-width:2;stroke-linecap:round;stroke-dasharray:18 260 4 310;opacity:.65;filter:drop-shadow(0 0 4px #3b82f680)}
body[data-theme=light] .flow-route{opacity:.19}body[data-theme=light] .flow-packet{stroke:#3b82f6;opacity:.5}
/* Original logo remains intact; the light is a separate decorative layer. */
.site-header .brand,.site-footer .brand{position:relative;isolation:isolate}
.site-header .brand:before,.site-footer .brand:before{content:'';position:absolute;inset:-15px -25px;z-index:-1;border-radius:50%;background:radial-gradient(ellipse,#3b82f663 0%,#3b82f626 40%,transparent 72%);filter:blur(10px);pointer-events:none}
body[data-theme=light] .brand:before{opacity:.6}
/* Complementary product halo and deliberate hover/focus feedback. */
body[data-theme] .mdb-product-stage:before,body[data-theme] .product-screen:before{opacity:.85}
body[data-theme] .button-primary{box-shadow:0 5px 24px #3b82f62b;transition:box-shadow .25s ease,background-color .25s ease,transform .25s ease}
body[data-theme] .button-primary:hover,body[data-theme] .button-primary:focus-visible{box-shadow:0 7px 35px #3b82f670,0 0 0 1px #8cbaff66}
body[data-theme] .studio-products :is(button,a):hover,body[data-theme] .studio-products :is(button,a):focus-visible{box-shadow:0 0 24px #3b82f624,inset 0 0 0 1px #3b82f64d}
@media(max-width:600px){.flow-route{opacity:.12}.flow-packet{opacity:.4;stroke-width:1.5}.site-header .brand:before{inset:-10px -15px}}
@media(prefers-reduced-motion:reduce){.flow-packet{display:none}body[data-theme] .button-primary{transition:none}}
/* A single restrained light pass around the hero card. */
.studio-edge-light{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;fill:none;z-index:1}
.studio-edge-trace{stroke:#3b82f6;stroke-width:2;stroke-linecap:round;stroke-dasharray:140 860;opacity:0;animation:studio-edge-intro 2.6s .15s ease-in-out 1 both;filter:drop-shadow(0 0 3px #3b82f666)}
@keyframes studio-edge-intro{0%{stroke-dashoffset:1000;opacity:0}12%{opacity:.9}85%{opacity:.9}100%{stroke-dashoffset:0;opacity:0}}
body[data-theme] .studio-showcase{transition:border-color .25s ease,box-shadow .25s ease}
body[data-theme] .studio-showcase:hover,body[data-theme] .studio-showcase:focus-within{border-color:#3b82f680;box-shadow:0 0 25px #3b82f61a,0 25px 65px #00112815}
/* Prominent accents use the same BizzBit blue in both themes. */
body[data-theme] :is(.studio-title em,.capability-grid h2>span,.capability-index,.capability-index>span,.capabilities h3,.capabilities details[open] h3,.contact-grid h2 span,.step-number){color:#3b82f6}
@media(prefers-reduced-motion:reduce){.studio-edge-trace{animation:none;opacity:0}body[data-theme] .studio-showcase{transition:none}}

/* Product navigation uses native anchors and respects the sticky-header offset. */
.studio-products a{text-decoration:none}.project[id]{scroll-margin-top:16px}.studio-products a:focus-visible{outline:2px solid #3b82f6;outline-offset:3px}
/* MDB Builder icon control: fixed geometry prevents layout shifts across themes. */
body[data-theme] .site-header .theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;flex:0 0 36px;padding:0;margin-left:0;border:1px solid var(--edge);border-radius:4px;background:transparent;color:var(--text);line-height:1;transition:border-color .2s,color .2s,background .2s,transform .2s}
body[data-theme] .site-header .theme-toggle:hover{border-color:#3b82f6;color:#3b82f6;background:#3b82f60f}
body[data-theme] .site-header .theme-toggle:active{transform:scale(.95)}
.theme-toggle:focus-visible{outline:2px solid #3b82f6;outline-offset:3px}.theme-icon{display:block;width:16px;height:16px;flex:none}
body[data-theme=light] .theme-icon-sun,body[data-theme=dark] .theme-icon-moon{display:none}
@media(max-width:1199px){body[data-theme] .site-header .theme-toggle{margin-left:auto}body[data-theme] .site-header .nav-cta{margin-left:0;flex-shrink:0}}
@media(prefers-reduced-motion:reduce){body[data-theme] .site-header .theme-toggle{transition:none}}
/* Header follows the same content rails as the page sections. */
.site-header .nav-wrap{max-width:1320px;padding-inline:48px}
@media(max-width:1150px){.site-header .nav-wrap{padding-inline:32px}}
@media(max-width:640px){.site-header .nav-wrap{padding-inline:23px}}
@media(min-width:601px) and (max-width:1199px){.site-header .menu-toggle{order:1;margin-left:auto}.site-header .theme-toggle{order:2}body[data-theme] .site-header .theme-toggle{margin-left:0}.site-header .nav-cta{order:3}}
/* A stable, immediate sidebar at the same 12px UI scale as the content. */
.screen-stage.ops-view .ops-sidebar{width:240px;flex:0 0 240px;height:auto;align-self:stretch;aspect-ratio:auto;max-width:none;padding:0;font-family:Inter,Arial,sans-serif;font-size:12px;line-height:1.5;display:flex;flex-direction:column;overflow:hidden;color:#667383;background:#f8fafc}
.ops-sidebar[hidden]{display:none!important}.ops-side-brand{height:65px;flex:0 0 65px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between}.ops-side-brand img{width:130px;height:auto;filter:drop-shadow(0 1px 2px #53617699)}.ops-side-brand>span{font-size:18px;color:#778494}
.ops-side-navigation{flex:1;min-height:0;overflow-y:auto;padding:0 8px 10px;scrollbar-width:thin}.ops-side-group{font-size:10px;font-weight:700;letter-spacing:1px;color:#242c35;padding:13px 9px 7px}.ops-side-row{display:flex;align-items:center;gap:9px;width:100%;min-height:28px;padding:5px 10px;border:0;border-radius:4px;font:inherit;color:inherit;background:transparent;text-align:left;white-space:nowrap}.ops-side-row svg{width:15px;height:15px;flex:0 0 15px}.ops-side-row.subrow{padding-left:29px}.ops-side-row small{margin-left:auto;color:#bb4852;font-size:11px}.ops-side-row[aria-current=page]{color:#2879c7;background:#e0eeff;box-shadow:inset 2px 0 #3b82f6;font-weight:500}.ops-side-row[aria-current=page] svg{stroke:#2879c7}.ops-side-row:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}
.ops-side-account{flex:none;border-top:1px solid #e1e6ed;padding:10px 17px;background:#f8fafc}.ops-side-account>small{font-size:9px;letter-spacing:1px}.ops-side-account>div{display:flex;align-items:center;gap:9px;margin-top:7px}.ops-side-account b{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#3b82f6;color:white;font-size:10px}.ops-side-account strong{display:block;font-size:12px;color:#283444}.ops-side-account span small{display:block;font-size:9px;color:#84909c}
@media(max-width:640px){.screen-stage.ops-view .ops-sidebar{width:220px;flex-basis:220px}}
/* Dashboard follows the original card hierarchy at the planning UI scale. */
.ops-dashboard-native .ops-content{padding:20px 24px}.ops-dashboard-native .ops-kpis{gap:10px;margin:16px 0 23px}.ops-dashboard-native .ops-kpis article{padding:12px}.ops-kpi-state{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.ops-kpi-state>span{font-size:18px;color:#3b82f6;background:#edf5ff;border-radius:4px;padding:0 4px}.ops-kpi-state small{font-size:8px;padding:2px 5px;border-radius:4px;margin:0}.ops-kpi-state .green{color:#198a64;background:#e9f8f0}.ops-kpi-state .amber{color:#a87913;background:#fff8de}.ops-kpi-state .red{color:#c15b62;background:#fff0f1}.ops-dashboard-native .ops-kpis article>span{min-height:0;font-size:9px}.ops-dashboard-native .ops-kpis strong{font-size:25px}.ops-dashboard-native .ops-kpis small{font-size:9px}
.ops-section-title{margin:20px 0 8px}.ops-section-title>small,.ops-volume-label{font-size:9px;letter-spacing:.05em;color:#84909c}.ops-section-title>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.ops-section-title h3{font:600 16px/1.4 Inter,Arial,sans-serif;color:#273444;letter-spacing:-.02em}.ops-section-title>div>span{color:#2980d1;font-size:11px}.ops-section-title>p{font-size:11px;color:#84909c;margin-top:3px;max-width:75%}.ops-dashboard-native .ops-panel{padding:14px;margin-bottom:20px;border-radius:5px}.ops-funnel-original>div{position:relative;border-right:1px solid #eef1f6;padding:0 13px 12px;display:flex;flex-direction:column}.ops-funnel-original>div:last-child{border:0;background:#edf6ff}.ops-funnel-original>div>strong{font-size:25px}.ops-funnel-original>div>span{text-transform:uppercase;font-size:9px}.ops-funnel-original>div>small{font-size:10px;color:#84909c}.ops-funnel-original>div>i{position:absolute;bottom:0;left:13px;right:13px;height:3px;background:#66a7fa}.ops-dashboard-native .ops-charts{gap:16px}.ops-dashboard-native .ops-charts .ops-panel{padding:16px}.ops-dashboard-native .ops-charts svg{height:215px;max-height:none}.ops-dashboard-native .ops-bars{height:235px}
.ops-dashboard-native .ops-request{padding:13px 12px;margin-bottom:9px;border:1px solid #e2e8f0;border-radius:4px;box-shadow:0 2px 4px #243c5808}.ops-request-action{display:flex;gap:6px;align-items:center;white-space:nowrap}.ops-request-action>span{padding:5px 8px;border:1px solid #e2e8f0;border-radius:4px;font-size:10px}.ops-request-action>b{background:#1682ef;color:white;padding:6px 9px;border-radius:4px;font-size:10px;font-weight:500}.ops-dashboard-native .ops-quality-summary{display:flex;align-items:center;gap:15px;padding:16px;font-size:11px}.ops-quality-summary>span:last-child{margin-left:auto}.ops-quality-icon{font-size:19px;background:#edf6ff;color:#3b82f6}.ops-dashboard-native .ops-recent{margin:0}.ops-dashboard-native .ops-recent td{height:36px}.ops-dashboard-native .ops-recent th{height:34px}
/* Icon follows the requested state while the native details element closes. */
.capabilities details[data-expanded=false] .expand-sign:after{transform:rotate(90deg)}
.capabilities details[data-expanded=true] .expand-sign:after{transform:rotate(0)}
.capabilities summary:focus-visible{outline:2px solid #3b82f6;outline-offset:7px;border-radius:2px}
/* Training planning joins the portfolio as a full-width application example. */
.project-training{display:grid;grid-template-columns:1fr 1.35fr;margin-top:26px;overflow:hidden}.project-training .project-copy{display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:34px}.project-training .product-screen{height:100%;padding:30px;display:flex;flex-direction:column;justify-content:center;gap:18px;border:0}.project-training .screen-viewport{aspect-ratio:1600/1050;height:auto;width:100%;border-radius:7px;box-shadow:0 12px 30px #17375920}.project-training .screen-viewport img{width:100%;height:100%;object-fit:contain;object-position:top;transform:none}.project-training .screen-caption{margin:0;gap:20px}.project-training .project-tags{gap:7px;flex-wrap:wrap}
@media(max-width:900px){.project-training{grid-template-columns:1fr}.project-training .product-screen{order:-1;padding:22px}.project-training .project-copy{padding:28px}}
@media(max-width:600px){.project-training .screen-caption{font-size:10px;gap:10px}.project-training .product-screen{padding:16px}}

/* Full application pages: the sidebar stays fixed inside an isolated viewport. */
.screen-dialog.training-fullscreen{width:calc(100% - 24px);height:calc(100dvh - 24px);max-height:none;max-width:none}
.training-fullscreen .screen-scroll{padding:0;overflow:hidden;display:flex;background:#f3f5f8}
.training-fullscreen .training-native-clip{position:relative;width:100%;height:100%;max-width:none;overflow:hidden;flex:1}
.training-app-frame{position:absolute;inset:0;border:0;display:block;transform-origin:top left;background:#f3f5f8}
.training-fullscreen .screen-scroll[aria-busy=true]:after{position:absolute;bottom:18px;left:50%;transform:translateX(-50%)}
.training-fullscreen .screen-note{font-size:11px}
@media(max-width:600px){.screen-dialog.training-fullscreen{width:calc(100% - 12px);height:calc(100dvh - 12px)}}

/* Darker blue scrollbars, including nested application surfaces. */
:root{--scroll-thumb:#2454a4;--scroll-track:#e1e5eb}
body[data-theme=dark]{--scroll-track:#18263b}
html,body,body *{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:var(--scroll-track)}::-webkit-scrollbar-thumb{background:#2454a4;border-radius:8px}::-webkit-scrollbar-thumb:hover{background:#1e4385}
/* Product explanations use fitted pages so the outer modal never scrolls. */
.project-dialog.paged-project{width:min(1180px,calc(100% - 32px));height:min(850px,calc(100dvh - 32px));max-height:none;max-width:none;overflow:hidden}
.paged-project #dialog-content{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:18px;padding:30px;overflow:hidden}
.paged-project .dialog-category{font-size:11px;padding-right:35px}
.paged-project .dialog-title{font-size:clamp(25px,3vw,38px);margin-top:10px;line-height:1.12;padding-right:26px}
.paged-project .dialog-features{min-height:0;overflow:hidden;align-content:start;grid-template-columns:1fr 1fr;gap:20px 28px;margin:0}
.paged-project .dialog-overview{grid-column:1/-1}
.paged-project .dialog-lead{margin:0;font-size:16px;line-height:1.7}
.paged-project .gallery-link{margin:16px 0 0}
.paged-project .dialog-features article{padding-top:15px}
.paged-project .dialog-features h3{font-size:19px}
.paged-project .dialog-features p{font-size:16px;line-height:1.65;margin-top:9px}
.paged-project .dialog-actions{margin:0;gap:14px;padding-top:15px;border-top:1px solid var(--edge)}
.dialog-pagination{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-height:38px}
.dialog-pagination[hidden]{display:none}
.dialog-pagination button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--edge);border-radius:5px;background:var(--surface,var(--paper));color:var(--text);padding:8px 14px;font-size:13px;line-height:1.3}
.dialog-pagination button:disabled{opacity:.35}.dialog-page-count{font-family:var(--mono);font-size:11px;color:var(--secondary);min-width:50px;text-align:center}
@media(max-width:760px){.project-dialog.paged-project{width:calc(100% - 16px);height:calc(100dvh - 16px)}.paged-project #dialog-content{padding:22px;gap:14px}.paged-project .dialog-features{grid-template-columns:1fr;gap:18px}.paged-project .dialog-actions{gap:10px}.paged-project .dialog-actions .button{padding:11px 14px}.paged-project .dialog-actions>a:not(.button){font-size:12px}.paged-project .dialog-title{font-size:27px}.paged-project .dialog-features h3{font-size:18px}.dialog-pagination{gap:10px}}
@media(max-height:600px){.paged-project #dialog-content{padding:18px;gap:10px}.paged-project .dialog-title{font-size:25px;margin-top:6px}.paged-project .dialog-actions{padding-top:8px}.paged-project .dialog-lead,.paged-project .dialog-features p{font-size:15px;line-height:1.5}}

.screen-dialog.image-fit{width:calc(100% - 24px);height:calc(100dvh - 24px);max-height:none}
.image-fit .screen-scroll:not(.zoomed){display:flex;overflow:hidden;padding:12px;align-items:center;justify-content:center}
.image-fit .screen-scroll:not(.zoomed) .screen-image-clip{height:100%;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.image-fit .screen-scroll:not(.zoomed) img{width:100%;height:100%;object-fit:contain;box-shadow:none}

.project-dialog.paged-project[open]{display:flex;flex-direction:column}.paged-project .dialog-top{flex-shrink:0;position:static}.paged-project #dialog-content{height:auto;flex:1;min-height:0}


@media(max-height:480px){.paged-project .dialog-top{position:absolute;right:10px;top:10px;width:35px;height:35px;padding:0;border:0;background:transparent}.paged-project .dialog-top>span{display:none}.paged-project #dialog-content{padding:14px 20px;gap:8px}.paged-project .dialog-title{font-size:23px}.paged-project .dialog-features{grid-template-columns:1fr;gap:10px}.paged-project .dialog-features article{padding-top:9px}.paged-project .dialog-features h3{font-size:17px}.paged-project .dialog-features p{margin-top:6px}.paged-project .dialog-actions .button{padding:8px 14px}.dialog-pagination{min-height:30px}.dialog-pagination button{padding:6px 12px}}

/* A compact continuation cue shows what comes next without competing with the copy. */
.dialog-pagination{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;min-height:60px;padding:9px 12px;border:1px solid #3b82f62e;border-radius:7px;background:#3b82f60a}
.dialog-page-guidance{display:flex;flex-direction:column;gap:3px;min-width:0}
.dialog-page-count{font-family:var(--body);font-size:12px;font-weight:600;line-height:1.3;text-align:left;color:var(--text)}
.dialog-page-preview{font-size:12px;line-height:1.3;color:var(--secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dialog-pagination button{min-height:38px;padding:9px 13px;line-height:1.3;white-space:nowrap}
.dialog-pagination [data-page-prev]{background:transparent;border-color:transparent}
.dialog-pagination [data-page-next]{background:#3b82f6;border-color:#3b82f6;color:#fff;font-weight:600;box-shadow:0 2px 5px #2563eb16;min-width:192px}
.dialog-pagination [data-page-next]:not(:disabled):hover{background:#2563eb;border-color:#2563eb}
.next-arrow{transition:transform .18s ease}.dialog-pagination [data-page-next]:not(:disabled):hover .next-arrow{transform:translateX(3px)}
.dialog-pagination [data-page-next]:disabled{background:transparent;border-color:var(--edge);box-shadow:none;color:var(--secondary);opacity:1}
.dialog-pagination [data-page-next]:disabled .next-arrow{visibility:hidden}
body[data-theme=dark] .dialog-pagination{background:#3b82f610;border-color:#3b82f63d}
@media(max-width:760px){.dialog-pagination{gap:7px;padding:8px;min-height:54px}.dialog-page-count{font-size:11px}.dialog-page-preview,.prev-label{display:none}.dialog-pagination [data-page-prev]{padding:8px;min-width:30px}.dialog-pagination [data-page-next]{min-width:0;width:169px;padding:9px;font-size:12px}.dialog-pagination .next-arrow{margin-left:0}}
@media(max-height:480px){.dialog-pagination{min-height:48px;padding:6px 9px}.dialog-pagination button{min-height:34px;padding:7px 12px}.dialog-page-preview{display:none}}
@media(prefers-reduced-motion:reduce){.next-arrow{transition:none}.dialog-pagination [data-page-next]:not(:disabled):hover .next-arrow{transform:none}}

@media(max-width:760px) and (max-height:740px){.paged-project .dialog-top{padding:8px 18px}.paged-project #dialog-content{padding:18px;gap:10px}}

/* NCBit shares the DocBit presentation; LZV continues as a full-width product. */
.product-screen-ncbit .screen-viewport{display:flex;align-items:center;background:#dce9fa}
.product-screen-ncbit .screen-viewport img{width:100%;height:100%;object-fit:contain}
.project-wide{display:grid;grid-template-columns:1fr 1.35fr;margin-top:26px}
.project-wide .project-copy{gap:24px;justify-content:center;padding:34px;order:0}
.project-wide .project-copy>p{margin:0}
.project-wide .project-link{margin-top:5px}
.project-wide .product-screen{order:1;height:100%;padding:30px;display:flex;flex-direction:column;justify-content:center;gap:18px}
.project-wide .screen-viewport{width:100%;height:auto;aspect-ratio:1000/563}
.project-wide .screen-caption{margin:0;gap:20px}
@media(max-width:850px){.project-wide{grid-template-columns:1fr}.project-wide .product-screen{order:-1;padding:22px}.project-wide .project-copy{padding:28px}}
@media(max-width:520px){.project-wide .product-screen{padding:16px}.project-wide .screen-caption{font-size:10px;gap:10px}}
/* Keep both technical product previews complete and at the same visual scale. */
.product-screen-docbit,.product-screen-ncbit{height:auto;display:flex;flex-direction:column;gap:18px}
.product-screen-docbit .screen-viewport,.product-screen-ncbit .screen-viewport{width:100%;height:auto;aspect-ratio:12/7;flex:none}
.product-screen-docbit .branded-screen-frame{width:100%;height:100%}
.product-screen-docbit .branded-screen-frame>img{width:100%;height:100%;object-fit:contain}
.product-screen-docbit .screen-caption,.product-screen-ncbit .screen-caption{margin:0}
/* Open gently; only the reading area moves while browsing product pages. */
.project-dialog[open]{animation:product-modal-open .32s cubic-bezier(.16,1,.3,1)}
.project-dialog[open]::backdrop{animation:product-backdrop-open .25s ease-out}
@keyframes product-modal-open{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes product-backdrop-open{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.project-dialog[open],.project-dialog[open]::backdrop{animation:none}}
/* Reserve the scrollbar lane when a modal locks the page. */
html{scrollbar-gutter:stable}
.project-dialog.is-closing::backdrop{animation:product-backdrop-close .19s ease-in forwards}
@keyframes product-backdrop-close{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.project-dialog.is-closing::backdrop{animation-duration:.1s}}

/* Homepage screenshots introduce the product before opening its gallery. */
.mdb-flat-preview{cursor:pointer}
/* Approved precision-point background: quiet behind the copy, clear around the product panel. */
body[data-theme] .hero{background:var(--page)}
.hero:before{background-image:none}
.precision-points{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;z-index:0;mask-image:linear-gradient(90deg,rgba(0,0,0,.68),#000 65%)}
.hero-grid,.hero-bottom{position:relative;z-index:1}
