/* X-MOBILE-173100 | Genesis config and public workspace width repair.
   Mobile-only, scoped to the canonical configurator. No checkout, preview canvas,
   tenant app, route or product authorization changes. */
@media (max-width:767px) {
  body.xgenesis-shell:has(#main > .x5-config) .x1113-layout {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.xgenesis-shell:has(#main > .x5-config) .x1113-layout > .shell {
    display:block!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.xgenesis-shell:has(#main > .x5-config) .x1113-layout > .shell > .sidebar {
    display:none!important;
  }
  body.xgenesis-shell:has(#main > .x5-config) .x1113-layout > .shell > .body,
  body.xgenesis-shell:has(#main > .x5-config) .x1113-layout #main {
    display:block;
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.xgenesis-shell:has(#main > .x5-config) .x1113-layout #main {
    margin-inline:0!important;
    padding-inline:clamp(16px,4.5vw,24px)!important;
  }
  body.xgenesis-shell:has(#main > .x5-config) #main > .x5-config,
  body.xgenesis-shell:has(#main > .x5-config) #main .x9012-unified-office,
  body.xgenesis-shell:has(#main > .x5-config) #main .x4100-config-bridge,
  body.xgenesis-shell:has(#main > .x5-config) #main .x5-config-grid,
  body.xgenesis-shell:has(#main > .x5-config) #main .x5-spec {
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  body.xgenesis-shell:has(#main > .x5-config) #main .x5-config-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.xgenesis-shell:has(#main > .x5-config) #main .ath-family-picker-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.xgenesis-shell:has(#main > .x5-config) #main :is(button,input,textarea,select,summary) {
    max-width:100%;
  }
}