/* Local automation review only. Keep the shared font floors and hero grid. */
#svc-preview.svc--automation .automation-sources text{text-anchor:middle;}
#svc-preview.svc--automation .automation-results text{text-anchor:middle;transform:none;}
/* User exception: subtract one rendered pixel and move the whole caption 6px.
   The shared floor already compensates for the SVG's responsive scale. */
#svc-preview.svc--automation .core-label{
 --automation-caption-pixel:calc(var(--hc-floor-font,11px) * .0909090909);
 font-size:calc(max(11px,var(--hc-floor-font,11px)) - var(--automation-caption-pixel))!important;
 transform:translateX(calc(var(--automation-caption-pixel) * 6));
}
#svc-preview.svc--automation .core-label tspan{font-size:inherit!important;}
#svc-preview.svc--automation .core-processing-glow{fill:url(#automationProcessingGlow);stroke:none;opacity:var(--svc-processing-glow,0);pointer-events:none;}
#svc-preview.svc--automation .core-status{filter:brightness(calc(1 + var(--svc-processing-glow,0) * .3));}
@media(prefers-reduced-motion:reduce){#svc-preview.svc--automation .core-processing-glow{display:none;}#svc-preview.svc--automation .core-status{filter:none;}}
@media(max-width:760px){
 #svc-preview.svc--automation .core-label{--automation-caption-pixel:calc(var(--hc-floor-font,10px) * .1);}
}
/* Tablet landscape only: subtract two rendered pixels from its approved offset. */
@media(orientation:landscape) and (min-width:761px) and (max-width:1366px) and (min-height:601px) and (hover:none) and (pointer:coarse){
 #svc-preview.svc--automation .core-label-desktop{transform:translateX(calc(var(--automation-caption-pixel) * 4));}
}
@media(orientation:landscape) and (min-width:1051px) and (max-width:1194px) and (min-height:601px) and (hover:none) and (pointer:coarse){
 #svc-preview.svc--automation .core-label-desktop{transform:translateX(calc(var(--automation-caption-pixel) * 7));}
}
@media(min-width:1051px){
 .automation-page .dev-hero .hero-grid>#svc-preview.svc--automation{width:min(100%,533px)!important;margin-inline:0!important;justify-self:end!important;}
}
/* Match the shared service-visual slot on two-column landscape tablets. */
@media(orientation:landscape) and (min-width:1051px) and (max-width:1366px){
 .automation-page .dev-hero .hero-grid>#svc-preview.svc--automation{width:100%!important;max-width:100%!important;}
}
@media(max-width:760px){
 .automation-page .dev-hero .hero-grid>#svc-preview.svc--automation{width:100%!important;}
}
/* Phone review: clearer step captions and a truly centered core caption. */
@media(max-width:760px) and (orientation:portrait){
 #svc-preview.svc--automation .automation-map-foot>span{
  align-items:center;justify-content:center;text-align:center;
  font-size:10px!important;line-height:1.4;
 }
 #svc-preview.svc--automation .automation-map-foot b{font-size:10px!important;line-height:1.4;text-align:center;}
 #svc-preview.svc--automation .core-label-mobile{
  font-size:max(11px,var(--hc-floor-font,10px))!important;
  transform:none;text-anchor:middle;
 }
}
