/*
 * Yavuz Plastik StockOS v1.6.78
 * Mobil ilk görünüm ve sol menü başlık temizliği.
 * Kapsam: yalnız StockOS bağımsız panel ve 1180px altı.
 */
@media (max-width:1180px){
  html body.mxso-standalone:not(.mxso-sector-terminal-shell){
    --mxso-v1678-ink:#071B3A;
    --mxso-v1678-navy:#061A38;
    --mxso-v1678-panel:#F5F8FC;
    --mxso-v1678-line:#D7E4F0;
    --mxso-v1678-blue:#126CEF;
  }

  /* İlk görünüm: üst kabuk daha hafif; işlemler kullanıcı açmadan boya yükü üretmesin. */
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-bar{
    min-height:54px!important;
    padding:7px 9px!important;
    gap:8px!important;
    contain:layout paint!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-left{
    min-width:0!important;
    gap:8px!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-left>div{
    min-width:0!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-left strong{
    display:block!important;
    max-width:52vw!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:13px!important;
    line-height:1.18!important;
    font-weight:650!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-left span{
    display:block!important;
    max-width:52vw!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    font-weight:430!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-mobile-menu-button{
    width:42px!important;
    height:40px!important;
    min-width:42px!important;
    min-height:40px!important;
    padding:0!important;
    font-size:20px!important;
    line-height:1!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  /* Sol menü: kapalıyken görünürlük ve etkileşim kesin kapalı; açılış yalnız transform. */
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar.mxso-sidebar{
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translate3d(-104%,0,0)!important;
    transition:transform .14s cubic-bezier(.2,.72,.28,1),visibility 0s linear .14s!important;
    will-change:transform!important;
    contain:layout paint style!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell).mxso-menu-open #mxsoMainSidebar.mxso-sidebar,
  html body.mxso-standalone:not(.mxso-sector-terminal-shell).mxso-mobile-nav-open #mxsoMainSidebar.mxso-sidebar,
  html body.mxso-standalone:not(.mxso-sector-terminal-shell).mxso-panel-sidebar-open #mxsoMainSidebar.mxso-sidebar{
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translate3d(0,0,0)!important;
    transition:transform .14s cubic-bezier(.2,.72,.28,1),visibility 0s!important;
  }

  /* Başlık önündeki yanlış X/çarpı işaretlerini temizle; yalnız sağ üst kapatma düğmesi kalır. */
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section-title::before,
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section-title span::before,
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section-title strong::before,
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-mobile-nav-head strong::before,
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-mobile-nav-head span::before{
    content:none!important;
    display:none!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section-title{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 24px!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
    text-align:left!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section-title span{
    grid-column:1!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section-title i{
    display:none!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section-title::after{
    content:'›'!important;
    grid-column:2!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:22px!important;
    height:22px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.10)!important;
    color:rgba(255,255,255,.82)!important;
    -webkit-text-fill-color:rgba(255,255,255,.82)!important;
    font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
    font-size:18px!important;
    line-height:1!important;
    font-weight:500!important;
    transform:rotate(90deg)!important;
    transition:transform .10s ease!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section.is-collapsed .mxso-nav-section-title::after{
    transform:rotate(0deg)!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-mobile-nav-close{
    font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
    font-weight:400!important;
    font-size:23px!important;
    line-height:1!important;
  }

  /* İlk ekran kartları: mobilde daha az gölge, daha az boyama maliyeti. */
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-content :is(.mxso-card,.mxso-panel,.mxso-stat-card,.mxso-kpi-card){
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    transform:none!important;
    will-change:auto!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-content :is(.mxso-card,.mxso-panel):not(:hover){
    box-shadow:0 8px 20px rgba(7,27,58,.055)!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-content :is(.mxso-panel,.mxso-card,section,article):nth-of-type(n+5){
    content-visibility:auto!important;
    contain-intrinsic-size:240px!important;
  }
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) :is(.mxso-floating-quick-toggle,.mxso-mobile-bottom-nav){
    contain:layout paint!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
}

@media (max-width:640px){
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-left span{display:none!important;}
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-standalone-left strong{max-width:64vw!important;font-size:12.5px!important;}
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) .mxso-content{padding-top:8px!important;}
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar.mxso-sidebar{width:min(91vw,330px)!important;max-width:330px!important;}
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-mobile-quick-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-mobile-quick-actions a{min-height:50px!important;}
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section-title{min-height:36px!important;}
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section-title span{font-size:10.8px!important;}
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar a.mxso-nav-link{min-height:46px!important;padding:6px 8px!important;}
}

@media (prefers-reduced-motion:reduce){
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar.mxso-sidebar,
  html body.mxso-standalone:not(.mxso-sector-terminal-shell) #mxsoMainSidebar .mxso-nav-section-title::after{transition-duration:.01ms!important;}
}
