/* Masalar › Online sekmesi (İŞ 267 devamı). Büyük dokunma alanları; tek elle telefonda kullanılır. */
.os-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 12px; flex-wrap: wrap; }
.os-bar h2 { margin: 0; font-size: 1.15rem; }
.os-ses { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line, #ddd); background: var(--surface, #fff); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.os-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.os-kart { background: var(--surface, #fff); border: 1px solid var(--line, #e3ddd5); border-left: 6px solid var(--muted, #999); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.os-kart.os-new { border-left-color: var(--pri, #c94f1f); box-shadow: 0 2px 10px rgba(201, 79, 31, .18); }
.os-kart.os-accepted { border-left-color: #2f8f4e; }
.os-ust { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.os-kim { display: flex; flex-direction: column; min-width: 0; }
.os-kim b { font-size: 1.05rem; }
.os-kim span { color: var(--muted); overflow-wrap: anywhere; }
.os-durum { padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; background: var(--surface-2, #f1ece6); }
.os-d-new { background: var(--pri, #c94f1f); color: #fff; }
.os-d-accepted { background: #dff3e5; color: #1d6b38; }
.os-d-ready { background: #e3edf9; color: #2457a6; }
.os-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.os-tutar { margin-left: auto; color: var(--text); font-size: 1.1rem; }
.os-odeme { padding: 3px 10px; border-radius: 8px; font-size: .82rem; font-weight: 700; background: var(--surface-2, #f1ece6); color: var(--text); }
.os-o-online { background: #e3edf9; color: #2457a6; }
.os-o-cash { background: #fff1cf; color: #8a5a00; }
.os-o-card { background: #efe3f7; color: #6a2d8f; }
.os-satirlar { margin: 0; padding-left: 18px; }
.os-satirlar li { overflow-wrap: anywhere; }
.os-esl { font-style: normal; font-size: .75rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: #fde2dc; color: #a12c14; }
.os-not { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--surface-2, #f7f3ee); font-size: .92rem; }
.os-prep { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.os-prep-b { min-height: 48px; border-radius: 12px; border: 2px solid var(--line, #ddd); background: var(--surface, #fff); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.os-prep-b.on { border-color: var(--pri, #c94f1f); background: var(--pri-soft, #fdeee6); }
.os-eylem { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.os-eylem:has(> :only-child) { grid-template-columns: 1fr; }
.os-btn { min-height: 56px; border-radius: 14px; border: 0; font: inherit; font-weight: 800; font-size: 1.05rem; cursor: pointer; touch-action: manipulation; }
.os-btn.kabul { background: #2f8f4e; color: #fff; }
.os-btn.ret { background: var(--surface-2, #f1ece6); color: #a12c14; border: 2px solid #e6b9ae; }
.os-btn:disabled { opacity: .55; cursor: progress; }
.os-bos, .os-hata { padding: 18px; text-align: center; color: var(--muted); }
.os-hata { color: #a12c14; background: #fde8e4; border-radius: 12px; }
.os-nedenler { display: flex; flex-direction: column; gap: 8px; }
.os-neden { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border: 2px solid var(--line, #ddd); border-radius: 12px; cursor: pointer; }
.os-neden input { width: 22px; height: 22px; }
.mz-split.mz-split-online { grid-template-columns: minmax(0, 1fr); }
.mz-split.mz-split-online .mz-side { display: none; }
.sd-tab .os-n { margin-left: 4px; }
.os-n[hidden] { display: none; }
@media (max-width: 480px) { .os-liste { grid-template-columns: minmax(0, 1fr); } }
.os-iletiliyor { margin: 6px 0 0; font-size: .88rem; color: var(--muted); font-style: italic; }
.os-yazici { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.os-yazici a { color: inherit; text-decoration: underline; }

/* İŞ 290: Geçmiş görünümü. 390 px'te kart, geniş ekranda tablo satırı (tek DOM: .og-sat); ayrıntı geniş ekranda sağ panel, telefonda tam ekran. */
.os-mod { display: inline-flex; border: 1px solid var(--line, #ddd); border-radius: 12px; overflow: hidden; }
.os-mod-b { min-height: 44px; padding: 0 18px; border: 0; background: var(--surface, #fff); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.os-mod-b.on { background: var(--pri, #c94f1f); color: #fff; }
/* İŞ 293: rapor sekmeleri */
.og-sekmeler { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.og-sekme { min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line, #ddd); background: var(--surface, #fff); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.og-sekme.on { border-color: var(--pri, #c94f1f); background: var(--pri-soft, #fdeee6); }
.ogr-tablo-kap { overflow-x: auto; margin: 8px 0; }
.ogr-tablo { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ogr-tablo th, .ogr-tablo td { padding: 8px 10px; border-bottom: 1px solid var(--line, #e5e5e5); text-align: left; vertical-align: top; }
.ogr-tablo .num { text-align: right; white-space: nowrap; }
.ogr-bas { margin: 16px 0 6px; }
.ogr-isi { display: grid; grid-template-columns: 34px repeat(24, minmax(14px, 1fr)); gap: 2px; align-items: center; overflow-x: auto; min-width: 0; }
.ogr-hs, .ogr-hg { font-size: 0.7rem; color: var(--muted, #777); text-align: center; }
.ogr-hc { min-height: 22px; border-radius: 3px; font-size: 0.65rem; text-align: center; line-height: 22px; background: color-mix(in srgb, var(--pri, #c94f1f) calc(var(--y) * 100%), var(--surface, #f3f3f3)); color: var(--text); }
.ogr-saat { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; align-items: end; height: 90px; }
.ogr-hb { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.ogr-hb i { display: block; width: 100%; min-height: 2px; background: var(--pri, #c94f1f); border-radius: 2px 2px 0 0; }
.ogr-hb small { font-size: 0.6rem; color: var(--muted, #777); }
@media (max-width: 640px) {
  .ogr-tablo thead { display: none; }
  .ogr-tablo, .ogr-tablo tbody, .ogr-tablo tr, .ogr-tablo td { display: block; width: 100%; }
  .ogr-tablo tr { border: 1px solid var(--line, #e5e5e5); border-radius: 8px; margin-bottom: 8px; padding: 4px 0; }
  .ogr-tablo td { border: 0; text-align: right !important; display: flex; justify-content: space-between; gap: 8px; }
  .ogr-tablo td::before { content: attr(data-l); font-weight: 600; color: var(--muted, #777); text-align: left; }
}
.og-filtre { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.og-presetler { display: flex; gap: 6px; flex-wrap: wrap; }
.og-p { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line, #ddd); background: var(--surface, #fff); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.og-p.on { border-color: var(--pri, #c94f1f); background: var(--pri-soft, #fdeee6); }
.og-aralik { display: flex; gap: 10px; flex-wrap: wrap; }
.og-aralik label { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); gap: 2px; }
.og-alanlar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.og-alanlar input[type="search"], .og-alanlar select { min-height: 44px; border-radius: 10px; border: 1px solid var(--line, #ddd); padding: 0 10px; font: inherit; background: var(--surface, #fff); color: var(--text); min-width: 0; width: 100%; }
.og-iptal { display: flex; align-items: center; gap: 6px; font-size: .9rem; white-space: nowrap; }
.og-disari { display: flex; gap: 8px; }
.og-disari a { text-decoration: none; display: inline-flex; align-items: center; }
.og-ozet { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.og-oz { background: var(--surface, #fff); border: 1px solid var(--line, #e3ddd5); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.og-oz span { color: var(--muted); font-size: .8rem; }
.og-oz b { font-size: 1.15rem; }
.og-oz small { color: var(--muted); font-size: .75rem; }
.og-kaynak { list-style: none; margin: 0 0 12px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.og-kaynak li { display: flex; gap: 8px; align-items: baseline; padding: 6px 10px; border-radius: 10px; background: var(--surface-2, #f1ece6); font-size: .88rem; }
.og-kaynak small { color: #a12c14; }
.og-liste { display: flex; flex-direction: column; gap: 8px; }
.og-sat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; text-align: left; padding: 12px; background: var(--surface, #fff); border: 1px solid var(--line, #e3ddd5); border-left: 6px solid var(--muted, #999); border-radius: 14px; font: inherit; color: var(--text); cursor: pointer; width: 100%; }
.og-sat.on { outline: 2px solid var(--pri, #c94f1f); }
.og-sat.og-bas { display: none; cursor: default; }
.og-sat small { display: block; color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.og-c { min-width: 0; overflow-wrap: anywhere; }
.og-c::before { content: attr(data-l) ": "; color: var(--muted); font-size: .75rem; }
.og-c.og-plat::before, .og-c.og-dur::before { content: ""; }
.og-tut { font-weight: 800; text-align: right; }
.og-s-delivered { border-left-color: #2f8f4e; } .og-s-ready { border-left-color: #2457a6; } .og-s-new { border-left-color: var(--pri, #c94f1f); }
.og-s-cancelled, .og-s-rejected { border-left-color: #c0392b; }
.og-d-claim { background: #fff1cf; color: #8a5a00; }
.oi { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line, #e4ddd2); border-radius: 12px; }
.oi-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.oi-bas h3 { margin: 0; font-size: 1rem; }
.oi-talep { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2, #f7f3ee); }
.oi-talep header { display: flex; justify-content: space-between; gap: 8px; }
.oi-kalem { margin: 6px 0; padding-left: 18px; } .oi-kalem small { display: block; opacity: .8; }
.oi-eylem { display: flex; gap: 8px; flex-wrap: wrap; }
.og-d-cancelled, .og-d-rejected { background: #fde2dc; color: #a12c14; }
.og-d-delivered, .og-d-shipped { background: #dff3e5; color: #1d6b38; }
.og-rz { font-style: normal; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 8px; background: var(--surface-2, #f1ece6); }
.og-k-getir { background: #efe3f7; color: #5d2b87; } .og-k-trendyol_go { background: #fff1cf; color: #8a5a00; } .og-k-yemeksepeti { background: #fde2dc; color: #a12c14; } .og-k-migros { background: #dff3e5; color: #1d6b38; }
.og-sonuc.og-yukleniyor { opacity: .6; }
.og-detay { position: fixed; inset: 0; z-index: 60; background: var(--bg, #fff); overflow-y: auto; padding: 52px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.og-detay h4 { margin: 10px 0 2px; }
.og-dust { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.og-dbas { font-size: 1.15rem; display: block; }
.og-kapat { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line, #ddd); background: var(--surface, #fff); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.og-kalem { width: 100%; border-collapse: collapse; } .og-kalem td { padding: 6px 0; border-bottom: 1px solid var(--line, #eee); vertical-align: top; } .og-kalem td.num { text-align: right; white-space: nowrap; } .og-kalem small { display: block; color: var(--muted); }
.og-tutar { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; } .og-tutar dd { margin: 0; text-align: right; }
.og-musteri { margin: 0; overflow-wrap: anywhere; }
.og-zaman { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 3px solid var(--line, #ddd); display: flex; flex-direction: column; gap: 8px; }
.og-zaman li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; } .og-zaman li.yok { color: var(--muted); } .og-zaman li.iptal b { color: #a12c14; } .og-zaman small { grid-column: 1 / -1; color: var(--muted); }
.og-iptalkutu { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 10px; background: #fde8e4; color: #a12c14; }
.og-push { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .og-push li { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 10px; font-size: .9rem; } .og-push small { grid-column: 1 / -1; color: #a12c14; }
.og-pu-failed b { color: #a12c14; }
.og-dugmeler { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; } .og-b { flex: 1 1 200px; }
.og-mesaj { margin: 0; color: var(--muted); }
@media (max-width: 899px) { .og-alanlar { grid-template-columns: minmax(0, 1fr); } .og-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .og-sat { grid-template-columns: 1.1fr 1fr 1fr 1.3fr .8fr 1fr 1.6fr; align-items: center; padding: 8px 12px; border-radius: 10px; }
  .og-sat.og-bas { display: grid; font-weight: 700; color: var(--muted); font-size: .82rem; border-left-color: transparent; background: transparent; border-color: transparent; }
  .og-c::before { content: none; }
  .og-detay { position: fixed; inset: 0 0 0 auto; width: min(460px, 42vw); border-left: 1px solid var(--line, #ddd); box-shadow: -6px 0 24px rgba(0,0,0,.12); }
}

/* İŞ 301: kapanmayan kırmızı alarm şeridi (platform bağlantısı koptu / sipariş kabul bekliyor) */
.os-serit { position: fixed; top: 0; left: 0; right: 0; z-index: 3000; background: #b3261e; color: #fff; padding: 10px 16px; font-size: 0.95rem; line-height: 1.35; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.os-serit-satir { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 2px 0; }
.os-serit-satir b { font-weight: 700; }
.os-serit a { color: #fff; text-decoration: underline; font-weight: 600; min-height: 24px; }
@media (max-width: 600px) { .os-serit { font-size: 0.9rem; padding: 8px 12px; } }
/* Dar ekranda menü çekmecesi açıkken şerit gizlenir (çekmece öğelerini örtmesin); kapanınca geri gelir */
@media (max-width: 880px) { body:has(.sidebar.open) .os-serit { display: none; } }
.os-arama { margin: 0; font-size: .95rem; }
