@media(max-width:760px){
 html,body{overflow-x:clip!important;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}
 .tx-shell{width:calc(100% - 18px)!important;padding-top:12px!important}
 .layout,.article,.side,.tx-real-media,.step,.card{width:100%!important;max-width:100%!important;min-width:0!important}
 .tx-article-hero h1{font-size:clamp(36px,10.8vw,54px)!important;line-height:.98!important;letter-spacing:-.05em!important}
 .lead{font-size:16px!important;line-height:1.68!important}.article p{font-size:14px!important;line-height:1.72!important}
 .article h2{font-size:clamp(27px,8vw,37px)!important;line-height:1.04!important}.article h3{line-height:1.18!important}
 .chips{gap:6px!important}.chip{font-size:8px!important;padding:6px 8px!important}
 .tx-real-media{display:block!important;border-radius:18px!important}.tx-media-frame{width:100%!important}.tx-media-frame img{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;object-fit:cover!important}.tx-real-media figcaption{display:block!important;padding:17px!important}.tx-real-media figcaption small,.tx-real-media figcaption strong,.tx-real-media figcaption p{display:block!important;width:100%!important}.tx-real-media figcaption strong{margin-top:8px!important;font-size:22px!important}.tx-real-media figcaption p{margin-top:10px!important}
 .termgrid,.prereq,.examples,.related,.navprev,.forum-grid,.side,.stats{grid-template-columns:1fr!important}
 .step{grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important}.stepno{width:36px!important;height:36px!important}
 .community-note .src{display:block!important}.community-note .src a{display:inline-block!important;margin-top:6px!important}
 .filters{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:4px}.filter{flex:0 0 auto!important}
 .searchrow{grid-template-columns:1fr!important}.count{min-width:0!important}
 .cardbody{padding:16px!important}.card h3{font-size:22px!important}.card p{font-size:12.5px!important}
}

/* V3 workflow cards */
@media(max-width:760px){
  .steps{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .step{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;padding:16px!important;border-radius:17px!important}
  .step h3{font-size:19px!important;line-height:1.18!important}
  .step-block p{font-size:13px!important;line-height:1.65!important}
  .step-block--action p{font-size:14px!important}
  .step-inline-note{grid-template-columns:1fr!important;gap:3px!important}
  .expect{grid-template-columns:1fr!important;gap:4px!important}
}

/* Step deck mobile final overrides */
@media(max-width:760px){
  .tx-workflow .steps.tx-step-deck{display:block!important;grid-template-columns:none!important;gap:0!important}
  .tx-workflow .tx-step-sheet{display:block!important;width:100%!important;max-width:100%!important}
  .tx-workflow .tx-step-sheet[hidden]{display:none!important}
}

/* V5 deck width alignment */
.tx-workflow,.tx-deck-shell,.tx-deck-status,.steps.tx-step-deck,.tx-deck-controls,.tx-deck-hint{width:100%!important;max-width:100%!important}
