/* All rules opt into the exact editorial adapter; homepage and commerce are untouched. */
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article]{--nei-ink:#1c1c1a;--nei-lime:#c9f24f;--nei-sand:#f7f6f2;--nei-line:#deded6;color:var(--nei-ink)}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] :is(h1,h2,h3){text-wrap:balance;letter-spacing:-.035em}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-anchor{scroll-margin-top:130px}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-reading-layout{display:grid;grid-template-columns:224px minmax(0,1fr);gap:56px;max-width:1240px;margin:0 auto;padding:48px 24px 80px;align-items:start}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-reading-content{min-width:0}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc{position:sticky;top:120px;padding:22px 18px;border:1px solid var(--nei-line);border-radius:16px;background:var(--nei-sand);max-height:calc(100dvh - 150px);overflow:auto;font-family:var(--font-b),sans-serif}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc-label{font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:600;margin:0 0 16px}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc ol{list-style:none;padding:0;margin:0;display:grid;gap:4px}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc li{margin:0;padding:0}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc a{display:block;padding:9px 10px;color:var(--nei-ink);font-size:13px;line-height:1.45;border-radius:8px;text-decoration:none}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc a:hover,body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc a[aria-current]{background:var(--nei-lime);color:var(--nei-ink)}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc-sub a{padding-left:18px;font-size:12px}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .nei-reading-content :is(.container,.landing-page){max-width:760px!important;width:100%;padding-left:0;padding-right:0;margin-inline:auto}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .nei-reading-content .landing-page-section{padding:28px 0!important;margin:0!important;border-top:1px solid var(--nei-line)}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .nei-reading-content :is(p,li){font-size:16px;line-height:1.85;max-width:72ch}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .nei-reading-content :is(h2,h3){font-size:27px;line-height:1.2;margin:0 0 20px}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .master-page-banner{background:var(--nei-sand);border-radius:24px;padding:36px!important;margin-bottom:32px}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] .nei-reading-content > *{max-width:100%}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] .nei-reading-content .container{width:100%!important;max-width:100%!important;padding-left:0;padding-right:0}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] .nei-reading-content p{font-size:16px;line-height:1.8;max-width:74ch}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] .nei-reading-content table{width:100%;font-size:14px;border-collapse:collapse;display:block;overflow-x:auto;border:1px solid var(--nei-line);border-radius:16px}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] .nei-reading-content :is(td,th){padding:14px!important;border-color:var(--nei-line)}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] .nei-reading-content th{background:var(--nei-sand)}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-section{padding-block:76px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0!important}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-grid > *{width:auto!important;max-width:none!important;flex:none!important;min-width:0}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-card{border:1px solid var(--nei-line);border-radius:24px;background:var(--nei-sand);padding:28px!important;height:auto!important;margin-bottom:0!important}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-card img{border-radius:16px;max-width:100%}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-split{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center;margin-inline:0!important}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-split > *{width:auto!important;max-width:none!important;flex:none!important;padding-inline:0!important}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-split img{border-radius:24px;max-width:100%;height:auto}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-mission{background:var(--nei-ink);color:var(--nei-sand)}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-mission :is(h2,p){color:inherit!important}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-mission h2{font-family:var(--font-d),sans-serif!important;font-weight:600!important;font-size:clamp(32px,4vw,56px)!important;line-height:1.1!important}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-company-alternate:not(.nei-mission){background:var(--nei-sand)}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-company-section > .container{max-width:1240px;width:calc(100% - 48px)}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-hero{border:0!important;max-width:1240px!important;margin-inline:auto!important;padding:56px 32px!important;background:var(--nei-sand);border-radius:24px;gap:40px!important}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-hero h1{font-size:clamp(36px,4.8vw,68px)!important;line-height:1.04!important;max-width:19ch;font-weight:500!important}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-hero p{max-width:65ch;line-height:1.7}
body.nest-v2.nest-v2-site [data-nei-editorial="case-index"][data-nest-article] .nei-case-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px!important}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-card{display:flex;flex-direction:column;border:1px solid var(--nei-line);border-radius:24px;overflow:hidden;background:white;padding:12px;text-decoration:none;color:inherit;transition:transform .22s ease,box-shadow .22s ease}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #1c1c1a0d}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-card img{border-radius:16px}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-card h3{font-size:22px!important;line-height:1.2!important;margin-block:12px}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-filter{position:relative!important;top:auto!important;border:0!important;padding-block:24px!important;background:white!important}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-filter :is(input,[role="combobox"]){border:1px solid var(--nei-line);border-radius:12px;min-height:46px;background:var(--nei-sand)}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-reading-layout{grid-template-columns:180px minmax(0,1fr);gap:40px}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero{padding:32px!important;display:flex!important;flex-direction:column!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-chapter{padding:36px 0!important;gap:24px!important;border-bottom:1px solid var(--nei-line)}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-chapter h2{font-family:var(--font-d),sans-serif;font-size:44px!important;font-weight:600!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-chapter p{max-width:72ch;font-size:16px;line-height:1.8}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-image{border-radius:16px}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-reading-content [class*="max-w-"]{max-width:100%!important}
@media(max-width:900px){body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-reading-layout,body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-reading-layout{grid-template-columns:minmax(0,1fr);gap:24px;padding:24px 20px 48px}body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc{position:relative;top:auto;max-height:220px}body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-split{grid-template-columns:1fr;gap:28px}body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-section{padding-block:44px!important}body.nest-v2.nest-v2-site [data-nei-editorial="case-index"][data-nest-article] .nei-case-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-grid,body.nest-v2.nest-v2-site [data-nei-editorial="case-index"][data-nest-article] .nei-case-card-grid{grid-template-columns:1fr}body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] .nei-story-card{padding:22px!important}body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-hero{padding:28px 20px!important;border-radius:20px}body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-hero h1{font-size:36px!important}body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-chapter h2{font-size:34px!important}body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .master-page-banner{padding:24px!important}}
@media(prefers-reduced-motion:reduce){body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-card{transition:none}body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-case-card:hover{transform:none}}

body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-facts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px!important;margin-block:24px}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-fact{padding:22px;border:1px solid var(--nei-line);border-radius:16px;background:var(--nei-sand);min-width:0}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-fact h3{font-size:20px;line-height:1.25}
@media(max-width:700px){body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-facts{grid-template-columns:1fr}}

/* Case studies keep a generous project hero; navigation belongs below the introduction. */
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:40px!important;padding:40px!important;margin-block:20px 40px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero h1{font:600 clamp(36px,3.4vw,48px)/1.1 var(--font-d)!important;letter-spacing:-.04em!important;max-width:none!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero p{font:400 16px/1.65 var(--font-b)!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero>aside{width:100%!important;background:var(--lime-soft,#eef9c6)!important;color:var(--ink)!important;border-radius:20px!important;border:1px solid var(--line)!important;align-self:start}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero .nei-case-facts{display:flex!important;flex-direction:column!important;gap:0!important;margin:0!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero .nei-case-fact{border:0!important;border-bottom:1px solid #d6e2b1!important;border-radius:0;background:transparent;padding:18px 0!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero .nei-case-fact h3{font-size:17px!important;margin:0 0 12px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-section-nav{display:flex;gap:8px;overflow-x:auto;max-width:1160px;margin:24px auto 40px;padding:8px;border:1px solid var(--line);border-radius:999px;width:calc(100% - 80px);background:var(--sand)}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-section-nav a{padding:10px 20px;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap;color:var(--ink);font:500 13px var(--font-b);border-radius:999px;text-decoration:none}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-section-nav a:hover{background:var(--lime)}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc-toggle{display:none}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .master-page-banner{height:auto!important;min-height:0!important;background:var(--sand)!important;padding:36px!important;text-align:left!important}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .master-page-banner :is(h1,.page-title){color:var(--ink)!important;margin:0!important;font:600 44px/1.1 var(--font-d)!important}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .section-leading-topspace{padding-top:36px!important;margin-top:0!important}
body.nest-v2.nest-v2-site :is([data-nei-editorial="legal"],[data-nei-editorial="guide"])[data-nest-article].page-main{padding-inline:0!important}
body.nest-v2.nest-v2-site :is([data-nei-editorial="legal"],[data-nei-editorial="guide"])[data-nest-article] .nei-reading-content .container{padding-inline:0!important}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .master-page-banner :is(h1,.page-title){text-align:left!important}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] :is(h1,.section-leading-center,p){text-align:left!important}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] h1{font-size:44px!important;line-height:1.12!important}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] :is(.top-96,.top-64){margin-top:32px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] .section-top-100{padding-top:16px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] .section-leading-center-2 h1{margin-top:20px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] :is(.nei-story-grid,.nei-story-split)::before,
body.nest-v2.nest-v2-site [data-nei-editorial="company"][data-nest-article] :is(.nei-story-grid,.nei-story-split)::after{content:none!important;display:none!important}
@media(max-width:900px){
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc{padding:12px 16px;max-height:none;border-radius:14px}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc .nei-toc-label{display:none}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:44px;border:0;background:transparent;font:600 14px var(--font-b);color:var(--ink);padding:0;text-align:left}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc-toggle:after{content:'+';font-size:20px}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc-open .nei-toc-toggle:after{content:'−'}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc:not(.nei-toc-open) ol{display:none}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero{grid-template-columns:1fr!important;padding:28px!important;gap:28px!important}
}
@media(max-width:600px){
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .section-leading-topspace{padding-top:16px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="guide"][data-nest-article] h1{font-size:34px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .master-page-banner{padding:24px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="legal"][data-nest-article] .master-page-banner :is(h1,.page-title){font-size:34px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero{padding:24px 20px!important;margin-top:12px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-hero h1{font-size:34px!important}
body.nest-v2.nest-v2-site [data-nei-editorial="case-detail"][data-nest-article] .nei-case-section-nav{width:calc(100% - 32px);margin-block:16px 24px}
}
/* Round 2: orientation while reading, accessible chapter navigation and quieter long copy. */
body.nest-v2.nest-v2-site [data-nei-editorial] .nei-reading-meta{font:500 12px/20px var(--font-b)!important;letter-spacing:.02em;color:#7c776c!important;margin:16px 0 24px!important}
body.nest-v2.nest-v2-site [data-nei-editorial] .nei-reading-progress{display:block;position:sticky;top:var(--nest-header-height,76px);z-index:9;width:100%;height:3px;appearance:none;border:0;background:#e6e2da;color:#1c1c1a;margin:0}
body.nest-v2.nest-v2-site [data-nei-editorial] .nei-reading-progress::-webkit-progress-bar{background:#e6e2da}
body.nest-v2.nest-v2-site [data-nei-editorial] .nei-reading-progress::-webkit-progress-value{background:#1c1c1a}
body.nest-v2.nest-v2-site [data-nei-editorial] .nei-reading-progress::-moz-progress-bar{background:#1c1c1a}
body.nest-v2.nest-v2-site [data-nei-editorial] :is(.nei-toc a,.nei-case-section-nav a){min-height:44px;box-sizing:border-box;display:flex;align-items:center}
body.nest-v2.nest-v2-site [data-nei-editorial] :is(.nei-toc a,.nei-case-section-nav a):focus-visible{outline:2px solid #1c1c1a;outline-offset:2px}
body.nest-v2.nest-v2-site [data-nei-editorial] .nei-case-section-nav a[aria-current]{background:#c9f24f!important;color:#1c1c1a!important;border-color:#c9f24f!important}
body.nest-v2.nest-v2-site [data-nei-editorial] .nei-reading-content :is(ul,ol){padding-left:24px}
body.nest-v2.nest-v2-site [data-nei-editorial] .nei-reading-content li+li{margin-top:10px}
body.nest-v2.nest-v2-site [data-nei-editorial] .nei-reading-content blockquote{margin:32px 0;padding:24px 28px;background:#f7f6f2;border-left:3px solid #c9f24f;border-radius:0 16px 16px 0;font:500 20px/1.5 var(--font-d)}
body.nest-v2.nest-v2-site [data-nei-editorial] .nei-reading-content :is(h2,h3){scroll-margin-top:calc(var(--nest-header-height,76px) + 90px)}
body.nest-v2.nest-v2-site [data-nei-editorial] :is(.nei-story-grid,.nei-story-split)::before,
body.nest-v2.nest-v2-site [data-nei-editorial] :is(.nei-story-grid,.nei-story-split)::after{display:none!important;content:none!important}
@media(max-width:767px){body.nest-v2.nest-v2-site [data-nei-editorial] .nei-toc{top:calc(var(--nest-header-height,76px) + 8px)!important;z-index:8;max-height:calc(100dvh - var(--nest-header-height,76px) - 32px);overscroll-behavior:contain}body.nest-v2.nest-v2-site [data-nei-editorial] .nei-toc.nei-toc-open ol{max-height:50dvh;overflow-y:auto;padding-bottom:8px}body.nest-v2.nest-v2-site [data-nei-editorial] .nei-reading-content blockquote{padding:20px;font-size:18px}body.nest-v2.nest-v2-site [data-nei-editorial] .nei-case-section-nav{scroll-padding-inline:20px;overscroll-behavior-inline:contain}}
/* A relative top offset displaced the mobile TOC over the title. Sticky retains its normal-flow row. */
@media(max-width:767px){
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-toc{position:sticky!important;top:calc(var(--nest-header-height,76px) + 8px)!important;align-self:start;margin:0!important;transform:none!important}
body.nest-v2.nest-v2-site [data-nei-editorial][data-nest-article] .nei-reading-layout{row-gap:24px!important;padding-top:24px!important}
}
