/* Mobile-native Enablayer command center: operate first, configure second. */
@media (max-width:760px){
  :root{--mobile-nav-h:72px}
  html,body{max-width:100%;overflow-x:hidden}
  body{background:#f6f7fb}
  .app-shell{display:block!important}
  .main{width:100%;min-width:0}
  .content{width:100%;max-width:none!important;padding:16px 16px calc(var(--mobile-nav-h) + 28px)!important;margin:0!important}
  .topbar{height:58px!important;padding:0 16px!important;gap:10px;background:rgba(255,255,255,.96)!important}
  .mobile-menu{display:none!important}
  .breadcrumb{font-size:13px!important;min-width:0;flex:1}.breadcrumb span:first-child{font-weight:850;color:#211829}.breadcrumb span:nth-child(2),.breadcrumb strong{display:none}
  .top-actions .icon-button{display:none!important}.top-actions .avatar-button{display:grid!important;width:38px;height:38px;margin:0}
  .sidebar,.sidebar-collapse-toggle{display:none!important}
  .wx-demo-strip{position:relative!important;min-height:0!important;margin:0 0 10px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  .wx-demo-strip>*{display:none!important}.wx-demo-strip strong{display:inline-flex!important;font-size:10px!important;letter-spacing:.08em;text-transform:uppercase;padding:6px 9px;border-radius:999px;background:#fff4d8;color:#6f5700;border:1px solid #ead9a4}
  [data-demo-personalize],[data-demo-exit],[data-demo-walkthrough],.wx-walkthrough,.demo-walkthrough,.wx-demo-tour{display:none!important}
  .wx-dashboard{gap:14px!important;width:100%!important;max-width:none!important;margin:0!important}
  .wx-dashboard>*{max-width:100%!important}
  .wx-hero,.ez-founder-hero{min-height:0!important;padding:20px!important;border-radius:20px!important;grid-template-columns:1fr!important}
  .wx-hero h1,.ez-founder-hero h1{font-size:28px!important;line-height:1.05!important;margin:6px 0 8px!important}
  .wx-hero p,.ez-founder-hero p{font-size:12px!important;line-height:1.5!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .ez-founder-status,.ez-founder-actions{display:none!important}
  .grid,.wx-overview-grid,.ez-founder-kpis,.ez-founder-main,.integration-grid,.settings-grid{grid-template-columns:1fr!important;gap:12px!important}
  .span-4,.span-5,.span-7,.span-12{grid-column:1/-1!important}
  .card,.wx-panel,.ez-founder-panel,.ez-founder-kpi{border-radius:18px!important;padding:16px!important;box-shadow:0 8px 24px rgba(25,31,45,.06)!important}
  .ez-founder-kpis{display:grid!important;grid-template-columns:1fr 1fr!important}.ez-founder-kpi strong{font-size:25px!important}
  .ez-founder-main{display:flex!important;flex-direction:column!important}.ez-founder-stack{display:contents!important}
  .ez-founder-ai{order:-10}.ez-founder-main .ez-founder-panel:first-child{order:-9}
  .table-card{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .data-table{min-width:600px}
  button,a,input{touch-action:manipulation}.primary-button,.secondary-button{min-height:44px}
  .search-dialog{width:calc(100% - 24px)!important;margin:8px auto!important;border-radius:18px!important}.search-overlay{padding-top:64px!important}
  .mobile-command{display:block!important;margin:0 0 14px}
  .mobile-command button{width:100%;min-height:48px;display:flex;align-items:center;gap:10px;text-align:left;padding:0 14px;border:1px solid #e2e4ec;border-radius:14px;background:#fff;color:#777080;font:inherit;font-size:13px;box-shadow:0 6px 18px rgba(25,31,45,.05)}
  .mobile-command b{margin-left:auto;color:#6f2dbd;font-size:12px}
  .mobile-bottom-nav{display:grid!important;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:90;height:var(--mobile-nav-h);padding:7px 8px max(7px,env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border-top:1px solid #e8e7ed;box-shadow:0 -8px 30px rgba(25,31,45,.07)}
  .mobile-bottom-nav button{border:0;background:transparent;color:#777080;font:inherit;font-size:9px;font-weight:750;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:2px}
  .mobile-bottom-nav button span{font-size:20px;line-height:1}.mobile-bottom-nav button.active{color:var(--tenant-primary,#6f2dbd)}
  .mobile-bottom-nav button[data-mobile-view="ask"] span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--tenant-primary,#6f2dbd);color:#fff;font-size:16px}
}
@media(min-width:761px){.mobile-bottom-nav,.mobile-command{display:none!important}}
