/* FAST 1.9.21.1 — mobile viewport containment; no desktop layout changes. */
@media screen and (max-width:767px) {
 html {width:100%;max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 body {width:100%;max-width:100%;min-width:0;margin:0;overflow-x:clip}
 body>header,body>main {width:100%;max-width:100%;min-width:0;box-sizing:border-box}
 header {display:flex;flex-wrap:nowrap;gap:5px;overflow:visible;min-width:0}
 header .logo {flex:0 0 65px!important;width:65px!important;min-width:0!important}
 header .fast-brand {width:65px!important;max-width:100%!important;height:auto!important}
 header .header-right {flex:1 1 0!important;width:0!important;min-width:0!important;max-width:calc(100% - 70px);display:flex;gap:3px;justify-content:flex-end;align-items:center}
 header .fast-role-switch {flex:1 1 0!important;width:0!important;min-width:0!important;max-width:none!important;overflow:hidden}
 header .fast-role-switch select {display:block;width:100%!important;min-width:0!important;max-width:100%!important;text-overflow:ellipsis}
 header .language-switch {flex:0 0 auto!important;min-width:0!important}
 header .header-right>button {flex-shrink:0!important}
 main,main>.inventory,main>.details,.inventory>.panel,.inventory>.toolbar,.inventory>.fast-inventory-meta,.inventory>.cards {min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 main {display:block!important;grid-template-columns:minmax(0,1fr)!important;padding:10px!important;margin:0!important}
 main>.inventory,main>.details {width:100%!important;padding:0!important}
 .inventory>.panel {width:100%!important}
 .addrow {display:flex;max-width:100%;min-width:0}
 .addrow input {flex:1 1 0!important;width:0!important;min-width:0!important}
 .addrow #generate {flex:0 0 auto!important;width:auto!important;max-width:42%!important;min-width:0!important}
 .inventory .toolbar {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;width:100%!important;min-width:0!important}
 .inventory .toolbar .tabs {grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important;min-width:0!important}
 .inventory .toolbar #search {grid-column:1!important;width:100%!important;min-width:0!important;max-width:100%!important}
 .inventory .toolbar .view-switch {grid-column:2!important;display:flex!important;min-width:0!important}
 .fast-inventory-meta {display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 .fast-inventory-meta>* {min-width:0!important;max-width:100%!important}
 .cards,.vehicle-card,.detail-card,.detail-content {width:100%;min-width:0!important;max-width:100%!important}
 .vehicle-card img,.detail-card img {max-width:100%}
 .detail-content,.detail-content>* {min-width:0;max-width:100%;overflow-wrap:anywhere}
 input,select,textarea {box-sizing:border-box}
}
