/* Sopung Market Rapor v21 — mobil yerleşim, 360 analizleri ve görsel ekosistem */

/* Sayfa içeriklerinin dar ekranda taşmasını önleyen ortak güvenlik katmanı. */
#content,#content>*{min-width:0;max-width:100%}
#content .card,#content .v12-card,#content article,#content section{min-width:0;box-sizing:border-box}
#content img{max-width:100%}
.table-safe-v21{max-width:100%;overflow:auto;overscroll-behavior-x:contain;border-radius:16px}

/* Trendyol mantığında günlük kümülatif satış karşılaştırması. */
.dashboard-flow-v21{position:relative;overflow:hidden;padding:18px!important;background:linear-gradient(180deg,#fff 0%,#fff 70%,#fffaf9 100%)}
.flow-head-v21{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.flow-head-v21>div{display:grid;grid-template-columns:auto auto;align-items:end;gap:5px 12px}
.flow-head-v21 small{grid-column:1/-1;color:#202a39;font-size:15px;font-weight:900}
.flow-head-v21 strong{color:#252f3e;font-size:42px;line-height:1;font-weight:950;letter-spacing:-1.5px}
.flow-head-v21 span{margin-bottom:5px;font-size:12px;font-weight:950}.flow-head-v21 em{color:#6f747d;font-size:11px;font-style:normal}
.yesterday-total-v21{width:max-content;margin:13px 0 0;padding:9px 12px;border-radius:10px;background:#f3f5f8;color:#4b5665;font-size:11px}.yesterday-total-v21 b{margin-left:7px;color:#263243;font-size:13px}
.flow-legend-v21{display:flex;justify-content:flex-end;gap:22px;margin:0 8px -7px;font-size:11px;font-weight:900}
.flow-legend-v21 span:before{content:"";display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:50%;vertical-align:-1px}
.flow-legend-v21 .today{color:#c82127}.flow-legend-v21 .today:before{background:#e56c27}.flow-legend-v21 .yesterday{color:#8792a2}.flow-legend-v21 .yesterday:before{background:#aeb8c5}
.intraday-compare-v21{display:block;width:100%;height:auto;margin-top:0;overflow:visible}
.intraday-compare-v21 .grid line{stroke:#e9edf2;stroke-width:1}.intraday-compare-v21 .grid text{fill:#8b95a3;font-size:11px}
.intraday-compare-v21 .yesterday-area{fill:#b5becb1f}.intraday-compare-v21 .yesterday-line{fill:none;stroke:#abb4c0;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.intraday-compare-v21 .today-area{fill:#e7763320}.intraday-compare-v21 .today-line{fill:none;stroke:#ed7024;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.intraday-compare-v21 .today-dot{fill:#ed7024;stroke:#fff;stroke-width:4}
.dashboard-flow-v21 .v14-shortcuts{margin-top:10px}

/* Son siparişler: müşteri, şube, kategori ve kanal analizlerinde ortak kart. */
.recent-orders-card-v21{margin-top:12px!important;padding:14px!important}.recent-orders-card-v21 .section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.recent-orders-card-v21 .section-title h3{margin:0;font-size:15px}.recent-orders-card-v21 .section-title small{color:#817574;font-size:10px}.recent-orders-card-v21 .section-title>b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:10px;background:#faeceb;color:#a7141d}
.recent-orders-list-v21{display:grid;gap:6px}.recent-order-v21{display:grid;grid-template-columns:84px minmax(0,1fr) auto 12px;align-items:center;gap:10px;width:100%;padding:10px 11px;border:1px solid #eee3e1;border-radius:13px;background:#fff;text-align:left;color:#241d1c}.recent-order-v21:hover{border-color:#dcaaa7;background:#fffafa}.recent-order-channel-v21{overflow:hidden;padding:6px 7px;border-radius:8px;background:#f9efee;color:#9f1820;font-size:9px;font-weight:950;text-align:center;text-overflow:ellipsis;white-space:nowrap}.recent-order-v21>span:nth-child(2){min-width:0}.recent-order-v21 strong,.recent-order-v21 small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-order-v21 strong{font-size:12px}.recent-order-v21 small{margin-top:3px;color:#837775;font-size:9px}.recent-order-money-v21{text-align:right}.recent-order-money-v21 b,.recent-order-money-v21 em{display:block;white-space:nowrap}.recent-order-money-v21 b{font-size:12px}.recent-order-money-v21 em{margin-top:3px;color:#16845a;font-size:9px;font-style:normal;font-weight:900}.recent-order-v21>i{color:#a7141d;font-size:21px;font-style:normal}

/* Bildirimden açılan bağımsız sipariş kartı. */
.direct-order-backdrop-v21{position:fixed;z-index:150;inset:0;display:flex;align-items:flex-end;justify-content:center;padding-top:30px;background:#27131399;backdrop-filter:blur(3px)}
.direct-order-sheet-v21{width:min(720px,100%);max-height:91vh;overflow:auto;padding:14px 16px 18px;border-radius:27px 27px 0 0;background:#fff;box-shadow:0 -22px 70px #0004}
.direct-order-grab-v21{width:46px;height:5px;margin:0 auto 10px;border-radius:8px;background:#d8cdcb}.direct-order-sheet-v21 header{position:static;display:flex;align-items:flex-start;justify-content:space-between;height:auto;padding:0 0 11px;border:0;border-bottom:1px solid #eee4e2;background:transparent}.direct-order-sheet-v21 header small{color:#a7141d;font-size:9px;font-weight:950;letter-spacing:1px}.direct-order-sheet-v21 header h2{margin:2px 0;font-size:24px}.direct-order-sheet-v21 header p{margin:0;color:#847876;font-size:10px}.direct-order-sheet-v21 header button{width:38px;height:38px;border:0;border-radius:12px;background:#f9eceb;color:#a7141d;font-size:22px}
.direct-order-contact-v21{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:11px 0}.direct-order-contact-v21 span{padding:9px 10px;border-radius:12px;background:#faf7f6}.direct-order-contact-v21 .wide{grid-column:1/-1}.direct-order-contact-v21 small,.direct-order-contact-v21 b{display:block}.direct-order-contact-v21 small{color:#897d7b;font-size:8px;text-transform:uppercase}.direct-order-contact-v21 b{margin-top:3px;font-size:11px}
.direct-order-lines-v21{display:grid;gap:6px}.direct-order-lines-v21 article{display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px;border:1px solid #eee5e3;border-radius:13px}.direct-order-lines-v21 article span{min-width:0}.direct-order-lines-v21 article strong,.direct-order-lines-v21 article small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.direct-order-lines-v21 article strong{font-size:11px}.direct-order-lines-v21 article small{margin-top:3px;color:#817472;font-size:9px}.direct-order-lines-v21 article>b{white-space:nowrap;font-size:11px}
.product-thumb-v21,.product-fallback-v21{display:grid;place-items:center;flex:none;width:45px;height:45px;border-radius:11px;background:#f8efed;object-fit:contain;color:#a7141d;font-size:17px;font-weight:950}.product-thumb-v21.report,.product-fallback-v21.report{position:absolute;right:14px;top:13px;width:46px;height:46px}.product-report-card-v14{position:relative}.product-report-card-v14 .product-card-head-v14{padding-right:55px}.product-thumb-v21.manager,.product-fallback-v21.manager{width:76px;height:76px;border:1px solid #efe3e1}.direct-order-total-v21{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}.direct-order-total-v21 span{padding:11px;border-radius:13px;background:#f9f5f4}.direct-order-total-v21 small,.direct-order-total-v21 b{display:block}.direct-order-total-v21 small{color:#847876;font-size:9px}.direct-order-total-v21 b{margin-top:3px;font-size:17px}.direct-order-sheet-v21 footer{display:grid;grid-template-columns:1fr 1.5fr;gap:8px;margin-top:12px}.direct-order-sheet-v21 footer button{min-height:44px}

/* Tam kategori / müşteri / kanal 360. */
.full-entity-head-v21{margin-bottom:12px}.full-entity-head-v21>div>small{color:#a7141d;font-weight:950;letter-spacing:1.2px}.full-entity-head-v21 h2{margin:3px 0}.full-entity-head-v21 .sub{max-width:620px}.full-entity-head-v21+.entity-full-kpis-v20{margin-bottom:12px}

/* Ürün görsel yönetimi ve gelecekteki şube kataloğu için tek kaynak. */
.branch-catalog-admin-v21{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px!important;background:linear-gradient(135deg,#fff,#fff8f6)!important}.branch-catalog-admin-v21 small{color:#a7141d;font-size:9px;font-weight:950;letter-spacing:1.2px}.branch-catalog-admin-v21 h3{margin:4px 0}.branch-catalog-admin-v21 p{max-width:700px;margin:0;color:#756967;font-size:11px;line-height:1.5}
.media-guide-v21{display:flex;align-items:center;gap:9px;overflow:auto;margin-bottom:12px;padding:12px;border:1px solid #eadfdd;border-radius:16px;background:#fff;white-space:nowrap}.media-guide-v21 b{color:#a7141d;font-size:11px}.media-guide-v21 span{padding:7px 9px;border-radius:9px;background:#faf3f1;font-size:10px;font-weight:850}.media-guide-v21 i{color:#b99f9c;font-style:normal}
.product-media-grid-v21{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-media-card-v21{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px!important}.product-media-card-v21>div{min-width:0}.product-media-card-v21 strong,.product-media-card-v21 small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-media-card-v21 strong{font-size:12px}.product-media-card-v21 small{margin-top:4px;color:#827674;font-size:9px}.product-media-card-v21 label{grid-column:2/-1;color:#776967;font-size:9px;font-weight:800}.product-media-card-v21 input{display:block;width:100%;height:38px;margin-top:4px;font-size:10px}.product-media-card-v21 button{grid-column:3;grid-row:1;min-height:38px;padding:0 12px;font-size:10px}

/* Alt komut alanı mobilde içeriği kapatmayan küçük açılır düğmelere dönüşür. */
@media(max-width:850px){
  #app main{padding-top:8px!important;padding-bottom:72px!important}
  #content>.head:first-child{margin-top:0!important;padding-top:0!important}
  #quickDockV20.mobile-compact-v21{left:auto!important;right:8px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;transform:none!important;width:82px!important;grid-template-columns:35px 35px!important;gap:3px!important;padding:4px!important;border-radius:16px!important}
  #quickDockV20.mobile-compact-v21 input{display:none!important}
  #quickDockV20.mobile-compact-v21 button{height:35px!important;border-radius:11px!important}
  #quickDockV20.mobile-compact-v21 .dock-ai-v20 span{display:none!important}
  #quickDockV20.mobile-compact-v21 .dock-ai-v20 i{font-size:16px!important}
  #offlineBadgeV19{display:none!important}
  #content #orderForm>.primary:last-child,#content #quoteFormV15>.primary:last-child,#content form>button:last-child{margin-bottom:12px!important}
  .flow-head-v21{display:block}.flow-head-v21>div{grid-template-columns:auto 1fr}.flow-head-v21 em{display:block;margin-top:9px;text-align:left}.flow-head-v21 strong{font-size:32px}.flow-head-v21 small{font-size:12px}.intraday-compare-v21{width:calc(100% + 10px);margin-left:-7px}.flow-legend-v21{margin-top:7px}.dashboard-flow-v21{padding:13px 11px!important}
  .recent-order-v21{grid-template-columns:68px minmax(0,1fr) auto 9px;gap:6px;padding:8px}.recent-order-money-v21 em{display:none}.recent-order-channel-v21{font-size:8px}.recent-order-v21 strong{font-size:11px}
  .direct-order-sheet-v21{padding:12px 12px calc(16px + env(safe-area-inset-bottom))}.direct-order-lines-v21 article{grid-template-columns:42px minmax(0,1fr) auto}.product-thumb-v21,.product-fallback-v21{width:42px;height:42px}
  .product-media-grid-v21{grid-template-columns:1fr}.product-media-card-v21{grid-template-columns:62px minmax(0,1fr)}.product-thumb-v21.manager,.product-fallback-v21.manager{width:62px;height:62px}.product-media-card-v21 label{grid-column:1/-1}.product-media-card-v21 button{grid-column:1/-1;grid-row:auto}
  .branch-catalog-admin-v21{align-items:flex-start;flex-direction:column}.branch-catalog-admin-v21 button{width:100%}
}

@media(max-width:430px){
  .direct-order-contact-v21{grid-template-columns:1fr}.direct-order-contact-v21 .wide{grid-column:auto}
  .direct-order-total-v21{grid-template-columns:1fr 1fr}.direct-order-sheet-v21 footer{grid-template-columns:1fr}
  .recent-orders-card-v21{padding:10px!important}.recent-order-v21 small{max-width:145px}.recent-order-money-v21 b{font-size:10px}
  .flow-head-v21 strong{font-size:29px}.yesterday-total-v21{font-size:9px}.yesterday-total-v21 b{font-size:11px}
}

@media print{
  #quickDockV20,#directOrderHostV21,.media-guide-v21,.branch-catalog-admin-v21{display:none!important}
  #app main{padding:0!important}.dashboard-flow-v21{box-shadow:none!important}
}
