/* Persistent actions occupy their own gutter, including while research runs. */
body:has(main.research-expanded) .tmt-action-rail{display:block!important;left:10px;right:auto;width:96px}
body:has(main.research-expanded) .inline-research{padding-left:122px;padding-right:14px}
body:has(main.research-expanded) .research-followup{padding-inline:0}
.steps-story{position:relative;height:calc(var(--followup-height,600px) * 5.6);border-top:1px solid #89563433}
.steps-stage{position:sticky;top:0;height:var(--followup-height,600px);overflow:hidden;isolation:isolate}
.research-followup .steps-stage>.volume-counter{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:20px 12px;margin:0;transition:none;will-change:transform,opacity}
.research-followup .steps-stage>.steps{position:absolute;inset:0;height:100%;padding:18px 12px!important;border:0;background:transparent;overflow:hidden}
.research-followup .steps-stage>.steps .content{display:flex;flex-direction:column;height:100%;gap:8px;justify-content:center;max-width:850px;margin:auto;transform:none!important}
.research-followup .steps-stage h2{font-size:clamp(25px,3.5vw,48px);margin:0 0 12px;flex:none}
.research-followup .steps-stage ol{position:relative;display:block;flex:1;max-height:320px;min-height:180px;margin:0;padding:0;overflow:visible;list-style:none;counter-reset:service}
.research-followup .steps-stage li{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:22px clamp(14px,3vw,42px);border:1px solid #89563440;background:#fbfaf6;will-change:transform,opacity;transform:var(--card-transform)!important;opacity:var(--card-opacity)!important;visibility:visible!important;translate:none!important;counter-increment:service}
.research-followup .steps-stage li::before{content:"0" counter(service) " / 04";font-size:12px;letter-spacing:.15em;color:#895634;margin-bottom:16px}
.research-followup .steps-stage h3{color:#895634;font-size:clamp(23px,3vw,38px);line-height:1.16;margin:0 0 12px}
.research-followup .steps-stage p{font-size:clamp(16px,1.7vw,22px);line-height:1.55;margin:0}
.research-followup .steps-stage .volume-line{font-size:clamp(23px,3.4vw,45px)}
body .crm .content{gap:12px!important}
body .crm h2{font-size:clamp(23px,3.2vw,42px)!important;line-height:1.15;margin:0 0 10px!important}
body .crm iframe,body .research-followup .crm iframe{width:100%;height:min(520px,calc(var(--followup-height,600px) - 100px));min-height:0;max-width:900px;border:1px solid #bdc9bd}
@media(max-width:1023px),(pointer:coarse){
 body:has(main.research-expanded) .tmt-action-rail{left:max(4px,env(safe-area-inset-left));width:40px}
 body:has(main.research-expanded) .tmt-rail-buttons button{width:40px;padding-inline:2px;box-shadow:0 0 0 3px var(--paper)}
 body:has(main.research-expanded) .inline-research{padding-left:52px;padding-right:6px}
 body:has(main.research-expanded) .research-followup>.slide{padding-inline:4px!important}
 .research-followup .steps-stage>.steps{padding:12px 4px!important}
 .research-followup .steps-stage li{padding:18px 14px}
 .research-followup .steps-stage h3{font-size:24px}.research-followup .steps-stage p{font-size:16px}
 .research-followup .steps-stage ol{max-height:310px}
 body .crm iframe,body .research-followup .crm iframe{height:min(430px,calc(var(--followup-height,600px) - 95px))}
}
@media(max-width:680px){
 header{padding-top:max(5px,env(safe-area-inset-top));padding-bottom:2px}
 :root{--community-strip-height:86px}
 .community-strip.press-enabled{grid-template-rows:36px 38px;gap:2px 6px;padding-top:3px;padding-bottom:calc(3px + env(safe-area-inset-bottom))}
 .social-links{bottom:calc(3px + env(safe-area-inset-bottom))!important;height:38px!important}
 .steps-story .volume-intro{font-size:19px!important}.steps-story .volume-line{font-size:25px!important}
}
@media(prefers-reduced-motion:reduce){.steps-stage li,.steps-stage>.volume-counter{will-change:auto}}
@media(max-width:350px){
 header .brand{font-size:12px;gap:4px}header .brand svg{width:22px;height:22px;flex:none}
 header .brand small{font-size:5px;letter-spacing:.1em}
 header #open-panel{font-size:10px;padding:8px 7px}
 header .header-actions{gap:4px}header .tmt-locale summary{padding:6px;font-size:11px}
}
