/* NOTWEN NODE V9.9.3 · Product-first refinement. No changes to global brand header. */
:root{--nw993-bg:#080f12;--nw993-panel:#0c171d;--nw993-elev:#102027;--nw993-line:#1c343d;--nw993-green:#24ec70;--nw993-muted:#91a6ae;--nw993-text:#f2f6f7}
.nw993-kicker{color:var(--nw993-green);font:850 10px/1.4 var(--font-ui,Inter,Arial,sans-serif);letter-spacing:.105em;text-transform:uppercase}
/* Docs landing: broad cover, readable equal cards and chapters. */
body.nw-docs .nw993-docs-content{min-width:0!important;width:100%!important;max-width:none!important}
body.nw-docs .nw993-docs-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.94fr);align-items:center;gap:clamp(22px,3vw,44px);padding:clamp(22px,3vw,40px);border:1px solid var(--nw993-line);border-radius:14px;background:radial-gradient(circle at 95% 0%,rgba(36,236,112,.085),transparent 55%),linear-gradient(145deg,#102027,#081318);overflow:hidden}
body.nw-docs .nw993-docs-hero-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
body.nw-docs .nw993-docs-hero h2{max-width:700px;margin:12px 0 13px;font:850 clamp(29px,3.1vw,47px)/1.12 var(--font-ui,Inter,Arial,sans-serif);letter-spacing:-.045em;color:var(--nw993-text);overflow-wrap:normal;word-break:normal}
body.nw-docs .nw993-docs-hero-copy>p{max-width:540px;margin:0;color:#abbfc4;font-size:clamp(12px,1.03vw,15px);line-height:1.75;overflow-wrap:normal;word-break:normal}
body.nw-docs .nw993-hero-tags{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}
body.nw-docs .nw993-hero-tags span{padding:7px 10px;border:1px solid rgba(106,204,207,.22);border-radius:6px;color:#8cd2de;background:#09191e;font:700 10px/1.2 var(--font-ui,Inter,Arial,sans-serif)}
body.nw-docs .nw993-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:2px}
body.nw-docs .nw993-hero-actions .button{min-height:42px;padding:10px 15px}
body.nw-docs .nw993-docs-cover{display:block;min-width:0;border:1px solid #294650;border-radius:12px;overflow:hidden;text-decoration:none;background:#071217;transition:border-color .16s ease,transform .16s ease}
body.nw-docs .nw993-docs-cover:hover{border-color:#24ec70;transform:translateY(-2px)}
body.nw-docs .nw993-docs-cover img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;background:#080f12}
body.nw-docs .nw993-docs-cover>span{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px 16px;color:#bcd4d8;font:800 11px/1.4 var(--font-ui,Inter,Arial,sans-serif)}
body.nw-docs .nw993-docs-cover b{color:#24ec70;font-size:17px}
body.nw-docs .nw993-docs-guides,body.nw-docs .nw993-docs-chapters{margin-top:30px;padding-top:26px;border-top:1px solid var(--nw993-line)}
body.nw-docs .nw993-section-heading{display:flex;align-items:end;justify-content:space-between;gap:14px 30px;margin-bottom:18px}
body.nw-docs .nw993-section-heading h2{margin:7px 0 0;color:#f2f6f7;font:850 clamp(21px,2.2vw,30px)/1.18 var(--font-ui,Inter,Arial,sans-serif);letter-spacing:-.035em}
body.nw-docs .nw993-section-heading>p{max-width:310px;margin:0;color:#8fa7ae;font:550 12px/1.5 var(--font-ui,Inter,Arial,sans-serif);text-align:right}
body.nw-docs .nw993-docs-quick{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;min-width:0}
body.nw-docs .nw993-docs-quick>a{position:relative;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;min-width:0!important;width:auto!important;min-height:170px;padding:22px!important;border:1px solid var(--nw993-line);border-radius:12px;background:linear-gradient(155deg,#0c1b21,#0a1418);text-decoration:none;box-shadow:none;overflow:hidden;transition:border-color .16s ease,transform .16s ease}
body.nw-docs .nw993-docs-quick>a:hover{border-color:rgba(36,236,112,.45);transform:translateY(-2px)}
body.nw-docs .nw993-docs-quick>a>span{display:block;color:#65dd95;font:850 10px/1.3 var(--font-ui,Inter,Arial,sans-serif);letter-spacing:.07em;text-transform:uppercase}
body.nw-docs .nw993-docs-quick h3{display:block!important;width:100%!important;margin:17px 0 8px!important;padding:0!important;color:#e7f1f3;font:800 clamp(17px,1.35vw,21px)/1.22 var(--font-ui,Inter,Arial,sans-serif)!important;letter-spacing:-.025em;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
body.nw-docs .nw993-docs-quick p{display:block!important;width:100%!important;min-width:0!important;max-width:350px!important;margin:0!important;padding:0!important;color:#93adb4!important;font:500 12.5px/1.65 var(--font-ui,Inter,Arial,sans-serif)!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important}
body.nw-docs .nw993-docs-quick b{position:absolute;top:19px;right:21px;color:#24ec70;font-size:17px}
body.nw-docs .nw993-chapters-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.nw-docs .nw993-chapters-grid a{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;min-height:51px;padding:13px 17px;border:1px solid var(--nw993-line);border-radius:8px;background:#0b171c;color:#d7e7eb;text-decoration:none;font:750 12px/1.4 var(--font-ui,Inter,Arial,sans-serif)}
body.nw-docs .nw993-chapters-grid a:hover{border-color:#24ec70;color:#24ec70}
body.nw-docs .nw993-chapters-grid span{flex:0 0 auto;color:#24ec70}
/* RP Chat article — no duplicated metadata; keep complete verified technical content. */
body.nw-docs .nw-rp-documentation .nw-rp-guide-hero{border-color:#284751!important;background:linear-gradient(135deg,#102027,#0b191e)!important;box-shadow:none!important}
body.nw-docs .nw-rp-documentation .nw-rp-guide-visual img{width:100%!important;aspect-ratio:1672/941!important;object-fit:contain!important;max-height:none!important}
body.nw-docs .nw-rp-documentation .nw-rp-guide-shortcuts a{font-size:12px!important}
body.nw-docs .nw-rp-documentation .nw-rp-doc-block{scroll-margin-top:120px}
/* Demo — single large product preview, harmonized with overall content width */
body.nw981-demo-body .nw993-demo-page{width:min(1370px,calc(100% - 48px));margin:0 auto;padding:54px 0 86px}
body.nw981-demo-body .nw993-demo-intro{padding:0 4px 26px;margin:0 0 25px;border-bottom:1px solid var(--nw993-line)}
body.nw981-demo-body .nw993-demo-topline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
body.nw981-demo-body .nw993-demo-status{padding:7px 11px;border:1px solid rgba(36,236,112,.22);border-radius:999px;background:rgba(36,236,112,.06);color:#76edab;font:800 10px var(--font-ui,Inter,Arial,sans-serif)}
body.nw981-demo-body .nw993-demo-intro h1{margin:12px 0 9px;color:#f2f6f7;font:850 clamp(37px,4.4vw,66px)/1.04 var(--font-ui,Inter,Arial,sans-serif);letter-spacing:-.05em}
body.nw981-demo-body .nw993-demo-intro>p{margin:0;color:#a6bbc1;font:500 clamp(13px,1.18vw,16px)/1.7 var(--font-ui,Inter,Arial,sans-serif)}
body.nw981-demo-body .nw993-demo-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:15px}
body.nw981-demo-body .nw993-demo-links a{color:#80e6ac;text-decoration:none;font:750 12px var(--font-ui,Inter,Arial,sans-serif)}
body.nw981-demo-body .nw993-demo-links a:hover{text-decoration:underline}
body.nw981-demo-body .nw993-demo-feature{min-width:0}
body.nw981-demo-body .nw993-demo-feature>.nw981-demo-card{width:100%;max-width:none;margin:0;min-width:0;box-shadow:0 20px 60px rgba(0,0,0,.21);border:1px solid var(--nw993-line);border-radius:14px;overflow:hidden}
body.nw981-demo-body .nw993-demo-feature>.nw981-demo-card>header{padding:20px 24px;min-height:84px;background:#0c171d}
body.nw981-demo-body .nw993-demo-feature>.nw981-demo-card>header h3{font:800 clamp(19px,2vw,25px)/1.2 var(--font-ui,Inter,Arial,sans-serif)}
body.nw981-demo-body #rpchat-demo .nw-rp-live-demo{border:0;border-radius:0;box-shadow:none}
body.nw981-demo-body #rpchat-demo .nw-rp-live-banner{padding:11px 20px;background:#0b191e}
body.nw981-demo-body #rpchat-demo .nw992-stage{width:100%;max-width:none;aspect-ratio:16/9!important;min-height:0;max-height:none}
body.nw981-demo-body #rpchat-demo .nw-rp-live-actions{display:flex;flex-wrap:wrap;gap:8px;padding:17px 20px 12px}
body.nw981-demo-body #rpchat-demo .nw-rp-live-actions button,body.nw981-demo-body #rpchat-demo .nw-rp-live-actions a{flex:0 0 auto;white-space:normal}
body.nw981-demo-body #rpchat-demo .nw-rp-live-help{margin:0;padding:2px 20px 20px;background:#0c171d;color:#a2b7be}
body.nw981-demo-body .nw993-demo-disclaimer{margin:18px 2px 0;max-width:920px;color:#8fa5ac;font:500 12px/1.7 var(--font-ui,Inter,Arial,sans-serif)}
/* Home: only commercially available product photography. */
.v968-hero .nw993-home-stage{min-height:0;display:flex;flex-direction:column;gap:12px;perspective:none;width:100%;max-width:810px}
.v968-hero .nw993-home-stage:before{display:none!important}
.v968-hero .nw993-home-visual{display:block;position:relative;isolation:isolate;overflow:hidden;border:1px solid #294950;border-radius:15px;background:#091418;box-shadow:0 34px 75px rgba(0,0,0,.25);transition:transform .16s ease,border-color .16s ease}
.v968-hero .nw993-home-visual:hover{transform:translateY(-3px);border-color:#24ec70}
.v968-hero .nw993-home-visual img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}
.v968-hero .nw993-image-cap{position:absolute;left:12px;right:12px;top:12px;display:flex;justify-content:space-between;gap:8px;padding:10px 12px;background:rgba(6,15,18,.89);border:1px solid rgba(136,221,205,.17);border-radius:7px;backdrop-filter:blur(8px)}
.v968-hero .nw993-image-cap b{font:800 10px var(--font-ui,Inter,Arial,sans-serif);color:#e7f3f1}
.v968-hero .nw993-image-cap em{font:800 9px var(--font-ui,Inter,Arial,sans-serif);color:#24ec70;font-style:normal}
.v968-hero .nw993-home-visual-links{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;color:#8fa6ad;font:650 11px/1.4 var(--font-ui,Inter,Arial,sans-serif)}
.v968-hero .nw993-home-visual-links a{flex:none;color:#7ceaa7;text-decoration:none}
.v968-products.nw993-home-products{padding-top:40px}
.nw993-home-products .nw993-home-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.nw993-home-feature-cover{display:block;min-width:0;overflow:hidden;border:1px solid var(--nw993-line);border-radius:12px;background:#0c171d;text-decoration:none;transition:transform .16s ease,border-color .16s ease}
.nw993-home-feature-cover:hover{transform:translateY(-3px);border-color:#24ec70}
.nw993-home-feature-cover img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;background:#070f12}
.nw993-home-feature-cover>span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 16px;color:#dbe7e9;font:800 12px/1.4 var(--font-ui,Inter,Arial,sans-serif)}
.nw993-home-feature-cover b{color:#24ec70;font-size:18px}
.nw993-home-feature-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px}
.v968-node.nw993-home-integrations{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;align-items:center}
.nw993-framework-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nw993-framework-grid>span{display:flex;flex-direction:column;justify-content:center;gap:10px;min-height:114px;padding:22px;border:1px solid var(--nw993-line);border-radius:11px;background:#0c171d}
.nw993-framework-grid b{color:#f2f6f7;font:850 22px/1.1 var(--font-ui,Inter,Arial,sans-serif)}
.nw993-framework-grid small{color:#78de9e;font:700 11px var(--font-ui,Inter,Arial,sans-serif)}
/* Stacks: truthful future planning, current product image only. */
.nw984-stacks-hero.nw993-stacks-hero{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:center;gap:clamp(30px,4vw,70px);min-height:0;padding:75px 0 65px}
.nw993-stack-copy{min-width:0}
.nw984-stacks-hero.nw993-stacks-hero h1{font-size:clamp(39px,4.9vw,73px);line-height:1;letter-spacing:-.04em}
.nw993-stack-copy .nw980-lead{max-width:530px;font-size:clamp(13px,1.12vw,16px);line-height:1.75}
.nw993-stack-state{margin-top:25px;color:#8da7ad;font:650 12px var(--font-ui,Inter,Arial,sans-serif)}
.nw993-stack-state span{color:#24ec70;font-weight:850}
.nw993-stack-cover{display:block;overflow:hidden;min-width:0;border:1px solid #284751;border-radius:14px;background:#0a151a;text-decoration:none;transition:border-color .16s ease,transform .16s ease;box-shadow:0 22px 56px #0004}
.nw993-stack-cover:hover{border-color:#24ec70;transform:translateY(-2px)}
.nw993-stack-cover img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}
.nw993-stack-cover>span{display:flex;justify-content:space-between;gap:12px;padding:14px 19px;color:#e8f4f1;font:850 12px/1.4 var(--font-ui,Inter,Arial,sans-serif)}
.nw993-stack-cover b{color:#24ec70}
.nw993-stack-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.6fr);gap:30px;align-items:center;padding:42px 0 65px}
.nw993-stack-footer h2{margin:10px 0;color:#ecf4f5;font-size:clamp(24px,2.7vw,37px)}
.nw993-stack-footer p{max-width:630px;color:#8fa8af;font-size:13px;line-height:1.7}
.nw993-stack-footer-links{display:grid;gap:10px}
.nw993-stack-footer-links a{padding:14px 16px;border:1px solid var(--nw993-line);border-radius:8px;background:#0d1b20;color:#82eba9;text-decoration:none;font:750 12px var(--font-ui,Inter,Arial,sans-serif)}
.nw993-stack-footer-links a:hover{border-color:#24ec70}
/* Responsive safeguards: avoid narrow wrapped vertical text and overflowing images. */
@media(max-width:1150px){body.nw-docs .nw993-docs-hero{grid-template-columns:1fr}.nw984-stacks-hero.nw993-stacks-hero{grid-template-columns:1fr}.nw993-stack-cover{max-width:800px}.v968-node.nw993-home-integrations{grid-template-columns:1fr}}
@media(max-width:850px){body.nw-docs .nw993-docs-quick{grid-template-columns:1fr!important}body.nw-docs .nw993-docs-quick>a{min-height:135px}body.nw-docs .nw993-docs-hero{padding:23px}body.nw-docs .nw993-section-heading{align-items:start;flex-direction:column}body.nw-docs .nw993-section-heading>p{text-align:left}body.nw981-demo-body .nw993-demo-page{width:calc(100% - 28px);padding-top:34px}.nw993-home-products .nw993-home-feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:610px){body.nw-docs .nw993-chapters-grid{grid-template-columns:1fr}body.nw-docs .nw993-docs-hero{padding:18px}body.nw-docs .nw993-docs-hero h2{font-size:31px}body.nw981-demo-body #rpchat-demo .nw-rp-live-viewport{height:auto!important;min-height:350px!important;aspect-ratio:4/5!important}body.nw981-demo-body #rpchat-demo .nw992-chat{min-width:0;width:86%;left:6%}body.nw981-demo-body #rpchat-demo .nw992-settings{inset:3% 2%}body.nw981-demo-body #rpchat-demo .nw992-settings-body{grid-template-columns:1fr}body.nw981-demo-body #rpchat-demo .nw992-tabs{gap:1px;padding:6px 3px}body.nw981-demo-body #rpchat-demo .nw992-tabs button{font-size:8px;padding:9px 2px}.nw993-home-products .nw993-home-feature-grid{grid-template-columns:1fr}.nw993-framework-grid{grid-template-columns:1fr 1fr}.v968-hero .nw993-image-cap{position:static;background:#0b1a1e;border:0;border-radius:0}.v968-hero .nw993-home-visual-links{flex-wrap:wrap}.nw993-stack-footer{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.nw993-home-visual,.nw993-home-feature-cover,.nw993-stack-cover,.nw993-docs-cover{transition:none!important}}

/* Small-screen docs: content first, sidebar after the published chapters. */
@media(max-width:850px){
 body.nw-docs .v46-docs-shell:has(.nw993-docs-content){display:flex!important;flex-direction:column!important;gap:24px!important}
 body.nw-docs .v46-docs-shell:has(.nw993-docs-content)>.v46-docs-content{order:1;width:100%!important}
 body.nw-docs .v46-docs-shell:has(.nw993-docs-content)>.v46-docs-sidebar{order:2;width:100%!important;max-width:none!important;margin-top:4px!important}
}
