/* MDL Phase 68-70 targeted mobile repair
   Scope: only pages with body.mdl-phase6870-mobile-repair */
@media(max-width:900px){
  html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  body.mdl-phase6870-mobile-repair .page-shell{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:0 !important;
    height:auto !important;
  }

  /* Drawer geometry is owned by canonical mobile-responsive.css once
     site-navigation.js adds mdl-mobile-drawer-final. */
  body.mdl-phase6870-mobile-repair .page-shell > .main{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
    padding:14px 12px 78px !important;
    overflow-x:hidden !important;
  }

  body.mdl-phase6870-mobile-repair .wrap{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 auto !important;
  }

  body.mdl-phase6870-mobile-repair .hero{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    padding:16px 14px !important;
    margin:0 !important;
  }

  body.mdl-phase6870-mobile-repair .hero h1{
    font-size:clamp(28px,8.5vw,36px) !important;
    line-height:1.08 !important;
    overflow-wrap:anywhere !important;
  }

  body.mdl-phase6870-mobile-repair .lead,
  body.mdl-phase6870-mobile-repair .note{
    font-size:15px !important;
    line-height:1.55 !important;
  }

  body.mdl-phase6870-mobile-repair .card{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    padding:15px 12px !important;
    margin-top:14px !important;
  }

  body.mdl-phase6870-mobile-repair .grid,
  body.mdl-phase6870-mobile-repair .grid3{
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
  }

  body.mdl-phase6870-mobile-repair input,
  body.mdl-phase6870-mobile-repair select,
  body.mdl-phase6870-mobile-repair textarea{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    font-size:16px !important;
  }

  body.mdl-phase6870-mobile-repair textarea{
    min-height:105px !important;
  }

  body.mdl-phase6870-mobile-repair .table-wrap{
    width:100% !important;
    max-width:100% !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  body.mdl-phase6870-mobile-repair table{
    min-width:max-content;
  }

  body.mdl-phase6870-mobile-repair canvas,
  body.mdl-phase6870-mobile-repair svg,
  body.mdl-phase6870-mobile-repair img{
    max-width:100% !important;
  }

  body.mdl-phase6870-mobile-repair .stats{
    max-width:100% !important;
  }

  body.mdl-phase6870-mobile-repair .related{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px !important;
  }

  body.mdl-phase6870-mobile-repair .related h2{
    flex:0 0 100% !important;
  }

  body.mdl-phase6870-mobile-repair .related a{
    flex:1 1 150px !important;
    margin:0 !important;
    min-height:44px !important;
    white-space:normal !important;
    text-align:center !important;
  }
}

@media(max-width:520px){
  body.mdl-phase6870-mobile-repair .related a{
    flex:1 1 100% !important;
    width:100% !important;
  }
}
