/* Homepage-only section navigation: the existing header observers own all offsets. */
body.r66-navigation header.r66-header[data-r110-header]{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:70px 42px;gap:0 20px;height:auto!important;min-height:0;padding:0 clamp(18px,4vw,58px)}
body.r66-navigation header[data-r110-header]>.r66-brand-group{grid-column:1;grid-row:1}
body.r66-navigation header[data-r110-header]>.r66-primary-nav{grid-column:2;grid-row:1;align-self:center}
body.r66-navigation header[data-r110-header]>.r110-section-nav{grid-column:1/-1;grid-row:2;display:flex!important;align-items:stretch;justify-content:center;gap:6px;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;border-top:1px solid #ece7f2;white-space:nowrap}
.r110-section-nav::-webkit-scrollbar{display:none}
.r110-section-nav>a{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:40px;padding:6px 18px;color:#807589;text-decoration:none;font-size:12px;line-height:1.3;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;transition:color .2s,border-color .2s}
.r110-section-nav>a[aria-current=location]{color:#604190;border-bottom-color:#755495;font-weight:650}
.r110-section-nav>a:focus-visible,[data-r110-menu]:focus-visible,.r110-strength-controls button:focus-visible{outline:2px solid #7453d5;outline-offset:-3px}
body.r66-navigation header[data-r110-header]>[data-r110-menu]{display:none}
.r110-strength-controls{display:none}
html[data-r110-home] #ai-advantages .r110-honors-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:10px;border-bottom:1px solid #d9cde7;color:#624285;font-size:13px;font-weight:600;text-decoration:none}
html[data-r110-home] #ai-advantages .r110-honors-link:focus-visible{outline:2px solid #7453d5;outline-offset:3px}
/* Keep the single upper controller; the original lower nodes remain available to its controller. */
html[data-r110-home] #selected.r86-selected .r86-bottom-controls{display:none!important}
/* Compact only preview composition; full text, layouts and playback are untouched. */
@media(min-width:1000px){
 html[data-r110-home] #selected.r86-selected{padding-top:18px;padding-bottom:18px}
 html[data-r110-home] #selected.r86-selected .r78-selected-heading{margin-bottom:15px;align-items:center}
 html[data-r110-home] #selected.r86-selected .r78-selected-heading h2{font-size:clamp(26px,2.2vw,36px)}
 html[data-r110-home] #selected.r86-selected .r86-copy{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:6px 24px;padding:14px 20px}
 html[data-r110-home] #selected.r86-selected .r86-copy h3{font-size:21px!important;line-height:1.35!important;margin:0!important;flex:0 1 auto}
 html[data-r110-home] #selected.r86-selected .r86-summary{flex:1 1 280px;min-width:0;font-size:13px!important;line-height:1.6!important}
 html[data-r110-home] #selected.r86-selected .r86-copy>.r78-work-type{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0}
 html[data-r110-home] #selected.r86-selected .r86-copy>details{flex:0 0 100%}
 html[data-r110-home] #selected.r86-selected[data-r110-frame-works] .r86-media:has(>.folio-media),html[data-r110-home] #selected.r86-selected[data-r110-frame-works] .r86-media:has(>.r30-case-visual){height:var(--r110-work-media-height);min-height:0}
 html[data-r110-home] #selected.r86-selected[data-r110-frame-works] .r86-media>.folio-media,html[data-r110-home] #selected.r86-selected[data-r110-frame-works] .r86-media>.r30-case-visual{height:100%!important;max-height:none!important}
 html[data-r110-home] #selected.r86-selected[data-r110-frame-works] .r86-media>.folio-media>img,html[data-r110-home] #selected.r86-selected[data-r110-frame-works] .r86-media>.r30-case-visual>img{height:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
}
@media(max-width:1150px){
 body.r66-navigation header.r66-header[data-r110-header]{grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:44px 44px;gap:4px 10px;padding:8px 16px;height:auto!important}
 body.r66-navigation header[data-r110-header]>.r66-brand-group{grid-column:1;grid-row:1;gap:8px}
 body.r66-navigation header[data-r110-header]>.r66-primary-nav{grid-column:1/-1;grid-row:3}
 body.r66-navigation header[data-r110-header] .r66-brand-group>.wordmark img{width:132px!important;height:44px!important}
 html[data-r110-ready=true] body.r66-navigation header[data-r110-header]>[data-r110-menu]{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #e0d7ed;border-radius:12px;background:#faf8fd;color:#4d3a65;font:inherit;font-size:12px;cursor:pointer}
 html[data-r110-ready=true] body.r66-navigation header[data-r110-header]>.r66-primary-nav{display:none!important;grid-column:1/-1;grid-row:3;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px 0 3px;max-height:50dvh;overflow-y:auto;overscroll-behavior:contain}
 html[data-r110-ready=true] body.r66-navigation header[data-r110-header][data-r110-menu-open]>.r66-primary-nav{display:grid!important}
 body.r66-navigation header[data-r110-header]>.r110-section-nav{justify-content:flex-start;grid-column:1/-1;grid-row:2;gap:0}
 .r110-section-nav>a{min-height:44px;padding:7px 13px;font-size:11px}
}
@media(max-width:760px){
 body.r66-navigation header.r66-header[data-r110-header]{padding-inline:12px}
 html[data-r110-home] #ai-advantages .strength-grid{display:flex!important;align-items:stretch;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;padding:0 0 8px;margin:0;grid-template-columns:none!important}
 html[data-r110-home] #ai-advantages .strength-grid>.strength-card{flex:0 0 calc(100% - 18px);width:calc(100% - 18px);max-width:none;min-width:0;min-height:0!important;height:auto!important;padding:20px;box-sizing:border-box;scroll-snap-align:start}
 html[data-r110-home] #ai-advantages .strength-card .strength-visual{margin-bottom:16px}
 html[data-r110-home] #ai-advantages .strength-card h3{font-size:19px;line-height:1.4}
 html[data-r110-home] #ai-advantages .strength-card p{font-size:13px;line-height:1.85}
 html[data-r110-home] #ai-advantages .r110-strength-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 12px}
 .r110-strength-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #dfd5eb;border-radius:11px;background:#fff;color:#65448a;font:inherit;cursor:pointer}
 .r110-strength-controls button:disabled{opacity:.35;cursor:default}
 .r110-strength-controls output{min-width:62px;text-align:center;color:#8d7c9c;font-size:12px;font-variant-numeric:tabular-nums}
}
@media(max-width:359px){html[data-r110-ready=true] body.r66-navigation header[data-r110-header]>.r66-primary-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.r110-section-nav>a{padding-inline:11px}}
@media(prefers-reduced-motion:reduce){.r110-section-nav>a{transition:none}}

@media(min-width:1000px) and (max-height:780px){
 html[data-r110-home] #selected.r86-selected .r78-record-index{margin-bottom:14px}
 html[data-r110-home] #selected.r86-selected .r78-record-index button{min-height:64px}
 html[data-r110-home] #selected.r86-selected .r78-record-index button img,html[data-r110-home] #selected.r86-selected .r86-index-placeholder{height:48px!important}
}
