:root {
  color-scheme: dark;
  --zemin: #071735; --kart: #0e2148; --yazi: #f0f4fb; --soluk: #b2bfd8; --cizgi: #2c4375;
  --ana: #2f8a12; --ana-koyu: #72d62f; --ana-yazi: #ffffff; --hata: #ff9a90;
  --vurgu: #4aae17; --vurgu-koyu: #1f7d0c; --vurgu-derin: #0f4a0b; --isik: 98, 204, 32;
  --yeni: #fbbf24; --alindi: #93b4ff; --hazir: #c4a7ff; --sevk: #67d7ea; --teslim: #5fe08f; --iptal: #a3a9b3;
}
:root[data-firma="bayirlar"] { --ana: #c8161d; --ana-koyu: #f4595f; --vurgu: #e0242c; --vurgu-koyu: #a31119; --vurgu-derin: #5a0a12; --isik: 234, 42, 50; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--zemin); color: var(--yazi); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1 { font-size: 1.35rem; margin: 0; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
.gizli-baslik { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.giris { overflow: hidden; }
.kayitlar { list-style: none; margin: 0 0 12px; padding: 0; font-size: .88rem; }
.kayitlar li { padding: 6px 0; border-bottom: 1px solid var(--cizgi); }
.kayitlar span { display: block; color: var(--soluk); font-size: .8rem; }
.fis-logo { display: block; height: 52px; max-width: 220px; object-fit: contain; margin-bottom: 8px; padding: 3px; background: #fff; border-radius: 6px; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.baslik { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.kart { background: var(--kart); border: 1px solid var(--cizgi); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.giris { max-width: 400px; margin: 8vh auto 0; }
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px; min-height: 44px; font: inherit; font-weight: 400; color: var(--yazi); background: var(--kart); border: 1px solid var(--cizgi); border-radius: 7px; }
input[type="checkbox"] { display: inline-block; width: 20px; min-height: 20px; margin: 0 8px 0 0; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--ana); outline-offset: 1px; }
button { font: inherit; font-weight: 600; min-height: 44px; padding: 8px 16px; color: var(--ana-yazi); background: var(--ana); border: 1px solid transparent; border-radius: 7px; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
button.ikincil { color: var(--yazi); background: transparent; border-color: var(--cizgi); }
button.tehlike { color: var(--hata); background: transparent; border-color: var(--hata); }
button.kucuk { min-height: 34px; padding: 4px 10px; font-size: .85rem; }
.tam { width: 100%; }
.gelistirici { margin-top: 8px; }
.orta { text-align: center; margin: 6px 0 0; }
.hata { color: var(--hata); font-size: .9rem; min-height: 1.3em; margin: 0 0 8px; }
.bos { color: var(--soluk); text-align: center; padding: 32px 8px; }
.soluk { color: var(--soluk); font-size: .88rem; }
.kalem { display: grid; grid-template-columns: 1fr 96px 40px; gap: 8px; align-items: end; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--cizgi); }
.kalem label { margin: 0; }
.kalem .urun { grid-column: 1 / -1; }
.kalem .satir-tutar { font-variant-numeric: tabular-nums; font-weight: 600; align-self: center; }
.kalem button { padding: 0; min-height: 44px; }
.toplam { display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; font-weight: 700; margin: 12px 0; font-variant-numeric: tabular-nums; }
.filtre { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.filtre label { margin: 0; }
.filtre .genis { grid-column: 1 / -1; }
.liste { display: grid; gap: 8px; }
.siparis { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; width: 100%; text-align: left; color: var(--yazi); background: var(--kart); border: 1px solid var(--cizgi); border-left: 4px solid var(--renk, var(--cizgi)); border-radius: 8px; padding: 12px; font-weight: 400; }
.siparis:hover { border-color: var(--ana); border-left-color: var(--renk, var(--ana)); }
.siparis.taze { animation: taze 2.4s ease-out; }
@keyframes taze { from { background: color-mix(in srgb, var(--yeni) 30%, var(--kart)); } }
@media (prefers-reduced-motion: reduce) { .siparis.taze { animation: none; } }
.siparis b { font-size: 1.02rem; overflow-wrap: anywhere; }
.siparis .tutar { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.rozet { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--renk); border: 1px solid var(--renk); border-radius: 99px; padding: 1px 8px; white-space: nowrap; justify-self: end; align-self: flex-start; height: fit-content; }
.d-yeni { --renk: var(--yeni); } .d-alindi { --renk: var(--alindi); } .d-hazirlaniyor { --renk: var(--hazir); }
.d-sevk { --renk: var(--sevk); } .d-teslim { --renk: var(--teslim); } .d-iptal { --renk: var(--iptal); }
.tablo-kutu { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 8px 6px; border-bottom: 1px solid var(--cizgi); text-align: left; }
th.s, td.s { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.pasif td { color: var(--soluk); }
dialog { width: min(640px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); padding: 16px; color: var(--yazi); background: var(--kart); border: 1px solid var(--cizgi); border-radius: 12px; }
dialog::backdrop { background: rgba(0,0,0,.5); }
.dugmeler { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.donem { display: flex; align-items: center; gap: 8px; margin: 0; }
.donem select { margin: 0; width: auto; }
.ozet-kartlar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.stat { display: grid; gap: 2px; margin: 0; padding: 12px; min-width: 0; }
.stat strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.grafik-not { margin: -8px 0 8px; }
.grafik { position: relative; overflow: hidden; }
.grafik svg { display: block; max-width: 100%; }
.izgara { stroke: var(--cizgi); stroke-width: 1; }
.eksen { fill: var(--soluk); font-size: 11px; font-variant-numeric: tabular-nums; }
.cubuk { fill: var(--ana); }
.cubuk.vurgu { fill: var(--ana-koyu); }
.alan { fill: transparent; }
.ipucu { position: absolute; z-index: 1; padding: 6px 9px; font-size: .8rem; white-space: nowrap; color: var(--yazi); background: var(--kart); border: 1px solid var(--cizgi); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.2); pointer-events: none; }
details { margin-top: 8px; font-size: .9rem; }
summary { cursor: pointer; color: var(--soluk); min-height: 32px; }
.ozet-iki { display: grid; gap: 12px; }
.ozet-iki .kart { margin: 0; min-width: 0; }
.sira { display: grid; gap: 12px; }
.sira-ust { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; margin-bottom: 4px; }
.sira-ust b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sira-iz { height: 8px; background: color-mix(in srgb, var(--cizgi) 45%, transparent); border-radius: 4px; overflow: hidden; }
.sira-cubuk { height: 100%; background: var(--ana); border-radius: 4px; }
.dugmeler.sifir { margin-top: 0; }
.durumlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; margin-top: 8px; }
.durumlar button[aria-pressed="true"] { outline: 2px solid var(--ana); }
.fis-ust { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.onay { display: flex; align-items: center; margin-bottom: 12px; font-weight: 400; }
#bildirimler { position: fixed; z-index: 2147483647; inset: auto 16px max(16px, env(safe-area-inset-bottom)) 16px; width: auto; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.bildirim { max-width: 440px; padding: 10px 14px; color: #fff; background: #1f2d25; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.bildirim.hatali { background: #912018; }
.giris-sahne { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; overflow: auto; color: #fff; background: #031b24; }
.giris-sahne::before { content: ""; position: fixed; inset: -40px; background: url("/giris.webp") center / cover; filter: blur(30px) brightness(.5); }
.giris-gorsel { display: none; }
@media (max-height: 760px) and (min-width: 861px) {
  .giris-kisi { display: none; }
  .giris-alt { margin-bottom: 0; }
  .giris-alan input { min-height: 40px; }
  .giris-ana { min-height: 42px; }
  .giris-baglanti { min-height: 26px; }
  .giris-ozellik { margin-top: 0; padding-top: 6px; }
}
.giris-tuval { position: relative; container-type: inline-size; width: min(100vw, calc(100dvh * 1672 / 940)); aspect-ratio: 1672 / 940; background: url("/giris.webp") center / 100% 100% no-repeat; }
.giris-kart { position: absolute; left: 55.75%; top: 9.6%; width: 39.95%; height: 75.6%; display: flex; flex-direction: column; justify-content: safe center; gap: clamp(5px, 1.05cqw, 16px); scrollbar-width: none; padding: 1.2cqw 3.6cqw; overflow: auto; font-size: clamp(13px, 1.12cqw, 19px); background: linear-gradient(165deg, #175a4e 0%, #0c3a3d 48%, #0b2c35 100%); border-radius: 2.5cqw; }
.giris-kisi { display: grid; place-items: center; width: 3.6cqw; height: 3.6cqw; min-width: 38px; min-height: 38px; margin: 0 auto; background: linear-gradient(160deg, #2f8f73, #14514f); border-radius: 50%; }
.giris-kisi svg { width: 58%; height: 58%; fill: #fff; }
.giris-kart h1 { font-size: 1.9em; line-height: 1.15; text-align: center; }
.giris-alt { margin: -.3em 0 .4em; color: #cfe2dc; text-align: center; }
.giris-alan { position: relative; display: block; margin: 0; }
.giris-alan > svg { position: absolute; left: 1.1em; top: 50%; width: 1.45em; height: 1.45em; transform: translateY(-50%); fill: none; stroke: #e6f2ee; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.giris-alan input { min-height: max(44px, 3.5cqw); margin: 0; padding: .55em 3.2em; font-size: 1.05em; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.45); border-radius: .65em; }
.giris-alan input::placeholder { color: #c3d6d0; opacity: 1; }
.giris-alan input:focus-visible { outline: 2px solid #8fe04a; outline-offset: 1px; }
.giris-goz { position: absolute; right: .35em; top: 50%; display: grid; place-items: center; width: 2.6em; min-height: 36px; height: 2.6em; padding: 0; color: #fff; background: transparent; border: 0; transform: translateY(-50%); }
.giris-goz svg { width: 1.45em; height: 1.45em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.giris-satir { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.giris-hatirla { display: inline-flex; align-items: center; margin: 0; font-size: 1em; font-weight: 500; cursor: pointer; }
.giris-hatirla input { width: 20px; min-height: 20px; height: 20px; margin: 0 .6em 0 0; accent-color: #58b81e; }
.giris-baglanti { min-height: 32px; padding: 2px 0; color: #e6f2ee; font-size: 1em; font-weight: 500; background: transparent; border: 0; }
.giris-baglanti:hover { color: #fff; text-decoration: underline; }
.giris-kart .hata { margin: 0; min-height: 0; color: #ffc9c4; text-align: center; }
.giris-kart .hata:empty, .giris-bilgi:empty { display: none; }
.giris-bilgi { margin: 0; color: #d9efe6; font-size: .92em; text-align: center; }
.giris-ana { display: flex; align-items: center; justify-content: center; gap: .6em; width: 100%; min-height: max(46px, 3.8cqw); font-size: 1.25em; color: #fff; background: linear-gradient(180deg, #5fbd19, #2f7d10); border: 1px solid #93e34f; border-radius: .6em; }
.giris-ana:hover { filter: brightness(1.08); }
.giris-ana svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.giris-ozellik { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: .3em; padding-top: .8em; border-top: 1px solid rgba(255,255,255,.22); }
.giris-ozellik span { display: grid; justify-items: center; gap: 3px; font-size: .84em; line-height: 1.2; text-align: center; }
.giris-ozellik svg { width: 1.7em; height: 1.7em; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px), (max-height: 480px) {
  .giris-sahne { display: block; }
  .giris-sahne::before { display: none; }
  .giris-tuval { width: 100%; aspect-ratio: auto; background: none; container-type: normal; }
  .giris-gorsel { display: block; width: 100%; max-width: 620px; aspect-ratio: 925 / 840; margin: 0 auto; background: url("/giris.webp") 0 0 / 180.76% auto no-repeat; }
  .giris-kart { position: relative; left: auto; top: auto; width: calc(100% - 32px); max-width: 520px; height: auto; margin: -12px auto 16px; padding: 18px 16px; gap: 10px; font-size: 15px; overflow: visible; border: 1px solid rgba(143, 224, 74, .45); border-radius: 18px; }
  .giris-kisi { width: 42px; height: 42px; }
  .giris-alan input { min-height: 46px; font-size: 16px; }
}
@media (min-width: 720px) {
  .ozet-kartlar { grid-template-columns: repeat(4, 1fr); }
  .ozet-iki { grid-template-columns: 1fr 1fr; }
  .kalem { grid-template-columns: 1fr 110px 120px 40px; }
  .kalem .urun { grid-column: auto; }
  .filtre { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .filtre .genis { grid-column: auto; }
}
#ust { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: flex-start; gap: 14px; height: 84px; padding: 0 20px 0 12px; color: #fff; background: linear-gradient(90deg, #071f2c, #061827 55%, #07192e); border-bottom: 1px solid rgba(90, 200, 220, .28); }
.marka { flex: 0 1 auto; min-width: 0; height: 100%; padding: 0; background: transparent; border: 0; }
.ust-logo { display: block; height: 68px; aspect-ratio: 222 / 94; background: url("/logolar.webp") 5.10% 4.49% / 753.15% auto no-repeat; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(135deg, transparent 7%, #000 14%); mask-image: linear-gradient(135deg, transparent 7%, #000 14%); }
.ust-ayrac { flex: none; width: 1px; height: 50px; background: rgba(255,255,255,.5); }
#ust-firma { flex: none; display: block; }
.ust-sag { flex: none; display: flex; align-items: center; gap: 14px; margin-left: auto; }
.firma-giris { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px 16px; overflow: auto; color: #fff; background: #031b24; }
.firma-giris::before { content: ""; position: fixed; inset: -40px; background: url("/giris.webp") center / cover; filter: blur(26px) brightness(.42); }
.firma-giris-ic { position: relative; display: grid; justify-items: center; gap: 8px; width: min(920px, 100%); padding: clamp(20px, 3.4vw, 40px); text-align: center; background: rgba(6, 28, 42, .84); border: 1px solid rgba(120, 220, 170, .4); border-radius: 26px; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.firma-giris-marka { height: clamp(84px, 13vh, 120px); aspect-ratio: 222 / 94; background: url("/logolar.webp") 5.10% 4.49% / 753.15% auto no-repeat; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(135deg, transparent 7%, #000 14%); mask-image: linear-gradient(135deg, transparent 7%, #000 14%); }
.firma-giris-ic h1 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.firma-giris-ic > p { margin: 0 0 12px; color: #cfe2dc; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.firma-secenekler { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; }
.firma-secenek { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: clamp(190px, 30vh, 270px); padding: 18px 14px; color: #fff; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); border: 2px solid rgba(255,255,255,.28); border-radius: 20px; transition: transform .15s, border-color .15s, box-shadow .15s; }
.firma-secenek[data-firma="nutrisiano"]:hover, .firma-secenek[data-firma="nutrisiano"]:focus-visible { border-color: #86e647; box-shadow: 0 0 24px rgba(100, 220, 45, .42); transform: translateY(-3px); }
.firma-secenek[data-firma="bayirlar"]:hover, .firma-secenek[data-firma="bayirlar"]:focus-visible { border-color: #ff6068; box-shadow: 0 0 24px rgba(240, 50, 60, .42); transform: translateY(-3px); }
.firma-secenek .firma-logo { margin-bottom: 6px; }
.firma-secenek .firma-logo[data-firma="nutrisiano"] { height: clamp(90px, 13vh, 124px); }
.firma-secenek .firma-logo[data-firma="bayirlar"] { height: clamp(62px, 9vh, 84px); max-width: 100%; }
.firma-secenek small { color: #e4eeea; font-size: 1rem; font-weight: 600; }
.firma-secenek em { min-height: 1.3em; color: #b8cbc6; font-size: .86rem; font-style: normal; font-weight: 500; }
.firma-giris-cikis { min-height: 40px; margin-top: 10px; padding: 4px 20px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.34); }
.firma-giris-cikis:hover { background: rgba(255,255,255,.1); }
.kategori-serit { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding: 7px 8px 7px 14px; font-weight: 700; background: color-mix(in srgb, var(--ana) 30%, transparent); border: 1px solid var(--ana-koyu); border-radius: 10px; }
.saat-kutu { display: flex; align-items: center; gap: 9px; height: 54px; padding: 0 16px; border: 1.5px solid #58c22a; border-radius: 18px; background: rgba(10, 45, 45, .6); }
.saat-kutu svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.saat-kutu i { width: 1px; height: 28px; margin: 0 4px; background: rgba(255,255,255,.3); }
.saat-tarih { display: grid; line-height: 1.2; font-size: .84rem; white-space: nowrap; }
.saat-tarih b { font-weight: 500; }
.saat-tarih small { font-size: .8rem; color: #d7e4e0; }
#ust-saat { font-size: 1.18rem; font-variant-numeric: tabular-nums; }
.baglanti { flex: none; width: 10px; height: 10px; background: #f59e0b; border-radius: 50%; }
.baglanti.acik { background: #4ade40; box-shadow: 0 0 7px #4ade40; }
.zil { position: relative; display: grid; place-items: center; width: 50px; height: 50px; min-height: 44px; padding: 0; color: #fff; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.zil > svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sayi-rozet { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; color: #fff; font-size: .76rem; font-weight: 700; background: #e11d2e; border-radius: 11px; }
.kisi-menu { position: relative; }
.kisi { display: flex; align-items: center; gap: 9px; max-width: 220px; min-height: 50px; padding: 0 4px; color: #fff; font-weight: 500; background: transparent; border: 0; }
.kisi-resim { flex: none; display: grid; place-items: center; width: 46px; height: 46px; background: linear-gradient(160deg, #2fa85f, #116b3f); border: 2px solid rgba(255,255,255,.4); border-radius: 50%; }
.kisi-resim svg { width: 25px; height: 25px; fill: #fff; }
#kim { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kisi .ok { flex: none; width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kisi-acilir { position: absolute; right: 0; top: calc(100% + 6px); z-index: 8; display: grid; min-width: 170px; padding: 6px; background: var(--kart); border: 1px solid var(--cizgi); border-radius: 10px; box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.kisi-acilir button { color: var(--yazi); text-align: left; background: transparent; }
.kisi-acilir button:hover { background: rgba(255,255,255,.08); }
#kabuk { display: flex; align-items: stretch; min-height: calc(100dvh - 84px); background: #061827; }
#yan { position: sticky; top: 84px; flex: none; display: flex; flex-direction: column; width: 250px; height: calc(100dvh - 84px); padding: 16px 14px 0; overflow: hidden; background: linear-gradient(180deg, #071f2c, #06202a); }
#yan::after { content: ""; flex: 1 1 0; max-height: 150px; min-height: 0; margin: auto -14px 0; background: url("/ana.webp") 0 100% / 1315px auto no-repeat; -webkit-mask-image: linear-gradient(transparent, #000 35%); mask-image: linear-gradient(transparent, #000 35%); }
.yan-liste { flex: 0 1 auto; min-height: 0; align-content: start; display: grid; gap: 3px; overflow-y: auto; scrollbar-width: none; }
#yan button { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 50px; padding: 6px 14px; color: #fff; font-size: 1.03rem; font-weight: 500; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 13px; }
#yan button svg { flex: none; width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#yan button:hover { background: rgba(255,255,255,.08); }
#yan button[aria-current="page"] { font-weight: 700; background: linear-gradient(180deg, #55c21a, #1f7d0c); border-color: #9bea57; box-shadow: 0 0 14px rgba(90, 210, 40, .35); }
#yan button[aria-current="page"] svg { fill: #fff; stroke: #fff; }
.menu-rozet { display: grid; place-items: center; min-width: 26px; height: 26px; margin-left: auto; padding: 0 6px; font-size: .84rem; background: #e11d2e; border-radius: 13px; }
#icerik-kolon { flex: 1; min-width: 0; background: radial-gradient(1000px 500px at 85% 110%, rgba(190, 25, 35, .17), transparent 65%), radial-gradient(900px 480px at 15% 115%, rgba(70, 190, 30, .16), transparent 65%), #081d30; border-top: 1px solid rgba(90, 200, 220, .3); border-left: 1px solid rgba(90, 200, 220, .3); border-top-left-radius: 26px; }
main { max-width: 1320px; padding: 22px clamp(16px, 2.6vw, 36px) 32px; }
.sayfa-baslik { display: flex; align-items: center; gap: 14px; font-size: clamp(1.4rem, 2.15vw, 2.05rem); line-height: 1.2; }
.sayfa-baslik svg { flex: none; width: 1.42em; height: 1.42em; fill: none; stroke: var(--ana-koyu); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.excel-dugme { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 22px 6px 16px; color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1.5px solid rgba(255,255,255,.32); border-radius: 14px; }
.excel-dugme:hover { border-color: rgba(255,255,255,.65); }
.excel-dugme svg { flex: none; width: 30px; height: 30px; }
.e-sayfa { fill: #1f9d45; }
.e-kose { fill: #8fe0a7; }
.e-x { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.filtre label { font-size: .98rem; }
.filtre input, .filtre select { min-height: 50px; background-color: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); border-radius: 10px; }
.ara-kutu { position: relative; display: block; margin-top: 4px; }
.ara-kutu svg { position: absolute; left: 14px; top: 50%; width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; transform: translateY(-50%); pointer-events: none; }
.ara-kutu input { margin: 0; padding-left: 48px; }
.filtre input[type="date"] { position: relative; padding-left: 48px; }
.filtre input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; left: 13px; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.bos-durum { display: grid; justify-items: center; gap: 12px; padding: clamp(24px, 6vh, 56px) 16px; color: #e4eeea; font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 600; text-align: center; }
.bos-durum p { margin: 0; }
.bos-durum svg { width: clamp(120px, 12vw, 170px); height: auto; overflow: visible; }
.b-isik { fill: rgba(120, 190, 255, .24); stroke: rgba(170, 220, 255, .5); }
.b-kutu { fill: rgba(170, 215, 245, .1); stroke: #e8f4fb; stroke-width: 2.6; stroke-linejoin: round; }
.b-cizgi { fill: none; stroke: #e8f4fb; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.firma-logo { height: 66px; background-image: url("/logolar.webp"); background-repeat: no-repeat; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
.firma-logo[data-firma="nutrisiano"] { aspect-ratio: 215 / 96; background-position: 25.39% 3.08%; background-size: 777.67% auto; }
.firma-logo[data-firma="bayirlar"] { height: 54px; aspect-ratio: 265 / 72; background-position: 45.49% 5.75%; background-size: 630.94% auto; }
.stok-ozet { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.stok-ozet span { padding: 5px 13px; font-size: .92rem; background: rgba(255,255,255,.05); border: 1px solid var(--cizgi); border-radius: 99px; }
.stok-satir { display: grid; grid-template-columns: minmax(180px, 1.4fr) minmax(150px, .8fr) auto; align-items: center; gap: 10px 16px; padding: 12px 14px; background: var(--kart); border: 1px solid var(--cizgi); border-radius: 12px; }
.stok-satir.pasif { opacity: .68; }
.stok-ad { display: grid; min-width: 0; }
.stok-ad b { overflow-wrap: anywhere; }
.stok-miktar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.stok-miktar strong { font-size: 1.08rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stok-rozet { padding: 1px 9px; font-size: .78rem; font-weight: 700; border: 1px solid currentColor; border-radius: 99px; white-space: nowrap; }
.s-iyi { color: #6ee58f; }
.s-kritik { color: #fbbf24; }
.s-yok { color: #ff8f88; }
.stok-islem { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.stok-islem button { min-height: 36px; }
.bos-durum > svg { fill: none; stroke: #e8f4fb; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ana-sayfa h1 { font-size: clamp(1.45rem, 2.5vw, 2.25rem); line-height: 1.2; }
.ana-alt { margin: 6px 0 26px; font-size: clamp(1rem, 1.5vw, 1.35rem); color: #dfeae6; }
.buyuk-kartlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 22px; }
.buyuk-kart { position: relative; display: flex; align-items: center; gap: clamp(16px, 2.5vw, 38px); width: 100%; min-height: clamp(130px, 22vh, 232px); padding: 20px clamp(18px, 2.6vw, 60px); overflow: hidden; color: #fff; font-size: clamp(1.25rem, 1.85vw, 2.3rem); font-weight: 700; line-height: 1.2; text-align: left; border: 2px solid; border-radius: 26px; }
.buyuk-kart[data-kategori="katki"] { background: linear-gradient(145deg, #4fc515, #1b7a0c 52%, #0b3f0e); border-color: #92ec4f; box-shadow: 0 0 20px rgba(90, 215, 40, .28); }
.buyuk-kart[data-kategori="hammadde"] { background: linear-gradient(145deg, #f02c34, #ad1018 52%, #520810); border-color: #ff7f7f; box-shadow: 0 0 20px rgba(240, 45, 55, .28); }
.buyuk-kart:hover { filter: brightness(1.1); }
.buyuk-kart:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.buyuk-kart > svg { flex: none; width: clamp(56px, 5.5vw, 108px); height: clamp(56px, 5.5vw, 108px); fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.buyuk-kart span { flex: 1; min-width: 0; }
.buyuk-kart i { flex: none; display: grid; place-items: center; width: 54px; height: 54px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.buyuk-kart i svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kucuk-kart { min-height: 84px; padding: 12px 16px; font-size: 1.1rem; border-radius: 14px; }
.kucuk-kart > svg { width: 42px; height: 42px; }
.kucuk-kart small { display: block; margin-top: 2px; font-size: .82rem; font-weight: 500; }
.firma-sor { display: grid; gap: 10px; }
.gostergeler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .gostergeler { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gosterge { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 120px; padding: 14px 16px; border: 1.5px solid var(--r); border-radius: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--r) 24%, #0a2233), #0a2233 70%); }
.gosterge.yesil { --r: #2fa45a; --i: #17883d; } .gosterge.mavi { --r: #2d8fd5; --i: #0f71bd; } .gosterge.sari { --r: #e3ad16; --i: #e6aa10; } .gosterge.kirmizi { --r: #dc3038; --i: #c71e27; }
.gosterge-ikon { flex: none; display: grid; place-items: center; width: clamp(54px, 4.6vw, 76px); height: clamp(54px, 4.6vw, 76px); background: var(--i); border-radius: 50%; }
.gosterge-ikon svg { width: 56%; height: 56%; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gosterge-yazi { display: grid; min-width: 0; gap: 3px; }
.gosterge-yazi small { color: #e8f0ed; font-size: .98rem; }
.gosterge-yazi strong { font-size: clamp(1.15rem, 1.6vw, 2rem); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bolum-sec { display: inline-flex; gap: 0; margin-bottom: 14px; padding: 0; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid var(--cizgi); border-radius: 10px; }
.bolum-sec button { min-width: 156px; min-height: 52px; padding: 4px 18px; font-size: 1.06rem; border-radius: 12px; color: var(--yazi); background: transparent; }
.bolum-sec button[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--ana-koyu) 85%, #fff), var(--ana)); box-shadow: inset 0 0 0 1.5px var(--ana-koyu); }
.ayar-liste { display: grid; gap: 10px; }
.ayar { display: grid; gap: 2px; width: 100%; margin: 0; color: var(--yazi); text-align: left; }
.ayar:hover { border-color: var(--ana-koyu); }
.ayar .soluk { font-weight: 400; }
@media (max-width: 1250px) { .saat-tarih, .saat-kutu > svg:first-child, .saat-kutu i { display: none; } .ust-logo { height: 58px; } }
@media (max-width: 860px) {
  #ust { height: 64px; padding: 0 10px; }
  .ust-logo { height: 50px; }
  #ust { gap: 7px; }
  .ust-ayrac { height: 34px; }
  #ust-firma[data-firma="nutrisiano"] { height: 44px; }
  #ust-firma[data-firma="bayirlar"] { height: 27px; }
  .ust-sag { gap: 6px; }
  .saat-kutu, .baglanti { display: none; }
  .firma-secenekler { grid-template-columns: 1fr; gap: 12px; }
  .firma-secenek { min-height: 150px; }
  .buyuk-kartlar { grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
  .saat-kutu { height: 40px; padding: 0 10px; border-radius: 12px; }
  .saat-kutu svg { display: none; }
  #ust-saat { font-size: 1rem; }
  .zil { width: 42px; height: 42px; }
  .zil > svg { width: 22px; height: 22px; }
  .kisi { min-height: 44px; padding: 0; }
  .kisi-resim { width: 40px; height: 40px; }
  #kim, .kisi .ok { display: none; }
  #kabuk { display: block; min-height: calc(100dvh - 64px); }
  #yan { position: fixed; inset: auto 0 0; z-index: 7; width: 100%; height: auto; padding: 5px 4px max(5px, env(safe-area-inset-bottom)); background: #071f2c; border-top: 1px solid rgba(90, 200, 220, .35); }
  #yan::after { display: none; }
  .yan-liste { display: flex; gap: 2px; overflow-x: auto; }
  #yan button { flex: 1 0 68px; flex-direction: column; justify-content: center; gap: 2px; width: auto; min-height: 56px; padding: 4px 2px; font-size: .7rem; text-align: center; border-radius: 10px; }
  #yan button svg { width: 23px; height: 23px; }
  .menu-rozet { position: absolute; top: 1px; right: 8px; min-width: 18px; height: 18px; padding: 0 4px; font-size: .68rem; }
  #icerik-kolon { min-height: calc(100dvh - 64px); border-left: 0; border-top-left-radius: 0; }
  main { padding: 14px 16px 92px; }
  .firma-logo { height: 54px; }
  .stok-satir { grid-template-columns: 1fr auto; }
  .stok-miktar { flex-direction: column; align-items: flex-end; gap: 3px; }
  .stok-islem { grid-column: 1 / -1; justify-content: stretch; }
  .stok-islem button { flex: 1 1 auto; min-height: 40px; padding: 4px 6px; }
  .firma-logo[data-firma="bayirlar"] { height: 44px; }
  .bolum-sec { display: flex; }
  .bolum-sec button { flex: 1; min-width: 0; min-height: 46px; }
  .excel-dugme { min-height: 44px; padding: 4px 12px; font-size: .92rem; }
  .excel-dugme svg { width: 24px; height: 24px; }
  .buyuk-kart { min-height: 104px; padding: 12px 16px; border-radius: 18px; }
  .buyuk-kart i { width: 40px; height: 40px; }
  .ana-alt { margin-bottom: 16px; }
  .gostergeler { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gosterge { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 12px; border-radius: 15px; }
  .gosterge-ikon { width: 44px; height: 44px; }
  .gosterge-yazi small { font-size: .84rem; }
  .gosterge-yazi strong { font-size: 1.22rem; }
}
@media print {
  :root { color-scheme: light; --yazi: #000; --kart: #fff; --cizgi: #999; --soluk: #333; }
  body { background: #fff; }
  html.yazdirma-var, html.yazdirma-var body { height: auto !important; overflow: visible !important; background: #fff !important; }
  html.yazdirma-var body > :not(#yazdir-alani) { display: none !important; }
  html.yazdirma-var #yazdir-alani { display: block; width: 100%; margin: 0; padding: 0; color: #000; background: #fff; }
  .yazdirma { display: none !important; }
}
.cerceve, .cerceve * { scrollbar-width: none; }
#ust { background: linear-gradient(90deg, #091c43, #071735 55%, #091c43); border-bottom-color: rgba(var(--isik), .5); }
.ust-logo { -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 76%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 76%, transparent 100%); }
.saat-kutu { background: rgba(14, 33, 72, .75); border-color: var(--ana-koyu); }
.kisi-resim { background: linear-gradient(160deg, var(--vurgu), var(--vurgu-koyu)); }
.zil { background: rgba(255,255,255,.06); }
#kabuk { background: #071735; }
#yan { background: linear-gradient(180deg, #0a1f49, #071735); }
#yan button[aria-current="page"] { background: linear-gradient(180deg, var(--vurgu), var(--vurgu-koyu)); border-color: var(--ana-koyu); box-shadow: 0 0 14px rgba(var(--isik), .4); }
:root[data-firma="bayirlar"] #yan::after { filter: hue-rotate(-92deg) saturate(1.25); }
#icerik-kolon { background: radial-gradient(1000px 500px at 88% 112%, rgba(var(--isik), .2), transparent 66%), radial-gradient(900px 480px at 10% 115%, rgba(45, 95, 200, .24), transparent 66%), #0a1d44; border-top-color: rgba(var(--isik), .42); border-left-color: rgba(var(--isik), .42); }
.buyuk-kart[data-kategori="katki"] { background: linear-gradient(145deg, var(--vurgu), var(--vurgu-koyu) 54%, var(--vurgu-derin)); border-color: var(--ana-koyu); box-shadow: 0 0 20px rgba(var(--isik), .3); }
.buyuk-kart[data-kategori="hammadde"] { background: linear-gradient(145deg, #234c9e, #122f6e 56%, #0a1c45); border-color: var(--ana-koyu); box-shadow: 0 0 16px rgba(45, 95, 200, .32); }
.gosterge { background: linear-gradient(135deg, color-mix(in srgb, var(--r) 24%, #0e2148), #0e2148 72%); }
.gosterge.yesil, .gosterge.sari { --r: var(--ana-koyu); --i: var(--vurgu-koyu); }
.gosterge.mavi, .gosterge.kirmizi { --r: #4a78d8; --i: #1f4596; }
.kategori-serit { background: color-mix(in srgb, var(--vurgu) 28%, #0e2148); }
.filtre input, .filtre select { background-color: rgba(255,255,255,.06); }
.firma-giris { background: #071735; }
.firma-giris::before { filter: blur(26px) brightness(.34) saturate(.8); }
.firma-giris-ic { background: rgba(9, 25, 62, .9); border-color: rgba(110, 150, 230, .45); }
.ust-logo, .firma-logo, .firma-giris-marka { filter: contrast(1.22); }
.ust-logo, .firma-giris-marka { position: relative; }
.ust-logo::after, .firma-giris-marka::after { content: ""; position: absolute; inset: 0; background: inherit; clip-path: polygon(61.26% 38.3%, 83.47% 38.3%, 77.88% 89.36%, 61.26% 89.36%); filter: url(#n-yesil); }
.gizli-filtre { position: absolute; width: 0; height: 0; }
#yan .yan-geri { min-height: 44px; margin-bottom: 7px; font-size: .96rem; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.26); }
#yan .yan-geri:hover { background: rgba(255,255,255,.15); border-color: var(--ana-koyu); }
#yan .yan-geri svg { width: 23px; height: 23px; stroke-width: 2; }
.firma-giris-cikis { display: inline-flex; align-items: center; gap: 8px; }
.firma-giris-cikis svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 861px) and (max-height: 820px) {
  #yan { padding-top: 10px; }
  #yan button { min-height: 42px; padding: 4px 14px; }
  #yan button svg { width: 24px; height: 24px; }
  #yan .yan-geri { min-height: 38px; margin-bottom: 4px; }
}
@media (max-width: 860px) {
  #yan .yan-geri { min-height: 56px; margin-bottom: 0; font-size: .7rem; }
}
@media (min-width: 861px) and (min-height: 481px) {
  .giris-sahne { overflow: hidden; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
  .giris-tuval { width: 100vw; max-width: calc(100dvh * 2.15); }
}
@media (min-width: 861px) and (min-height: 481px) and (min-aspect-ratio: 16 / 10) and (max-aspect-ratio: 215 / 100) {
  .giris-tuval { height: 100dvh; aspect-ratio: auto; }
}
@media (min-width: 861px) and (max-height: 700px) {
  .giris-ozellik { display: none; }
}
.cari-ozet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.cari-ozet .kart { display: grid; gap: 3px; margin: 0; padding: 12px 14px; min-width: 0; }
.cari-ozet strong { font-size: clamp(1.02rem, 1.5vw, 1.4rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cari-satir { display: grid; grid-template-columns: minmax(170px, 1.5fr) repeat(2, minmax(100px, .8fr)) minmax(140px, 1fr) auto; align-items: center; gap: 8px 14px; padding: 11px 14px; background: var(--kart); border: 1px solid var(--cizgi); border-radius: 12px; }
.cari-satir.pasif { opacity: .68; }
.cari-ad { display: grid; min-width: 0; }
.cari-ad b { overflow-wrap: anywhere; }
.cari-rakam { display: grid; justify-items: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cari-rakam small { color: var(--soluk); font-size: .76rem; }
.cari-islem { display: flex; gap: 5px; }
.cari-islem button { min-height: 36px; }
.b-borc { color: #ffb15c; }
.b-alacak { color: #7eea9a; }
.b-kapali { color: var(--soluk); }
dialog.genis-pencere { width: min(1060px, calc(100vw - 16px)); }
.ekstre-bakiye { align-self: flex-start; font-size: clamp(1.05rem, 1.7vw, 1.45rem); text-align: right; font-variant-numeric: tabular-nums; }
.ekstre-tarih { display: grid; grid-template-columns: repeat(2, minmax(0, 190px)); gap: 10px; margin: 10px 0 2px; }
.ekstre-tarih label { margin-bottom: 6px; }
.ekstre-toplam, .ekstre-odeme { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.ekstre-toplam span, .ekstre-odeme span { display: grid; flex: 1 1 130px; padding: 7px 11px; background: rgba(255,255,255,.05); border: 1px solid var(--cizgi); border-radius: 9px; font-variant-numeric: tabular-nums; }
.ekstre-toplam small, .ekstre-odeme small { color: var(--soluk); font-size: .76rem; }
.ekstre-tablo { min-width: 720px; }
.ekstre-tablo td { vertical-align: top; }
.ekstre-tablo td small { display: block; color: var(--soluk); }
.ekstre-tablo .yazdirma { display: block; margin-top: 4px; }
.ekstre-urun { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 2px 0; font-size: .86rem; }
.iptal-satir td { opacity: .68; }
.iptal-yazi { color: var(--hata) !important; }
@media (max-width: 1050px) {
  .cari-satir { grid-template-columns: 1fr 1fr 1fr; }
  .cari-ad, .cari-islem { grid-column: 1 / -1; }
  .cari-rakam { justify-items: start; white-space: normal; }
  .cari-islem button { flex: 1; min-height: 40px; }
}
@media (max-width: 620px) {
  .cari-ozet { grid-template-columns: 1fr; gap: 7px; }
  .cari-ozet .kart { grid-template-columns: 1fr auto; align-items: center; padding: 9px 12px; }
  .cari-satir { grid-template-columns: 1fr 1fr; }
  .cari-rakam:last-of-type { grid-column: 1 / -1; }
}
@media print {
  .ekstre-tablo { min-width: 0; font-size: 11px; }
  .b-borc, .b-alacak, .b-kapali { color: #000; }
  .ekstre-toplam span, .ekstre-odeme span { background: #fff; }
}
@media screen and (max-width: 700px) {
  .ekstre-pencere .tablo-kutu { overflow: visible; }
  .ekstre-tablo { display: block; min-width: 0; }
  .ekstre-tablo thead { display: none; }
  .ekstre-tablo tbody { display: grid; gap: 8px; }
  .ekstre-tablo tr { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; padding: 9px 10px; background: rgba(255,255,255,.04); border: 1px solid var(--cizgi); border-radius: 9px; }
  .ekstre-tablo td { display: block; padding: 0; border: 0; min-width: 0; }
  .ekstre-tablo td:nth-child(2) { text-align: right; overflow-wrap: anywhere; }
  .ekstre-tablo td:nth-child(3) { grid-column: 1 / -1; }
  .ekstre-tablo td:nth-child(4):empty, .ekstre-tablo td:nth-child(5):empty { display: none; }
  .ekstre-tablo td:nth-child(4)::before { content: "Borç: "; color: var(--soluk); }
  .ekstre-tablo td:nth-child(5)::before { content: "Alacak: "; color: var(--soluk); }
  .ekstre-tablo td:nth-child(6)::before { content: "Bakiye: "; color: var(--soluk); }
  .ekstre-tablo td.s { text-align: left; white-space: normal; }
  .ekstre-tablo td:nth-child(6) { text-align: right; font-weight: 700; }
  .ekstre-urun { display: grid; gap: 0; padding: 4px 0; border-top: 1px solid var(--cizgi); }
}
.acilis-satir td { background: rgba(255,255,255,.035); }
.cari-islem { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 1050px) { .cari-ozet { grid-template-columns: 1fr 1fr; } .cari-islem { justify-content: stretch; } }
@media (max-width: 620px) { .cari-ozet { grid-template-columns: 1fr; } }
@media screen and (max-width: 700px) { .ekstre-tablo tr.acilis-satir { background: rgba(255,255,255,.08); } .acilis-satir td { background: transparent; } }
.fis-ekran-logo { display: block; margin-bottom: 8px; }
.fis-ekran-logo[data-firma="nutrisiano"] { height: 72px; }
.fis-ekran-logo[data-firma="bayirlar"] { height: 50px; }
.fis-logo { display: none; }
.ekstre-tablo td > button.yazdirma { display: block; margin-top: 5px; }
.satis-kalem { display: grid; grid-template-columns: minmax(180px, 2.2fr) minmax(82px, .75fr) minmax(70px, .6fr) minmax(112px, 1fr) minmax(104px, .85fr) 44px; align-items: end; gap: 8px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--cizgi); }
.satis-kalem label { margin: 0; min-width: 0; }
.satis-kalem > button { min-height: 44px; padding: 0; }
.satis-tutar { display: grid; align-self: end; min-height: 44px; font-variant-numeric: tabular-nums; }
.satis-tutar small { color: var(--soluk); font-size: .76rem; }
.satis-alt { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 10px; }
@media (max-width: 760px) {
  .satis-kalem { grid-template-columns: 1fr 1fr; }
  .satis-urun { grid-column: 1 / -1; }
  .satis-kalem > button { justify-self: end; width: 44px; }
  .satis-alt { grid-template-columns: 1fr; gap: 0; }
}
@media print {
  .fis-logo { display: block; background: #fff; }
}
.fiyat-uclu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fiyat-uclu label { margin-bottom: 4px; }
.fiyat-not { margin: 0 0 12px; font-size: .8rem; }
@media (max-width: 560px) { .fiyat-uclu { grid-template-columns: 1fr; gap: 0; } .fiyat-uclu label { margin-bottom: 10px; } }
#yazdir-alani { display: none; }
dialog.ekstre-pencere { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: auto; background: radial-gradient(1000px 500px at 88% 112%, rgba(var(--isik), .14), transparent 66%), #0a1d44; border: 0; border-radius: 0; }
.ekstre-arac { position: sticky; top: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 9px clamp(14px, 2.4vw, 32px); background: #091c43; border-bottom: 1px solid rgba(var(--isik), .55); box-shadow: 0 5px 14px rgba(0,0,0,.28); }
.ekstre-arac button { min-height: 40px; padding: 5px 13px; font-size: .92rem; white-space: nowrap; }
.ekstre-arac-ad { min-width: 0; max-width: 28vw; overflow: hidden; font-size: 1.04rem; text-overflow: ellipsis; white-space: nowrap; }
.ekstre-arac-bakiye { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ekstre-arac-dugmeler { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.ekstre-govde { width: 100%; max-width: 1500px; margin: 0 auto; padding: 16px clamp(14px, 2.4vw, 32px) 40px; }
.ekstre-pencere .tablo-kutu { overflow: visible; }
.ekstre-pencere .ekstre-tablo { min-width: 0; }
dialog.ekstre-pencere .ekstre-tablo th { position: sticky; top: var(--arac, 60px); z-index: 2; background: #10275a; box-shadow: 0 1px 0 var(--cizgi); }
@media (max-width: 760px) {
  .ekstre-arac-ad { flex: 1; max-width: none; }
  .ekstre-arac-bakiye { width: 100%; order: 3; }
  .ekstre-arac-dugmeler { order: 4; width: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ekstre-arac-dugmeler button { flex: none; }
}
@media print {
  @page { margin: 12mm; }
  #yazdir-alani .ekstre-govde { max-width: none; padding: 0; }
  #yazdir-alani .ekstre-tablo { display: table; width: 100%; font-size: 11px; }
  #yazdir-alani .ekstre-tablo thead { display: table-header-group; }
  #yazdir-alani .ekstre-tablo tr { break-inside: avoid; page-break-inside: avoid; }
  #yazdir-alani .ekstre-tablo th { color: #000; background: #fff; }
  #yazdir-alani .iptal-satir td { opacity: 1; }
  #yazdir-alani .ekstre-urun { padding: 1px 0; font-size: 10.5px; }
  #yazdir-alani .ekstre-bakiye { color: #000; }
}
.hesap-ozet { margin: 12px 0 14px; padding: 12px 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(var(--isik), .55); border-radius: 12px; }
.hesap-ozet h2 { margin: 0 0 9px; font-size: 1.05rem; }
.hesap-ozet h2 small { margin-left: 6px; color: var(--soluk); font-size: .8rem; font-weight: 500; }
.hesap-kartlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 9px; }
.hesap-kartlar > div { display: grid; gap: 2px; min-width: 0; padding: 9px 12px; background: rgba(255,255,255,.05); border: 1px solid var(--cizgi); border-radius: 9px; }
.hesap-kartlar small { color: var(--soluk); font-size: .8rem; }
.hesap-kartlar b { font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hesap-kalan { border-color: currentColor !important; }
.ekstre-tablo tfoot td { padding-top: 10px; padding-bottom: 10px; font-weight: 800; border-top: 2px solid var(--yazi); border-bottom: 3px double var(--yazi); }
@media screen and (max-width: 700px) {
  .ekstre-tablo tfoot { display: block; margin-top: 8px; }
  .ekstre-tablo tfoot tr { background: rgba(255,255,255,.09); border-color: var(--ana-koyu); }
  .ekstre-tablo tfoot td { padding: 0; border: 0; }
  .ekstre-tablo tfoot td:nth-child(2), .ekstre-tablo tfoot td:nth-child(3) { display: none; }
  .ekstre-tablo tfoot td:first-child { grid-column: 1 / -1; }
  .ekstre-tablo tfoot td:nth-child(6) { grid-column: 1 / -1; }
  .hesap-kartlar { grid-template-columns: 1fr 1fr; }
  .hesap-kalan { grid-column: 1 / -1; }
}
@media print {
  #yazdir-alani .hesap-ozet { margin: 8px 0 10px; padding: 8px 10px; background: #fff; border: 1px solid #555; break-inside: avoid; }
  #yazdir-alani .hesap-ozet h2 { font-size: 13px; margin-bottom: 6px; }
  #yazdir-alani .hesap-ozet h2 small { color: #333; font-size: 10px; }
  #yazdir-alani .hesap-kartlar { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 6px; }
  #yazdir-alani .hesap-kartlar > div { padding: 5px 8px; background: #fff; border: 1px solid #999; }
  #yazdir-alani .hesap-kartlar small { color: #333; font-size: 9.5px; }
  #yazdir-alani .hesap-kartlar b { color: #000; font-size: 13px; }
  #yazdir-alani .hesap-kalan { color: #000; border: 2px solid #000 !important; }
  #yazdir-alani .ekstre-tablo tfoot { display: table-row-group; }
  #yazdir-alani .ekstre-tablo tfoot td { color: #000; border-top: 1.5px solid #000; border-bottom: 3px double #000; }
}

/* Satış iadesi ve döviz */
.doviz-satir { display: grid; grid-template-columns: minmax(120px, 180px) minmax(150px, 240px); gap: 10px; }
.usd-bakiye { display: block; margin-top: 2px; }
.ekstre-arac-bakiye span, .ekstre-bakiye span { display: inline-block; margin-left: 12px; }
.ekstre-bakiye span { display: block; }
.ekstre-blok + .ekstre-blok { margin-top: 26px; padding-top: 14px; border-top: 2px solid rgba(var(--isik), .55); }
.ekstre-doviz { margin: 0 0 4px; font-size: 1.15rem; }
.ekstre-satir-dugme { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.iade-satir td:nth-child(3) > b { color: #ffc27a; }
.iade-not { display: inline !important; color: #ffc27a !important; }
.iade-kalem { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(130px, 180px) minmax(104px, 130px); align-items: end; gap: 10px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--cizgi); }
.iade-kalem label { margin: 0; }
.iade-kalem small { display: block; color: var(--soluk); }
@media (max-width: 700px) {
  .iade-kalem { grid-template-columns: 1fr 1fr; }
  .iade-kalem > div:first-child { grid-column: 1 / -1; }
}
@media print {
  #yazdir-alani .ekstre-blok + .ekstre-blok { margin-top: 14px; padding-top: 8px; border-top: 1.5px solid #000; }
  #yazdir-alani .ekstre-doviz { color: #000; font-size: 14px; }
  #yazdir-alani .iade-satir td:nth-child(3) > b, #yazdir-alani .iade-not { color: #000 !important; }
  #yazdir-alani .ekstre-bakiye span { color: #000; }
}

/* Telefonda PDF */
#pdf-hazir { position: fixed; inset: auto 12px calc(16px + env(safe-area-inset-bottom)) 12px; margin: 0 auto; max-width: 460px; width: auto; display: grid; gap: 6px; padding: 14px 16px; color: var(--yazi); background: #0d2453; border: 1px solid rgba(var(--isik), .7); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
#pdf-hazir span { overflow-wrap: anywhere; font-size: .86rem; }
#pdf-hazir .dugmeler { margin-top: 4px; }

/* Personel satır düğmeleri */
.satir-dugmeler { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

/* Sunucu kapalı uyarısı */
#sunucu-uyari { position: fixed; inset: calc(10px + env(safe-area-inset-top)) 12px auto 12px; margin: 0 auto; max-width: 560px; width: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 14px; color: #fff; background: #8f1d1d; border: 1px solid #ff8a8a; border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.5); }
#sunucu-uyari:not(:popover-open):not(.acik) { display: none; }
#sunucu-uyari b { grid-column: 1; font-size: 1rem; }
#sunucu-uyari span { grid-column: 1; font-size: .86rem; line-height: 1.35; }
#sunucu-uyari button { grid-column: 2; grid-row: 1 / span 2; background: #fff; color: #8f1d1d; border-color: #fff; }

/* Bağlı kullanıcılar */
.bagli-satir { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, .8fr) max-content; align-items: center; gap: 6px 14px; padding: 12px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--cizgi); border-radius: 12px; }
.bagli-satir > div { display: grid; min-width: 0; overflow-wrap: anywhere; }
.bagli-satir small { font-size: .74rem; }
.bagli-durum { display: flex !important; align-items: center; gap: 7px; font-weight: 600; }
.bagli-nokta { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #7d8aa8; }
.bagli-acik { border-color: rgba(70, 200, 120, .6); }
.bagli-acik .bagli-nokta { background: #3fd07a; box-shadow: 0 0 0 4px rgba(63, 208, 122, .2); }
.bagli-islem { justify-items: end; }
.bagli-islem button { white-space: nowrap; }
@media (max-width: 860px) {
  .bagli-satir { grid-template-columns: 1fr 1fr; }
  .bagli-ad, .bagli-durum { grid-column: 1 / -1; }
  .bagli-islem { grid-column: 1 / -1; justify-items: start; }
}
