/*
 * Yavuz Plastik StockOS v1.6.80
 * Boşluk dengesi, kompakt ilk görünüm ve sakin tipografi son katmanı.
 * Kapsam: yalnız StockOS yüzeyleri. WordPress tema alanına uygulanmaz.
 */
:root{
  --mxso-compact-navy:#061a38;
  --mxso-compact-body:#0b2545;
  --mxso-compact-muted:#52657a;
  --mxso-compact-line:#d9e4f0;
  --mxso-compact-surface:#ffffff;
}

/* Yönetim Merkezi: üst görünüm ve boşluk dengesi */
body.mxso-mgmt-body .mxso-mgmt-shell{
  width:min(1580px,calc(100% - 22px))!important;
  padding-top:10px!important;
  padding-bottom:24px!important;
}
body.mxso-mgmt-body .mxso-mgmt-hero{
  min-height:0!important;
  padding:16px 20px!important;
  border-radius:22px!important;
  gap:14px!important;
  align-items:center!important;
}
body.mxso-mgmt-body .mxso-mgmt-hero h1{
  font-size:clamp(25px,2vw,32px)!important;
  line-height:1.12!important;
  margin:8px 0 5px!important;
  font-weight:600!important;
  letter-spacing:-.014em!important;
}
body.mxso-mgmt-body .mxso-mgmt-hero p{
  font-size:13px!important;
  line-height:1.38!important;
  max-width:640px!important;
  margin:0!important;
}
body.mxso-mgmt-body .mxso-mgmt-kicker{
  min-height:26px!important;
  padding:5px 10px!important;
  font-size:11px!important;
  font-weight:600!important;
  letter-spacing:.025em!important;
}
body.mxso-mgmt-body .mxso-mgmt-hero-badges{
  margin-top:9px!important;
  gap:6px!important;
}
body.mxso-mgmt-body .mxso-mgmt-hero-badges span{
  min-height:27px!important;
  padding:5px 9px!important;
  font-size:11px!important;
  font-weight:550!important;
}
body.mxso-mgmt-body .mxso-mgmt-hero-actions{
  gap:8px!important;
  align-content:center!important;
}
body.mxso-mgmt-body .mxso-mgmt-hero-actions :where(a,button){
  min-height:38px!important;
  padding:8px 12px!important;
  border-radius:12px!important;
  font-size:12px!important;
  font-weight:600!important;
}

body.mxso-mgmt-body .mxso-mgmt-indicators{
  gap:8px!important;
  margin:10px 0!important;
}
body.mxso-mgmt-body .mxso-mgmt-indicator{
  padding:10px 10px!important;
  border-radius:14px!important;
  min-height:64px!important;
}
body.mxso-mgmt-body .mxso-mgmt-indicator strong{
  font-size:clamp(20px,1.3vw,23px)!important;
  font-weight:600!important;
  line-height:1!important;
}
body.mxso-mgmt-body .mxso-mgmt-indicator span{
  margin-top:4px!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.25!important;
}

/* En önemli düzeltme: kartların gereksiz yüksekliğe esnemesini durdurur. */
body.mxso-mgmt-body .mxso-mgmt-command-center{
  align-items:start!important;
  gap:10px!important;
  margin-bottom:10px!important;
}
body.mxso-mgmt-body .mxso-mgmt-command-card{
  align-self:start!important;
  min-height:0!important;
  height:auto!important;
  padding:12px!important;
  border-radius:18px!important;
  box-shadow:0 8px 20px rgba(9,30,66,.045)!important;
}
body.mxso-mgmt-body .mxso-mgmt-block-title{
  margin:0 0 8px!important;
  gap:8px!important;
}
body.mxso-mgmt-body .mxso-mgmt-block-title h2{
  font-size:17px!important;
  font-weight:600!important;
  line-height:1.18!important;
  letter-spacing:-.006em!important;
}
body.mxso-mgmt-body .mxso-mgmt-block-title p{
  font-size:12px!important;
  line-height:1.32!important;
  font-weight:400!important;
}
body.mxso-mgmt-body .mxso-mgmt-priority-lite.is-empty{
  background:linear-gradient(135deg,#f8fffb,#fff)!important;
}
body.mxso-mgmt-body .mxso-mgmt-priority-lite.is-empty .mxso-mgmt-alert{
  padding:10px 12px!important;
  min-height:0!important;
  gap:4px!important;
}
body.mxso-mgmt-body .mxso-mgmt-priority-lite.is-empty .mxso-mgmt-alert span{
  margin-top:0!important;
}
body.mxso-mgmt-body .mxso-mgmt-alert,
body.mxso-mgmt-body .mxso-mgmt-action-step{
  min-height:0!important;
  padding:10px!important;
  border-radius:14px!important;
}
body.mxso-mgmt-body .mxso-mgmt-alert strong,
body.mxso-mgmt-body .mxso-mgmt-action-step strong{
  font-size:13px!important;
  line-height:1.22!important;
  font-weight:600!important;
}
body.mxso-mgmt-body .mxso-mgmt-alert span,
body.mxso-mgmt-body .mxso-mgmt-action-step p{
  font-size:11.5px!important;
  line-height:1.32!important;
  font-weight:400!important;
}
body.mxso-mgmt-body .mxso-mgmt-action-lite .mxso-mgmt-action-step{
  grid-template-columns:auto minmax(0,1fr) minmax(84px,auto)!important;
  gap:8px!important;
}
body.mxso-mgmt-body .mxso-mgmt-action-lite .mxso-mgmt-action-step :where(a,button){
  min-height:34px!important;
  padding:7px 10px!important;
  border-radius:12px!important;
  font-size:11.5px!important;
  font-weight:600!important;
}
body.mxso-mgmt-body .mxso-mgmt-quick-grid{
  gap:7px!important;
}
body.mxso-mgmt-body .mxso-mgmt-quick-grid :where(a,button){
  min-height:36px!important;
  padding:7px 8px!important;
  border-radius:12px!important;
  font-size:11.5px!important;
  font-weight:600!important;
}
body.mxso-mgmt-body .mxso-mgmt-cache-hint{
  margin-top:8px!important;
  padding:8px 9px!important;
  border-radius:12px!important;
}
body.mxso-mgmt-body .mxso-mgmt-cache-hint strong{
  font-size:11.5px!important;
  font-weight:600!important;
}
body.mxso-mgmt-body .mxso-mgmt-cache-hint span{
  font-size:10.8px!important;
  font-weight:400!important;
}

body.mxso-mgmt-body .mxso-mgmt-scoreboard,
body.mxso-mgmt-body .mxso-mgmt-toolbar,
body.mxso-mgmt-body .mxso-mgmt-readiness,
body.mxso-mgmt-body .mxso-mgmt-recent,
body.mxso-mgmt-body .mxso-mgmt-workflows{
  margin-bottom:10px!important;
}
body.mxso-mgmt-body .mxso-mgmt-score-card,
body.mxso-mgmt-body .mxso-mgmt-toolbar,
body.mxso-mgmt-body .mxso-mgmt-card,
body.mxso-mgmt-body .mxso-mgmt-flow,
body.mxso-mgmt-body .mxso-mgmt-readiness-card,
body.mxso-mgmt-body .mxso-mgmt-timeline-item{
  min-height:0!important;
  padding:12px!important;
  border-radius:16px!important;
}
body.mxso-mgmt-body .mxso-mgmt-sections{
  gap:10px!important;
}
body.mxso-mgmt-body .mxso-mgmt-card-head h2{
  font-size:17px!important;
  line-height:1.18!important;
  font-weight:600!important;
}
body.mxso-mgmt-body .mxso-mgmt-card-head p{
  margin-top:5px!important;
  font-size:12px!important;
  line-height:1.35!important;
}
body.mxso-mgmt-body .mxso-mgmt-mini-stats{
  gap:7px!important;
  margin:9px 0!important;
}
body.mxso-mgmt-body .mxso-mgmt-mini-stats span{
  padding:8px!important;
  border-radius:12px!important;
}
body.mxso-mgmt-body .mxso-mgmt-card-actions{
  gap:7px!important;
}
body.mxso-mgmt-body .mxso-mgmt-card-actions a{
  min-height:34px!important;
  padding:7px 8px!important;
  font-size:11.5px!important;
  font-weight:600!important;
  border-radius:12px!important;
}

/* Diğer StockOS yüzeylerinde de gereksiz dikey boşlukları kontrollü sıkılaştır. */
html body :where(.mxso-wrap,.mxso-shell,[data-mxso-panel],.mxstockos-public-catalog-page,.mxso-product-editor-drawer,.mxso-visual-data,.mxso-record-durability) :where(.mxso-card,.mxso-panel,.mxso-form-card,.mxso-table-card,.mxso-dashboard-card,.mxso-summary-card,.mxso-editor-section,.mxso-visual-card){
  min-height:0!important;
}
html body :where(.mxso-wrap,.mxso-shell,[data-mxso-panel],.mxstockos-public-catalog-page,.mxso-product-editor-drawer,.mxso-visual-data,.mxso-record-durability) :where(h1,h2,h3,h4,p){
  text-wrap:pretty;
}
html body :where(.mxso-wrap,.mxso-shell,[data-mxso-panel],.mxstockos-public-catalog-page,.mxso-product-editor-drawer,.mxso-visual-data,.mxso-record-durability) :where(.mxso-empty,.mxso-empty-state,.mxso-no-data,.empty-state){
  min-height:0!important;
  padding:14px!important;
}

@media(max-width:1180px){
  body.mxso-mgmt-body .mxso-mgmt-shell{width:min(100% - 18px,1080px)!important;padding-top:8px!important}
  body.mxso-mgmt-body .mxso-mgmt-hero{padding:14px!important;border-radius:20px!important}
  body.mxso-mgmt-body .mxso-mgmt-hero-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.mxso-mgmt-body .mxso-mgmt-command-center{gap:9px!important}
}
@media(max-width:680px){
  body.mxso-mgmt-body .mxso-mgmt-shell{width:100%!important;padding:7px 8px calc(84px + env(safe-area-inset-bottom,0px))!important}
  body.mxso-mgmt-body .mxso-mgmt-hero{padding:12px!important;border-radius:18px!important}
  body.mxso-mgmt-body .mxso-mgmt-hero h1{font-size:24px!important;margin:6px 0 4px!important}
  body.mxso-mgmt-body .mxso-mgmt-hero p{font-size:12.5px!important;line-height:1.32!important}
  body.mxso-mgmt-body .mxso-mgmt-hero-badges{margin-top:7px!important}
  body.mxso-mgmt-body .mxso-mgmt-hero-badges span{min-height:25px!important;font-size:10.5px!important;padding:5px 7px!important}
  body.mxso-mgmt-body .mxso-mgmt-hero-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  body.mxso-mgmt-body .mxso-mgmt-hero-actions :where(a,button){min-height:36px!important;font-size:11.5px!important;padding:7px!important}
  body.mxso-mgmt-body .mxso-mgmt-indicators{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:8px 0!important}
  body.mxso-mgmt-body .mxso-mgmt-indicator{min-height:56px!important;padding:8px 9px!important;border-radius:13px!important}
  body.mxso-mgmt-body .mxso-mgmt-indicator strong{font-size:19px!important}
  body.mxso-mgmt-body .mxso-mgmt-indicator span{font-size:10.5px!important;margin-top:3px!important}
  body.mxso-mgmt-body .mxso-mgmt-command-card{padding:10px!important;border-radius:16px!important}
  body.mxso-mgmt-body .mxso-mgmt-block-title h2{font-size:15.5px!important}
  body.mxso-mgmt-body .mxso-mgmt-block-title p{font-size:11.2px!important}
  body.mxso-mgmt-body .mxso-mgmt-action-lite .mxso-mgmt-action-step{grid-template-columns:auto minmax(0,1fr)!important;padding:9px!important}
  body.mxso-mgmt-body .mxso-mgmt-action-lite .mxso-mgmt-action-step p{display:block!important;-webkit-line-clamp:2!important;line-height:1.25!important}
  body.mxso-mgmt-body .mxso-mgmt-action-lite .mxso-mgmt-action-step :where(a,button){grid-column:1/-1!important;width:100%!important;min-height:36px!important}
  body.mxso-mgmt-body .mxso-mgmt-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  body.mxso-mgmt-body .mxso-mgmt-quick-grid :where(a,button){min-height:38px!important;font-size:11px!important;padding:7px 5px!important}
  body.mxso-mgmt-body .mxso-mgmt-score-card,
  body.mxso-mgmt-body .mxso-mgmt-toolbar,
  body.mxso-mgmt-body .mxso-mgmt-card,
  body.mxso-mgmt-body .mxso-mgmt-flow,
  body.mxso-mgmt-body .mxso-mgmt-readiness-card,
  body.mxso-mgmt-body .mxso-mgmt-timeline-item{padding:10px!important;border-radius:15px!important}
  body.mxso-mgmt-body .mxso-mgmt-card-head h2{font-size:16px!important}
  body.mxso-mgmt-body .mxso-mgmt-card-head p{font-size:11.5px!important}
  body.mxso-mgmt-body .mxso-mgmt-card-body{margin-top:8px!important}
  body.mxso-mgmt-body .mxso-mgmt-mini-stats span{padding:7px!important}
}
@media(max-width:390px){
  body.mxso-mgmt-body .mxso-mgmt-hero-actions,
  body.mxso-mgmt-body .mxso-mgmt-quick-grid{grid-template-columns:1fr!important}
  body.mxso-mgmt-body .mxso-mgmt-indicators{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
