
:root{
  --font-display:"Myriad Pro","Source Sans 3","Segoe UI",system-ui,sans-serif;
  --font-body:"Myriad Pro","Source Sans 3","Segoe UI",system-ui,sans-serif;
  --font-mono:"Myriad Pro","Source Sans 3","Segoe UI",system-ui,sans-serif;
  --ground:#EFF4F7; --surface:#FFFFFF; --surface-2:#E4ECF1; --ink:#08161F; --ink-2:#4A6070; --ink-3:#7C909D; --line:#CFDCE4;
  --brand:#334862; --accent:#0A72A3; --accent-soft:#D9ECF7; --copper:#A65C22; --copper-soft:#F4E3D6; --logo-azure:#29A3D9; --logo-grey:#7F7F7F;
  --deep:#081620; --deep-2:#0E2431; --on-deep:#DCE8EE; --on-deep-2:#8AA3B1; --deep-line:#1C3948; --cyan:#41B4E8; --amber:#E0A458;
  --panel:#FFFFFF; --on-panel:#08161F; --on-panel-2:#4A6070; --panel-line:#CFDCE4; --panel-edge:#CFDCE4; --key-line:#0A72A3;
  --merc:#00B050; --merc-ink:#FFFFFF; --merc-soft:#DDF5E7; --tool-body:#C5D3DC; --tool-dark:#7F95A3;
  --maxw:1220px; --rail:66px; --r:3px; color-scheme:light;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --ground:#0A1820; --surface:#0F2430; --surface-2:#16303E; --ink:#E3EDF2; --ink-2:#9DB4C0; --ink-3:#6E8798; --line:#1E3B4A;
  --brand:#8AA9C4; --accent:#41B4E8; --accent-soft:#0F3448; --copper:#E0A458; --copper-soft:#33241A;
  --panel:#081620; --on-panel:#DCE8EE; --on-panel-2:#8AA3B1; --panel-line:#1C3948; --key-line:#41B4E8; --panel-edge:#12303F;
  --merc-soft:#0D3321; --tool-body:#4C6271; --tool-dark:#2C3E4A; color-scheme:dark; } }
:root[data-theme="dark"]{
  --ground:#0A1820; --surface:#0F2430; --surface-2:#16303E; --ink:#E3EDF2; --ink-2:#9DB4C0; --ink-3:#6E8798; --line:#1E3B4A;
  --brand:#8AA9C4; --accent:#41B4E8; --accent-soft:#0F3448; --copper:#E0A458; --copper-soft:#33241A;
  --panel:#081620; --on-panel:#DCE8EE; --on-panel-2:#8AA3B1; --panel-line:#1C3948; --key-line:#41B4E8; --panel-edge:#12303F;
  --merc-soft:#0D3321; --tool-body:#4C6271; --tool-dark:#2C3E4A; color-scheme:dark; }
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} }
section[id], .ns-family{scroll-margin-top:84px}
body{margin:0; background:var(--ground); color:var(--ink); font-family:var(--font-body); font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; padding-left:var(--rail)}
h1,h2,h3{font-family:var(--font-display); font-weight:600; text-wrap:balance; margin:0; line-height:1.05; letter-spacing:.005em}
p{margin:0}
a{color:var(--accent)}
:focus-visible{outline:2px solid var(--cyan); outline-offset:2px}
.ns-wrap{max-width:var(--maxw); margin-inline:auto; padding-inline:24px}
.ns-eyebrow{font-family:var(--font-mono); font-size:11.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--ink-3); display:flex; align-items:center; gap:12px}
.ns-eyebrow::after{content:""; flex:1; height:1px; background:var(--line)}
.ns-sec{padding-block:88px; border-top:1px solid var(--line)}
.ns-sec-head{display:grid; gap:16px; margin-bottom:40px}
.ns-h2{font-size:clamp(1.85rem,3.3vw,2.7rem); max-width:24ch}
.ns-lede{color:var(--ink-2); max-width:66ch}

/* depth rail — as on the site */
.ns-rail{position:fixed; left:0; top:0; bottom:0; width:var(--rail); border-right:1px solid var(--line); background:var(--surface); z-index:40; display:flex; flex-direction:column; align-items:center; padding-top:78px; transition:background .2s ease, border-color .2s ease}
.ns-rail:hover{background:var(--surface-2); border-right-color:var(--accent)}
.ns-rail-ticks{position:absolute; inset:78px 0 24px 0; overflow:hidden; cursor:grab; touch-action:none}
.ns-tick{position:absolute; right:0; height:1px; background:var(--line); width:11px}
.ns-tick.is-major{width:22px; background:var(--ink-3)}
.ns-tick-label{position:absolute; right:26px; transform:translateY(-50%); font-family:var(--font-mono); font-size:9.5px; color:var(--ink-3); font-variant-numeric:tabular-nums}
.ns-cursor{position:absolute; right:0; width:var(--rail); height:2px; background:var(--accent); box-shadow:0 0 12px var(--accent)}
.ns-cursor::after{content:""; position:absolute; right:0; top:-3px; border:4px solid transparent; border-right-color:var(--accent)}
.ns-readout{position:absolute; bottom:18px; left:50%; transform:translateX(-50%); font-family:var(--font-mono); font-size:11px; color:var(--ink-2); font-variant-numeric:tabular-nums; text-align:center; line-height:1.3}
.ns-readout b{display:block; font-size:14px; color:var(--ink); font-weight:600}
@media (max-width:1079px){ .ns-rail{display:none} body{padding-left:0} }

/* header — as on the site, with the new tabs, Mercury and the theme switch */
.ns-head{position:sticky; top:0; z-index:30; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); background:color-mix(in srgb, var(--ground) 82%, transparent); border-bottom:1px solid var(--line)}
.ns-head-in{max-width:var(--maxw); margin-inline:auto; padding:14px 24px; display:flex; flex-wrap:wrap; align-items:center; gap:14px 26px}
.ns-logo{display:flex; align-items:center; gap:11px; text-decoration:none; margin-right:auto}
.ns-logo-mark{width:36px; height:auto; display:block}
.ns-logo-txt{font-family:var(--font-display); font-weight:700; font-size:19px; letter-spacing:.11em; text-transform:uppercase; color:var(--logo-azure); line-height:1.1}
.ns-logo-txt i{font-style:normal; color:var(--logo-grey)}
.ns-logo-txt small{display:block; font-family:var(--font-mono); font-size:8.5px; letter-spacing:.2em; color:var(--ink-3); font-weight:400; margin-top:1px}
.ns-nav{display:flex; flex-wrap:wrap; gap:6px 24px}
.ns-nav a{font-weight:700; text-decoration:none; font-size:13px; letter-spacing:.08em; text-transform:uppercase; font-family:var(--font-mono); color:var(--ink-2); padding-block:6px; position:relative}
.ns-nav a::after{content:""; position:absolute; left:0; right:100%; bottom:0; height:1px; background:var(--accent); transition:right .3s ease}
.ns-nav a:hover{color:var(--ink)} .ns-nav a:hover::after, .ns-nav a[aria-current="page"]::after{right:0}
.ns-nav a[aria-current="page"]{color:var(--ink)}
.ns-merc{font-family:var(--font-mono); font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--merc-ink); background:var(--merc); border:0; border-radius:var(--r); padding:10px 18px; cursor:pointer; box-shadow:0 0 0 0 rgba(0,176,80,.5); transition:box-shadow .2s ease, transform .2s ease}
.ns-merc:hover{box-shadow:0 0 22px 2px rgba(0,176,80,.55); transform:translateY(-1px)}
.ns-theme{border:1px solid var(--line); background:transparent; color:var(--ink-2); width:34px; height:34px; border-radius:var(--r); cursor:pointer; font-size:14px; display:grid; place-items:center}
.ns-theme:hover{border-color:var(--accent); color:var(--accent)}
.ns-btn{display:inline-flex; align-items:center; gap:9px; text-decoration:none; font-family:var(--font-mono); font-size:12.5px; letter-spacing:.09em; text-transform:uppercase; padding:11px 19px; border-radius:var(--r); border:1px solid transparent; background:var(--accent); color:#fff; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease}
.ns-btn:hover{transform:translateY(-2px); box-shadow:0 8px 22px -8px var(--accent)}
.ns-btn.is-ghost{background:transparent; color:var(--ink); border-color:var(--line)}
.ns-btn.is-ghost:hover{border-color:var(--accent); color:var(--accent); box-shadow:none}
.ns-btn.is-onDeep{background:var(--cyan); color:#04141B}
.ns-btn.is-onDeep.is-ghost{background:transparent; color:var(--on-deep); border-color:var(--deep-line)}
.ns-btn[disabled]{opacity:.45; cursor:default; transform:none; box-shadow:none}

/* hero — the deep band, unchanged */
.ns-hero{position:relative; background:var(--deep); color:var(--on-deep); overflow:hidden; isolation:isolate}
.ns-hero canvas{position:absolute; inset:0; width:100%; height:100%; z-index:0; opacity:.85}
.ns-hero::after{content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(100deg,var(--deep) 30%,rgba(8,22,32,.72) 52%,rgba(8,22,32,.25) 100%)}
.ns-hero-in{position:relative; z-index:2; max-width:var(--maxw); margin-inline:auto; padding:96px 24px 76px; display:grid; gap:30px}
.ns-hero .ns-eyebrow{color:var(--on-deep-2)} .ns-hero .ns-eyebrow::after{background:var(--deep-line)}
.ns-h1{font-size:clamp(2.6rem,6.1vw,4.9rem); font-weight:650; max-width:15ch; line-height:.97}
.ns-h1 em{font-style:normal; color:var(--cyan)}
.ns-hero-sub{max-width:56ch; color:var(--on-deep-2); font-size:1.06rem}
.ns-hero-cta{display:flex; flex-wrap:wrap; gap:12px}
.ns-hero-strip{display:flex; flex-wrap:wrap; gap:34px 46px; padding-top:26px; border-top:1px solid var(--deep-line)}
.ns-hs-n{font-family:var(--font-display); font-weight:650; font-size:2rem; color:var(--on-deep); line-height:1}
.ns-hs-l{font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--on-deep-2); margin-top:7px}

/* placeholders */
.ns-todo{border:1px dashed var(--line); border-radius:var(--r); padding:36px; display:grid; gap:10px; color:var(--ink-3); font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; text-align:center}

/* modal (Mercury, catalogue, animation) */
.ns-modal{position:fixed; inset:0; z-index:60; display:grid; place-items:center; padding:24px}
.ns-modal-bg{position:absolute; inset:0; border:0; background:rgba(4,12,18,.62); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); cursor:pointer}
.ns-modal-card{position:relative; width:min(760px,100%); max-height:calc(100vh - 48px); overflow:auto; background:var(--panel); color:var(--on-panel); border:1px solid var(--panel-edge); border-radius:6px; padding:34px; display:grid; gap:16px}
.ns-modal-card.is-wide{width:min(1060px,100%)}
.ns-modal-card.is-mercury{border-color:var(--merc); box-shadow:0 0 0 1px var(--merc), 0 0 80px 10px rgba(0,176,80,.35)}
.ns-modal-x{position:absolute; top:14px; right:14px; width:36px; height:36px; border:1px solid var(--panel-line); border-radius:var(--r); background:transparent; color:var(--on-panel-2); cursor:pointer; display:grid; place-items:center}
.ns-modal-x:hover{border-color:var(--accent); color:var(--accent)}
.ns-modal-card h2{font-size:2rem}
.ns-modal-card p{color:var(--on-panel-2)}
.ns-merc-word{color:var(--merc)}
.ns-anim-box{max-width:100%; margin-inline:auto}
.ns-anim-box canvas{width:100%; display:block}
.ns-viz-cap{font-family:var(--font-mono); font-size:10px; letter-spacing:.13em; text-transform:uppercase; color:var(--on-deep-2); text-align:center}

/* services: roadmap */
.ns-road{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px}
.ns-road a{position:relative; display:grid; align-content:space-between; gap:40px; min-height:300px; padding:28px; border-radius:6px; text-decoration:none; color:#fff; background:linear-gradient(160deg,#1B6A90,#145676); overflow:hidden; transition:transform .2s ease, box-shadow .2s ease}
.ns-road a:hover{transform:translateY(-4px); box-shadow:0 18px 40px -18px rgba(8,22,32,.6)}
.ns-road a.is-merc{background:linear-gradient(160deg,#00B050,#008A3E)}
.ns-road b{font-family:var(--font-display); font-weight:650; font-size:1.8rem; letter-spacing:.04em; text-transform:uppercase; line-height:1.05}
.ns-road span{font-size:.95rem; color:rgba(255,255,255,.84); max-width:30ch}
.ns-road i{font-style:normal; font-family:var(--font-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.8); display:flex; align-items:center; gap:8px}
.ns-road svg.ns-road-ico{position:absolute; right:22px; top:22px; width:64px; height:64px; opacity:.85}
/* roadmap, variant B: a workflow line */
.ns-flow{position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0}
.ns-flow::before{content:""; position:absolute; left:16.66%; right:16.66%; top:46px; height:2px; background:linear-gradient(90deg,var(--accent),var(--accent) 66%,var(--merc))}
.ns-flow a{position:relative; display:grid; justify-items:center; text-align:center; gap:14px; padding:0 22px; text-decoration:none; color:var(--ink)}
.ns-flow .ns-node{width:92px; height:92px; border-radius:50%; display:grid; place-items:center; background:var(--surface); border:2px solid var(--accent); color:var(--accent); z-index:1; transition:transform .2s ease, box-shadow .2s ease}
.ns-flow a:hover .ns-node{transform:scale(1.06); box-shadow:0 0 0 8px var(--accent-soft)}
.ns-flow a.is-merc .ns-node{border-color:var(--merc); color:var(--merc)}
.ns-flow a.is-merc:hover .ns-node{box-shadow:0 0 0 8px var(--merc-soft)}
.ns-flow b{font-family:var(--font-display); font-weight:650; font-size:1.35rem; text-transform:uppercase; letter-spacing:.05em}
.ns-flow small{font-family:var(--font-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-3)}
.ns-flow span{color:var(--ink-2); font-size:.95rem; max-width:30ch}

/* cased hole logging: tool ribbon */
.ns-ribbon{position:relative; overflow:hidden; border-block:1px solid var(--line); padding-block:22px; mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.ns-ribbon-track{display:flex; gap:16px; width:max-content; animation:ns-marquee 70s linear infinite}
.ns-ribbon:hover .ns-ribbon-track{animation-play-state:paused}
@keyframes ns-marquee{ to{ transform:translateX(-50%) } }
@media (prefers-reduced-motion: reduce){ .ns-ribbon-track{animation:none} }
.ns-tile{width:168px; flex:none; display:grid; justify-items:center; gap:10px; padding:16px 12px 14px; background:var(--surface); border:1px solid var(--line); border-radius:8px; text-align:center; transition:border-color .2s ease, transform .2s ease}
.ns-tile:hover{border-color:var(--accent); transform:translateY(-3px)}
.ns-tile b{font-family:var(--font-display); font-weight:650; font-size:1rem; line-height:1.1}
.ns-tile small{font-size:.74rem; color:var(--ink-3); line-height:1.3}
.ns-sil{width:44px; height:176px; color:var(--tool-dark)}
.ns-sil .tb{fill:var(--tool-body)} .ns-sil .td{fill:var(--tool-dark)} .ns-sil .tl{fill:none; stroke:var(--tool-dark); stroke-width:1.6; stroke-linecap:round}
.ns-sil .ta{fill:var(--cyan)} .ns-sil .tal{fill:none; stroke:var(--cyan); stroke-width:2; stroke-linecap:round} .ns-sil .tm{fill:var(--amber)}
.ns-chl-foot{display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:40px; align-items:start; margin-top:30px}
.ns-chl-foot p{color:var(--ink-2)}
.ns-chips{display:flex; flex-wrap:wrap; gap:8px}
.ns-chip{font-family:var(--font-mono); font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-2); border:1px solid var(--line); border-radius:999px; padding:5px 12px}
.ns-cat-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px}
.ns-cat-grid .ns-tile{width:auto}
.ns-cat-group{font-family:var(--font-mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--on-panel-2); margin-top:10px}

/* interpretation */
.ns-two{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:48px; align-items:center}
.ns-list{margin:0; padding:0; list-style:none; display:grid; gap:10px}
.ns-list li{display:grid; grid-template-columns:18px 1fr; gap:10px; color:var(--ink-2)}
.ns-list li::before{content:""; width:8px; height:8px; margin-top:9px; border-radius:2px; background:var(--accent)}
.ns-deliver{position:relative; height:420px}
.ns-sheet{position:absolute; background:var(--panel); border:1px solid var(--panel-edge); border-radius:6px; box-shadow:0 18px 40px -22px rgba(8,22,32,.45); padding:16px; overflow:hidden}
.ns-sheet .ns-sh-h{font-family:var(--font-mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--on-panel-2); margin-bottom:10px}
.ns-sheet pre{margin:0; font-family:var(--font-mono); font-size:10.5px; line-height:1.5; color:var(--on-panel-2); white-space:pre}
.ns-steps{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:26px}
.ns-step{border-top:2px solid var(--accent); padding-top:10px}
.ns-step b{display:block; font-family:var(--font-display); font-weight:650}
.ns-step span{font-size:.88rem; color:var(--ink-2)}

/* mercury window */
.ns-app{border-radius:10px; overflow:hidden; border:1px solid var(--panel-edge); background:var(--panel); box-shadow:0 30px 70px -30px rgba(0,176,80,.45)}
.ns-app-bar{display:flex; align-items:center; gap:8px; padding:10px 14px; background:var(--surface-2); border-bottom:1px solid var(--line); font-family:var(--font-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-2)}
.ns-app-bar i{width:10px; height:10px; border-radius:50%; background:var(--line)} .ns-app-bar i:first-child{background:var(--merc)}
.ns-app-body{display:grid; grid-template-columns:200px minmax(0,1fr); min-height:330px}
.ns-app-side{border-right:1px solid var(--line); padding:14px; display:grid; align-content:start; gap:6px}
.ns-app-side span{font-size:.88rem; color:var(--on-panel-2); padding:6px 10px; border-radius:4px; display:flex; justify-content:space-between}
.ns-app-side span.is-on{background:var(--merc-soft); color:var(--on-panel); font-weight:600}
.ns-app-main{padding:18px; display:grid; gap:12px; align-content:start}
.ns-app-row{display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--line); border-radius:4px; font-size:.9rem; color:var(--on-panel)}
.ns-app-row em{margin-left:auto; font-style:normal; font-family:var(--font-mono); font-size:11px; color:var(--on-panel-2)}
.ns-app-row s{width:14px; height:14px; border-radius:3px; background:var(--merc); text-decoration:none}
.ns-app-foot{display:flex; align-items:center; gap:12px; margin-top:6px; font-size:.85rem; color:var(--on-panel-2)}
.ns-app-foot b{margin-left:auto; background:var(--merc); color:#fff; padding:8px 16px; border-radius:4px; font-family:var(--font-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase}

/* technologies: cards, media, tree */
.ns-jump{display:flex; flex-wrap:wrap; gap:8px; margin-top:26px}
.ns-jump a{font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; text-decoration:none; color:var(--ink-2); border:1px solid var(--line); border-radius:999px; padding:7px 14px}
.ns-jump a:hover{border-color:var(--accent); color:var(--accent)}
.ns-family{--tc:var(--accent); margin-top:56px}
.ns-family.is-insight{--tc:var(--copper)} .ns-family.is-lift{--tc:var(--brand)} .ns-family.is-wizard{--tc:var(--cyan)} .ns-family.is-fm{--tc:var(--amber)} .ns-family.is-eco{--tc:var(--ink-3)}
.ns-card{position:relative; display:grid; grid-template-columns:minmax(0,4fr) minmax(0,8fr); gap:40px; align-items:start; background:var(--panel); color:var(--on-panel); border:1px solid var(--panel-edge); border-top:3px solid var(--tc); border-radius:6px; padding:78px 40px 40px}
.ns-card .ns-kind{font-family:var(--font-mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--tc)}
.ns-card h2{font-size:3.4rem; color:var(--tc); letter-spacing:.02em; margin-top:6px}
.ns-card h3{font-size:2.2rem; color:var(--on-panel)}
.ns-card .ns-sub{font-family:var(--font-display); font-weight:600; font-size:1.05rem; color:var(--on-panel); text-transform:uppercase; letter-spacing:.06em; margin-top:8px}
.ns-card p{color:var(--on-panel-2); margin-top:14px; font-size:1.04rem}
.ns-card ul{margin:14px 0 0; padding-left:18px; color:var(--on-panel-2)}
.ns-card ul li{margin-bottom:4px}
.ns-built{display:flex; flex-wrap:wrap; gap:6px; margin-top:16px}
.ns-built span{font-family:var(--font-mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; padding:4px 10px; border-radius:999px; border:1px solid var(--tc); color:var(--tc)}
.ns-media{display:grid; gap:12px}
.ns-video{position:relative; aspect-ratio:16/9; border-radius:6px; overflow:hidden; background:radial-gradient(120% 90% at 70% 30%,#123247,#081620 70%); display:grid; place-items:center; color:var(--on-deep)}
.ns-video::after{content:""; position:absolute; inset:0; background:repeating-linear-gradient(90deg,rgba(65,180,232,.06) 0 1px,transparent 1px 46px)}
.ns-video .ns-play{width:68px; height:68px; border-radius:50%; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.35); display:grid; place-items:center; z-index:1}
.ns-video .ns-vt{position:absolute; left:16px; bottom:12px; z-index:1; font-family:var(--font-mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--on-deep-2)}
.ns-video .ns-vn{position:absolute; left:16px; top:12px; z-index:1; font-family:var(--font-display); font-weight:650; font-size:1.1rem; color:var(--on-deep)}
.ns-mbtns{display:flex; flex-wrap:wrap; gap:8px}
.ns-mbtns .ns-btn{padding:9px 14px; font-size:11.5px}
.ns-kids{position:relative; margin:16px 0 0 18px; padding-left:30px; display:grid; gap:16px}
.ns-kids::before{content:""; position:absolute; left:0; top:-14px; bottom:0; width:2px; background:var(--tc)}
.ns-kid{position:relative}
.ns-kid::before{content:""; position:absolute; left:-30px; top:56px; width:30px; height:2px; background:var(--tc)}
.ns-kid:last-child::after{content:""; position:absolute; left:-33px; top:58px; bottom:-2px; width:8px; background:var(--ground)}
.ns-kid .ns-card{grid-template-columns:minmax(0,4fr) minmax(0,8fr); padding:74px 36px 36px; border-top-width:2px}
.ns-kid .ns-card h3{color:var(--on-panel)}
.ns-kid .ns-video .ns-play{width:52px; height:52px}
.ns-tag-part{font-family:var(--font-mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--tc)}
/* variant B: one panel per technology with its tools as tabs */
.ns-nest{display:grid; grid-template-columns:260px minmax(0,1fr); background:var(--panel); color:var(--on-panel); border:1px solid var(--panel-edge); border-top:3px solid var(--tc); border-radius:6px; overflow:hidden; margin-top:40px}
.ns-nest-side{border-right:1px solid var(--panel-line); padding:18px 0; display:grid; align-content:start}
.ns-nest-side .ns-nest-h{padding:0 22px 12px; font-family:var(--font-display); font-weight:650; font-size:1.7rem; color:var(--tc)}
.ns-nest-side button{all:unset; box-sizing:border-box; cursor:pointer; padding:12px 22px; display:flex; justify-content:space-between; gap:10px; font-family:var(--font-mono); font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--on-panel-2); border-left:3px solid transparent}
.ns-nest-side button:hover{color:var(--on-panel); background:var(--surface-2)}
.ns-nest-side button[aria-pressed="true"]{color:var(--on-panel); border-left-color:var(--tc); background:var(--surface-2)}
.ns-nest-side button:focus-visible{outline:2px solid var(--cyan); outline-offset:-2px}
.ns-nest-main{position:relative; padding:78px 30px 30px; display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:30px; align-items:start}
.ns-nest-main h3{font-size:2rem; color:var(--tc)}
.ns-nest-main p{color:var(--on-panel-2); margin-top:12px}
.ns-nest-main.ns-npane{display:none}
.ns-nest-main.ns-npane.is-on{display:grid}
.ns-variant{border:1px dashed var(--accent); border-radius:6px; padding:14px 18px; color:var(--ink-2); font-size:.95rem}
.ns-variant b{color:var(--accent); font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; margin-right:8px}
/* media switcher on technology and tool cards: animation first, the rest by switching */
.ns-mtabs{position:absolute; top:22px; right:24px; z-index:2; display:flex; flex-wrap:wrap; border:1px solid var(--panel-line); border-radius:var(--r); overflow:hidden; width:max-content; max-width:calc(100% - 48px); background:var(--panel)}
.ns-mtabs button{font-family:var(--font-mono); font-size:10.5px; letter-spacing:.13em; text-transform:uppercase; background:transparent; color:var(--on-panel-2); border:0; border-right:1px solid var(--panel-line); padding:9px 14px; cursor:pointer}
.ns-mtabs button:last-child{border-right:0}
.ns-mtabs button[aria-pressed="true"]{background:var(--tc); color:#fff}
.ns-mtabs button[disabled]{opacity:.4; cursor:default}
.ns-pane{display:none}
.ns-pane.is-on{display:grid; gap:10px}
.ns-anim-inline{width:100%; margin-inline:auto}
.ns-anim-inline canvas{width:100%; display:block}
.ns-pane .ns-viz-cap{color:var(--on-panel-2)}
.ns-seg{display:flex; flex-wrap:wrap; border:1px solid var(--panel-line); border-radius:var(--r); overflow:hidden; width:max-content; max-width:100%; margin-inline:auto}
.ns-seg button{font-family:var(--font-mono); font-size:10px; letter-spacing:.12em; text-transform:uppercase; background:transparent; color:var(--on-panel-2); border:0; border-right:1px solid var(--panel-line); padding:7px 11px; cursor:pointer}
.ns-seg button:last-child{border-right:0}
.ns-seg button[aria-pressed="true"]{background:var(--accent); color:#fff}
.ns-ctls{display:grid; gap:8px}
.ns-ctl{display:grid; grid-template-columns:auto 1fr 7.5em; align-items:center; gap:10px; font-family:var(--font-mono); font-size:10px; letter-spacing:.13em; text-transform:uppercase; color:var(--on-panel-2)}
.ns-ctl input{width:100%; accent-color:var(--accent); margin:0}
.ns-ctl output{color:var(--on-panel); text-align:right; font-variant-numeric:tabular-nums}
.ns-ctl-row{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.ns-ctl-row .ns-ctl{flex:1 1 300px}
.ns-flyer{display:grid; grid-template-columns:160px minmax(0,1fr); gap:20px; align-items:center; padding:18px; border:1px solid var(--panel-line); border-radius:6px}
.ns-flyer-page{aspect-ratio:210/297; border-radius:3px; background:var(--surface); border:1px solid var(--panel-line); padding:12px; display:grid; align-content:start; gap:6px}
.ns-flyer-page i{display:block; height:6px; background:var(--surface-2)}
.ns-flyer-page i:first-child{height:22px; background:var(--tc)}
.ns-cases{display:grid; gap:10px}
.ns-case{display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center; padding:14px 16px; border:1px solid var(--panel-line); border-radius:6px; text-decoration:none; color:var(--on-panel)}
.ns-case:hover{border-color:var(--tc)}
.ns-case b{font-family:var(--font-mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--tc)}
.ns-case span{color:var(--on-panel-2); font-size:.92rem}
.ns-case em{font-style:normal; font-family:var(--font-mono); font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--on-panel-2)}
.ns-foot{border-top:1px solid var(--line); padding-block:34px; color:var(--ink-3); font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase}

/* Keep technology navigation available below the page header. */
.ns-jump-floating{position:fixed; top:var(--technology-header-height,0px); z-index:29; margin:0; padding:12px 0; background:var(--ground); border-bottom:1px solid var(--line); box-shadow:0 0 0 12px var(--ground)}
.ns-jump-floating[hidden]{display:none}
section[id], .ns-family{scroll-margin-top:var(--technology-scroll-offset,84px)}

/* Linked technology tree at the top of the page. */
.ns-tech-map{margin-top:16px}
.ns-tech-root{position:relative; width:fit-content; margin:0 auto 42px; padding:11px 24px; border:1px solid var(--accent); border-radius:var(--r); color:var(--accent); font-size:12px; font-weight:700; letter-spacing:.13em; text-align:center}
.ns-tech-root::after{content:""; position:absolute; top:100%; left:50%; height:43px; border-left:1px solid var(--line)}
.ns-tech-branches{position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding-top:24px}
.ns-tech-branches::before{content:""; position:absolute; top:0; left:calc(100% / 6); right:calc(100% / 6); border-top:1px solid var(--line)}
.ns-tech-node{position:relative; display:flex; flex-direction:column; gap:12px; min-height:228px; padding:24px 26px; background:var(--surface); border:1px solid var(--line); border-top:3px solid var(--accent); border-radius:var(--r); text-decoration:none; color:var(--ink); transition:border-color .18s,box-shadow .18s}
.ns-tech-node:nth-child(-n+3)::before{content:""; position:absolute; bottom:100%; left:50%; height:25px; border-left:1px solid var(--line)}
.ns-tech-node:nth-child(n+4)::before{content:""; position:absolute; bottom:100%; left:50%; height:25px; border-left:1px solid var(--line)}
.ns-tech-number{color:var(--ink-3); font-size:11px; letter-spacing:.12em}
.ns-tech-node h2{font-size:22px; line-height:1.15; color:var(--accent); padding-right:12px}
.ns-tech-node p{font-size:16px; line-height:1.4; max-width:30ch}
.ns-tech-tools{margin-top:auto; padding-top:12px; border-top:1px solid var(--line); color:var(--ink-2); font-size:13px; line-height:1.5}
.ns-tech-go{position:absolute; right:18px; top:20px; color:var(--accent); font-size:20px}
.ns-tech-node:hover{border-color:var(--accent); box-shadow:0 5px 18px rgba(10,114,163,.1)}
@media(max-width:760px){
 .ns-tech-branches{grid-template-columns:1fr; padding-top:0; padding-left:20px; gap:16px}
 .ns-tech-branches::before{top:-42px; bottom:0; left:0; right:auto; border-top:0; border-left:1px solid var(--line)}
 .ns-tech-root{margin:0 0 24px 20px}
 .ns-tech-root::after{display:none}
 .ns-tech-node{min-height:190px; padding:20px}
 .ns-tech-node:nth-child(n)::before{top:50%; bottom:auto; left:-21px; width:20px; height:0; border-left:0; border-top:1px solid var(--line)}
}

.ns-back-top{position:fixed; right:24px; bottom:24px; z-index:50; width:48px; height:48px; display:grid; place-items:center; padding:0; border:1px solid var(--accent); border-radius:50%; background:var(--surface); color:var(--accent); box-shadow:0 4px 16px rgba(0,0,0,.16); cursor:pointer}
.ns-back-top[hidden]{display:none}
.ns-back-top:hover{background:var(--accent); color:var(--surface)}
@media(max-width:600px){.ns-back-top{right:16px; bottom:calc(16px + env(safe-area-inset-bottom,0px))}}

.ns-pdf-dialog{width:min(1100px,94vw); max-width:none; height:92vh; max-height:92vh; padding:0; border:1px solid var(--line); border-radius:6px; background:var(--surface); color:var(--ink)}
.ns-pdf-dialog::backdrop{background:rgba(0,0,0,.75)}
.ns-pdf-dialog[open]{display:flex; flex-direction:column}
.ns-pdf-bar{display:flex; align-items:center; gap:16px; padding:12px 18px; border-bottom:1px solid var(--line); flex-shrink:0}
.ns-pdf-bar strong{margin-right:auto}
.ns-pdf-bar a{font-size:14px}
.ns-pdf-close{font-family:inherit; font-size:28px; line-height:1; width:40px; height:40px; cursor:pointer; border:1px solid var(--line); border-radius:4px; background:var(--surface); color:var(--ink)}
.ns-pdf-dialog iframe{display:block; flex:1; width:100%; min-height:0; border:0; background:#fff}

/* STREAM configuration and core-technology selectors. */
#stream [hidden]{display:none!important}
#stream .stream-subsection{margin-top:48px; padding-top:32px; border-top:1px solid var(--line)}
#stream .stream-subsection > h2{font-size:clamp(1.6rem,3vw,2.15rem); margin:14px 0}
#stream .stream-intro{max-width:80ch; color:var(--ink-2); margin-bottom:24px}
#stream .stream-selector{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px}
#stream .stream-selector button,#stream .stream-core-selector button{font-family:var(--font-body); color:var(--ink-2); border:1px solid var(--line); border-radius:var(--r); background:var(--surface); cursor:pointer; text-align:left}
#stream .stream-selector button{padding:12px 16px; font-size:15px; line-height:1.3}
#stream [role=tab][aria-selected=true]{border-color:var(--accent); background:var(--accent-soft); color:var(--ink); box-shadow:inset 0 -3px var(--accent)}
#stream [role=tab]:hover{border-color:var(--accent)}
#stream .stream-shared-details{border:1px solid var(--line); border-radius:6px; background:var(--panel); color:var(--on-panel); overflow:hidden}
#stream .stream-config-panel{display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:32px; padding:32px}
#stream .stream-config-panel h3{font-size:26px; margin:10px 0 24px}
#stream .stream-config-panel h4{font-size:17px; margin:24px 0 8px; font-weight:600}
#stream .stream-config-panel p,#stream .stream-composition{font-size:15px; line-height:1.55}
#stream .stream-composition{margin:0}
#stream .stream-composition > div{padding:10px 0; border-bottom:1px solid var(--panel-line)}
#stream .stream-composition dt{font-weight:600}
#stream .stream-composition dd{margin:4px 0 0; color:var(--on-panel-2)}
#stream .stream-source-note{color:var(--on-panel-2); margin-top:14px}
#stream figure{margin:0; min-width:0}
#stream figure img{display:block; width:100%; height:auto; background:white; border-radius:3px}
#stream figcaption{font-size:12px; color:var(--on-panel-2); margin-top:10px}
#stream .stream-documents{display:grid; gap:10px; margin-top:18px}
#stream .stream-document{display:block; padding:12px 14px; border:1px solid var(--panel-line); border-radius:var(--r); text-decoration:none; font-size:14px; line-height:1.4; color:var(--on-panel)}
#stream .stream-document:hover{border-color:var(--accent); color:var(--accent)}
#stream .stream-core-selector{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:24px}
#stream .stream-core-selector button{padding:22px; display:flex; flex-direction:column; gap:12px; font-size:15px; line-height:1.45}
#stream .stream-core-selector strong{font-size:26px; color:var(--accent); line-height:1.1}
#stream .stream-core-type{font-size:12px; text-transform:uppercase; letter-spacing:.06em}
#stream .stream-core-action{margin-top:auto; padding-top:14px; font-weight:600}
#stream .stream-core-panel > .ns-card{border:0; border-radius:0; padding:32px; gap:28px; grid-template-columns:minmax(0,4fr) minmax(0,8fr)}
#stream .stream-core-panel .ns-mtabs{position:static; justify-self:end; max-width:100%}
#stream .stream-core-panel h3{font-size:28px; margin:12px 0}
#stream .stream-core-panel .ns-sub{font-size:16px; margin-bottom:14px}
#stream .stream-core-panel .ns-card > div:first-child > p + p{margin-top:14px}
@media(max-width:800px){
 #stream > .ns-card{grid-template-columns:minmax(0,1fr); padding-inline:24px}
 #stream > .ns-card .ns-media{min-width:0}
 #stream .stream-config-panel{grid-template-columns:1fr; padding:24px; gap:24px}
 #stream figure{max-width:440px; margin-inline:auto}
 #stream .stream-core-selector{grid-template-columns:1fr}
 #stream .stream-core-selector button{padding:18px}
 #stream .stream-core-panel > .ns-card{grid-template-columns:1fr; padding:24px}
 #stream .stream-selector button{flex:1 1 150px}
 #stream .stream-shared-details{min-width:0}
}
@media(max-width:480px){
 #stream .stream-config-panel,#stream .stream-core-panel > .ns-card{padding:18px}
 #stream .stream-config-panel h3{font-size:23px; overflow-wrap:anywhere}
 #stream .ns-mtabs{flex-wrap:wrap}
}

/* Original instrument artwork with live module descriptions. */
#stream .stream-config-panel{grid-template-columns:minmax(0,1fr) minmax(0,1.45fr)}
#stream .stream-tool-figure > h4{margin:0 0 20px}
#stream .stream-tool-layout{display:grid; grid-template-columns:90px minmax(0,1fr); gap:22px; align-items:stretch}
#stream .stream-tool-figure img{width:100%; height:100%; max-height:1000px; min-height:700px; object-fit:contain; background:transparent; border-radius:0}
#stream .stream-module-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; justify-content:space-around; gap:18px; border-left:1px solid var(--panel-line)}
#stream .stream-module-list li{position:relative; padding-left:18px}
#stream .stream-module-marker{position:absolute; left:-4px; top:9px; width:7px; height:7px; border-radius:50%; background:var(--accent)}
#stream .stream-module-list strong{font-size:16px; font-weight:600}
#stream .stream-module-list p{font-size:14px; line-height:1.5; color:var(--on-panel-2); margin-top:5px}
#stream .stream-tool-figure figcaption{margin-top:20px}
@media(max-width:1000px){#stream .stream-config-panel{grid-template-columns:1fr}#stream .stream-tool-figure{max-width:none; margin:0}}
@media(max-width:480px){
 #stream .stream-tool-layout{grid-template-columns:58px minmax(0,1fr); gap:14px}
 #stream .stream-tool-figure img{min-height:780px; max-height:none}
 #stream .stream-module-list{gap:20px}
 #stream .stream-module-list li{padding-left:12px}
 #stream .stream-module-list strong{font-size:15px}
 #stream .stream-module-list p{font-size:13px}
}

/* Equal, compact on-screen length for every STREAM toolstring. */
#stream .stream-tool-layout{grid-template-columns:70px minmax(0,1fr); align-items:start}
#stream .stream-tool-figure img{height:480px; min-height:0; max-height:480px; object-fit:contain}
#stream .stream-module-list{min-height:480px; justify-content:space-between; gap:12px}
@media(max-width:480px){
 #stream .stream-tool-layout{grid-template-columns:48px minmax(0,1fr)}
 #stream .stream-tool-figure img{height:480px; min-height:0; max-height:480px}
 #stream .stream-module-list{gap:12px}
}

/* Configuration detail cards stay within a 600px viewing area. */
#stream .stream-config-panel{max-height:600px; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; padding:24px; gap:24px}
#stream .stream-tool-figure img{height:450px; min-height:0; max-height:450px}
#stream .stream-module-list{min-height:450px; gap:9px}
#stream .stream-module-list strong{font-size:14px}
#stream .stream-module-list p{font-size:13px; line-height:1.4; margin-top:3px}
#stream .stream-tool-figure > h4{margin:0 0 12px}
#stream .stream-tool-figure figcaption{margin-top:12px}
@media(max-width:480px){
 #stream .stream-config-panel{padding:18px}
 #stream .stream-tool-figure img{height:450px; min-height:0; max-height:450px}
 #stream .stream-module-list{gap:10px}
}

/* Equal displayed height, preserving each core animation's aspect ratio. */
#stream-core-tft .ns-anim-inline,#stream-core-tflow .ns-anim-inline,#stream-core-find .ns-anim-inline{width:100%!important; max-width:none!important; display:flex; justify-content:center}
#stream .stream-core-panel .ns-anim-inline canvas{width:auto; height:var(--stream-core-viz-height,200px); max-width:100%}


/* Stable shared detail area when switching TFT, T-FLOW and FIND. */
#stream-core-details{height:var(--stream-core-details-height,auto)}
#stream-core-details > .stream-core-panel{min-height:100%}

/* Compact core-technology switch cards. */
#stream .stream-core-selector{gap:12px; margin-bottom:18px}
#stream .stream-core-selector button{padding:14px 18px; gap:6px; font-size:14px; line-height:1.35}
#stream .stream-core-selector strong{font-size:23px}
#stream .stream-core-type{font-size:10px; letter-spacing:.04em}
#stream .stream-core-action{padding-top:6px; font-size:12px}
@media(max-width:800px){
 #stream .stream-core-selector{grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
 #stream .stream-core-selector button{padding:12px 8px; text-align:center; align-items:center}
 #stream .stream-core-selector strong{font-size:20px}
 #stream .stream-core-selector .stream-core-type,#stream .stream-core-selector button > span:not(.stream-core-type){display:none}
}

/* More compact core detail panels, leaving room for their selectors. */
#stream .stream-core-panel > .ns-card{padding:20px 24px; gap:22px}
#stream .stream-core-panel h3{font-size:25px; margin:8px 0}
#stream .stream-core-panel .ns-sub{font-size:15px; margin-bottom:10px}
#stream .stream-core-panel .ns-card > div:first-child > p{font-size:15px; line-height:1.45}
#stream .stream-core-panel .ns-card > div:first-child > p + p{margin-top:10px}
#stream .stream-core-panel .ns-media{gap:8px}
#stream .stream-core-panel .ns-mtabs button{padding:7px 10px}
#stream .stream-core-panel .ns-viz-cap{font-size:9px; line-height:1.4}
#stream .stream-core-panel .stream-documents{gap:7px; margin-top:10px}
#stream .stream-core-panel .stream-document{padding:8px 12px; font-size:13px}
@media(max-width:800px){#stream .stream-core-panel > .ns-card{padding:18px; gap:16px}}

/* Compact configurations without an inner scrollbar. */
#stream .stream-config-panel{height:560px; max-height:600px; overflow:visible; scrollbar-gutter:auto; padding:20px; gap:22px; grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr); align-items:start}
#stream .stream-config-panel h3{font-size:23px; margin:6px 0 14px; line-height:1.15}
#stream .stream-config-panel h4{font-size:14px; margin:16px 0 6px}
#stream .stream-config-panel p{font-size:13px; line-height:1.4}
#stream .stream-config-panel .ns-kind{font-size:10px}
#stream .stream-config-panel .stream-source-note{margin-top:12px}
#stream .stream-config-panel .stream-documents{margin-top:16px}
#stream .stream-config-panel .ns-btn{padding:8px 12px; font-size:11px}
#stream .stream-tool-figure > h4{margin:0 0 12px}
#stream .stream-tool-layout{grid-template-columns:58px minmax(0,1fr); gap:16px; height:480px}
#stream .stream-tool-figure img{height:480px; min-height:0; max-height:480px; object-fit:contain}
#stream .stream-module-list{height:480px; min-height:0; gap:7px; justify-content:space-between}
#stream .stream-module-list strong{font-size:13px; line-height:1.15; display:block}
#stream .stream-module-list p{font-size:11.5px; line-height:1.3; margin-top:3px}
#stream .stream-module-list li{padding-left:12px}
@media(max-width:800px){
 #stream .stream-config-panel{padding:16px; gap:14px; grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr)}
 #stream .stream-config-panel h3{font-size:19px}
 #stream .stream-config-panel p{font-size:12px; line-height:1.35}
 #stream .stream-tool-layout{grid-template-columns:40px minmax(0,1fr); gap:10px}
 #stream .stream-module-list strong{font-size:12px}
 #stream .stream-module-list p{font-size:10.5px; line-height:1.25}
}
@media(max-width:480px){
 #stream .stream-config-panel{height:590px; padding:12px; gap:12px; grid-template-columns:1fr}
 #stream .stream-config-panel > div > .ns-kind{display:none}
 #stream .stream-config-panel h3{font-size:18px; margin:0 0 7px}
 #stream .stream-config-panel h4{font-size:12px; margin:8px 0 3px}
 #stream .stream-config-panel p{font-size:10.5px; line-height:1.25}
 #stream .stream-config-panel .stream-source-note{margin-top:6px}
 #stream .stream-config-panel .stream-documents{margin-top:7px}
 #stream .stream-config-panel .ns-btn{padding:5px 10px; font-size:10px}
 #stream .stream-tool-figure > h4{margin:0 0 6px}
 #stream .stream-tool-layout{height:300px; grid-template-columns:38px minmax(0,1fr); gap:12px}
 #stream .stream-tool-figure img{height:300px; min-height:0; max-height:300px}
 #stream .stream-module-list{height:300px; min-height:0; gap:4px}
 #stream .stream-module-list strong{font-size:10.5px}
 #stream .stream-module-list p{font-size:9px; line-height:1.2; margin-top:1px}
 #stream .stream-module-list li{padding-left:10px}
}

/* Tighter configuration summary and a toolstring closer to the left. */
#stream .stream-config-panel{grid-template-columns:minmax(0,.75fr) minmax(0,1.65fr); gap:16px; padding:18px}
#stream .stream-config-panel > div:first-child{min-width:0}
#stream .stream-config-panel h3{margin:4px 0 10px}
#stream .stream-config-panel h4{margin:11px 0 4px}
#stream .stream-config-panel p{line-height:1.32}
#stream .stream-config-panel .stream-source-note{margin-top:8px}
#stream .stream-config-panel .stream-documents{margin-top:11px}
#stream .stream-tool-layout{grid-template-columns:52px minmax(0,1fr); gap:12px}
#stream .stream-tool-figure > h4{margin:0 0 10px}
@media(min-width:481px) and (max-width:800px){
 #stream .stream-config-panel{grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr); gap:12px; padding:14px}
 #stream .stream-tool-layout{grid-template-columns:38px minmax(0,1fr); gap:9px}
}
@media(max-width:480px){
 #stream .stream-config-panel{grid-template-columns:1fr; padding:12px; gap:10px}
 #stream .stream-config-panel h3{margin:0 0 6px}
 #stream .stream-config-panel h4{margin:6px 0 3px}
 #stream .stream-config-panel .stream-documents{margin-top:6px}
 #stream .stream-tool-layout{grid-template-columns:34px minmax(0,1fr); gap:10px}
}

/* Increase only the summary text to the left of each configuration toolstring by 25%. */
#stream .stream-config-panel > div:first-child h3{font-size:28.75px}
#stream .stream-config-panel > div:first-child h4{font-size:17.5px}
#stream .stream-config-panel > div:first-child p{font-size:16.25px}
#stream .stream-config-panel > div:first-child .ns-kind{font-size:12.5px}
#stream .stream-config-panel > div:first-child .ns-btn{font-size:13.75px}
@media(max-width:800px){
 #stream .stream-config-panel > div:first-child h3{font-size:23.75px}
 #stream .stream-config-panel > div:first-child p{font-size:15px}
}
@media(max-width:480px){
 #stream .stream-config-panel > div:first-child h3{font-size:22.5px}
 #stream .stream-config-panel > div:first-child h4{font-size:15px}
 #stream .stream-config-panel > div:first-child p{font-size:13.125px}
 #stream .stream-config-panel > div:first-child .ns-btn{font-size:12.5px}
}

/* Balanced summary and toolstring columns with clear separation. */
#stream .stream-config-panel{grid-template-columns:minmax(0,1.15fr) minmax(0,1.25fr); gap:40px; padding:20px 26px}
#stream .stream-tool-layout{grid-template-columns:62px minmax(0,1fr); gap:22px}
@media(min-width:481px) and (max-width:800px){
 #stream .stream-config-panel{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:24px; padding:16px}
 #stream .stream-tool-layout{grid-template-columns:42px minmax(0,1fr); gap:14px}
}
@media(max-width:480px){
 #stream .stream-config-panel{grid-template-columns:1fr; gap:14px; padding:12px}
 #stream .stream-tool-layout{grid-template-columns:38px minmax(0,1fr); gap:14px}
}

/* Centre the instrument and give its left-hand summary more breathing room. */
#stream .stream-config-panel{grid-template-columns:minmax(0,calc(50% - 131px)) minmax(0,1fr); column-gap:100px}
#stream .stream-tool-layout{grid-template-columns:62px minmax(0,1fr); gap:22px}
#stream .stream-module-list strong{font-size:15.6px}
#stream .stream-config-panel .stream-module-list p{font-size:13.8px}
@media(min-width:481px) and (max-width:800px){
 #stream .stream-config-panel{grid-template-columns:minmax(0,calc(50% - 81px)) minmax(0,1fr); column-gap:60px}
 #stream .stream-tool-layout{grid-template-columns:42px minmax(0,1fr); gap:14px}
 #stream .stream-module-list strong{font-size:14.4px}
 #stream .stream-config-panel .stream-module-list p{font-size:12.6px}
}
@media(max-width:480px){
 #stream .stream-config-panel{grid-template-columns:1fr; gap:14px}
 #stream .stream-tool-layout{grid-template-columns:38px minmax(0,1fr); gap:14px}
 #stream .stream-module-list strong{font-size:12.6px}
 #stream .stream-config-panel .stream-module-list p{font-size:10.8px}
}

/* Add 20% more vertical space between configuration-summary paragraphs. */
#stream .stream-config-panel > div:first-child h3{margin-bottom:14.4px}
#stream .stream-config-panel > div:first-child h4{margin-top:15.84px; margin-bottom:5.76px}
#stream .stream-config-panel > div:first-child .stream-source-note{margin-top:11.52px}
#stream .stream-config-panel > div:first-child .stream-documents{margin-top:15.84px}
@media(max-width:480px){
 #stream .stream-config-panel > div:first-child h3{margin-bottom:8.64px}
 #stream .stream-config-panel > div:first-child h4{margin-top:8.64px; margin-bottom:4.32px}
 #stream .stream-config-panel > div:first-child .stream-documents{margin-top:8.64px}
}

/* Increase the gap after the Configuration label by 30%. */
#stream .stream-config-panel > div:first-child .ns-kind + h3{margin-top:16px}

/* Configuration tabs meet the detail box without a gap. */
#stream .stream-selector{margin-top:32px; margin-bottom:0; gap:8px}
#stream .stream-selector button{border-bottom-left-radius:0; border-bottom-right-radius:0}
#stream .stream-selector + .stream-shared-details{border-top-left-radius:0; margin-top:0}

/* Accent colour for configuration flyer labels. */
#stream .stream-config-panel a[data-stream-pdf]{color:var(--accent)}

/* Enlarge descriptions beside the three STREAM core animations by 15%. */
#stream .stream-core-panel .ns-card > div:first-child > p{font-size:16.3875px}

/* Shift only the main INSIGHT animation to the right. */
#insight > .ns-card > .ns-media .ns-anim-inline{transform:translate(20%,5%) scale(1.1); transform-origin:left center; margin-block:5%}

/* Align the INSIGHT animation caption with its shifted canvas. */
#insight > .ns-card > .ns-media [data-pane="insight:anim"] > .ns-viz-cap{transform:none; margin-left:30%; width:70%; min-width:0; overflow-wrap:anywhere; box-sizing:border-box}

/* Let the INSIGHT introduction use the space before its shifted animation. */
#insight > .ns-card > div:first-child{width:calc(100% + 110px)}
@media(max-width:800px){#insight > .ns-card > div:first-child{width:100%}}

/* Move the INSIGHT animation and caption down together. */
#insight > .ns-card > .ns-media > [data-pane="insight:anim"]{translate:0 5%}

/* Keep the INSIGHT case links separated from the introduction. */
#insight > .ns-card > .ns-media > [data-pane="insight:case"]{margin-left:20%; width:80%; box-sizing:border-box}
#insight > .ns-card > .ns-media > [data-pane="insight:case"] .ns-cases{gap:18px}
#insight > .ns-card > .ns-media > [data-pane="insight:case"] .ns-case{grid-template-columns:1fr auto; gap:8px 14px}
#insight > .ns-card > .ns-media > [data-pane="insight:case"] .ns-case span{grid-column:1 / -1; grid-row:2}
@media(max-width:800px){#insight > .ns-card > .ns-media > [data-pane="insight:case"]{margin-left:0; width:100%}}

/* Give the STT introduction more room and move its plot slightly right. */
#insight-stt-card > .ns-card > div:first-child{width:calc(110% + 80px)}
#insight-stt-card [data-pane="insight_stt:anim"] .ns-anim-inline{transform:translateX(18%)}
@media(max-width:800px){#insight-stt-card > .ns-card > div:first-child{width:100%}}

/* Keep the STT caption centred beneath the shifted animation. */
#insight-stt-card [data-pane="insight_stt:anim"] > .ns-viz-cap{transform:translateX(14.4%); text-align:center}

/* Lower the STT animation and its caption together. */
#insight-stt-card [data-pane="insight_stt:anim"]{translate:0 10%}

/* STT case links use the INSIGHT format and keep clear of the introduction. */
#insight-stt-card [data-pane="insight_stt:case"]{margin-left:20%; width:80%; box-sizing:border-box}
#insight-stt-card [data-pane="insight_stt:case"] .ns-cases{gap:18px}
#insight-stt-card [data-pane="insight_stt:case"] .ns-case{grid-template-columns:1fr auto; gap:8px 14px}
#insight-stt-card [data-pane="insight_stt:case"] .ns-case span{grid-column:1 / -1; grid-row:2}
@media(max-width:800px){#insight-stt-card [data-pane="insight_stt:case"]{margin-left:0; width:100%}}

/* Stable, bounded INSIGHT layout without percentage translations. */
#insight > .ns-card{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); column-gap:40px}
#insight > .ns-card > div:first-child{width:auto; min-width:0}
#insight > .ns-card > .ns-media{min-width:0}
#insight > .ns-card > .ns-media > [data-pane="insight:anim"]{translate:none; transform:none; min-width:0; padding-top:28px; gap:14px}
#insight > .ns-card > .ns-media .ns-anim-inline{transform:none; translate:none; margin:0 auto; width:100%; max-width:770px!important}
#insight > .ns-card > .ns-media canvas[data-viz="insight"]{display:block; width:100%; height:auto; aspect-ratio:880 / 380}
#insight > .ns-card > .ns-media [data-pane="insight:anim"] > .ns-viz-cap{transform:none; translate:none; width:100%; margin:0; padding:0 8px; min-width:0; min-height:2.8em; line-height:1.4; text-align:center; text-wrap:balance; overflow-wrap:normal}
#insight > .ns-card > .ns-media #iSeg{width:100%; justify-content:center}
@media(max-width:900px){
 #insight > .ns-card{grid-template-columns:minmax(0,1fr); gap:24px}
 #insight > .ns-card > .ns-media > [data-pane="insight:anim"]{padding-top:0}
 #insight > .ns-card > .ns-media [data-pane="insight:anim"] > .ns-viz-cap{min-height:4.2em}
}

/* Keep STT and its caption close together at every viewport width. */
#insight-stt-card > .ns-card > .ns-media{min-width:0}
#insight-stt-card [data-pane="insight_stt:anim"]{translate:none; transform:none; padding-top:clamp(12px,2vw,24px); gap:clamp(3px,.45vw,6px); align-content:start}
#insight-stt-card [data-pane="insight_stt:anim"] .ns-anim-inline{transform:none; translate:none; width:80%!important; max-width:400px!important; margin:0 0 0 20%}
#insight-stt-card [data-pane="insight_stt:anim"] > .ns-viz-cap{transform:none; translate:none; width:80%; max-width:400px; margin:0 0 0 20%; padding:0; min-height:2.8em; line-height:1.4; text-align:center; text-wrap:balance; overflow-wrap:anywhere; align-self:start}
#insight-stt-card [data-pane="insight_stt:anim"] canvas{display:block; width:100%; height:auto; aspect-ratio:1}

/* MBTT4 follows the compact, bounded STT presentation. */
#insight-mbtt4-card > .ns-card > div:first-child{width:calc(110% + 80px)}
#insight-mbtt4-card > .ns-card > .ns-media{min-width:0}
#insight-mbtt4-card [data-pane="insight_mbtt:anim"]{translate:none; padding-top:clamp(12px,2vw,24px); gap:clamp(3px,.45vw,6px); align-content:start}
#insight-mbtt4-card [data-pane="insight_mbtt:anim"] .ns-anim-inline{width:80%!important; max-width:400px!important; margin:0 0 0 20%}
#insight-mbtt4-card [data-pane="insight_mbtt:anim"] canvas{display:block; width:100%; height:auto; aspect-ratio:1}
#insight-mbtt4-card [data-pane="insight_mbtt:anim"] > .ns-viz-cap{width:80%; max-width:400px; margin:0 0 0 20%; padding:0; min-height:2.8em; line-height:1.4; text-align:center; text-wrap:balance; overflow-wrap:anywhere; align-self:start}
#insight-mbtt4-card [data-pane="insight_mbtt:case"]{margin-left:20%; width:80%; box-sizing:border-box}
#insight-mbtt4-card [data-pane="insight_mbtt:case"] .ns-cases{gap:18px}
#insight-mbtt4-card [data-pane="insight_mbtt:case"] .ns-case{grid-template-columns:1fr auto; gap:8px 14px}
#insight-mbtt4-card [data-pane="insight_mbtt:case"] .ns-case span{grid-column:1 / -1; grid-row:2}
@media(max-width:800px){
 #insight-mbtt4-card > .ns-card > div:first-child{width:100%}
 #insight-mbtt4-card [data-pane="insight_mbtt:case"]{margin-left:0; width:100%}
}

/* AIS uses the same bounded layout and PDF format as the integrity tools. */
#insight-ais-card > .ns-card > div:first-child{width:calc(110% + 80px)}
#insight-ais-card > .ns-card > .ns-media{min-width:0}
#insight-ais-card [data-pane="insight_ais:anim"]{translate:none; padding-top:clamp(12px,2vw,24px); gap:clamp(3px,.45vw,6px); align-content:start}
#insight-ais-card [data-pane="insight_ais:anim"] .ns-anim-inline{width:72%!important; max-width:352px!important; margin:0 0 0 24%}
#insight-ais-card [data-pane="insight_ais:anim"] canvas{display:block; width:100%; height:auto; aspect-ratio:330 / 420}
#insight-ais-card [data-pane="insight_ais:anim"] > .ns-viz-cap{width:72%; max-width:352px; margin:0 0 0 24%; padding:0; min-height:2.8em; line-height:1.4; text-align:center; text-wrap:balance; overflow-wrap:anywhere; align-self:start}
#insight-ais-card [data-pane="insight_ais:case"]{margin-left:20%; width:80%; box-sizing:border-box}
@media(max-width:800px){
 #insight-ais-card > .ns-card > div:first-child{width:100%}
 #insight-ais-card [data-pane="insight_ais:case"]{margin-left:0; width:100%}
}

/* Move the four integrity animations and their captions right together. */
#insight > .ns-card > .ns-media .ns-anim-inline{translate:10% 0}
#insight > .ns-card > .ns-media [data-pane="insight:anim"] > .ns-viz-cap{translate:10% 0}
#insight-stt-card [data-pane="insight_stt:anim"] .ns-anim-inline{translate:10% 0}
#insight-stt-card [data-pane="insight_stt:anim"] > .ns-viz-cap{translate:10% 0}
#insight-mbtt4-card [data-pane="insight_mbtt:anim"] .ns-anim-inline{translate:10% 0}
#insight-mbtt4-card [data-pane="insight_mbtt:anim"] > .ns-viz-cap{translate:10% 0}
#insight-ais-card [data-pane="insight_ais:anim"] .ns-anim-inline{translate:10% 0}
#insight-ais-card [data-pane="insight_ais:anim"] > .ns-viz-cap{translate:10% 0}

/* Match the main INSIGHT layout to the compact integrity-tool cards. */
#insight > .ns-card{grid-template-columns:minmax(0,4fr) minmax(0,8fr); gap:40px}
#insight > .ns-card > div:first-child{width:calc(110% + 80px); min-width:0}
#insight > .ns-card > .ns-media{min-width:0}
#insight > .ns-card > .ns-media > [data-pane="insight:anim"]{translate:none; transform:none; padding-top:clamp(12px,2vw,24px); gap:clamp(3px,.45vw,6px); align-content:start}
#insight > .ns-card > .ns-media .ns-anim-inline{transform:none; translate:10% 0; width:80%!important; max-width:400px!important; margin:0 0 0 20%}
#insight > .ns-card > .ns-media canvas[data-viz="insight"]{display:block; width:100%; height:auto; aspect-ratio:880 / 380}
#insight > .ns-card > .ns-media [data-pane="insight:anim"] > .ns-viz-cap{transform:none; translate:10% 0; width:80%; max-width:400px; margin:0 0 0 20%; padding:0; min-height:2.8em; line-height:1.4; text-align:center; text-wrap:balance; overflow-wrap:anywhere; align-self:start}
#insight > .ns-card > .ns-media #iSeg{width:80%; max-width:400px; margin:0 0 0 20%; translate:10% 0; justify-content:center}
@media(max-width:800px){#insight > .ns-card > div:first-child{width:100%}}

/* Keep the wide INSIGHT diagram readable and separate its caption. */
#insight > .ns-card > .ns-media .ns-anim-inline{width:100%!important; max-width:770px!important; margin:0; translate:23% 0}
#insight > .ns-card > .ns-media > [data-pane="insight:anim"]{row-gap:18px}
#insight > .ns-card > .ns-media #iSeg{width:92%; max-width:710px; margin:0 0 0 8%; translate:none}
#insight > .ns-card > .ns-media [data-pane="insight:anim"] > .ns-viz-cap{width:92%; max-width:710px; margin:8px 0 0 8%; translate:none; min-height:2.8em}

/* Crop the rightmost 15% of the main INSIGHT canvas without rescaling its contents. */
#insight > .ns-card > .ns-media .ns-anim-inline{clip-path:inset(0 25% 0 0)}

/* Fit the INSIGHT method-switch frame exactly around its buttons. */
#insight > .ns-card > .ns-media #iSeg{width:max-content; max-width:100%; justify-content:flex-start; margin-left:auto; margin-right:auto; translate:none; justify-self:center}

/* Move the INSIGHT method buttons and caption with the additional canvas shift. */
#insight > .ns-card > .ns-media #iSeg{position:relative; left:15%}
#insight > .ns-card > .ns-media [data-pane="insight:anim"] > .ns-viz-cap{position:relative; left:15%}

/* Centre the controls and caption under the visible 75% of INSIGHT. */
#insight > .ns-card > .ns-media #iSeg{position:static; left:auto; translate:none; justify-self:start; margin-left:23%; margin-right:0; width:75%; max-width:577.5px; border:0; overflow:visible; justify-content:center}
#insight > .ns-card > .ns-media #iSeg button{border-top:1px solid var(--panel-line); border-bottom:1px solid var(--panel-line)}
#insight > .ns-card > .ns-media #iSeg button:first-child{border-left:1px solid var(--panel-line); border-top-left-radius:var(--r); border-bottom-left-radius:var(--r)}
#insight > .ns-card > .ns-media #iSeg button:last-child{border-right:1px solid var(--panel-line); border-top-right-radius:var(--r); border-bottom-right-radius:var(--r)}
#insight > .ns-card > .ns-media [data-pane="insight:anim"] > .ns-viz-cap{position:static; left:auto; translate:none; width:75%; max-width:577.5px; margin-left:23%; margin-right:0; text-align:center}

/* FIND within INSIGHT: compact landscape plot with aligned caption and real PDFs. */
#insight-find-card > .ns-card > div:first-child{width:calc(110% + 80px)}
#insight-find-card > .ns-card > .ns-media{min-width:0}
#insight-find-card [data-pane="insight_find:anim"]{translate:none; padding-top:clamp(12px,2vw,24px); gap:clamp(3px,.45vw,6px); align-content:start}
#insight-find-card [data-pane="insight_find:anim"] .ns-anim-inline{width:80%!important; max-width:640px!important; margin:0 0 0 20%}
#insight-find-card [data-pane="insight_find:anim"] canvas{display:block; width:100%; height:auto; aspect-ratio:740 / 650}
#insight-find-card [data-pane="insight_find:anim"] > .ns-viz-cap{width:80%; max-width:640px; margin:0 0 0 20%; padding:0; min-height:2.8em; line-height:1.4; text-align:center; text-wrap:balance; overflow-wrap:anywhere; align-self:start}
#insight-find-card [data-pane="insight_find:case"]{margin-left:20%; width:80%; box-sizing:border-box}
#insight-find-card [data-pane="insight_find:case"] .ns-cases{gap:18px}
#insight-find-card [data-pane="insight_find:case"] .ns-case{grid-template-columns:1fr auto; gap:8px 14px}
#insight-find-card [data-pane="insight_find:case"] .ns-case span{grid-column:1 / -1; grid-row:2}
@media(max-width:800px){
 #insight-find-card > .ns-card > div:first-child{width:100%}
 #insight-find-card [data-pane="insight_find:case"]{margin-left:0; width:100%}
}

/* MFC: compact animation, model-specific flyers and verified case. */
#insight-mfc-card > .ns-card > div:first-child{width:calc(110% + 80px)}
#insight-mfc-card > .ns-card > .ns-media{min-width:0}
#insight-mfc-card [data-pane="insight_mfc:anim"]{padding-top:clamp(12px,2vw,24px); gap:clamp(3px,.45vw,6px); align-content:start}
#insight-mfc-card [data-pane="insight_mfc:anim"] .ns-anim-inline{width:72%!important; max-width:352px!important; margin:0 0 0 24%; translate:10% 0}
#insight-mfc-card [data-pane="insight_mfc:anim"] canvas{display:block; width:100%; height:auto; aspect-ratio:330 / 540}
#insight-mfc-card [data-pane="insight_mfc:anim"] > .ns-viz-cap{width:72%; max-width:352px; margin:0 0 0 24%; translate:10% 0; min-height:2.8em; line-height:1.4; text-align:center; text-wrap:balance; overflow-wrap:anywhere; align-self:start}
#insight-mfc-card [data-pane="insight_mfc:case"]{margin-left:20%; width:80%; box-sizing:border-box}
#insight-mfc-card [data-pane="insight_mfc:case"] .ns-case{grid-template-columns:1fr auto; gap:8px 14px}
#insight-mfc-card [data-pane="insight_mfc:case"] .ns-case span{grid-column:1 / -1; grid-row:2}
@media(max-width:800px){
 #insight-mfc-card > .ns-card > div:first-child{width:100%}
 #insight-mfc-card [data-pane="insight_mfc:case"]{margin-left:0; width:100%}
}

/* INSIGHT configurations follow the compact STREAM configuration presentation. */
#insight-configurations{margin-top:48px; padding-top:32px; border-top:1px solid var(--line)}
#insight-configurations h2{font-size:clamp(1.6rem,3vw,2.15rem); margin:14px 0}
#insight-configurations .ic-intro{max-width:80ch; color:var(--ink-2)}
#insight-configurations [hidden]{display:none!important}
#insight-configurations .ic-tabs{display:flex; flex-wrap:wrap; gap:8px; margin-top:32px}
#insight-configurations .ic-tabs button{font-family:var(--font-body); font-size:15px; padding:12px 18px; border:1px solid var(--line); border-radius:var(--r) var(--r) 0 0; background:var(--surface); color:var(--ink-2); cursor:pointer}
#insight-configurations .ic-tabs button[aria-selected=true]{color:var(--ink); background:var(--accent-soft); border-color:var(--accent); box-shadow:inset 0 -3px var(--accent)}
#insight-configurations .ic-details{border:1px solid var(--line); border-radius:0 6px 6px 6px; background:var(--panel); color:var(--on-panel)}
#insight-configurations .ic-panel{box-sizing:border-box; height:560px; max-height:600px; padding:20px 26px; display:grid; grid-template-columns:minmax(0,calc(50% - 131px)) minmax(0,1fr); gap:100px}
#insight-configurations .ic-label{font-size:12.5px; text-transform:uppercase; letter-spacing:.12em; color:var(--on-panel-2)}
#insight-configurations h3{font-size:28px; margin:16px 0 14px}
#insight-configurations h4{font-size:17px; margin:16px 0 6px}
#insight-configurations .ic-summary p:not(.ic-label){font-size:15px; line-height:1.35}
#insight-configurations .ic-subtitle{color:var(--on-panel-2)}
#insight-configurations .ns-btn{color:var(--accent); margin-top:16px; font-size:13px; padding:8px 12px}
#insight-configurations figure{margin:0; min-width:0}
#insight-configurations figure > h4{margin:0 0 12px; font-size:14px}
#insight-configurations .ic-tool{height:480px; display:grid; grid-template-columns:62px minmax(0,1fr); gap:22px}
#insight-configurations img{display:block; width:100%; height:480px; object-fit:contain}
#insight-configurations ol{display:flex; flex-direction:column; justify-content:space-between; gap:8px; list-style:none; padding:0 0 0 12px; margin:0; border-left:1px solid var(--panel-line)}
#insight-configurations li{position:relative}
#insight-configurations li::before{content:""; position:absolute; width:6px; height:6px; border-radius:50%; background:var(--accent); left:-15px; top:8px}
#insight-configurations li strong{font-size:15.6px; line-height:1.15}
#insight-configurations li p{font-size:13px; line-height:1.3; color:var(--on-panel-2); margin-top:3px}
@media(max-width:800px){
 #insight-configurations .ic-panel{grid-template-columns:minmax(0,calc(50% - 81px)) minmax(0,1fr); gap:60px; padding:16px}
 #insight-configurations h3{font-size:23px}
 #insight-configurations h4{font-size:15px}
 #insight-configurations .ic-summary p:not(.ic-label){font-size:12px}
 #insight-configurations .ic-tool{grid-template-columns:42px minmax(0,1fr); gap:14px}
 #insight-configurations li strong{font-size:13px}
 #insight-configurations li p{font-size:11px}
}
@media(max-width:480px){
 #insight-configurations .ic-panel{height:590px; padding:12px; grid-template-columns:1fr; gap:12px}
 #insight-configurations .ic-label{display:none}
 #insight-configurations h3{font-size:20px; margin:0 0 7px}
 #insight-configurations h4{font-size:12px; margin:7px 0 3px}
 #insight-configurations .ic-summary p:not(.ic-label){font-size:11px; line-height:1.25}
 #insight-configurations .ns-btn{font-size:11px; margin-top:8px; padding:5px 10px}
 #insight-configurations .ic-tool{height:300px; grid-template-columns:38px minmax(0,1fr); gap:14px}
 #insight-configurations img{height:300px}
 #insight-configurations li strong{font-size:12px}
 #insight-configurations li p{font-size:10px; line-height:1.2; margin-top:1px}
 #insight-configurations .ic-tabs button{flex:1 1 40%; padding:10px 12px}
}

/* Alternative: consistent STREAM / INSIGHT method selectors and shared details. */
#insight .insight-method-section{margin-top:48px; padding-top:32px; border-top:1px solid var(--line)}
#insight .insight-method-section > h2{font-size:clamp(1.6rem,3vw,2.15rem); margin:14px 0}
#insight .im-intro{max-width:80ch; color:var(--ink-2); margin-bottom:24px}
#insight .insight-method-selector{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-bottom:18px}
#insight .insight-method-selector button{display:flex; flex-direction:column; gap:6px; padding:14px 18px; font-family:var(--font-body); font-size:14px; line-height:1.35; text-align:left; border:1px solid var(--line); border-radius:var(--r); background:var(--surface); color:var(--ink-2); cursor:pointer}
#insight .insight-method-selector button[aria-selected=true]{background:var(--accent-soft); color:var(--ink); border-color:var(--accent); box-shadow:inset 0 -3px var(--accent)}
#insight .insight-method-selector button:hover{border-color:var(--accent)}
#insight .insight-method-selector strong{font-size:23px; color:var(--accent); line-height:1.1}
#insight .im-type{font-size:10px; text-transform:uppercase; letter-spacing:.04em}
#insight .im-action{margin-top:auto; padding-top:6px; font-size:12px; font-weight:600}
#insight .insight-method-details{height:var(--insight-method-details-height,auto); border:1px solid var(--line); border-radius:6px; background:var(--panel); overflow:hidden}
#insight .insight-method-panel[hidden]{display:none!important}
#insight .insight-method-panel{min-height:100%}
#insight .insight-method-panel > .ns-kid > .ns-card{grid-template-columns:minmax(0,4fr) minmax(0,8fr); border:0; border-radius:0; padding:20px 24px; gap:22px}
#insight .insight-method-panel > .ns-kid > .ns-card > div:first-child{width:auto; min-width:0}
#insight .insight-method-panel .ns-mtabs{position:static; justify-self:end; max-width:100%}
#insight .insight-method-panel .ns-mtabs button{padding:7px 10px}
#insight .insight-method-panel .ns-card h3{font-size:25px; margin:8px 0!important}
#insight .insight-method-panel .ns-card .ns-sub{font-size:15px!important; margin-bottom:10px}
#insight .insight-method-panel .ns-card > div:first-child > p{font-size:16.3875px; line-height:1.45}
#insight .insight-method-panel .ns-card > div:first-child > p+p{margin-top:10px}
#insight .insight-method-panel .ns-card ul{font-size:15px; line-height:1.45; margin-top:12px}
#insight .insight-method-panel .ns-media{min-width:0; gap:8px}
#insight .insight-method-panel .ns-pane{translate:none; transform:none; padding-top:0; margin-left:0; width:100%}
#insight .insight-method-panel .ns-anim-inline{translate:none!important; transform:none!important; width:80%!important; max-width:352px!important; margin-inline:auto!important}
#insight #insight-find-card .ns-anim-inline{max-width:540px!important}
#insight .insight-method-panel .ns-viz-cap{translate:none!important; transform:none!important; width:80%!important; max-width:540px!important; margin:6px auto 0!important; min-height:2.8em; font-size:10px; text-align:center; line-height:1.4}
#insight .insight-method-panel .ns-cases{gap:18px}
@media(max-width:1000px){#insight .insight-method-selector{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){
 #insight .insight-method-selector{grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px}
 #insight .insight-method-selector button{padding:12px 4px; align-items:center; text-align:center}
 #insight .insight-method-selector strong{font-size:17px}
 #insight .im-type,#insight .im-summary,#insight .im-action{display:none}
 #insight .insight-method-panel > .ns-kid > .ns-card{grid-template-columns:1fr; padding:18px; gap:16px}
}

/* Two model buttons beside the MFC animation; same viewing area for both models. */
#insight #insight-mfc-card .ns-anim-inline{position:relative}
#insight-mfc-card .mfc-model-controls{position:absolute; left:calc(100% + 10px); top:43%; display:flex; flex-direction:column; gap:10px; width:82px}
#insight-mfc-card .mfc-model-controls button{font-family:var(--font-body); font-size:13px; font-weight:600; padding:10px 8px; border:1px solid var(--panel-line); border-radius:var(--r); background:var(--panel); color:var(--on-panel-2); cursor:pointer; white-space:nowrap}
#insight-mfc-card .mfc-model-controls button[aria-pressed=true]{background:var(--accent-soft); color:var(--accent); border-color:var(--accent); box-shadow:inset 3px 0 var(--accent)}
#insight-mfc-card .mfc-model-controls button:hover{border-color:var(--accent)}
@media(max-width:800px){
 #insight #insight-mfc-card .ns-anim-inline{width:calc(100% - 94px)!important; max-width:352px!important; margin-left:0!important; margin-right:94px!important}
 #insight #insight-mfc-card .ns-viz-cap{width:calc(100% - 94px)!important; margin-left:0!important; margin-right:94px!important}
 #insight-mfc-card .mfc-model-controls{width:76px; left:calc(100% + 10px)}
}

/* Keep a minimum 20px clearance below the MFC media tabs at every width. */
#insight .insight-method-panel #insight-mfc-card .ns-media{row-gap:20px}
#insight .insight-method-panel #insight-mfc-card .ns-mtabs{margin-bottom:0}
#insight .insight-method-panel #insight-mfc-card [data-pane="insight_mfc:anim"]{margin-top:0; padding-top:0; translate:none; transform:none}

/* Reduce MFC by 20% so the shared detail area can remain shorter. */
#insight .insight-method-panel #insight-mfc-card .ns-anim-inline{width:51.2%!important; max-width:225.28px!important}
@media(max-width:800px){
 #insight .insight-method-panel #insight-mfc-card .ns-anim-inline{width:calc((100% - 94px) * .64)!important; max-width:225.28px!important}
}

/* Reduce the INSIGHT FIND animation by 20%. */
#insight .insight-method-panel #insight-find-card .ns-anim-inline{width:64%!important; max-width:432px!important}

/* Reduce the INSIGHT AIS animation by 20%. */
#insight .insight-method-panel #insight-ais-card .ns-anim-inline{width:64%!important; max-width:281.6px!important}

/* Give the MBTT4 description 15% more width. */
#insight .insight-method-panel #insight-mbtt4-card > .ns-card > div:first-child{width:115%}
@media(max-width:800px){#insight .insight-method-panel #insight-mbtt4-card > .ns-card > div:first-child{width:100%}}

/* AIS scenario switches follow the MFC side-control layout. */
#insight .insight-method-panel #insight-ais-card .ns-anim-inline{position:relative;width:calc(100% - 125px)!important;max-width:310px!important;margin-right:125px!important;margin-left:0!important}
#insight-ais-card .ais-mode-controls{position:absolute;left:calc(100% + 14px);top:28%;width:110px;display:flex;flex-direction:column;gap:10px}
#insight-ais-card .ais-mode-controls button{font-family:var(--font-body);font-size:13px;line-height:1.3;font-weight:600;padding:10px 8px;border:1px solid var(--panel-line);border-radius:var(--r);background:var(--panel);color:var(--on-panel-2);cursor:pointer}
#insight-ais-card .ais-mode-controls button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent);box-shadow:inset 3px 0 var(--accent)}
#insight-ais-card .ais-mode-controls button:focus-visible,#insight-ais-card input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#insight-ais-card .ais-depth-control{display:flex;align-items:center;gap:7px;font:12px var(--font-body);color:var(--on-panel-2);margin-top:10px;white-space:nowrap}
#insight-ais-card .ais-depth-control input{width:100%;min-width:30px;accent-color:var(--accent)}
#insight-ais-card .ais-feature{font:12px/1.4 var(--font-body);color:var(--on-panel-2);margin:10px 0 0;min-height:34px}
@media(max-width:480px){#insight .insight-method-panel #insight-ais-card .ns-anim-inline{width:100%!important;max-width:330px!important;margin-right:0!important}#insight-ais-card .ais-mode-controls{position:static;width:100%;display:grid;grid-template-columns:repeat(3,1fr);margin-top:12px;gap:5px}#insight-ais-card .ais-mode-controls button{font-size:12px;padding:8px 4px}}

/* Shift the AIS visual group right, keeping its attached controls together. */
@media(min-width:801px){
 #insight .insight-method-panel #insight-ais-card .ns-anim-inline{left:10%}
}

#jetlog .jl-applications{margin-top:40px}#jetlog .jl-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
#jetlog .jl-tabs button{font:inherit;text-align:left;padding:14px 18px;display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);background:var(--surface);color:var(--ink-2);border-radius:var(--r);cursor:pointer}
#jetlog .jl-tabs strong{font-size:20px;color:var(--accent)}#jetlog .jl-tabs span{font-size:14px}#jetlog .jl-tabs [aria-selected=true]{background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 0 -3px var(--accent)}
#jetlog .jl-panel[hidden]{display:none!important}#jetlog .jl-panel .ns-card{min-height:480px}#jetlog .jl-panel h3{margin:6px 0 12px}#jetlog .jl-panel .ns-sub{font-size:.9rem}#jetlog .jl-panel .ns-media{min-width:0;gap:16px}#jetlog .jl-animation{width:100%;max-width:600px;margin:0 auto}#jetlog .jl-animation canvas{display:block;width:100%;height:auto}
#jetlog .jl-test-modes{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;min-height:36px}#jetlog .jl-test-modes button{font:13px var(--font-body);padding:8px 10px;border:1px solid var(--panel-line);background:var(--panel);color:var(--on-panel-2);border-radius:var(--r);cursor:pointer}#jetlog .jl-test-modes button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}#jetlog .jl-tabs button:focus-visible,#jetlog .jl-test-modes button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:800px){#jetlog .jl-tabs{grid-template-columns:1fr;gap:8px}#jetlog .jl-tabs button{padding:10px 14px}#jetlog .jl-tabs strong{font-size:18px}#jetlog .jl-panel .ns-card{min-height:0}}

#jetlog .jl-well-note{font:13px/1.45 var(--font-body);color:var(--on-panel-2);text-align:center;margin:0;min-height:38px}

#jetlog #jl-panel-logging .jl-equipment-layout{max-width:760px;width:100%;min-width:0}
#jl-equipment-frame{display:block;width:100%;height:610px;border:0;color-scheme:dark}
#jetlog #jl-panel-logging .ns-media{align-content:start}

#jetlog #jl-panel-testing .jl-testing-layout{width:100%;max-width:800px;min-width:0}
#jl-testing-frame{display:block;width:100%;height:1100px;border:0;color-scheme:dark}
#jetlog #jl-panel-testing .ns-media{align-content:start}

#jetlog #jl-panel-cleanout .jl-cleanout-layout{width:100%;max-width:800px;min-width:0}#jl-cleanout-frame{display:block;width:100%;height:800px;border:0;color-scheme:dark}#jetlog #jl-panel-cleanout .ns-media{align-content:start}

#wizard .wizard-tool-section{margin-top:40px}
#wizard .wizard-tool-selector{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:20px 0}
#wizard .wizard-tool-selector button{display:flex;flex-direction:column;gap:7px;text-align:left;padding:14px;font-family:var(--font-body);border:1px solid var(--line);background:var(--surface);color:var(--ink-2);border-radius:var(--r);cursor:pointer;min-width:0}
#wizard .wizard-tool-selector strong{font-size:22px;line-height:1.1;color:var(--accent)}#wizard .wt-kind{font-size:10px;letter-spacing:.08em;text-transform:uppercase}#wizard .wt-summary{font-size:13px;line-height:1.4}#wizard .wt-action{font-size:12px;font-weight:600;margin-top:auto;padding-top:6px}
#wizard .wizard-tool-selector [aria-selected=true]{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 -3px var(--accent)}#wizard .wizard-tool-selector button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#wizard .wizard-tool-details{position:relative;min-height:450px}#wizard .wizard-tool-panel[hidden]{display:none!important}#wizard .wizard-tool-panel .ns-kid{margin:0}#wizard .wizard-tool-panel .ns-card{min-height:450px;padding:48px 30px 24px}#wizard .wizard-tool-panel .ns-media{min-width:0;align-content:start;gap:16px}#wizard .wizard-tool-panel .ns-anim-inline{width:100%;max-width:340px!important;margin:0 auto}#wizard #wizard-tool-panel-find .ns-anim-inline{max-width:650px!important}#wizard .wizard-tool-panel h3{margin:6px 0 12px}#wizard .wizard-tool-panel .ns-viz-cap{margin-top:0}
@media(max-width:1200px){#wizard .wizard-tool-selector{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){#wizard .wizard-tool-details,#wizard .wizard-tool-panel .ns-card{min-height:0}#wizard .wizard-tool-selector{grid-template-columns:repeat(2,minmax(0,1fr))}#wizard .wizard-tool-selector button{padding:11px;gap:5px}#wizard .wizard-tool-selector strong{font-size:20px}#wizard .wt-summary{display:none}}

/* Compact WIZARD tool selectors. */
#wizard .wizard-tool-selector{gap:9px;margin:14px 0}
#wizard .wizard-tool-selector button{padding:10px 12px;gap:4px}
#wizard .wizard-tool-selector strong{font-size:20px}
#wizard .wizard-tool-selector .wt-kind{font-size:9px;letter-spacing:.05em;line-height:1.25}
#wizard .wizard-tool-selector .wt-summary{font-size:12px;line-height:1.3}
#wizard .wizard-tool-selector .wt-action{display:none}
@media(max-width:800px){#wizard .wizard-tool-selector button{padding:9px 10px;gap:4px}#wizard .wizard-tool-selector strong{font-size:18px}}

#wizard .wizard-source-note{font-size:13px;line-height:1.4;color:var(--on-panel-2);margin:0 0 12px}#wizard .ns-pane .ns-cases{align-content:start}

#fm-monitoring-frame{display:block;width:100%;height:620px;border:0;color-scheme:dark}#flowmaster>.ns-card>.ns-media{min-width:0;align-content:start;gap:18px}#flowmaster .fm-components{margin-top:36px}#flowmaster .fm-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}#flowmaster .fm-tabs button{font-family:var(--font-body);display:flex;flex-direction:column;gap:6px;text-align:left;background:var(--surface);color:var(--ink-2);border:1px solid var(--line);border-radius:var(--r);padding:12px 16px;cursor:pointer}#flowmaster .fm-tabs strong{font-size:20px;color:var(--accent)}#flowmaster .fm-tabs span{font-size:13px;line-height:1.3}#flowmaster .fm-tabs [aria-selected=true]{background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 0 -3px var(--accent)}#flowmaster .fm-component-panel{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,1fr);gap:30px;background:var(--panel);color:var(--on-panel);border:1px solid var(--panel-edge);border-radius:6px;padding:28px;min-height:360px}#flowmaster .fm-component-panel[hidden]{display:none!important}#flowmaster .fm-component-panel h3{font-size:28px;margin:0 0 14px}#flowmaster .fm-component-panel p{color:var(--on-panel-2)}#flowmaster .fm-component-panel .ns-sub{font-size:15px;text-transform:uppercase}#flowmaster .fm-note{font-size:13px;line-height:1.5}#flowmaster .fm-component-visual{max-width:235px;justify-self:center;width:100%}#flowmaster .fm-component-visual svg{display:block;width:100%;height:auto}#flowmaster .fm-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:650px){#flowmaster .fm-tabs{grid-template-columns:1fr;gap:8px}#flowmaster .fm-component-panel{grid-template-columns:1fr;min-height:0;padding:20px}#flowmaster .fm-component-visual{max-width:180px}}


[data-dialog][hidden]{display:none !important}
.pk-note{position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px); opacity:0; z-index:100; padding:10px 16px; background:#0C0E11; color:#fff; font:14px "Myriad Pro","Source Sans 3","Segoe UI",sans-serif; border-radius:4px; transition:opacity .2s, transform .2s; pointer-events:none}
.pk-note.is-on{opacity:1; transform:translate(-50%,0)}


/* Transparent vertical technology navigation overlays the page edge. */
.ns-jump-floating a{color:var(--accent);font-weight:700}
:root[data-theme="dark"] .ns-jump-floating a{color:#79D7FF}
:root[data-theme="dark"] .ns-jump-floating a:hover,:root[data-theme="dark"] .ns-jump-floating a[aria-current="location"]{color:#C0EEFF}
.ns-jump-floating a[aria-current="location"]{color:var(--accent);border-color:var(--accent)}
@media(min-width:1100px){
 .ns-jump:not(.ns-jump-floating){display:none}
 .ns-jump-floating{left:calc(var(--rail) + 6px);top:calc(var(--technology-header-height,80px) + 14px);bottom:14px;width:32px;display:flex;flex-direction:column;flex-wrap:nowrap;gap:8px;padding:0;overflow-y:auto;background:transparent;border:0;box-shadow:none}
 .ns-jump-floating a{display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;transform:rotate(180deg);flex:1 1 0;min-height:72px;width:30px;padding:8px 5px;border:1px solid transparent;border-radius:var(--r);background:transparent;font-size:10px;letter-spacing:.08em;line-height:1.2;white-space:nowrap}
 .ns-jump-floating a:hover,.ns-jump-floating a[aria-current="location"]{background:transparent}
}


.ns-foot{font-size:13px;letter-spacing:.02em;text-transform:none;color:var(--ink-2)}
.ns-footer-content{display:grid;gap:24px}
.ns-footer-iso{display:flex;flex-wrap:wrap;gap:12px 28px;font-weight:600;color:var(--ink)}
.ns-footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px 28px}
.ns-footer-legal{display:flex;flex-wrap:wrap;gap:12px 24px}
.ns-foot a{color:inherit;text-decoration:none}
.ns-foot a[href]:hover{color:var(--accent);text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.ns-footer-bottom{align-items:flex-start;flex-direction:column}.ns-footer-iso{gap:10px 20px}}


/* Two header rows: controls and logo above the navigation. */
.ns-head-in{max-width:none;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:12px 24px 0}
.ns-head-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:12px}
.ns-head-controls{display:flex;align-items:center;gap:12px}
.ns-head .ns-logo{order:-1;margin-right:auto;margin-left:0;flex-shrink:0}
.ns-head .ns-nav{width:100%;justify-content:center;gap:4px 28px;border-top:1px solid var(--line);padding:8px 0}
@media(max-width:600px){.ns-head-in{padding:10px 14px 0}.ns-head-top{gap:12px}.ns-head-controls{gap:8px}.ns-head .ns-nav{gap:2px 16px}.ns-head .ns-nav a{font-size:11px;letter-spacing:.04em}.ns-head .ns-logo-txt{font-size:16px}.ns-head .ns-logo-mark{width:30px}}


.ns-head-top{display:grid;grid-template-columns:1fr auto 1fr}
.ns-head .ns-logo{order:0;margin-left:0;margin-right:0;justify-self:start}
.ns-head-controls{justify-self:end}
.ns-head .ns-nav-top{width:auto;border:0;padding:0;justify-content:center;gap:4px 28px}
.ns-head-in>.ns-nav{align-items:center}
@media(max-width:700px){.ns-head-top{grid-template-columns:1fr auto;gap:8px 16px}.ns-head .ns-nav-top{grid-row:2;grid-column:1/-1;gap:4px 24px}.ns-head-controls{grid-column:2;grid-row:1}}


.ns-head .ns-nav-top{align-items:center}
.ns-search-btn{display:grid;place-items:center;width:32px;height:32px;padding:6px;border:0;border-radius:var(--r);background:transparent;color:var(--ink-2);cursor:pointer}
.ns-search-btn:hover{color:var(--accent)}


.ns-head .ns-nav-top a{font-weight:400}


/* Distinct header surface in both colour themes. */
.ns-head{background:#DCE8F0;border-bottom-color:#B8CDD9;box-shadow:0 4px 18px rgba(8,22,31,.07)}
:root[data-theme="dark"] .ns-head{background:#183444;border-bottom-color:#315467;box-shadow:0 4px 20px rgba(0,0,0,.18)}
:root[data-theme="dark"] .ns-head .ns-nav a,:root[data-theme="dark"] .ns-head .ns-search-btn,:root[data-theme="dark"] .ns-head .ns-theme{color:#C4D7E2}
:root[data-theme="dark"] .ns-head .ns-nav a:hover,:root[data-theme="dark"] .ns-head .ns-nav a[aria-current="page"],:root[data-theme="dark"] .ns-head .ns-search-btn:hover{color:#FFFFFF}
:root[data-theme="dark"] .ns-head-in>.ns-nav{border-top-color:#315467}


.ns-head-in{padding-top:6px}
.ns-head-top{padding-bottom:5px}
.ns-head-in>.ns-nav{padding:3px 0;row-gap:0}
.ns-head .ns-nav a{padding-block:4px}
.ns-head .ns-nav-top{padding:0}
@media(max-width:600px){.ns-head-in{padding-top:6px}.ns-head-top{gap:4px 16px}}


/* Reserve the vertical navigation width plus a gap at every desktop width. */
@media(min-width:1100px){
 body{padding-left:calc(var(--rail) + 54px)}
}


/* Extend the header to the depth rail while keeping content clear of navigation. */
@media(min-width:1100px){
 .ns-head{margin-left:-54px}
}


/* Centre the logo against both header rows, keeping navigation centred. */
@media(min-width:701px){
 .ns-head-in{position:relative}
 .ns-head .ns-logo{position:absolute;left:24px;top:50%;transform:translateY(-50%);z-index:1}
 .ns-head-top{grid-template-columns:1fr auto 1fr}
 .ns-head .ns-nav-top{grid-column:2}
 .ns-head-controls{grid-column:3}
 .ns-head-in>.ns-nav{padding-left:190px;padding-right:190px}
}


.ns-head .ns-logo-mark{width:43px}
.ns-head .ns-logo-txt{font-size:23px}
@media(max-width:600px){.ns-head .ns-logo-mark{width:36px}.ns-head .ns-logo-txt{font-size:19px}}


@media(min-width:701px){
 .ns-head-in>.ns-nav{position:relative;border-top:0}
 .ns-head-in>.ns-nav::before{content:"";position:absolute;top:0;left:210px;right:0;height:1px;background:var(--line)}
 :root[data-theme="dark"] .ns-head-in>.ns-nav::before{background:#315467}
}


.ns-head .ns-logo-full{display:block;width:62px;height:auto;max-height:76px;object-fit:contain}
@media(min-width:701px){.ns-head-in{min-height:88px}.ns-head .ns-logo{left:30px}.ns-head-in>.ns-nav::before{left:100px}}
@media(max-width:700px){.ns-head .ns-logo-full{width:44px;max-height:52px}}


.ns-head-in>.ns-nav{border-top:0}
.ns-head-in>.ns-nav::before{display:none}


/* Neutral header surface keeps the azure and grey logo distinct. */
:root[data-theme="dark"] .ns-head{background:#20252B;border-bottom-color:#363E47}
.ns-head{background:#E8EAED;border-bottom-color:#CCD1D7}


.ns-head{background:#D9E5E3;border-bottom-color:#B4C9C6}
:root[data-theme="dark"] .ns-head{background:#294449;border-bottom-color:#426166}


.ns-head{background:#DCE8F0;border-bottom-color:#B8CDD9}
:root[data-theme="dark"] .ns-head{background:#183444;border-bottom-color:#315467}


/* Final Version 1: one STREAM family, with quiet internal divisions. */
#stream{padding:28px;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:8px;background:color-mix(in srgb,var(--surface) 65%,var(--ground));overflow:visible}
#stream>.ns-card{padding:24px 12px 32px;border:0;border-radius:0;background:transparent}
#stream .stream-subsection{margin-top:0;padding:28px 12px 0;border-top:1px solid var(--line)}
#stream .stream-subsection+.stream-subsection{margin-top:32px}
#stream .stream-subsection>.ns-eyebrow{color:var(--accent)}
#stream .stream-shared-details{background:var(--panel)}
#stream .stream-core-selector{margin-top:20px}
@media(max-width:800px){#stream{padding:18px}#stream>.ns-card{padding:16px 0 24px}#stream .stream-subsection{padding:24px 0 0}}
@media(max-width:480px){#stream{padding:12px;border-radius:6px}#stream .stream-subsection+.stream-subsection{margin-top:24px}}


/* Final Version 1: consistent family containers across all technologies. */
#insight,#jetlog,#wizard,#flowmaster,#ecometer{padding:28px;border:1px solid var(--line);border-top:3px solid var(--tc);border-radius:8px;background:color-mix(in srgb,var(--surface) 65%,var(--ground));overflow:visible}
#insight>.ns-card,#jetlog>.ns-card,#wizard>.ns-card,#flowmaster>.ns-card,#ecometer>.ns-card{padding:24px 12px 32px;border:0;border-radius:0;background:transparent}
#insight>.insight-method-section,#insight>.ic-section,#jetlog>.jl-applications,#wizard>.wizard-tool-section,#flowmaster>.fm-components{margin-top:0;padding:28px 12px 0;border-top:1px solid var(--line)}
#insight>.ic-section{margin-top:32px}
#insight>.insight-method-section>.ns-eyebrow,#insight>.ic-section>.ns-eyebrow,#jetlog>.jl-applications>.ns-eyebrow,#wizard>.wizard-tool-section>.ns-eyebrow,#flowmaster>.fm-components>.ns-eyebrow{color:var(--tc)}
#ecometer>.ns-card{padding-bottom:24px}
@media(max-width:800px){
 #insight,#jetlog,#wizard,#flowmaster,#ecometer{padding:18px}
 #insight>.ns-card,#jetlog>.ns-card,#wizard>.ns-card,#flowmaster>.ns-card,#ecometer>.ns-card{padding:16px 0 24px}
 #insight>.insight-method-section,#insight>.ic-section,#jetlog>.jl-applications,#wizard>.wizard-tool-section,#flowmaster>.fm-components{padding:24px 0 0}
}
@media(max-width:480px){#insight,#jetlog,#wizard,#flowmaster,#ecometer{padding:12px;border-radius:6px}#insight>.ic-section{margin-top:24px}}


/* Each technology family owns its UI accent, including nested controls. */
#insight{--accent:var(--copper);--accent-soft:var(--copper-soft);--tc:var(--copper)}
#jetlog{--accent:var(--brand);--accent-soft:color-mix(in srgb,var(--brand) 15%,var(--surface));--tc:var(--brand)}
#wizard{--accent:var(--cyan);--accent-soft:color-mix(in srgb,var(--cyan) 15%,var(--surface));--tc:var(--cyan)}
#flowmaster{--accent:var(--amber);--accent-soft:color-mix(in srgb,var(--amber) 15%,var(--surface));--tc:var(--amber)}
#ecometer{--accent:var(--ink-3);--accent-soft:color-mix(in srgb,var(--ink-3) 15%,var(--surface));--tc:var(--ink-3)}
.ns-family .ns-mtabs button{color:var(--accent)}
.ns-family .ns-mtabs button[aria-pressed="true"]{background:var(--accent);color:var(--panel)}
.ns-family .ns-btn.is-ghost,.ns-family .ns-btn.is-onDeep.is-ghost{color:var(--accent)}
.ns-family .ns-btn.is-ghost:hover{border-color:var(--accent)}
.ns-family :focus-visible{outline-color:var(--accent)}


/* Keep JetLog media controls in normal flow above every selected material. */
#jetlog>.ns-card>.ns-media{min-width:0;align-content:start;gap:20px}
#jetlog>.ns-card>.ns-media>.ns-mtabs{position:static;top:auto;right:auto;justify-self:end;max-width:100%;margin:0}
#jetlog>.ns-card>.ns-media>.ns-pane{min-width:0}
#jetlog>.ns-card>.ns-media .ns-case{flex-wrap:wrap;overflow-wrap:anywhere}


/* Distinct focus colours; STREAM, INSIGHT and JETLOG retain their accents. */
#wizard{--accent:#7551B8;--tc:#7551B8;--accent-soft:color-mix(in srgb,#7551B8 15%,var(--surface))}
#flowmaster{--accent:#187C65;--tc:#187C65;--accent-soft:color-mix(in srgb,#187C65 15%,var(--surface))}
#ecometer{--accent:#AC456E;--tc:#AC456E;--accent-soft:color-mix(in srgb,#AC456E 15%,var(--surface))}
:root[data-theme="dark"] #wizard{--accent:#B39AF0;--tc:#B39AF0;--accent-soft:color-mix(in srgb,#B39AF0 15%,var(--surface))}
:root[data-theme="dark"] #flowmaster{--accent:#53C9A7;--tc:#53C9A7;--accent-soft:color-mix(in srgb,#53C9A7 15%,var(--surface))}
:root[data-theme="dark"] #ecometer{--accent:#E69AB8;--tc:#E69AB8;--accent-soft:color-mix(in srgb,#E69AB8 15%,var(--surface))}

.ns-head a.ns-merc{display:inline-flex;align-items:center;text-decoration:none}
body{padding-left:0}main{max-width:1220px;margin:0 auto;padding:46px 28px 72px}.ns-head{margin-left:0}.ns-head-in{min-height:88px}.ns-head .ns-nav a{font-size:12px}.ns-head .ns-nav-top a{font-weight:400}.ns-head a.ns-merc{display:inline-flex;align-items:center;text-decoration:none}.ns-foot{margin-top:0}.ns-foot .ns-wrap{max-width:1220px}.catalogue-hero{max-width:780px;margin-bottom:32px}.catalogue-hero h1{font-size:clamp(2.5rem,5vw,4rem);margin:14px 0 18px;line-height:1.06}.catalogue-hero>p:last-child{color:var(--ink-2);font-size:18px;max-width:65ch}.catalogue-controls{border:1px solid var(--line);border-radius:8px;padding:20px;background:var(--surface);margin-bottom:28px}.catalogue-search{display:flex;align-items:center;gap:12px}.catalogue-search svg{flex-shrink:0;color:var(--accent)}.catalogue-search input{width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;padding:8px 0}.catalogue-filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.catalogue-filters button{font:14px/1.35 var(--font-body);border:1px solid var(--line);border-radius:4px;padding:9px 12px;background:transparent;color:var(--ink-2);cursor:pointer}.catalogue-filters button:hover{border-color:var(--accent);color:var(--ink)}.catalogue-filters button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.catalogue-results{font-size:14px;color:var(--ink-2);margin:0 0 18px}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tool-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:7px;overflow:hidden;background:var(--surface)}.tool-card[hidden]{display:none}.tool-card:hover{border-color:var(--accent)}.tool-card-image{background:#F4F8FA;display:flex;align-items:center;justify-content:center;height:224px;padding:16px;position:relative}.tool-card-image img{height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply}.tool-card-image:focus-visible{outline-offset:-4px}.tool-card-body{padding:20px;display:flex;flex-direction:column;flex:1;gap:10px}.tool-category{font-size:11px;line-height:1.4;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3)}.tool-card h2{font-size:25px;line-height:1.15;color:var(--accent)}.tool-card h2 a{text-decoration:none}.tool-card .tool-subtitle{font-size:15px;font-weight:600;line-height:1.35}.tool-card .tool-summary{font-size:15px;color:var(--ink-2);line-height:1.5}.tool-card-actions{margin-top:auto;padding-top:12px;display:flex;align-items:center;flex-wrap:wrap;gap:12px}.tool-card-actions a,.tool-card-actions button{font:14px var(--font-body);border:1px solid var(--line);border-radius:3px;padding:8px 12px;text-decoration:none;color:var(--accent);background:transparent;cursor:pointer}.tool-card-actions .tool-explore{background:var(--accent-soft);border-color:var(--accent)}.tool-card-actions a:hover,.tool-card-actions button:hover{border-color:var(--accent)}.catalogue-empty{padding:40px;border:1px solid var(--line);border-radius:6px;text-align:center;color:var(--ink-2)}.catalogue-reset{border:0;background:transparent;color:var(--accent);font:inherit;text-decoration:underline;cursor:pointer;margin-top:12px}.breadcrumbs{display:flex;gap:10px;flex-wrap:wrap;font-size:14px;color:var(--ink-2);margin-bottom:28px}.breadcrumbs a{text-decoration:none}.tool-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.65fr);gap:48px;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:8px;background:var(--surface);padding:36px}.tool-hero h1{font-size:clamp(3rem,6vw,5rem);color:var(--accent);margin:12px 0}.tool-hero h2{font-size:24px;line-height:1.25;margin-bottom:24px}.tool-hero p{color:var(--ink-2);margin-bottom:18px}.tool-primary-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.tool-primary-actions a{padding:10px 16px;border:1px solid var(--accent);border-radius:3px;text-decoration:none;background:var(--accent-soft);font-size:15px}.tool-portrait{margin:0;background:#F4F8FA;border-radius:5px;min-height:360px;display:flex;align-items:center;justify-content:center;padding:24px}.tool-portrait img{height:360px;max-height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply}.tool-section{margin-top:36px;padding-top:30px;border-top:1px solid var(--line)}.tool-section>h2{font-size:30px;margin-bottom:22px}.tool-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tool-feature{border:1px solid var(--line);background:var(--surface);border-radius:6px;padding:22px}.tool-feature h3{font-size:20px;margin-bottom:12px}.tool-feature p{font-size:16px;color:var(--ink-2);line-height:1.55}.tool-specs{width:100%;border-collapse:collapse;font-size:16px}.tool-specs caption{text-align:left;color:var(--ink-2);font-size:14px;margin-bottom:16px}.tool-specs th,.tool-specs td{text-align:left;border-bottom:1px solid var(--line);padding:13px 16px;vertical-align:top}.tool-specs th{width:46%;font-weight:500}.tool-specs tr:nth-child(odd){background:var(--surface)}.tool-technology-links{display:flex;flex-wrap:wrap;gap:12px}.tool-technology-links a{padding:12px 20px;border:1px solid var(--accent);border-radius:4px;text-decoration:none}.tool-technology-links a.insight{color:var(--copper);border-color:var(--copper)}.case-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.case-list a{display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid var(--line);border-radius:6px;text-decoration:none;background:var(--surface)}.case-list strong{font-size:18px;line-height:1.4;color:var(--ink)}.case-list span{font-size:15px;color:var(--ink-2)}.case-list small{color:var(--accent);margin-top:auto}.ns-pdf-bar strong{min-width:0}.ns-pdf-dialog iframe{width:100%;flex:1;border:0}.ns-pdf-dialog[open]{display:flex;flex-direction:column}.catalogue-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 20px;background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:5px;z-index:100;font-size:15px}
@media(max-width:1050px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ns-head-in>.ns-nav{padding-left:100px;padding-right:0}.ns-head .ns-nav{gap:4px 18px}}
@media(max-width:750px){main{padding:28px 18px 50px}.tool-hero{grid-template-columns:1fr;padding:24px;gap:24px}.tool-portrait{min-height:280px}.tool-portrait img{height:280px}.tool-feature-grid,.case-list{grid-template-columns:1fr}.ns-head .ns-nav-top{gap:4px 15px}.tool-specs th,.tool-specs td{padding:12px 8px;font-size:14px}.ns-head-in>.ns-nav{padding-left:0}}
@media(max-width:520px){.tool-grid{grid-template-columns:1fr}.tool-card-image{height:200px}.catalogue-filters button{font-size:13px;padding:8px 10px}.catalogue-controls{padding:16px}.catalogue-hero h1{font-size:2.5rem}.tool-specs th{width:45%}}
