/* SINAVORA f43 · Mobile First Pro shell */
:root{--sv-mobile-nav-h:78px;--sv-mobile-header-h:58px}
html,body{max-width:100%;overflow-x:hidden}
@media (max-width:991.98px){
  body.sinavora-pro-ready{overflow-x:hidden!important;background:#f4f7fb!important}
  body.sinavora-pro-ready .app-wrapper,
  body.sinavora-pro-ready.layout-fixed.sidebar-expand-lg .app-wrapper,
  body.sinavora-pro-ready.sidebar-collapse.layout-fixed.sidebar-expand-lg .app-wrapper{
    display:block!important;grid-template-columns:none!important;grid-template-areas:none!important;min-width:0!important;width:100%!important;overflow-x:clip!important
  }
  body.sinavora-pro-ready .app-header{position:sticky!important;top:0!important;left:0!important;right:0!important;width:100%!important;min-height:var(--sv-mobile-header-h)!important;margin:0!important;z-index:1040!important;background:#fff!important;border-bottom:1px solid #e6ebf3!important;box-shadow:0 4px 16px rgba(15,38,92,.06)!important}
  body.sinavora-pro-ready .app-header .container-fluid{min-height:var(--sv-mobile-header-h)!important;padding:0 10px!important;gap:6px!important}
  body.sinavora-pro-ready .sinavora-top-context{display:none!important}
  body.sinavora-pro-ready .sinavora-top-logo{max-width:132px!important;height:34px!important}
  body.sinavora-pro-ready .app-sidebar,
  body.sinavora-pro-ready.sidebar-collapse .app-sidebar,
  body.sinavora-pro-ready.layout-fixed.sidebar-expand-lg .app-sidebar{
    position:fixed!important;inset:0 auto 0 0!important;display:flex!important;flex-direction:column!important;
    width:min(320px,88vw)!important;min-width:min(320px,88vw)!important;max-width:min(320px,88vw)!important;height:100dvh!important;
    margin:0!important;transform:translate3d(-104%,0,0)!important;transition:transform .24s ease!important;z-index:1065!important;
    box-shadow:18px 0 48px rgba(4,18,50,.26)!important;visibility:visible!important;overflow:hidden!important;background:#0f265c!important
  }
  body.sinavora-pro-ready.sinavora-mobile-menu-open .app-sidebar{transform:translate3d(0,0,0)!important}
  body.sinavora-pro-ready .sinavora-adminlte-sidebar .sidebar-wrapper{height:calc(100dvh - 142px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-bottom:22px!important}
  body.sinavora-pro-ready.sidebar-collapse .sinavora-sidebar-search,
  body.sinavora-pro-ready.sidebar-collapse .sinavora-sidebar-user-copy,
  body.sinavora-pro-ready.sidebar-collapse .sinavora-license-box{display:block!important}
  body.sinavora-pro-ready.sidebar-collapse .sinavora-adminlte-sidebar .nav-link p{opacity:1!important;width:auto!important;overflow:visible!important}
  body.sinavora-pro-ready.sidebar-collapse .sinavora-adminlte-sidebar .nav-link{justify-content:flex-start!important;padding-left:12px!important;padding-right:12px!important}
  body.sinavora-pro-ready .app-main,body.sinavora-pro-ready .app-footer{
    display:block!important;position:relative!important;inset:auto!important;transform:none!important;margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important
  }
  body.sinavora-pro-ready .app-main{padding-bottom:calc(var(--sv-mobile-nav-h) + env(safe-area-inset-bottom,0px) + 18px)!important;background:#f4f7fb!important}
  body.sinavora-pro-ready .sinavora-content-header{padding:13px 12px 5px!important;margin:0!important}
  body.sinavora-pro-ready .sinavora-content-header .container-fluid{padding:0!important}
  body.sinavora-pro-ready .sinavora-content-header h1{font-size:1.28rem!important;line-height:1.18!important;margin:0!important}
  body.sinavora-pro-ready .sinavora-content-header .breadcrumb{display:none!important}
  body.sinavora-pro-ready .sinavora-app-content{padding:8px 10px 18px!important;min-width:0!important}
  body.sinavora-pro-ready .sinavora-app-content>.container-fluid{padding:0!important;min-width:0!important;max-width:100%!important}
  body.sinavora-pro-ready .card,body.sinavora-pro-ready .workspace-panel,body.sinavora-pro-ready .professional-report-sheet{max-width:100%!important;min-width:0!important}
  body.sinavora-pro-ready .table-responsive,body.sinavora-pro-ready .data-table-wrap,body.sinavora-pro-ready table{max-width:100%!important}
  body.sinavora-pro-ready .table-responsive,body.sinavora-pro-ready .data-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  body.sinavora-pro-ready .sinavora-mobile-nav{position:fixed!important;left:10px!important;right:10px!important;bottom:max(8px,env(safe-area-inset-bottom,8px))!important;width:auto!important;z-index:1050!important;border:1px solid rgba(15,38,92,.08)!important;border-radius:24px!important;box-shadow:0 16px 38px rgba(15,38,92,.20)!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(16px)!important;overflow:visible!important}
  body.sinavora-pro-ready .sinavora-mobile-nav a{min-width:0!important;font-size:10px!important;font-weight:800!important;padding:9px 3px!important;gap:3px!important}
  body.sinavora-pro-ready .sinavora-mobile-nav a svg{width:22px!important;height:22px!important}
  body.sinavora-pro-ready .sinavora-mobile-nav a.is-primary{transform:translateY(-9px)!important;border-radius:22px!important;box-shadow:0 12px 24px rgba(14,165,233,.24)!important;padding:12px 8px!important}
  .sinavora-mobile-drawer-backdrop{position:fixed;inset:0;background:rgba(5,15,35,.48);z-index:1055;opacity:0;pointer-events:none;transition:opacity .2s ease;backdrop-filter:blur(1px)}
  body.sinavora-mobile-menu-open .sinavora-mobile-drawer-backdrop{opacity:1;pointer-events:auto}
  body.sinavora-mobile-menu-open{overflow:hidden!important;touch-action:none}
  body.sinavora-pro-ready .sinavora-sidebar-toggle{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:12px!important;color:#0f265c!important}
  body.sinavora-pro-ready .sinavora-sidebar-toggle:active{background:#eef5ff!important}
  body.sinavora-pro-ready .sinavora-v2-info-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 12px!important}
  body.sinavora-pro-ready .sinavora-v2-info-row>[class*="col-"]{width:auto!important;max-width:none!important;padding:0!important;flex:none!important}
  body.sinavora-pro-ready .info-box{min-height:102px!important;margin:0!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 6px 18px rgba(15,38,92,.08)!important}
  body.sinavora-pro-ready .info-box-icon{width:62px!important;min-width:62px!important;font-size:24px!important}
  body.sinavora-pro-ready .info-box-content{padding:12px 10px!important}
  body.sinavora-pro-ready .info-box-text{font-size:12px!important;white-space:normal!important;line-height:1.2!important}
  body.sinavora-pro-ready .info-box-number{font-size:24px!important;line-height:1.05!important}
  body.sinavora-pro-ready .workspace-hero{padding:16px!important;border-radius:17px!important;display:block!important}
  body.sinavora-pro-ready .workspace-hero h1,body.sinavora-pro-ready .workspace-hero h2{font-size:1.35rem!important}
  body.sinavora-pro-ready .report-filter-grid,body.sinavora-pro-ready .report-filter-grid-pro,body.sinavora-pro-ready .form-grid{grid-template-columns:1fr!important}
  body.sinavora-pro-ready .report-filter-wide,body.sinavora-pro-ready .form-group.full{grid-column:1!important}
  body.sinavora-pro-ready .btn{min-height:42px}
  body.sinavora-pro-ready .app-footer{display:none!important}
}
@media (max-width:430px){
  body.sinavora-pro-ready .sinavora-app-content{padding-left:8px!important;padding-right:8px!important}
  body.sinavora-pro-ready .sinavora-v2-info-row{gap:8px!important}
  body.sinavora-pro-ready .info-box{min-height:92px!important}
  body.sinavora-pro-ready .info-box-icon{width:54px!important;min-width:54px!important}
}
@media(max-width:991.98px){
  #mobileLastReading[data-waiting="true"]{background:#eef7ff!important;border:1px dashed #7cc7ee!important;color:#12355b!important;min-height:92px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:14px!important}
  #mobileLastReading[data-waiting="true"] strong{color:#0d6e9f!important;font-size:15px!important}
  #mobileLastReading[data-waiting="true"] span{font-size:12px!important;color:#52677b!important;margin-top:4px!important}
  #mobileLastReading .mobile-next-wait{margin-top:8px!important;color:#0f766e!important;font-size:11px!important;font-weight:800!important}
  #scanLiveResult{max-width:calc(100vw - 16px)!important}
}
