:root {
  --ink: #071422;
  --lacivert: #0b1526;
  --kuzey: #2f6bff;
  --kuzey-koyu: #1d4ed8;
  --paper: #eef2f8;
  --kart: #ffffff;
  --cizgi: #d5deeb;
  --yazi: #0f1b2d;
  --soluk: #5b6b82;
  --basari: #146c3a;
  --basari-zemin: #e7f6ec;
  --hata: #b42318;
  --hata-zemin: #fdecec;
  --uyari-zemin: #fff4e5;
  --golge: 0 16px 40px rgba(7, 20, 34, 0.08);
  --yan: 252px;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--yazi);
  background: var(--paper);
}

a { color: var(--kuzey); text-decoration: none; }
a:hover { text-decoration: underline; }

button, input, select, textarea { font: inherit; }

.kabuk {
  display: grid;
  grid-template-columns: var(--yan) minmax(0, 1fr);
  min-height: 100vh;
}

.yan {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh; /* telefonda adres çubuğu payı */
  display: flex;
  flex-direction: column;
  padding: 22px 16px 16px;
  background:
    linear-gradient(180deg, rgba(47, 107, 255, 0.22), transparent 200px),
    var(--ink);
  color: #f4f7ff;
}

.marka {
  display: block;
  flex: none;
  color: inherit;
  text-decoration: none;
  padding: 4px 10px 18px;
}

.marka:hover { text-decoration: none; }

.marka-ust {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marka-alt {
  display: block;
  margin-top: 2px;
  color: #9eb0cc;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Yan menü kendi içinde kayar: kısa ekranda alttaki kalemlere de ulaşılır, marka ve kullanıcı bilgisi yerinde kalır */
.menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0 -6px;
  padding: 0 6px 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.menu::-webkit-scrollbar { width: 6px; }
.menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 6px; }

.menu-bolum, .menu-grup-ic { display: flex; flex-direction: column; gap: 2px; }
.menu-hesap { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* Açılır grup başlığı */
.menu-grup { margin-top: 6px; }
.menu-grup > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #9eb0cc;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.menu-grup > summary::-webkit-details-marker { display: none; }
.menu-grup > summary:hover { color: #f4f7ff; background: rgba(255, 255, 255, 0.05); }
.menu-grup > summary:focus-visible { outline: 2px solid var(--kuzey); outline-offset: 1px; }
.menu-grup.aktif-grup > summary { color: #c5d4ee; }
.menu-ok {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}
.menu-grup[open] > summary .menu-ok { transform: rotate(180deg); }
.menu-grup-ic { padding: 2px 0 4px 8px; margin-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
@media (prefers-reduced-motion: reduce) { .menu-ok { transition: none; } }

.menu a {
  color: #f4f7ff;
  text-decoration: none;
  border-radius: 10px;
  padding: 9px 12px;
  border-left: 3px solid transparent;
}
.menu-grup-ic a { padding: 8px 12px; font-size: 14.5px; }

.menu a:hover,
.menu a.aktif {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.menu a.aktif { border-left-color: var(--kuzey); }

.yan-alt {
  flex: none;
  margin-top: auto;
  padding: 14px 10px 0;
  color: #9eb0cc;
  font-size: 13px;
}

.yan-alt .rol {
  display: block;
  margin-top: 4px;
  color: #c5d4ee;
  font-size: 12px;
}

.ana { min-width: 0; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.92);
  /* Buzlu cam: altından kayan sekme/kartlar okunur hayalet bırakmaz */
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--cizgi);
  position: sticky;
  top: 0;
  z-index: 2;
}

.topbar h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
}

.kim {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--soluk);
}

.icerik { padding: 24px 28px 48px; }

.perde { display: none; }

.sayfa-ust {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filtre {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filtre .girdi { width: auto; min-width: 180px; }

.kart {
  background: var(--kart);
  border: 1px solid var(--cizgi);
  border-radius: 16px;
  box-shadow: var(--golge);
}

.sayilar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.sayilar.iki { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sayilar.uc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sayilar.bes { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.sayi {
  display: block;
  padding: 16px 18px;
  color: inherit;
  text-decoration: none;
}

.sayi:hover { text-decoration: none; border-color: #9db4e8; }

.sayi span {
  display: block;
  color: var(--soluk);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sayi strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
  line-height: 1;
}

.sayi p {
  margin: 8px 0 0;
  color: var(--yazi);
  font-size: 14px;
  line-height: 1.45;
}

.sayi.uyari { background: var(--uyari-zemin); }

.hosgeldin {
  margin: 0 0 20px;
}

.hosgeldin p {
  margin: 0 0 6px;
  color: var(--soluk);
  font-size: 14px;
}

.hosgeldin h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.rol-rozet {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  background: #e8eefe;
  color: var(--kuzey-koyu);
  font-size: 12px;
  font-weight: 650;
}

.bolum-baslik {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 8px 2px 10px;
}

.bolum-baslik h2 { margin: 0; font-size: 18px; }

table { width: 100%; border-collapse: collapse; }

th, td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--cizgi);
  text-align: left;
  vertical-align: middle;
}

th {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--soluk);
  background: #f4f7fc;
}

tr:last-child td { border-bottom: 0; }

tbody tr:hover td { background: #f6f8fd; }

.sag { text-align: right; white-space: nowrap; }

/* İşlem hücresi tablo hücresi olarak kalır (flex olursa telefonda satırın dışına taşıyordu) */
.islemler { white-space: nowrap; text-align: right; }
.islemler > * + * { margin-left: 8px; }

.tehlike { color: var(--hata); }

.bos {
  padding: 28px 14px;
  color: var(--soluk);
  text-align: center;
}

.rozet {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  background: #e8eefe;
  color: var(--kuzey-koyu);
  font-size: 12px;
  font-weight: 650;
}

.rozet.yok { background: #eef1f6; color: var(--soluk); }
.rozet.acik { background: var(--basari-zemin); color: var(--basari); }
.rozet.kapali { background: var(--hata-zemin); color: var(--hata); }
.rozet.yeni {
  background: #8b1111;
  color: #fff;
  animation: yeni-yanip-son 1.2s ease-in-out infinite;
}

@keyframes yeni-yanip-son {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.sayfalama {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  color: var(--soluk);
  font-size: 14px;
}

.sayfa-nolar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.sayfa {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cizgi);
  border-radius: 10px;
  background: white;
  color: var(--yazi);
  font-weight: 650;
  text-decoration: none;
}

a.sayfa:hover {
  background: #eef3fb;
  color: var(--yazi);
  text-decoration: none;
}

.sayfa.aktif {
  background: var(--kuzey);
  border-color: var(--kuzey);
  color: white;
}

.sayfa.pasif { opacity: 0.35; }

.sayfa.nokta {
  min-width: 24px;
  border: 0;
  background: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--kuzey);
  color: white;
  cursor: pointer;
  text-decoration: none;
  font-weight: 650;
}

.btn:hover { background: var(--kuzey-koyu); text-decoration: none; color: white; }

.btn-soluk {
  background: transparent;
  color: var(--yazi);
  border: 1px solid var(--cizgi);
}

.btn-soluk:hover { background: #eef3fb; color: var(--yazi); }

.btn-kucuk {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--cizgi);
  background: white;
  color: var(--yazi);
  font-size: 13px;
  font-weight: 650;
}

.btn-kucuk:hover {
  background: #eef3fb;
  color: var(--yazi);
}

.btn-sil {
  border-color: #f0c9c9;
  background: white;
  color: var(--hata);
}

.btn-sil:hover {
  background: var(--hata-zemin);
  color: var(--hata);
}

.btn-tehlike { background: var(--hata); }
.btn-genis { width: 100%; }
.btn-yazi {
  background: transparent;
  color: #f4f7ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 10px;
}

.btn-yazi:hover { background: rgba(255, 255, 255, 0.08); color: white; }

.menu-btn { display: none; }

.cikis-form { margin: 0; }

.form-dar { max-width: 640px; padding: 22px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.urun-form { display: grid; gap: 16px; }

.urun-form section { padding: 18px 18px 8px; }

.urun-form h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.alan { margin-bottom: 14px; }
.alan.genis { grid-column: 1 / -1; }

label { display: block; margin-bottom: 6px; font-weight: 650; }

.yildiz { color: var(--kuzey); margin-left: 3px; }

.girdi, textarea.girdi, select.girdi {
  width: 100%;
  border: 1px solid #c9d4e6;
  background: white;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--yazi);
}

.girdi:focus, textarea.girdi:focus, select.girdi:focus {
  outline: 2px solid rgba(47, 107, 255, 0.28);
  border-color: var(--kuzey);
}

textarea.girdi { resize: vertical; }

.gorsel-onizleme {
  display: block;
  width: 160px;
  height: 160px;
  margin: 8px 0;
  object-fit: cover;
  border: 1px solid var(--cizgi);
  border-radius: 12px;
  background: #eef3fb;
}

.marka-logo {
  display: block;
  width: 96px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--cizgi);
  border-radius: 8px;
}

.marka-logo.buyuk {
  width: 200px;
  height: 100px;
  margin: 8px 0;
}

.kutu-satir {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}

.yardim, .hata { margin: 6px 0 0; font-size: 13px; }
.yardim { color: var(--soluk); }
.hata, .errorlist { color: var(--hata); }
.errorlist { list-style: none; padding: 0; margin: 0 0 12px; }

.form-aksiyon {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.alert.success, .alert.basari { background: var(--basari-zemin); color: var(--basari); }
.alert.error, .alert.hata { background: var(--hata-zemin); color: var(--hata); }
.alert.warning { background: var(--uyari-zemin); color: #7a4e00; }

.mesajlar { margin-bottom: 8px; }

body.giris-sayfa {
  background: var(--ink);
  color: #f4f7ff;
}

.giris-kabuk {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 36vw);
  overflow: hidden;
}

/* Giriş ekranı kar efekti (kar.js): tam ekran, tıklamayı engellemez.
   Arka planın üstünde, formun (girdiler, düğmeler, yazılar) ARKASINDA kalır. */
.kar {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.giris-form-ic { position: relative; z-index: 2; }

/* Telefonda basılı tutunca resim menüsü ("sekmede aç", "resmi kaydet") ve yazı seçimi çıkmasın;
   sayfa kaydırılmadığı için kaydırma hareketi de kapalı (basılı tutma kesilmesin), yakınlaştırma açık */
.giris-kabuk {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pinch-zoom;
}

.giris-form-alan input,
.giris-form-alan button { text-shadow: none; }

.giris-kabuk input {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
}

.giris-gorsel img {
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Masaüstü: karlı bina (havadan) fotoğrafı TÜM arka planı kaplar; form sağda buzlu cam panelde.
   Telefon (≤860 px) aşağıda: dikey karlı cephe fotoğrafı (<picture> ile ayrı dosya). */
.giris-gorsel {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #06101c;
}

.giris-gorsel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 12, 24, 0.08) 0%, rgba(6, 12, 24, 0.16) 55%, rgba(6, 12, 24, 0.42) 100%),
    rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.giris-gorsel picture { display: contents; }

/* Işık sırası katmanları (giris-sira.js): ana fotoğrafla aynı kadraj, anında açılıp kapanır (titreme) */
.giris-sira-kare {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.giris-sira-kare.acik { opacity: 1; }
.giris-sira-kare.yumusak { transition: opacity 0.9s ease; }

.giris-gorsel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  display: block;
}

/* Form sağda, çok saydam ince cam panelde (13 Kasım kullanıcı isteği); fotoğraf arkadan belirgin görünür.
   Yazılar açık fotoğrafta okunsun diye hafif gölgeli. */
.giris-form-alan {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2; /* kar (z-index 1) formun arkasında kalsın */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  /* Bulanıklık (backdrop-filter) yok: Chrome'da fotoğrafı aynalı/çok bulanık gösteriyordu; yalnız hafif renk */
  background:
    linear-gradient(180deg, rgba(7, 20, 34, 0.22) 0%, rgba(7, 20, 34, 0.32) 100%);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.giris-form-ic {
  width: min(420px, 100%);
  text-align: center;
}

.giris-logo {
  width: 16px;
  height: 16px;
  margin: 0 auto 14px;
  background: #e11d2e;
  transform: rotate(45deg);
  border-radius: 2px;
}

.giris-unvan {
  margin: 0 0 28px;
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.giris-unvan span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
}

.giris-form-ic h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 650;
  color: #fff;
}

.giris-form-ic h1.giris-baslik { margin-bottom: 28px; }

.giris-form-ic .alt {
  margin: 0 0 28px;
  color: #9eb0cc;
  font-size: 15px;
}

.giris-alan {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  margin-bottom: 12px;
  padding: 0 16px;
  background: #fff;
  border-radius: 999px;
}

.giris-ikon,
.giris-goz {
  width: 22px;
  height: 22px;
  color: #8a97ab;
  flex: 0 0 auto;
}

.giris-ikon svg,
.giris-goz svg {
  display: block;
  width: 100%;
  height: 100%;
}

.giris-girdi {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #1a2433;
  padding: 12px 4px;
}

.giris-girdi:focus { outline: none; }

.giris-girdi::placeholder { color: #8a97ab; }

.giris-goz {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.giris-form-ic .hata,
.giris-form-ic .errorlist {
  text-align: left;
  margin: -4px 8px 10px;
}

.giris-satir {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 4px 18px;
  font-size: 14px;
}

.giris-hatirla {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #c5d4ee;
  font-weight: 500;
}

.giris-hatirla input { accent-color: var(--kuzey); }

.giris-satir a { color: #c5d4ee; }

.giris-satir a:hover { color: #fff; }

.giris-btn {
  border-radius: 999px;
  min-height: 50px;
  background: var(--kuzey);
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.28);
}

.giris-not {
  margin: 22px 0 0;
  color: #7d8da6;
  font-size: 13px;
}

.giris-don {
  display: inline-block;
  margin-top: 18px;
  color: #c5d4ee;
}

.giris-don:hover { color: #fff; }

@media (max-width: 980px) {
  .sayilar,
  .sayilar.uc,
  .sayilar.bes { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .giris-kabuk { position: relative; grid-template-columns: 1fr; }
  /* Telefonda dikey karlı cephe fotoğrafı tam ekran arka plan; fotoğraf açık renkli olduğu için masaüstünden çok daha koyu karartılır */
  .giris-gorsel img { object-position: 50% 32%; }
  .giris-sira-kare { display: none; } /* ışık sırası yalnız masaüstünde */
  .giris-gorsel::after {
    background:
      linear-gradient(180deg, rgba(6, 12, 24, 0.55) 0%, rgba(6, 12, 24, 0.35) 45%, rgba(6, 12, 24, 0.6) 100%),
      rgba(0, 0, 0, 0.5);
  }
  .giris-form-alan {
    grid-column: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 28px 20px 40px;
    border-left: 0;
    background: transparent;
  }
  .giris-unvan { font-size: 34px; }
  .giris-form-ic h1 { font-size: 24px; }
}

@media (max-width: 800px) {
  .kabuk { display: block; }
  .yan {
    position: fixed;
    z-index: 5;
    width: min(84vw, 300px);
    transform: translateX(-105%);
    transition: transform 0.18s ease;
  }
  body.nav-acik .yan { transform: none; }
  .menu-btn { display: inline-flex; }
  .perde {
    display: none;
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(7, 20, 34, 0.5);
    z-index: 4;
  }
  body.nav-acik .perde { display: block; }
  .topbar, .icerik { padding-left: 16px; padding-right: 16px; }
  .sayilar.iki { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .sayilar { grid-template-columns: 1fr; }
  .hosgeldin h2 { font-size: 24px; }
}

.siparis { display: grid; gap: 16px; }

.siparis-orta {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.siparis-ara-satir { display: flex; align-items: center; gap: 8px; }
.siparis-ara-satir .siparis-ara-kutu { flex: 1; min-width: 0; }
#cariYeni { flex-shrink: 0; }

.siparis-ust,
.siparis-urun,
.siparis-alt { padding: 18px; }

.siparis-kart-baslik,
.siparis-toplam {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.siparis-kart-baslik h2,
.siparis-alt h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.siparis-filtre {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.siparis-ara-kutu { position: relative; }

.siparis-sonuc {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--cizgi);
  border-radius: 12px;
  box-shadow: var(--golge);
}

.siparis-sonuc button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--cizgi);
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
}

.siparis-sonuc button:last-child { border-bottom: 0; }
.siparis-sonuc button:hover { background: #eef3fb; }
.siparis-sonuc strong,
.siparis-satir strong { display: block; }
.siparis-sonuc span,
.siparis-satir span {
  display: block;
  color: var(--soluk);
  font-size: 13px;
}

.siparis-liste { display: grid; gap: 8px; max-height: 420px; overflow: auto; }

.siparis-satir {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--cizgi);
  border-radius: 12px;
}

.siparis-ekle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.siparis-ekle .siparis-koli input.girdi { width: 64px; padding: 8px; }
.siparis-ekle .siparis-koli select.girdi { width: 82px; padding: 8px 6px; }

.siparis-koli {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 650;
  color: var(--soluk);
}

.siparis-sepet { padding: 12px; }

.siparis-kalem { table-layout: fixed; }
.siparis-kalem th,
.siparis-kalem td { padding: 6px 4px; font-size: 12px; }
.siparis-kalem th { font-size: 10px; letter-spacing: 0; }
.siparis-kalem td strong { font-size: 12px; line-height: 1.3; }
.siparis-kalem th:nth-child(n + 2),
.siparis-kalem td:nth-child(n + 2) {
  white-space: nowrap;
  text-align: right;
}
.siparis-kalem th:nth-child(2),
.siparis-kalem td:nth-child(2) { width: 88px; }
.siparis-kalem th:nth-child(3),
.siparis-kalem td:nth-child(3) { width: 72px; }
.siparis-kalem th:nth-child(4),
.siparis-kalem td:nth-child(4) { width: 118px; padding-right: 8px; }
.siparis-kalem .girdi { padding: 6px 8px; border-radius: 8px; font-size: 12px; }
.siparis-kalem th:last-child,
.siparis-kalem td:last-child { width: 52px; padding-left: 2px; padding-right: 0; }
.siparis-kalem-ad { overflow-wrap: anywhere; }
.siparis-kalem-ad span {
  display: block;
  margin-top: 2px;
  color: var(--soluk);
  font-size: 11px;
  line-height: 1.35;
}
.siparis-sepet .rozet { padding: 1px 6px; font-size: 10px; }
.siparis-sepet .btn-kucuk { padding: 3px 7px; font-size: 11px; }

.siparis-toplamlar {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--cizgi);
}

.siparis-sepet .siparis-toplam strong { font-size: 16px; }

.siparis-detay {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.siparis-acil { display: flex; flex-wrap: wrap; gap: 8px; }
.siparis-acil .btn { border: 1px solid var(--cizgi); background: #fff; color: var(--yazi); }
.siparis-acil .btn:hover { background: #f4f7fc; color: var(--yazi); }
.siparis-acil [data-acil="normal"] { --acil: #1f9d55; --acil-koyu: #178746; }
.siparis-acil [data-acil="acil"] { --acil: #f97316; --acil-koyu: #ea580c; }
.siparis-acil [data-acil="cok-acil"] { --acil: #dc2626; --acil-koyu: #b91c1c; }
.siparis-acil .btn.aktif {
  background: var(--acil);
  border-color: var(--acil);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(7, 20, 34, 0.16);
}
.siparis-acil .btn.aktif:hover { background: var(--acil-koyu); color: #fff; }

.siparis-odeme-alan { margin-bottom: 14px; }
.siparis-odeme { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.siparis-odeme .btn { border: 1px solid var(--cizgi); background: #fff; color: var(--yazi); }
.siparis-odeme .btn:hover { background: #f4f7fc; color: var(--yazi); }
.siparis-odeme .btn.aktif {
  background: var(--kuzey);
  border-color: var(--kuzey);
  color: #fff;
}
.siparis-odeme .btn.aktif:hover { background: var(--kuzey-koyu); color: #fff; }
.siparis-odeme .girdi { flex: 1; min-width: 160px; }
.siparis-odeme-alan .yardim { margin: 8px 0 0; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 20, 34, 0.55);
}

.modal[hidden] { display: none; }

.modal-kart {
  width: min(720px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--golge);
}

.modal-kart h2 { margin: 0 0 8px; }
.modal-kart h3 { margin: 16px 0 10px; font-size: 15px; }
.modal-kart .form-aksiyon { margin-top: 16px; }

.sorgu .siparis-ekle .btn {
  border-color: var(--kuzey);
  background: var(--kuzey);
  color: #fff;
}

.sorgu .siparis-ekle .btn:hover {
  border-color: var(--kuzey-koyu);
  background: var(--kuzey-koyu);
  color: #fff;
}

.sorgu-filtre { grid-template-columns: 1.4fr 1fr; }

.sorgu-kat,
.sorgu-tur { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sorgu-kur { margin-left: auto; white-space: nowrap; }
.sorgu-kat { margin-bottom: 12px; }
.sorgu-tur { margin-top: 14px; }

.sorgu-kat .btn,
.sorgu-tur .btn {
  border: 1px solid var(--cizgi);
  background: #fff;
  color: var(--yazi);
}
/* Kategori düğmeleri küçük hap (24 Kasım; önceden kalın büyük düğmeydi). Telefon kuralı aşağıda ayrıca. */
.sorgu-kat { gap: 6px; }
.sorgu-kat .btn {
  min-height: 0;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.sorgu-kat .btn:hover,
.sorgu-tur .btn:hover { background: #f4f7fc; color: var(--yazi); }
.sorgu-kat .btn.aktif,
.sorgu-tur .btn.aktif {
  background: var(--kuzey);
  border-color: var(--kuzey);
  color: #fff;
}
.sorgu-kat .btn.aktif:hover,
.sorgu-tur .btn.aktif:hover { background: var(--kuzey-koyu); color: #fff; }

.sorgu-fiyatlar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sorgu-fiyat {
  min-width: 96px;
  padding: 6px 8px;
  border: 1px solid var(--cizgi);
  border-radius: 10px;
  background: #f7f9fc;
}
.sorgu-fiyat small {
  display: block;
  color: var(--soluk);
  font-size: 10px;
  font-weight: 700;
}
.sorgu-fiyat strong { font-size: 13px; }
.sorgu-fiyat.aktif { border-color: var(--kuzey); background: #eaf0ff; }

.sorgu-kalem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
}
.sorgu-kalem-ad { grid-row: 1 / span 2; min-width: 0; }
.sorgu-kalem .sorgu-fiyatlar {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  flex-wrap: nowrap;
  justify-content: center;
}
.sorgu-kalem .btn-sil { grid-column: 3; grid-row: 1; align-self: center; }
.sorgu-kalem .sorgu-fiyat { min-width: 0; padding: 3px 6px; }
.sorgu-kalem .sorgu-fiyat small { font-size: 9px; }
.sorgu-kalem .sorgu-fiyat strong { font-size: 12px; white-space: nowrap; }
.sorgu-kalem .siparis-ekle {
  grid-column: 2 / span 2;
  grid-row: 2;
  width: auto;
  justify-content: flex-end;
}
.sorgu-satir-tutar { font-size: 14px; }
.sorgu .siparis-liste { max-height: 560px; }
.sorgu-tutar strong { font-size: 20px; }

.sorgu-ust {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 16px;
}
.sorgu-pdf {
  grid-column: 1;
  height: 320px;
  margin: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-color: #e7eef8;
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 1px rgba(7, 20, 34, 0.04),
    0 10px 20px rgba(15, 40, 80, 0.08),
    0 22px 40px rgba(7, 20, 34, 0.12);
}
.sorgu-pdf [hidden] { display: none !important; }
.sorgu-pdf > div:not([hidden]) {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#sorguPdfGiris {
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
#sorguPdfGiris .sorgu-pdf-kimlik { flex-direction: column; }
.sorgu-pdf-baslik,
.sorgu-pdf-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sorgu-pdf-kimlik { display: flex; align-items: center; gap: 12px; min-width: 0; }
/* Katalog oluşturucu: anasayfadaki tasarımın aynısı (kırmızı rozet ve düğmeler, yan yana efektli karolar, yanıp sönen Geri) */
.sorgu-pdf-rozet {
  position: relative;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(145deg, #ef4444, #b91c1c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 16px -6px rgba(211, 15, 15, .6);
}
.sorgu-pdf-rozet::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 13px;
  height: 17px;
  border: 1.5px solid #fff;
  border-radius: 2px;
}
.sorgu-pdf-rozet::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 15px;
  width: 7px;
  height: 1.5px;
  background: #fff;
  box-shadow: 0 3px 0 #fff;
}
#sorguPdfGiris { background: linear-gradient(180deg, #fff 0%, #fef2f2 100%); margin: -16px; padding: 16px; }
/* Masaüstü: katalog kartı kapalıyken Sipariş ekranındaki cari şeridi gibi ince, tam genişlik bir şerit
   (24 Kasım; önceden 320 px yükseklik ve sağı boş kalıyordu). Marka/kategori menüsü açılınca eski boyuna döner. */
@media (min-width: 981px) {
  .sorgu-pdf:has(> #sorguPdfGiris:not([hidden])) { grid-column: 1 / -1; height: auto; }
  #sorguPdfGiris {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    background: linear-gradient(90deg, #fff 0%, #fef2f2 100%);
  }
  #sorguPdfGiris .sorgu-pdf-kimlik { flex-direction: row; }
}
.sorgu-pdf h2 { margin: 0; font-size: 15px; letter-spacing: -0.01em; }
.sorgu-pdf-baslik .yardim { margin: 2px 0 0; font-size: 12.5px; line-height: 1.35; }
.sorgu-pdf-ac {
  flex: none;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #d30f0f;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px -8px rgba(211, 15, 15, .7);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.sorgu-pdf-ac:hover { background: #b91c1c; }
.sorgu-pdf-ac:active { transform: scale(.97); }

/* Geri: kırmızı hap, 3 sn'de bir yavaşça beyaza dönüp geri gelir */
.sorgu-pdf-geri {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  padding: 5px 12px 5px 9px; border: 1px solid #d30f0f; border-radius: 999px;
  background: #d30f0f; color: #fff; font: inherit; font-size: 12px; font-weight: 800; line-height: 1.2;
  box-shadow: 0 6px 14px -8px rgba(211, 15, 15, .8);
  animation: sorgu-geri-nabiz 3s ease-in-out infinite;
  cursor: pointer; transition: transform .15s;
}
.sorgu-pdf-geri svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sorgu-pdf-geri:hover { animation-play-state: paused; background: #b91c1c; border-color: #b91c1c; color: #fff; transform: translateX(-2px); }
@keyframes sorgu-geri-nabiz {
  0%, 35%, 100% { background: #d30f0f; color: #fff; }
  65% { background: #fff; color: #d30f0f; }
}

/* Yan yana iki efektli karo */
.sorgu-pdf-yollar { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.sorgu-pdf-yol {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 0; padding: 12px 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px;
  color: #fff; font: inherit; text-align: center; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 22px -12px var(--yol-golge);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, filter .2s;
}
.sorgu-pdf-yol.kirmizi { --yol-golge: rgba(211, 15, 15, .75); background: radial-gradient(120% 90% at 20% 0%, #ff5a5a 0%, #d30f0f 45%, #8f0a0a 100%); }
.sorgu-pdf-yol.koyu { --yol-golge: rgba(15, 23, 42, .8); background: radial-gradient(120% 90% at 20% 0%, #475569 0%, #1e293b 45%, #020617 100%); }
.sorgu-pdf-yol::before {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: -60%; z-index: -1; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.sorgu-pdf-yol::after {
  content: ""; position: absolute; right: -30%; bottom: -45%; z-index: -1; width: 90%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 65%);
  transition: transform .4s ease;
}
.sorgu-pdf-yol:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 30px -12px var(--yol-golge); filter: saturate(1.1); }
.sorgu-pdf-yol:hover::before { left: 120%; }
.sorgu-pdf-yol:hover::after { transform: scale(1.25); }
.sorgu-pdf-yol:active { transform: translateY(0) scale(.97); }
.sorgu-pdf-yol:focus-visible { outline: 3px solid rgba(211, 15, 15, .45); outline-offset: 3px; }
.sorgu-pdf-yol-ikon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.sorgu-pdf-yol svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sorgu-pdf-yol-ikon svg { width: 22px; height: 22px; }
.sorgu-pdf-yol:hover .sorgu-pdf-yol-ikon { transform: scale(1.1) rotate(-6deg); }
.sorgu-pdf-yol-yazi { display: grid; gap: 1px; line-height: 1.15; }
.sorgu-pdf-yol-yazi b { font-size: 14px; font-weight: 800; }
.sorgu-pdf-yol-yazi small { font-size: 11px; font-weight: 600; opacity: .75; text-transform: uppercase; letter-spacing: .08em; }
.sorgu-pdf-yol-ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .18); transition: transform .2s; }
.sorgu-pdf-yol-ok svg { width: 14px; height: 14px; }
.sorgu-pdf-yol:hover .sorgu-pdf-yol-ok { transform: translateX(4px); }

/* Liste ekranları */
.sorgu-pdf-ust { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sorgu-pdf-liste-baslik { color: #334155; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sorgu-pdf-hepsi {
  padding: 5px 12px; border: 1px solid #d30f0f; border-radius: 10px;
  background: #fff; color: #d30f0f; font: inherit; font-size: 12px; font-weight: 800; line-height: 1.3; white-space: nowrap;
  cursor: pointer; transition: background .15s, color .15s;
}
.sorgu-pdf-hepsi.aktif { background: #d30f0f; color: #fff; }
.sorgu-pdf-hepsi:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.sorgu-pdf button:disabled { opacity: 0.45; cursor: not-allowed; }
.sorgu-pdf-liste {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 0;
  margin: 10px 0;
  overflow: auto;
}
.sorgu-pdf-satir {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #1e293b;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.sorgu-pdf-satir.aktif { border-color: #dc2626; background: #fef2f2; }
.sorgu-pdf-kutu {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.sorgu-pdf-satir.aktif .sorgu-pdf-kutu { border-color: #d30f0f; background: #d30f0f; }
.sorgu-pdf-satir.aktif .sorgu-pdf-kutu::after { content: "✓"; }
.sorgu-pdf-olustur {
  flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 12px;
  background: #d30f0f; color: #fff; font: inherit; font-size: 14px; font-weight: 800;
  box-shadow: 0 8px 18px -10px rgba(211, 15, 15, .8); cursor: pointer; transition: background .15s;
}
.sorgu-pdf-olustur:hover:not(:disabled) { background: #b91c1c; }
@media (prefers-reduced-motion: reduce) {
  .sorgu-pdf-geri { animation: none; }
  .sorgu-pdf-yol, .sorgu-pdf-yol::before, .sorgu-pdf-yol::after, .sorgu-pdf-yol-ikon, .sorgu-pdf-yol-ok { transition: none; }
}
.sorgu-pdf-hata { margin: 10px 0 0; color: #b42318; font-size: 13px; }

/* Masaüstünde (801 px+) bütün panel sayfaları %80 ölçekte (24 Kasım; önce yalnız Ürün sorgula böyleydi).
   Giriş / parola ekranı hariç. zoom altında 100vh görünürde %80 kalır, o yüzden tam boy öğeler / 0.8 ile büyütülür. */
@media (min-width: 801px) {
  body:not(.giris-sayfa) {
    zoom: 0.8;
    min-height: calc(100vh / 0.8);
    min-height: calc(100dvh / 0.8);
  }

  body:not(.giris-sayfa) .kabuk {
    min-height: calc(100vh / 0.8);
    min-height: calc(100dvh / 0.8);
  }

  body:not(.giris-sayfa) .yan {
    height: calc(100vh / 0.8);
    height: calc(100dvh / 0.8);
  }

  /* Tam ekran barkod kamerası: genişliği inset: 0 versin (100vw zoom altında ekranı doldurmaz) */
  body:not(.giris-sayfa) .bk { width: auto; height: auto; }
}

@media (max-width: 980px) {
  .siparis-orta,
  .sorgu-ust,
  .siparis-filtre,
  .sorgu-filtre,
  .siparis-detay { grid-template-columns: 1fr; }
  .sorgu-pdf { height: 256px; }
}

@media (max-width: 800px) {
  .sorgu-sayfa { font-size: 14px; }
  .sorgu-sayfa .icerik { padding: 12px 12px 28px; }
  .sorgu-sayfa .topbar { gap: 8px; padding: 8px 12px; }
  .sorgu-sayfa .kim { gap: 8px; min-width: 0; }
  .sorgu-sayfa .topbar h1 {
    min-width: 0;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sorgu-sayfa .menu-btn,
  .sorgu-sayfa .cikis-form .btn { flex: none; padding: 6px 8px; font-size: 13px; }
  .sorgu,
  .sorgu-ust,
  .siparis-orta,
  .sorgu-pdf,
  .sorgu .siparis-urun,
  .sorgu .siparis-sepet,
  .sorgu .siparis-satir,
  .sorgu .siparis-ekle,
  .sorgu-fiyatlar {
    min-width: 0;
    max-width: 100%;
  }
  .sorgu { gap: 10px; }
  .sorgu-pdf { height: 188px; padding: 12px; }
  #sorguPdfGiris { gap: 8px; }
  .sorgu-pdf h2 { font-size: 14px; }
  .sorgu-pdf-baslik .yardim { font-size: 11.5px; }
  .sorgu-pdf-rozet { width: 28px; height: 28px; border-radius: 8px; }
  .sorgu-pdf-rozet::before { left: 8px; top: 6px; width: 11px; height: 13px; }
  .sorgu-pdf-rozet::after { left: 10px; top: 10px; width: 6px; }
  .sorgu-pdf-ac { min-height: 34px; padding: 0 14px; font-size: 13px; }
  .sorgu .siparis-urun,
  .sorgu .siparis-sepet { padding: 10px; }
  .sorgu .siparis-kart-baslik h2 { margin-bottom: 8px; font-size: 14px; }
  .sorgu-kat {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .sorgu-kat::-webkit-scrollbar { display: none; }
  .sorgu-kat .btn { flex: none; min-height: 32px; padding: 4px 10px; font-size: 12px; }
  .sorgu-filtre { grid-template-columns: 1fr; gap: 6px; margin-bottom: 8px; }
  .sorgu .girdi { min-height: 36px; padding: 6px 10px; font-size: 16px; }
  .sorgu .siparis-liste { max-height: 58vh; gap: 6px; }
  .sorgu .siparis-satir {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .sorgu .siparis-satir strong { font-size: 13.5px; }
  .sorgu .siparis-satir span { font-size: 11.5px; }
  .sorgu .siparis-ekle { width: 100%; gap: 6px; }
  .sorgu .siparis-koli { flex: 1; min-width: 0; }
  .sorgu .siparis-ekle .siparis-koli input.girdi,
  .sorgu .siparis-ekle .siparis-koli select.girdi {
    width: auto;
    min-width: 0;
    flex: 1;
    min-height: 34px;
  }
  .sorgu .siparis-ekle .btn { flex: none; min-height: 34px; padding: 4px 10px; font-size: 13px; }
  .sorgu-fiyatlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
  .sorgu-fiyat { min-width: 0; padding: 4px 6px; border-radius: 8px; }
  .sorgu-fiyat small { font-size: 9px; }
  .sorgu-fiyat strong {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sorgu .sorgu-kalem {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
  }
  .sorgu-kalem .sorgu-kalem-ad,
  .sorgu-kalem .sorgu-fiyatlar { flex: 1 0 100%; width: 100%; }
  .sorgu-kalem .siparis-ekle,
  .sorgu-kalem .siparis-koli { display: contents; }
  .sorgu .sorgu-kalem .siparis-koli select.girdi,
  .sorgu .sorgu-kalem .siparis-koli input.girdi {
    min-width: 0;
    min-height: 32px;
    padding: 4px 6px;
    font-size: 13px;
    flex: none;
  }
  .sorgu .sorgu-kalem .siparis-koli select.girdi { width: 84px; }
  .sorgu .sorgu-kalem .siparis-koli input.girdi { width: 54px; }
  .sorgu-kalem .sorgu-satir-tutar {
    margin: 0;
    font-size: 13px;
    white-space: nowrap;
    flex: none;
  }
  .sorgu-kalem .btn-sil {
    width: auto;
    min-height: 32px;
    padding: 4px 10px;
    font-size: 12px;
    flex: none;
  }
  .sorgu-tur { gap: 6px; margin-top: 10px; }
  .sorgu-tur .btn:not(.sorgu-kur) { flex: 1 1 0; width: auto; min-height: 34px; padding: 6px 4px; font-size: 12px; }
  .sorgu-kur { flex: 0 0 auto; min-height: 34px; padding: 6px 8px; font-size: 12px; }
  .sorgu-tutar strong { font-size: 16px; }
  .sorgu-pdf-alt { flex-direction: column; align-items: stretch; }
  .sorgu-pdf-alt .sorgu-pdf-olustur { width: 100%; }
  .sorgu-pdf-yollar { gap: 8px; }
  .sorgu-pdf-yol { gap: 6px; padding: 10px 6px; border-radius: 16px; }
  .sorgu-pdf-yol-ikon { width: 38px; height: 38px; border-radius: 12px; }
  .sorgu-pdf-yol-ikon svg { width: 19px; height: 19px; }
  .sorgu-pdf-yol-yazi b { font-size: 13px; }
  .sorgu-pdf-yol-ok { display: none; }
}

@media (max-width: 800px) {
  .siparis-sayfa { font-size: 14px; }
  .siparis-sayfa .icerik { padding: 12px 12px 28px; }
  .siparis-sayfa .topbar { gap: 8px; padding: 8px 12px; }
  .siparis-sayfa .kim { gap: 8px; min-width: 0; }
  .siparis-sayfa .topbar h1 {
    min-width: 0;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .siparis-sayfa .menu-btn,
  .siparis-sayfa .cikis-form .btn { flex: none; padding: 6px 8px; font-size: 13px; }
  .siparis-sayfa .siparis { gap: 10px; }
  .siparis-sayfa .siparis-ust,
  .siparis-sayfa .siparis-orta,
  .siparis-sayfa .siparis-urun,
  .siparis-sayfa .siparis-sepet,
  .siparis-sayfa .siparis-alt,
  .siparis-sayfa .siparis-satir { min-width: 0; max-width: 100%; }
  .siparis-sayfa .kart { border-radius: 14px; }
  .siparis-sayfa .siparis-ust,
  .siparis-sayfa .siparis-urun,
  .siparis-sayfa .siparis-alt,
  .siparis-sayfa .siparis-sepet { padding: 10px; }
  .siparis-sayfa label { margin-bottom: 4px; font-size: 13px; }
  .siparis-sayfa .siparis-kart-baslik h2,
  .siparis-sayfa .siparis-alt h2 { margin-bottom: 8px; font-size: 14px; }
  .siparis-sayfa .girdi { min-height: 36px; padding: 6px 10px; font-size: 16px; }
  .siparis-sayfa .siparis-ara-satir { gap: 6px; }
  .siparis-sayfa #cariYeni { flex: none; min-height: 36px; padding: 6px 10px; font-size: 13px; }
  .siparis-sayfa .siparis-filtre { gap: 6px; margin-bottom: 8px; }
  .siparis-sayfa .siparis-liste { gap: 6px; }
  .siparis-sayfa .siparis-satir {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .siparis-sayfa .siparis-satir strong { font-size: 13.5px; }
  .siparis-sayfa .siparis-satir span { font-size: 11.5px; }
  .siparis-sayfa .siparis-ekle { width: 100%; gap: 6px; }
  .siparis-sayfa .siparis-koli { flex: 1; min-width: 0; }
  .siparis-sayfa .siparis-ekle .siparis-koli input.girdi,
  .siparis-sayfa .siparis-ekle .siparis-koli select.girdi {
    width: auto;
    min-width: 0;
    flex: 1;
    min-height: 34px;
  }
  .siparis-sayfa .siparis-ekle .btn { flex: none; min-height: 34px; padding: 4px 10px; font-size: 13px; }
  .siparis-sayfa .siparis-toplamlar { gap: 6px; margin-top: 10px; padding-top: 8px; }
  .siparis-sayfa .siparis-sepet .siparis-toplam strong { font-size: 15px; }
  .siparis-sayfa .siparis-detay { gap: 10px; margin-bottom: 10px; }
  .siparis-sayfa .siparis-acil { gap: 6px; }
  .siparis-sayfa .siparis-acil .btn,
  .siparis-sayfa .siparis-odeme .btn { min-height: 34px; padding: 6px 10px; font-size: 12px; }
  .siparis-sayfa .siparis-odeme-alan { margin-bottom: 10px; }
  .siparis-sayfa .form-aksiyon { gap: 8px; }
  .siparis-sayfa .form-aksiyon .btn { min-height: 36px; padding: 6px 12px; font-size: 13px; }
  .siparis-sayfa .siparis-kalem th,
  .siparis-sayfa .siparis-kalem td { padding: 4px 2px; }
  .siparis-sayfa .siparis-kalem .girdi { min-height: 32px; padding: 4px 4px; }
  .siparis-sayfa .modal { padding: 12px; }
  .siparis-sayfa .modal-kart { padding: 14px; border-radius: 14px; }
  .siparis-sayfa .modal-kart h2 { font-size: 16px; }
  .siparis-sayfa .modal-kart h3 { margin: 12px 0 8px; font-size: 13px; }
  .siparis-sayfa .sorgu-kalem .siparis-ekle,
  .siparis-sayfa .sorgu-kalem .siparis-koli { display: contents; }
  .siparis-sayfa .sorgu-kalem .siparis-koli select.girdi,
  .siparis-sayfa .sorgu-kalem .siparis-koli input.girdi {
    min-width: 0;
    min-height: 32px;
    padding: 4px 6px;
    font-size: 13px;
    flex: none;
  }
  .siparis-sayfa .sorgu-kalem .siparis-koli select.girdi { width: 84px; }
  .siparis-sayfa .sorgu-kalem .siparis-koli input.girdi { width: 54px; }
  .siparis-sayfa .sorgu-kalem .sorgu-satir-tutar {
    margin: 0;
    font-size: 13px;
    white-space: nowrap;
    flex: none;
  }
  .siparis-sayfa .sorgu-kalem .btn-sil {
    width: auto;
    min-height: 32px;
    padding: 4px 10px;
    font-size: 12px;
    flex: none;
  }
  /* Eklenen kalemler: Ürün sorgula ile birebir aynı satır düzeni (yukarıdaki .siparis-satir column kuralını ezer) */
  .siparis-sayfa .sorgu .sorgu-kalem {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
  }
  .siparis-sayfa .sorgu .sorgu-kalem .sorgu-satir-tutar { font-size: 13.5px; }
}

/* Döviz: panelin cam kart dili (açık zemin, koyu yazı); USD yeşil, EUR amber; kaynak durum çipi */
.doviz {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  background:
    radial-gradient(260px 120px at 0% 0%, rgba(16, 185, 129, 0.08), transparent 70%),
    radial-gradient(260px 120px at 100% 100%, rgba(245, 158, 11, 0.08), transparent 72%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
  color: #0f172a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 12px 24px -12px rgba(15, 23, 42, 0.14),
    0 28px 50px -28px rgba(30, 58, 138, 0.25);
}
.doviz-ust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
}
.doviz-baslik { display: flex; align-items: center; gap: 9px; }
.doviz-baslik-ikon {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
  background: linear-gradient(145deg, #3b74ff, #1d4ed8); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 12px -6px rgba(29, 78, 216, 0.7);
}
.doviz-baslik-ikon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.doviz-ust strong { color: #0f172a; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.doviz-durum {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0;
  padding: 3px 10px; border: 1px solid #a7f3d0; border-radius: 999px;
  background: #ecfdf5; color: #047857; font-size: 11.5px; font-weight: 650;
}
.doviz-durum i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
.doviz-durum.eski { border-color: #fde68a; background: #fffbeb; color: #b45309; }
.doviz-durum.eski i { box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }
.doviz-durum.yok { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.doviz-durum.yok i { box-shadow: none; }
.doviz-liste {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.doviz-kur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.8);
  transition: border-color .15s, box-shadow .15s;
}
.doviz-kur:hover { border-color: #bfdbfe; box-shadow: 0 8px 18px -12px rgba(29, 78, 216, 0.35); }
.doviz-kim { display: flex; align-items: center; gap: 10px; min-width: 0; }
.doviz-simge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  border: 1px solid transparent;
}
.doviz-simge svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.doviz-usd .doviz-simge { background: #ecfdf5; border-color: #a7f3d0; color: #059669; }
.doviz-eur .doviz-simge { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.doviz-kim strong { display: block; color: #0f172a; font-size: 15px; font-weight: 800; letter-spacing: 0.04em; }
.doviz-kim span { display: block; color: #64748b; font-size: 12px; }
.doviz-cift { display: flex; gap: 14px; flex: none; }
.doviz-cift div { text-align: right; }
.doviz-cift small {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.doviz-cift b { color: #334155; font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 700; }
.doviz-cift div:last-child b { color: #1d4ed8; font-weight: 800; }
.doviz-bos { margin: 0; color: #64748b; font-size: 13px; }

@media (max-width: 800px) {
  .doviz { padding: 12px; border-radius: 16px; }
  .doviz-liste { grid-template-columns: 1fr; }
  .doviz-simge { width: 34px; height: 34px; border-radius: 10px; }
  .doviz-simge svg { width: 18px; height: 18px; }
  .doviz-kim strong { font-size: 14px; }
  .doviz-cift { gap: 10px; }
  .doviz-cift b { font-size: 14px; }
  .doviz-durum { font-size: 11px; }
}

.depo-filtre {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.depo-filtre .btn {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--cizgi);
  border-radius: 999px;
  background: #fff;
  color: var(--yazi);
  font-size: 13px;
}
.depo-filtre .btn:hover { background: #f3f7ff; color: var(--yazi); }
.depo-filtre .btn.aktif,
.depo-filtre .btn.aktif:hover {
  background: var(--kuzey);
  border-color: var(--kuzey);
  color: #fff;
}
.depo-liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  max-width: 920px;
}
.depo-kart {
  padding: 14px 14px 12px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(7, 20, 34, 0.05);
}
.depo-kart.cok-acil {
  border-color: #e7b4b4;
  background:
    linear-gradient(90deg, #b42318 0 3px, transparent 3px),
    linear-gradient(180deg, #fff7f7 0%, #fff 56px);
  box-shadow: 0 8px 22px rgba(180, 35, 24, 0.08);
}
.depo-kimlik { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.depo-no { font-size: 15px; color: var(--kuzey-koyu); }
.depo-cari { margin: 6px 0 0; font-size: 14px; font-weight: 700; line-height: 1.35; }
.depo-rozet {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.depo-rozet.durum { background: #eaf0ff; color: var(--kuzey-koyu); }
.depo-rozet.aciliyet-0 { background: #eef2f8; color: var(--soluk); }
.depo-rozet.aciliyet-1 { background: #fff4e5; color: #9a3412; }
.depo-rozet.aciliyet-2 { background: #b42318; color: #fff; }
.depo-ozet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e7eef8;
}
.depo-ozet div { min-width: 0; }
.depo-ozet dt {
  color: var(--soluk);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.depo-ozet dd { margin: 1px 0 0; font-size: 13px; font-weight: 650; }
.depo-aciklama { margin: 10px 0 0; color: var(--yazi); font-size: 13px; line-height: 1.4; }
.depo-alt { display: flex; justify-content: flex-end; margin-top: 12px; }
.depo-alt .btn { min-height: 34px; padding: 6px 12px; border-radius: 10px; font-size: 13px; }

@media (max-width: 800px) {
  .depo-liste { grid-template-columns: 1fr; }
  .depo-filtre {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 12px;
    scrollbar-width: none;
  }
  .depo-filtre::-webkit-scrollbar { display: none; }
  .depo-filtre .btn { flex: none; }
  .depo-kart { padding: 12px; }
  .depo-alt .btn { width: 100%; min-height: 38px; }
}

/* Depo durum renkleri ve Görevlerim */
.depo-rozet.durum-0 { background: #eef2f8; color: var(--soluk); }
.depo-rozet.durum-1 { background: #fff4e5; color: #9a3412; }
.depo-rozet.durum-2 { background: var(--basari-zemin); color: var(--basari); }
.depo-rozet.durum-3 { background: #eaf0ff; color: var(--kuzey-koyu); }
.depo-rozet.durum-4 { background: var(--hata-zemin); color: var(--hata); }

.depo-filtre .gorev-sekme {
  margin-left: 6px;
  border-color: #b9ccf7;
  background: #f3f7ff;
  font-weight: 650;
  gap: 6px;
}
.depo-filtre .gorev-sekme.aktif .gorev-sayi { background: #fff; color: var(--kuzey-koyu); }
.gorev-sayi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--kuzey);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.btn-basari { background: var(--basari); }
.btn-basari:hover { background: #0f5730; }

.gorev-bolum { max-width: 1040px; margin-bottom: 22px; }
.gorev-bolum-ust {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 4px 0 10px;
}
.gorev-bolum-ust h2 { margin: 0; font-size: 16px; }
.gorev-bolum-not { color: var(--soluk); font-size: 12px; }

.gorev-bos { padding: 26px 18px; text-align: center; }
.gorev-bos p { margin: 6px 0 14px; color: var(--soluk); font-size: 14px; }
.gorev-gecmis-kap { overflow-x: auto; }
.gorev-gecmis td, .gorev-gecmis th { font-size: 13px; white-space: nowrap; }

/* ===== Görevlerim — cam kart tasarımı (gk-) ===== */
.gorev-sayfa .icerik {
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(47, 107, 255, 0.14), transparent 60%),
    radial-gradient(700px 380px at 100% 10%, rgba(124, 58, 237, 0.08), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(14, 165, 233, 0.08), transparent 60%);
}
.gk {
  --gk-murekkep: #0f172a;
  --gk-ikincil: #475569;
  --gk-soluk: #64748b;
  --gk-cizgi: rgba(148, 163, 184, 0.28);
  position: relative;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66));
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 12px 24px -12px rgba(15, 23, 42, 0.14),
    0 32px 60px -28px rgba(30, 58, 138, 0.28);
  scroll-margin-top: 16px;
}
.gk:target { box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.35), 0 32px 60px -28px rgba(30, 58, 138, 0.35); }
.gk.cok-acil::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #ef4444, #b91c1c);
}

/* Başlık */
.gk-bas { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.gk-no {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(145deg, #3b74ff 0%, #1d4ed8 55%, #1e3a8a 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.18),
    0 10px 20px -8px rgba(29, 78, 216, 0.6);
}
.gk-no span { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.gk-no strong { font-size: 30px; font-weight: 750; line-height: 1; letter-spacing: -0.02em; }

.gk-rozetler { display: flex; flex-wrap: wrap; gap: 6px; }
.gk-rozet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}
.gk-rozet i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gk-rozet.durum-0 { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.gk-rozet.durum-1 { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.gk-rozet.durum-1 i { box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18); animation: gk-nabiz 1.6s infinite; }
.gk-rozet.durum-2 { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.gk-rozet.durum-3 { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.gk-rozet.durum-4 { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.gk-rozet.aciliyet-0 { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }
.gk-rozet.aciliyet-1 { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.gk-rozet.aciliyet-2 { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; box-shadow: 0 4px 10px -4px rgba(185, 28, 28, 0.6); }
@keyframes gk-nabiz { 50% { box-shadow: 0 0 0 5px rgba(234, 88, 12, 0); } }

.gk-unvan { margin: 8px 0; color: var(--gk-murekkep); font-size: 20px; font-weight: 750; line-height: 1.25; letter-spacing: -0.01em; }
.gk-iletisim { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gk-iletisim li { display: flex; }
.gk-kisi, .gk-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.gk-kisi { border: 1px solid var(--gk-cizgi); background: rgba(241, 245, 249, 0.9); color: var(--gk-murekkep); }
.gk-tel {
  border: 1px solid #c7dafe;
  background: rgba(239, 246, 255, 0.95);
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
  transition: transform .15s, box-shadow .15s;
}
.gk-tel:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(29, 78, 216, 0.6); }
.gk svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gk-adres { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0; color: var(--gk-ikincil); font-size: 13px; line-height: 1.45; }
.gk-adres svg { margin-top: 2px; color: var(--gk-soluk); }
a.gk-adres {
  flex-wrap: wrap;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-left: -8px;
  padding: 5px 8px;
  border-radius: 12px;
  transition: background .15s;
}
a.gk-adres svg { margin-top: 0; }
a.gk-adres:hover { background: rgba(239, 246, 255, 0.9); color: var(--gk-murekkep); text-decoration: none; }
.gk-yol {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 4px 10px -5px rgba(29, 78, 216, 0.7);
}
.gk-yol svg, a.gk-adres .gk-yol svg { width: 12px; height: 12px; color: #fff; }

/* Teslim takvimi */
.gk-teslim {
  --t-ana: #2563eb;
  --t-zemin: #eff6ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.gk-teslim.yarin { --t-ana: #d97706; --t-zemin: #fffbeb; }
.gk-teslim.bugun, .gk-teslim.gecikti { --t-ana: #dc2626; --t-zemin: #fef2f2; }
.gk-teslim-baslik { color: var(--gk-soluk); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.gk-takvim {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 104px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 22px -12px rgba(15, 23, 42, 0.3);
}
.gk-takvim-ay {
  width: 100%;
  padding: 4px 0;
  background: var(--t-ana) linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}
.gk-takvim-gun { padding-top: 4px; color: var(--gk-murekkep); font-size: 32px; font-weight: 750; line-height: 1.05; letter-spacing: -0.03em; }
.gk-takvim-hafta { padding-bottom: 7px; color: var(--gk-soluk); font-size: 12px; font-weight: 600; }
.gk-teslim-tam { display: none; }
.gk-teslim-durum {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--t-zemin);
  color: var(--t-ana);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Özet */
.gk-ozet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--gk-cizgi);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.7);
}
.gk-ozet div { min-width: 0; }
.gk-ozet dt { color: var(--gk-soluk); font-size: 11px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; }
.gk-ozet dd { margin: 2px 0 0; color: var(--gk-murekkep); font-size: 14px; font-weight: 650; }

.gk-not {
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
  color: var(--gk-murekkep);
  font-size: 13px;
  line-height: 1.5;
}
.gk-not strong { display: block; margin-bottom: 2px; color: #b45309; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

.gk-ilerleme { margin-top: 18px; }
.gk-ilerleme-yazi { display: flex; justify-content: space-between; color: var(--gk-soluk); font-size: 13px; }
.gk-ilerleme-yazi b { color: var(--gk-murekkep); }
.gk-cubuk { height: 8px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: rgba(226, 232, 240, 0.9); box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08); }
.gk-cubuk span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3b82f6, #1d4ed8); transition: width .25s ease; }
.gk.hepsi-toplandi .gk-cubuk span { background: linear-gradient(90deg, #10b981, #047857); }

/* Ürünler */
.gk-urunler { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.gk-urun {
  display: grid;
  grid-template-columns: 30px 84px minmax(0, 1fr) 128px 132px;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.85));
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 18px -12px rgba(15, 23, 42, 0.18);
  transition: transform .15s, box-shadow .15s, background .2s;
}
.gk-urun:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 14px 26px -14px rgba(15, 23, 42, 0.28); }
.gk-urun.toplandi { border-color: #bbf7d0; background: linear-gradient(160deg, #f0fdf4, #ecfdf5); }
.gk-urun.toplandi .gk-ad { color: var(--gk-soluk); text-decoration: line-through; text-decoration-color: rgba(100, 116, 139, 0.6); }
.gk-urun.toplandi .gk-gorsel img { opacity: .55; }

.gk-sec { position: relative; display: flex; cursor: pointer; }
.gk-sec input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gk-tik {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 -2px 0 rgba(15, 23, 42, 0.06);
  transition: all .15s;
}
.gk-tik svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 3; opacity: 0; transform: scale(.6); transition: all .15s; }
.gk-sec input:checked + .gk-tik { border-color: #059669; background: linear-gradient(145deg, #10b981, #047857); box-shadow: 0 6px 12px -6px rgba(4, 120, 87, 0.7); }
.gk-sec input:checked + .gk-tik svg { opacity: 1; transform: none; }
.gk-sec input:focus-visible + .gk-tik { outline: 3px solid rgba(47, 107, 255, 0.4); outline-offset: 2px; }

.gk-gorsel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25);
  cursor: pointer;
}
.gk-gorsel img { width: 100%; height: 100%; object-fit: contain; }
.gk-gorsel span { color: var(--gk-soluk); font-size: 10px; text-align: center; }

.gk-bilgi { display: flex; flex-direction: column; gap: 4px; min-width: 0; cursor: pointer; }
.gk-ad { color: var(--gk-murekkep); font-size: 16px; font-weight: 600; line-height: 1.35; }
.gk-marka { color: #1e3a8a; font-weight: 800; letter-spacing: 0.01em; }
.gk-tire { color: #94a3b8; font-weight: 400; }
.gk-kod { color: var(--gk-soluk); font-family: "Cascadia Mono", Consolas, monospace; font-size: 13px; letter-spacing: 0.02em; }
.gk-ozellikler { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.gk-ozellik {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: var(--gk-murekkep);
  font-size: 13px;
  font-weight: 600;
}
.gk-ozellik em { color: var(--gk-soluk); font-size: 11px; font-style: normal; font-weight: 600; }
.gk-ozellik.stok.az { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }

.gk-miktar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 14px;
  background: linear-gradient(160deg, #f8fafc, #eef2f7);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(148, 163, 184, 0.22);
  text-align: right;
}
.gk-miktar.fazla { background: linear-gradient(160deg, #fffdf5, #fef9e7); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #fde68a; }
.gk-koli { display: flex; align-items: baseline; gap: 5px; color: #1e293b; }
.gk-koli strong { font-size: 30px; font-weight: 750; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gk-koli > span { color: #475569; font-size: 13px; font-weight: 650; }
.gk-koli > .gk-unlem {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 8px -3px rgba(217, 119, 6, 0.7);
  cursor: help;
}
.gk-adet { color: #334155; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.gk-fazla { color: #b45309; font-size: 11px; font-weight: 650; }

.gk-islem { display: flex; flex-direction: column; gap: 6px; }
.gk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.gk-btn:active { transform: translateY(1px); }
.gk-btn.barkod {
  background: linear-gradient(180deg, #1e293b, #0f172a);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 12px -6px rgba(15, 23, 42, 0.6);
}
.gk-btn.barkod:hover { background: linear-gradient(180deg, #334155, #1e293b); }
.gk-btn.stok-yok { border-color: #fecaca; background: #fff; color: #b91c1c; }
.gk-btn.stok-yok:hover { background: #fef2f2; }

.gk-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--gk-cizgi);
}
.gk-alt-not { color: var(--gk-soluk); font-size: 13px; }
.gk.hepsi-toplandi .gk-alt-not { color: #047857; font-weight: 650; }
.gk-tamamla {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #10b981, #047857);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.15), 0 12px 22px -10px rgba(4, 120, 87, 0.7);
  transition: transform .12s, box-shadow .12s;
}
.gk-tamamla svg { width: 18px; height: 18px; stroke-width: 2.6; }
.gk-tamamla:hover { transform: translateY(-1px); }
.gk-tamamla:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); }
.gk-tamamla:disabled,
.gk-tamamla:disabled:hover,
.gk-tamamla:disabled:active {
  background: linear-gradient(180deg, #4b5563, #374151);
  color: rgba(255, 255, 255, 0.72);
  cursor: not-allowed;
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.gk-bildirim {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 30px -12px rgba(15, 23, 42, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s, transform .2s;
}
.gk-bildirim.acik { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .gk-urun {
    grid-template-columns: 30px 84px minmax(0, 1fr) auto;
    grid-template-areas: "s g b m" "s g b i";
  }
  .gk-sec { grid-area: s; }
  .gk-gorsel { grid-area: g; }
  .gk-bilgi { grid-area: b; }
  .gk-miktar { grid-area: m; }
  .gk-islem { grid-area: i; }
}

@media (max-width: 800px) {
  .depo-filtre .gorev-sekme { margin-left: 0; }
  .gorev-bolum-ust h2 { font-size: 15px; }
  .gk { margin-bottom: 14px; padding: 13px; border-radius: 18px; }
  .gk-bas { grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; }
  .gk-no { width: 50px; height: 50px; border-radius: 14px; }
  .gk-no span { font-size: 8px; }
  .gk-no strong { font-size: 21px; }
  .gk-unvan { margin: 6px 0; font-size: 15px; }
  .gk-kisi, .gk-tel { padding: 3px 9px 3px 7px; font-size: 12px; }
  .gk svg { width: 13px; height: 13px; }
  .gk-adres { margin-top: 8px; font-size: 12px; }
  .gk-rozet { padding: 2px 8px; font-size: 11px; }
  .gk-teslim {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 14px;
    background: var(--t-zemin);
  }
  .gk-teslim-baslik { display: none; }
  .gk-takvim { width: 50px; border-radius: 11px; }
  .gk-takvim-ay { padding: 2px 0; font-size: 8px; }
  .gk-takvim-gun { padding: 1px 0 3px; font-size: 19px; }
  .gk-takvim-hafta { display: none; }
  .gk-teslim-tam { display: flex; flex-direction: column; color: var(--gk-murekkep); font-size: 13px; font-weight: 650; line-height: 1.3; }
  .gk-teslim-tam b { color: var(--gk-soluk); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
  .gk-teslim-durum { margin-left: auto; background: #fff; }
  .gk-ozet { grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 12px; padding: 10px 12px; border-radius: 13px; }
  .gk-ozet dt { font-size: 10px; }
  .gk-ozet dd { font-size: 12px; }
  .gk-not { padding: 9px 11px; font-size: 12px; }
  .gk-ilerleme { margin-top: 12px; }
  .gk-ilerleme-yazi { font-size: 12px; }

  .gk-urun {
    grid-template-columns: 26px 68px minmax(0, 1fr);
    grid-template-areas: "s g b" "m m i";
    gap: 10px;
    padding: 10px;
    border-radius: 15px;
  }
  .gk-tik { width: 26px; height: 26px; border-radius: 8px; }
  .gk-gorsel { width: 68px; height: 68px; border-radius: 12px; }
  .gk-ad { font-size: 15px; }
  .gk-kod { font-size: 12px; }
  .gk-ozellik { padding: 2px 7px; font-size: 12px; }
  .gk-miktar { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 2px 10px; padding: 8px 10px; text-align: left; }
  .gk-koli strong { font-size: 26px; }
  .gk-fazla { width: 100%; }
  .gk-islem { justify-content: center; }
  .gk-btn { min-height: 34px; padding: 5px 9px; font-size: 12px; }
  .gk-alt { margin-top: 14px; padding-top: 12px; }
  .gk-alt-not { width: 100%; font-size: 12px; text-align: center; }
  .gk-tamamla { justify-content: center; width: 100%; min-height: 48px; }
}


/* ===== Stokta yok / merkeze gönder ===== */
.gk-yok-rozet {
  display: none;
  align-self: flex-start;
  margin-bottom: 2px;
  padding: 2px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gk-urun.stok-yok .gk-yok-rozet,
.sd-kalem.stok-yok .gk-yok-rozet { display: inline-block; }
.gk-urun.stok-yok {
  border-color: #fecaca;
  background: repeating-linear-gradient(135deg, #fff5f5 0 12px, #fef2f2 12px 24px);
}
.gk-urun.stok-yok .gk-ad { color: #7f1d1d; }
.gk-urun.stok-yok .gk-gorsel img { filter: grayscale(1); opacity: .6; }
.gk-urun.stok-yok .gk-miktar { opacity: .55; }
.gk-urun.stok-yok .gk-sec { cursor: not-allowed; }
.gk-urun.stok-yok .gk-tik { border-color: #fca5a5; background: #fee2e2; }
.gk-btn.stok-yok[aria-pressed="true"] {
  border-color: #b91c1c;
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 6px 12px -6px rgba(185, 28, 28, 0.7);
}
.gk-btn:disabled { cursor: progress; opacity: .7; }

.gk-merkez {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #fecaca;
  border-radius: 18px;
  background: linear-gradient(160deg, #fff1f2, #fff7ed);
  text-align: center;
}
.gk-merkez[hidden] { display: none; }
.gk-merkez-yazi { display: flex; flex-direction: column; gap: 3px; max-width: 520px; }
.gk-merkez-yazi strong { color: #b91c1c; font-size: 15px; }
.gk-merkez-yazi span { color: #7c2d12; font-size: 13px; line-height: 1.45; }
.gk-merkez-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 26px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f97316, #c2410c);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.15), 0 12px 22px -10px rgba(194, 65, 12, 0.7);
}
.gk-merkez-btn svg { width: 18px; height: 18px; stroke-width: 2.4; }
.gk-merkez-btn:hover { transform: translateY(-1px); }

/* Depo kartında merkez alarmı */
.depo-kart.merkezde {
  border-color: #fca5a5;
  background: linear-gradient(180deg, #fff1f2 0%, #fff 90px);
  box-shadow: 0 0 0 1px #fecaca, 0 12px 26px -12px rgba(185, 28, 28, 0.35);
}
.depo-stok-alarm {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -2px 0 10px;
  padding: 7px 11px;
  border-radius: 10px;
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  color: #fff;
  font-size: 13px;
  animation: depo-alarm 1.2s ease-in-out infinite;
}
.depo-stok-alarm strong { font-weight: 750; }
.depo-stok-alarm-zaman { margin-left: auto; font-size: 11px; opacity: .85; }
.depo-stok-alarm-isik {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  animation: depo-isik 1.2s ease-out infinite;
}
@keyframes depo-alarm { 50% { background: linear-gradient(90deg, #f87171, #dc2626); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.35); } }
@keyframes depo-isik { 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) {
  .depo-stok-alarm, .depo-stok-alarm-isik, .gk-rozet.durum-1 i { animation: none; }
}
.depo-eksik {
  margin: 10px 0 0;
  padding: 8px 10px 8px 26px;
  border: 1px dashed #fca5a5;
  border-radius: 10px;
  background: #fff5f5;
  color: #7f1d1d;
  font-size: 13px;
  line-height: 1.5;
}
.depo-eksik span { color: #b91c1c; font-size: 12px; }
.depo-merkez-not { margin: 10px 0 0; color: #9a3412; font-size: 12px; font-weight: 650; }

/* Sipariş düzenle */
.sd { max-width: 1040px; }
.sd-geri { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 650; }
.sd-bas { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.sd-bas .gk-unvan { margin: 6px 0 2px; }
.sd-alt-bilgi { margin: 0; color: var(--soluk); font-size: 13px; }
.sd-alarm { grid-column: 1 / -1; margin: 0; }
.sd-bolum-ust { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.sd-bolum-ust h3 { margin: 0; font-size: 16px; }
.sd-bolum-ust span { color: var(--soluk); font-size: 12px; }
.sd-kalemler { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sd-yeniler:not(:empty) { margin-top: 8px; }
.sd-kalem {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: 16px;
  background: #fff;
}
.sd-kalem.stok-yok { border-color: #fecaca; background: #fff5f5; }
.sd-kalem.silinecek { opacity: .6; }
.sd-kalem.silinecek .gk-ad { text-decoration: line-through; }
.sd-kalem.yeni { grid-template-columns: 60px minmax(0, 1fr) auto auto; border-color: #bbf7d0; background: #f0fdf4; }
.sd-gorsel { width: 60px; height: 60px; border-radius: 12px; }
/* .gk-gorsel Görevlerim'de grid-area: g taşır; düzenleme kaleminde o alan yok, sırayla yerleşsin */
.sd-kalem .sd-gorsel { grid-area: auto; }
.sd-urun { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sd-urun .gk-ad { font-size: 15px; }
.sd-ufak { color: var(--soluk); font-size: 12px; }
.sd-adet { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 650; color: var(--soluk); text-transform: uppercase; }
.sd-adet input, .sd-ekle input, .sd-ekle select, .sd-ara input, .sd-ara select, .sd-alanlar input, .sd-alanlar select, .sd-alanlar textarea {
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--cizgi);
  border-radius: 10px;
  background: #fff;
  color: var(--yazi);
  font-size: 14px;
}
.sd-sil {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.sd-sil input { accent-color: #b91c1c; }
/* Yeni siparişten sonra #siparis-N ile gelinen kart sabit üst çubuğun altında kalmasın */
.dk { scroll-margin-top: 84px; }
/* Kalem miktarı: Koli + Adet yan yana, altında "2 koli + 5 adet" notu */
.sd-miktar { display: grid; grid-template-columns: repeat(2, 92px); gap: 4px 8px; align-items: end; }
.sd-miktar .sd-adet:only-of-type { grid-column: 2; }
.sd-miktar-not { grid-column: 1 / -1; color: #1d4ed8; font-size: 12px; font-weight: 650; text-align: right; }
.sd-miktar-not.eksik { color: #c2410c; }
.sd-yeni-rozet {
  align-self: flex-start;
  padding: 1px 8px;
  border-radius: 6px;
  background: #047857;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.sd-yeni-miktar { color: #1e293b; font-size: 15px; font-weight: 750; }
.sd-ara { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 8px; }
.sd-sonuclar { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.sd-sonuc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.sd-fiyat { color: #1e293b; font-size: 14px; font-weight: 700; white-space: nowrap; }
.sd-ekle { display: grid; grid-template-columns: 70px 84px auto; gap: 6px; }
.sd-ekle .btn { min-height: 38px; padding: 6px 14px; }
/* Eklemeden önce canlı hesap: "2 koli = 192 adet · 53,76 USD ≈ 2.300,00 TL + KDV" */
.sd-hesap { grid-column: 1 / -1; justify-self: end; color: #1d4ed8; font-size: 13px; font-weight: 650; }
.sd-fiyat { text-align: right; }
.sd-bos { padding: 10px; color: var(--soluk); font-size: 13px; text-align: center; }
.sd-alanlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sd-alanlar label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 650; color: var(--soluk); }
.sd-alanlar .sd-kutu { flex-direction: row; align-items: center; gap: 8px; grid-column: 1 / -1; color: var(--yazi); font-size: 13px; }
.sd-alanlar .sd-kutu input { width: auto; min-height: 0; }
.sd-genis { grid-column: 1 / -1; }
.sd-kaydet { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 4px 0 30px; }

@media (max-width: 800px) {
  .gk-merkez { padding: 12px; }
  .gk-merkez-btn { width: 100%; justify-content: center; }
  .sd-bas { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .sd-kalem, .sd-kalem.yeni { grid-template-columns: 48px minmax(0, 1fr); }
  .sd-gorsel { width: 48px; height: 48px; }
  .sd-adet { grid-column: 1 / 2; flex-direction: row; align-items: center; }
  .sd-kalem .sd-adet { grid-column: 1 / -1; }
  .sd-kalem .sd-adet input { max-width: 120px; }
  .sd-sil, .sd-kalem.yeni .gk-btn, .sd-yeni-miktar { grid-column: 1 / -1; justify-self: start; }
  /* Mobil kalem: üstte görsel + ürün bilgisi, altta miktar ve Sil yan yana */
  .sd-kalem:not(.yeni) { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px 10px; padding: 10px; }
  .sd-kalem:not(.yeni) .sd-gorsel { grid-column: 1; grid-row: 1; align-self: start; }
  .sd-kalem:not(.yeni) .sd-urun { grid-column: 2 / -1; grid-row: 1; }
  .sd-kalem:not(.yeni) .sd-miktar { grid-column: 1 / 3; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-kalem .sd-miktar .sd-adet { grid-column: auto; flex-direction: column; align-items: stretch; gap: 3px; }
  .sd-kalem .sd-miktar .sd-adet:only-of-type { grid-column: 1 / -1; }
  .sd-kalem .sd-miktar .sd-adet input { max-width: none; }
  .sd-miktar-not { text-align: left; }
  .sd-kalem:not(.yeni) .sd-sil { grid-column: 3; grid-row: 2; justify-self: end; align-self: center; }
  .sd-urun .gk-ad { font-size: 14px; line-height: 1.3; }
  .sd-ara { grid-template-columns: 1fr; }
  .sd-sonuc { grid-template-columns: minmax(0, 1fr) auto; }
  .sd-ekle { grid-column: 1 / -1; }
  .sd-hesap { justify-self: start; }
  .sd-alanlar { grid-template-columns: 1fr; }
  .sd-kaydet .gk-tamamla, .sd-kaydet .btn { width: 100%; justify-content: center; }
}

/* ===== Depo listesi — cam kart (dk-) ve filtre çubuğu ===== */
.gorev-sayfa .depo-filtre {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -14px rgba(15, 23, 42, 0.25);
}
.gorev-sayfa .depo-filtre .btn {
  gap: 8px;
  min-height: 38px;
  padding: 7px 12px 7px 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #334155;
  font-size: 13px;
  font-weight: 650;
}
.gorev-sayfa .depo-filtre .btn i { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.gorev-sayfa .depo-filtre .btn.durum-2 i { background: #10b981; }
.gorev-sayfa .depo-filtre .btn.durum-1 i { background: #f97316; }
.gorev-sayfa .depo-filtre .btn.durum-0 i { background: #94a3b8; }
.gorev-sayfa .depo-filtre .btn.durum-3 i { background: #3b82f6; }
.gorev-sayfa .depo-filtre .btn:hover { background: rgba(255, 255, 255, 0.9); color: #0f172a; }
.gorev-sayfa .depo-filtre .btn.aktif,
.gorev-sayfa .depo-filtre .btn.aktif:hover {
  border-color: #1d4ed8;
  background: linear-gradient(180deg, #3b74ff, #1d4ed8);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 16px -8px rgba(29, 78, 216, 0.7);
}
.gorev-sayfa .depo-filtre .btn.aktif i { background: #fff; }
.filtre-sayi {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.depo-filtre .btn.aktif .filtre-sayi { background: rgba(255, 255, 255, 0.25); color: #fff; }
.gorev-sayfa .depo-filtre .gorev-sekme { margin-left: 4px; border-color: #c7dafe; background: #eff6ff; color: #1d4ed8; }

.gorev-sayfa .depo-liste { max-width: 1080px; gap: 16px; align-items: stretch; }
.dk { margin-bottom: 0; padding: 16px; display: flex; flex-direction: column; }
.dk.merkezde {
  border-color: #fecaca;
  background: linear-gradient(160deg, rgba(255, 241, 242, 0.95), rgba(255, 255, 255, 0.75));
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #fecaca, 0 26px 50px -26px rgba(185, 28, 28, 0.45);
}
.dk .depo-stok-alarm { margin: 0 0 12px; }
.dk-bas { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.dk-no { width: 56px; height: 56px; border-radius: 16px; }
.dk-no span { font-size: 8px; }
.dk-no strong { font-size: 23px; }
.dk-kimlik { min-width: 0; }
.dk-unvan { margin: 6px 0 2px; color: #0f172a; font-size: 15px; font-weight: 750; line-height: 1.3; letter-spacing: -0.01em; }
.dk-cari-alt { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; color: #64748b; font-size: 12px; font-weight: 600; }
.dk-teslim { gap: 4px; }
.dk-teslim .gk-takvim { width: 58px; border-radius: 12px; }
.dk-teslim .gk-takvim-ay { padding: 2px 0; font-size: 9px; }
.dk-teslim .gk-takvim-gun { padding: 1px 0 4px; font-size: 22px; }
.dk-teslim .gk-teslim-durum { padding: 2px 8px; font-size: 11px; }

.dk-bilgi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.75);
}
.dk-bilgi div { min-width: 0; }
.dk-bilgi dt { color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.dk-bilgi dd { margin: 2px 0 0; overflow: hidden; color: #0f172a; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }

.dk-akis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(245, 243, 255, 0.7));
  border: 1px solid #dbeafe;
}
.dk-kisi { display: flex; align-items: center; gap: 9px; }
.dk-kisi small, .dk-zaman small { display: block; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.dk-kisi b { color: #0f172a; font-size: 13px; }
.dk-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #6366f1, #4338ca);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 12px -6px rgba(67, 56, 202, 0.7);
}
.dk-zaman { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; color: #0f172a; font-size: 13px; font-weight: 650; }
.dk-zaman li { position: relative; padding-left: 12px; }
.dk-zaman li::before { content: ""; position: absolute; left: 0; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: #f97316; }
.dk-zaman li.bitti::before { background: #10b981; }

.dk-not {
  margin: 10px 0 0;
  padding: 9px 12px;
  border-left: 3px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  background: #fffbeb;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.45;
}
.dk .depo-eksik { margin-top: 10px; }
.dk .dk-alt { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 12px; }
.dk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.dk-btn:hover { text-decoration: none; transform: translateY(-1px); }
.dk-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dk-btn.birincil {
  background: linear-gradient(180deg, #3b74ff, #1d4ed8);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.15), 0 10px 18px -10px rgba(29, 78, 216, 0.8);
}
.dk-btn.birincil:hover { color: #fff; }
.dk-btn.ikincil { border-color: #cbd5e1; background: #fff; color: #0f172a; box-shadow: 0 4px 10px -8px rgba(15, 23, 42, 0.4); }
.dk-btn.ikincil:hover { color: #0f172a; background: #f8fafc; }
.dk-btn.uyari {
  background: linear-gradient(180deg, #f97316, #c2410c);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 18px -10px rgba(194, 65, 12, 0.8);
}
.dk-btn.uyari:hover { color: #fff; }
.dk-bos { grid-column: 1 / -1; }

@media (max-width: 800px) {
  /* Mobilde bütün sekmeler ekranda: 4 sekme 2×2, depo personelinde 5 sekme 3+2 */
  .gorev-sayfa .depo-filtre {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
    padding: 5px;
    overflow: visible;
    border-radius: 16px;
  }
  .gorev-sayfa .depo-filtre.bes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gorev-sayfa .depo-filtre.bes .btn { grid-column: span 2; }
  .gorev-sayfa .depo-filtre.bes .btn:nth-child(n + 4) { grid-column: span 3; }
  .gorev-sayfa .depo-filtre .btn {
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 36px;
    margin-left: 0;
    padding: 5px 6px;
    font-size: 12px;
  }
  .gorev-sayfa .depo-filtre .btn i { display: none; }
  .gorev-sayfa .depo-filtre.bes .btn { gap: 4px; padding: 5px 4px; font-size: 11.5px; letter-spacing: -0.01em; }
  .gorev-sayfa .depo-filtre .filtre-ad { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gorev-sayfa .depo-filtre .filtre-sayi,
  .gorev-sayfa .depo-filtre .gorev-sayi { flex: none; min-width: 18px; padding: 0 5px; font-size: 10px; }
  .dk { padding: 12px; }
  .dk-bas { gap: 10px; }
  .dk-no { width: 46px; height: 46px; border-radius: 13px; }
  .dk-no strong { font-size: 19px; }
  .dk-unvan { font-size: 14px; }
  .gk-teslim.dk-teslim {
    grid-column: auto;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: none;
  }
  .dk-teslim .gk-teslim-durum { margin-left: 0; background: var(--t-zemin); }
  .dk-teslim .gk-takvim { width: 50px; }
  .dk-teslim .gk-takvim-gun { font-size: 19px; }
  .dk-bilgi { padding: 10px 12px; }
  .dk-bilgi dd { font-size: 12px; }
  .dk .dk-alt .dk-btn { width: 100%; min-height: 42px; }
}

/* ===== Depo özeti (oz-) ===== */
.oz { display: grid; gap: 16px; max-width: 1120px; }
.oz .gk { margin-bottom: 0; }
.oz-istatistik { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 14px; }
.oz-etiket { color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.oz-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.25);
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(255, 255, 255, 0.22), transparent 70%),
    linear-gradient(145deg, #3b74ff 0%, #1d4ed8 55%, #1e3a8a 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 26px 50px -24px rgba(29, 78, 216, 0.75);
}
.oz-hero .oz-etiket { color: rgba(255, 255, 255, 0.8); }
.oz-hero-ust { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.oz-donem { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 12px; font-weight: 650; }
.oz-hero-sayi { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.oz-hero-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.85); font-size: 12px; }
.oz-fark { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); color: #fff; font-weight: 750; }
.oz-fark.artis { background: rgba(16, 185, 129, 0.9); }
.oz-fark.azalis { background: rgba(239, 68, 68, 0.9); }

.oz-mini { display: flex; flex-direction: column; gap: 4px; padding: 16px; color: inherit; }
.oz-mini strong { color: #0f172a; font-size: 32px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.oz-mini small { color: #64748b; font-size: 12px; font-weight: 600; }
.oz-mini.tikla { text-decoration: none; transition: transform .15s, box-shadow .15s; }
.oz-mini.tikla:hover { transform: translateY(-2px); text-decoration: none; }
.oz-mini.tikla small { color: #1d4ed8; }
.oz-ikon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  border-radius: 11px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 14px -8px rgba(15, 23, 42, 0.5);
}
.oz-ikon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.oz-ikon.yesil { background: linear-gradient(145deg, #10b981, #047857); }
.oz-ikon.turuncu { background: linear-gradient(145deg, #fb923c, #c2410c); }
.oz-ikon.mavi { background: linear-gradient(145deg, #818cf8, #4338ca); }

.oz-izgara { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.oz-bolum-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.oz-bolum-ust h3 { margin: 0; color: #0f172a; font-size: 15px; }
.oz-bolum-ust span, .oz-bolum-ust a { color: #64748b; font-size: 12px; font-weight: 650; }
.oz-bolum-ust a { color: #1d4ed8; }

.oz-cubuklar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; height: 220px; }
.oz-cubuk { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.oz-cubuk-deger { color: #0f172a; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.oz-cubuk.sifir .oz-cubuk-deger { color: #94a3b8; }
.oz-cubuk-alan {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex: 1;
  width: 100%;
  max-width: 64px;
  overflow: hidden;
  border-radius: 12px;
  background: repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.14) 0 1px, transparent 1px 25%), rgba(241, 245, 249, 0.8);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}
.oz-cubuk-alan span {
  display: block;
  width: 100%;
  min-height: 0;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #60a5fa, #1d4ed8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 -6px 16px -8px rgba(29, 78, 216, 0.6);
  transition: height .4s ease;
}
.oz-cubuk.bugun .oz-cubuk-alan span { background: linear-gradient(180deg, #34d399, #047857); }
.oz-cubuk-gun { color: #0f172a; font-size: 12px; font-weight: 700; }
.oz-cubuk.bugun .oz-cubuk-gun { color: #047857; }
.oz-cubuk-tarih { margin-top: -5px; color: #94a3b8; font-size: 11px; font-weight: 600; }

.oz-gorev-liste { display: grid; gap: 8px; max-height: 268px; margin: 0; padding: 0 2px 2px 0; overflow-y: auto; list-style: none; }
.oz-gorev {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, #f8fafc);
  color: inherit;
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -12px rgba(15, 23, 42, 0.3);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.oz-gorev:hover { border-color: #93c5fd; text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 22px -14px rgba(29, 78, 216, 0.45); }
.oz-gorev.eksik { border-color: #fecaca; background: linear-gradient(160deg, #fff, #fff5f5); }
.oz-gorev-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(145deg, #3b74ff, #1e3a8a);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.oz-gorev-bilgi { display: flex; flex-direction: column; min-width: 0; }
.oz-gorev-bilgi b { overflow: hidden; color: #0f172a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.oz-gorev-bilgi small { color: #64748b; font-size: 12px; }
.oz-gorev-bilgi em { color: #b91c1c; font-style: normal; font-weight: 700; }
.oz-gorev-sag { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.oz-gorev-sag .gk-rozet { padding: 1px 8px; font-size: 11px; }
.oz-teslim { color: #475569; font-size: 12px; font-weight: 700; }
.oz-teslim.yarin { color: #b45309; }
.oz-teslim.bugun, .oz-teslim.gecikti { color: #b91c1c; }
.oz-bos { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 180px; color: #64748b; font-size: 14px; }
.oz-bos p { margin: 0; }

.oz-tablo-kap { overflow-x: auto; margin: 0 -4px; }
.oz-tablo table { width: 100%; border-collapse: separate; border-spacing: 0; }
.oz-tablo th {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.oz-tablo td { padding: 10px; border-bottom: 1px solid rgba(226, 232, 240, 0.8); color: #0f172a; font-size: 13px; white-space: nowrap; }
.oz-tablo tbody tr:last-child td { border-bottom: 0; }
.oz-tablo tbody tr:hover td { background: rgba(239, 246, 255, 0.6); }
.oz-tablo .sag { text-align: right; font-variant-numeric: tabular-nums; }
.oz-cari { max-width: 260px; overflow: hidden; font-weight: 650; text-overflow: ellipsis; }
.oz-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
}
.oz-sure { padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 12px; font-weight: 650; }
.oz-bos-yazi { margin: 0; padding: 18px 0 6px; color: #64748b; font-size: 14px; text-align: center; }

@media (max-width: 1000px) {
  .oz-istatistik { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .oz-hero { grid-column: 1 / -1; }
  .oz-izgara { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .oz { gap: 12px; }
  .oz-istatistik { gap: 8px; }
  .oz-hero { padding: 14px; }
  .oz-hero-sayi { font-size: 44px; }
  .oz-mini { padding: 10px; }
  .oz-mini strong { font-size: 24px; }
  .oz-mini small { font-size: 11px; }
  .oz-ikon { width: 28px; height: 28px; border-radius: 9px; }
  .oz-ikon svg { width: 15px; height: 15px; }
  .oz-etiket { font-size: 10px; }
  .oz-cubuklar { gap: 8px; height: 180px; }
  .oz-cubuk-deger { font-size: 13px; }
  .oz-cubuk-gun { font-size: 11px; }
}

/* ===== Depo ürün sorgu — fiyatsız (du-) ===== */
.du { display: grid; gap: 14px; max-width: 1200px; }
.du .gk { margin-bottom: 0; }
.du-ust { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; padding: 16px; }
.du-ara {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04);
  transition: border-color .15s, box-shadow .15s;
}
.du-ara:focus-within { border-color: #3b74ff; box-shadow: 0 0 0 4px rgba(59, 116, 255, 0.15); }
.du-ara svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #64748b; stroke-width: 2; stroke-linecap: round; }
.du-ara input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #0f172a; font-size: 16px; }
.du-ozet { display: flex; gap: 8px; }
.du-ozet span { padding: 6px 12px; border-radius: 12px; background: #eff6ff; color: #1d4ed8; font-size: 13px; font-weight: 650; white-space: nowrap; }
.du-ozet span.kirmizi { background: #fef2f2; color: #b91c1c; }
.du-ozet b { font-size: 15px; }
.du-filtre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; grid-column: 1 / -1; }
.du-segment { display: inline-flex; padding: 4px; border-radius: 13px; background: rgba(226, 232, 240, 0.7); }
.du-segment button {
  min-height: 34px;
  padding: 5px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.du-segment button.aktif { background: #fff; color: #0f172a; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12); }
.du-filtre select {
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
}
.du-kategoriler { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; }
.du-kategoriler button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.du-kategoriler button span { padding: 0 6px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: 11px; }
.du-kategoriler button:hover { border-color: #93c5fd; }
.du-kategoriler button.aktif { border-color: #1d4ed8; background: linear-gradient(180deg, #3b74ff, #1d4ed8); color: #fff; box-shadow: 0 6px 14px -8px rgba(29, 78, 216, 0.8); }
.du-kategoriler button.aktif span { background: rgba(255, 255, 255, 0.25); color: #fff; }
.du-bilgi { min-height: 18px; color: #64748b; font-size: 13px; font-weight: 650; }

.du-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; transition: opacity .15s; }
.du-izgara.yukleniyor { opacity: .55; }
.du-kart {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.85));
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15, 23, 42, 0.05), 0 14px 28px -18px rgba(30, 58, 138, 0.35);
  transition: transform .15s, box-shadow .15s;
}
.du-kart:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 22px 36px -18px rgba(30, 58, 138, 0.45); }
.du-kart:focus-visible { outline: 3px solid rgba(59, 116, 255, 0.5); outline-offset: 2px; }
.du-gorsel { display: flex; align-items: center; justify-content: center; height: 170px; padding: 12px; background: #fff; border-bottom: 1px solid #eef2f7; }
.du-gorsel img { max-width: 100%; max-height: 100%; object-fit: contain; }
.du-gorsel-yok { color: #94a3b8; font-size: 12px; }
.du-kart.yok .du-gorsel img { filter: grayscale(1); opacity: .6; }
.du-stok {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 0 0 1px #a7f3d0, 0 4px 10px -6px rgba(4, 120, 87, 0.6);
}
.du-kart.az .du-stok { background: #fffbeb; color: #b45309; box-shadow: 0 0 0 1px #fde68a; }
.du-kart.yok .du-stok { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; box-shadow: 0 4px 10px -4px rgba(185, 28, 28, 0.6); }
.du-govde { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.du-marka { color: #1e3a8a; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.du-ad { color: #0f172a; font-size: 15px; font-weight: 650; line-height: 1.3; }
.du-kod { color: #64748b; font-family: "Cascadia Mono", Consolas, monospace; font-size: 12px; }
.du-cipler { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.du-cip { display: inline-flex; gap: 4px; padding: 2px 8px; border: 1px solid #e2e8f0; border-radius: 7px; background: #fff; color: #0f172a; font-size: 12px; font-weight: 600; }
.du-cip em { color: #64748b; font-size: 11px; font-style: normal; }
.du-bos { grid-column: 1 / -1; padding: 30px 18px; text-align: center; }
.du-bos p { margin: 6px 0 0; color: #64748b; }

.du-detay {
  width: min(820px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: linear-gradient(160deg, #fff, #f8fafc);
  color: #0f172a;
  box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.6);
}
.du-detay::backdrop { background: rgba(15, 23, 42, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.du-kapat {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.du-detay-ic { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; padding: 22px; }
.du-detay-gorsel { display: flex; align-items: center; justify-content: center; height: 300px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px #e2e8f0; }
.du-detay-gorsel img { max-width: 100%; max-height: 100%; object-fit: contain; }
.du-detay-bilgi { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-right: 30px; }
.du-detay-bilgi h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.du-detay-stok {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #ecfdf5;
  color: #047857;
}
.du-detay-stok small { color: inherit; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.du-detay-stok strong { font-size: 30px; font-weight: 800; line-height: 1; }
.du-detay-stok span { font-size: 13px; font-weight: 650; }
.du-detay-stok.az { background: #fffbeb; color: #b45309; }
.du-detay-stok.yok { background: #fef2f2; color: #b91c1c; }
.du-detay-stok.yok strong { font-size: 22px; }
.du-detay-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 6px 0 0; }
.du-detay-liste dt { color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.du-detay-liste dd { margin: 2px 0 0; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .du-ust { grid-template-columns: 1fr; padding: 12px; }
  .du-ara { min-height: 46px; }
  .du-ozet span { font-size: 12px; }
  .du-segment { width: 100%; }
  .du-segment button { flex: 1; padding: 5px 6px; font-size: 12px; }
  .du-filtre select { width: 100%; }
  .du-kategoriler { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .du-kategoriler button { flex: none; }
  .du-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .du-gorsel { height: 120px; padding: 8px; }
  .du-govde { padding: 9px 10px 11px; }
  .du-ad { font-size: 13px; }
  .du-cip { font-size: 11px; }
  .du-stok { top: 6px; right: 6px; font-size: 11px; }
  .du-detay-ic { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .du-detay-gorsel { height: 200px; }
  .du-detay-bilgi { padding-right: 0; }
  .du-detay-bilgi h2 { font-size: 17px; }
}

/* Çok acil (aciliyet_kodu 2) depo kartı: 3 sn'de bir kırmızıya dönüp beyaza geri gelir */
.dk.cok-acil { animation: dk-cok-acil 3s ease-in-out infinite; }
@keyframes dk-cok-acil {
  0%, 55%, 100% {
    border-color: rgba(255, 255, 255, 0.75);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66));
  }
  20%, 35% {
    border-color: #f87171;
    background: linear-gradient(150deg, rgba(254, 202, 202, 0.95), rgba(254, 226, 226, 0.85));
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25), 0 26px 50px -24px rgba(185, 28, 28, 0.55);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dk.cok-acil { animation: none; border-color: #f87171; background: linear-gradient(150deg, #fff1f2, #fff); }
}

/* ===== Merkez değişiklik bildirimi (gd-) ===== */
.gk.degisti { box-shadow: 0 0 0 2px #f59e0b, 0 32px 60px -28px rgba(180, 83, 9, 0.45); }
.gd {
  margin: -4px -4px 16px;
  padding: 14px 16px;
  border: 1px solid #fcd34d;
  border-radius: 18px;
  background: linear-gradient(150deg, #fffbeb, #fef3c7);
  box-shadow: inset 0 1px 0 #fff;
}
.gd-ust { display: flex; align-items: center; gap: 12px; }
.gd-ust strong { display: block; color: #78350f; font-size: 15px; }
.gd-ust span { color: #92400e; font-size: 12px; font-weight: 600; }
.gd-ikon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f59e0b, #b45309);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  animation: gd-nabiz 1.8s ease-out infinite;
}
@keyframes gd-nabiz { 70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); } }
.gd-liste { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.gd-liste li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  font-size: 13px;
}
.gd-liste b {
  padding: 1px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.gd-liste em { color: #334155; font-style: normal; font-weight: 750; }
.gd-liste s { color: #94a3b8; }
.gd-eklendi b { background: #059669; }
.gd-silindi b { background: #dc2626; }
.gd-silindi { text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, 0.5); }
.gd-adet b { background: #d97706; }
.gd-stok b { background: #2563eb; }
.gd-bilgi b { background: #475569; }
.gd-uyari { margin: 10px 0 0; color: #b91c1c; font-size: 13px; font-weight: 700; }
.gd-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.gd-form span { color: #92400e; font-size: 12px; font-weight: 600; }
.gd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f59e0b, #b45309);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 18px -10px rgba(180, 83, 9, 0.8);
}
.gd-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.gk-degisim-rozet {
  align-self: flex-start;
  margin-bottom: 2px;
  padding: 2px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.gk-degisim-rozet.eklendi { background: linear-gradient(135deg, #10b981, #047857); }
.gk-degisim-rozet.adet { background: linear-gradient(135deg, #f59e0b, #b45309); }
.gk-degisim-rozet.stok { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.gk-urun.degisen-eklendi { border-color: #6ee7b7; box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25), 0 8px 18px -12px rgba(15, 23, 42, 0.18); }
.gk-urun.degisen-adet { border-color: #fcd34d; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25), 0 8px 18px -12px rgba(15, 23, 42, 0.18); }
.gk-urun.degisen-adet .gk-miktar { background: linear-gradient(160deg, #fffbeb, #fef3c7); box-shadow: inset 0 0 0 1px #fcd34d; }

.gk-cikanlar {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px dashed #fca5a5;
  border-radius: 14px;
  background: #fff5f5;
}
.gk-cikanlar strong { color: #b91c1c; font-size: 13px; }
.gk-cikanlar ul { margin: 6px 0 0; padding-left: 18px; color: #7f1d1d; font-size: 13px; line-height: 1.6; }
.gk-cikanlar span { color: #b91c1c; font-size: 12px; }
.gk-gecmis, .sd-gecmis { margin-top: 12px; }
.gk-gecmis summary, .sd-gecmis summary { color: #475569; font-size: 13px; font-weight: 700; cursor: pointer; }
.gk-gecmis ul, .sd-gecmis ul { margin: 8px 0 0; padding-left: 18px; color: #334155; font-size: 12px; line-height: 1.7; }
.gk-gecmis time, .sd-gecmis time { color: #64748b; font-variant-numeric: tabular-nums; }
.sd-gecmis { padding: 14px 16px; }
.gor-evet, .gor-hayir { margin-left: 6px; padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.gor-evet { background: #ecfdf5; color: #047857; }
.gor-hayir { background: #fff7ed; color: #c2410c; }

.gk.eskidi .gk-urunler, .gk.eskidi .gd { opacity: .55; }
.gk-canli {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 24px);
  padding: 10px 12px 10px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #b45309, #92400e);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 18px 36px -14px rgba(120, 53, 15, 0.7);
  transform: translateX(-50%);
}
.gk-canli[hidden] { display: none; }
.gk-canli button {
  flex: none;
  min-height: 34px;
  padding: 5px 12px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #92400e;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.gk-rozet.degisti { background: #fff7ed; color: #c2410c; border-color: #fdba74; }
.gorev-sayi.degisti { background: #dc2626 !important; color: #fff !important; box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); animation: gd-nabiz 1.8s ease-out infinite; }
.oz-gorev.degisti { border-color: #fcd34d; background: linear-gradient(160deg, #fff, #fffbeb); }
.oz-gorev-bilgi em.oz-degisti { color: #b45309; }

.sd-hazirlaniyor {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #fcd34d;
  border-radius: 14px;
  background: linear-gradient(150deg, #fffbeb, #fef3c7);
}
.sd-hazirlaniyor .dk-avatar { background: linear-gradient(145deg, #f59e0b, #b45309); font-size: 16px; }
.sd-hazirlaniyor strong { display: block; color: #78350f; font-size: 14px; }
.sd-hazirlaniyor span { color: #92400e; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .gd-ikon, .gorev-sayi.degisti { animation: none; }
}
@media (max-width: 800px) {
  .gd { margin: -2px -2px 12px; padding: 12px; }
  .gd-ust strong { font-size: 14px; }
  .gd-liste li { font-size: 12px; }
  .gd-btn { width: 100%; justify-content: center; }
  .gk-canli { top: 8px; font-size: 12px; }
}

/* ===== Sevk ve ödeme (sv-) ===== */
.odeme-cip { display: inline-block; max-width: 100%; padding: 1px 8px; border-radius: 999px; overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.odeme-cip.alindi { background: #ecfdf5; color: #047857; }
.odeme-cip.alinmadi { background: #fef2f2; color: #b91c1c; }
.odeme-cip.belirsiz { background: #f1f5f9; color: #475569; }
.dk-odeme-info {
  margin: 10px 0 0;
  padding: 8px 12px;
  border-left: 3px solid #6366f1;
  border-radius: 0 10px 10px 0;
  background: #eef2ff;
  color: #1e1b4b;
  font-size: 13px;
  line-height: 1.45;
}
.dk-odeme-info b { display: block; color: #4338ca; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.dk-zaman li.sevk::before { background: #3b82f6; }
.dk-sevk-eden { flex-basis: 100%; padding-top: 8px; border-top: 1px dashed #c7d2fe; }
.dk-avatar.sevk { background: linear-gradient(145deg, #38bdf8, #0369a1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 12px -6px rgba(3, 105, 161, 0.7); }
.dk-btn.sevk {
  background: linear-gradient(180deg, #0ea5e9, #0369a1);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.15), 0 10px 18px -10px rgba(3, 105, 161, 0.8);
}
.dk-btn.sevk:hover { color: #fff; }

.sv {
  width: min(520px, calc(100vw - 24px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: linear-gradient(160deg, #fff, #f8fafc);
  color: #0f172a;
  box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.6);
}
.sv::backdrop { background: rgba(15, 23, 42, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sv-ic { display: grid; gap: 14px; padding: 20px; }
.sv-ust { display: flex; align-items: center; gap: 12px; }
.sv-ust h2 { margin: 0; font-size: 18px; }
.sv-ust p { margin: 2px 0 0; color: #64748b; font-size: 13px; font-weight: 600; }
.sv-ikon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, #38bdf8, #0369a1);
  color: #fff;
  box-shadow: 0 10px 18px -10px rgba(3, 105, 161, 0.8);
}
.sv-ikon svg, .dk-btn.sevk svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dk-btn.sevk svg { width: 17px; height: 17px; }
.sv-onceki { margin: 0; padding: 8px 12px; border-radius: 10px; background: #f1f5f9; color: #475569; font-size: 13px; }
.sv-onceki b { color: #0f172a; }
.sv-secim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.sv-secim legend { margin-bottom: 8px; padding: 0; color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.sv-kart {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sv-kart:hover { transform: translateY(-1px); }
.sv-kart input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sv-nokta { width: 22px; height: 22px; border: 2px solid #cbd5e1; border-radius: 50%; background: #fff; }
.sv-kart.alindi:has(input:checked) { border-color: #10b981; background: #ecfdf5; box-shadow: 0 8px 18px -10px rgba(16, 185, 129, 0.7); }
.sv-kart.alinmadi:has(input:checked) { border-color: #ef4444; background: #fef2f2; box-shadow: 0 8px 18px -10px rgba(239, 68, 68, 0.7); }
.sv-kart.belirsiz:has(input:checked) { border-color: #64748b; background: #f1f5f9; box-shadow: 0 8px 18px -10px rgba(71, 85, 105, 0.6); }
.sv-kart input:checked + .sv-nokta { border-width: 7px; }
.sv-kart.alindi input:checked + .sv-nokta { border-color: #10b981; }
.sv-kart.alinmadi input:checked + .sv-nokta { border-color: #ef4444; }
.sv-kart.belirsiz input:checked + .sv-nokta { border-color: #64748b; }
.sv-kart input:focus-visible + .sv-nokta { outline: 3px solid rgba(59, 116, 255, 0.45); outline-offset: 2px; }
.sv-aciklama { display: grid; gap: 6px; color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.sv-aciklama em { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; }
.sv-aciklama textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  resize: vertical;
}
.sv-aciklama small { min-height: 16px; color: #4338ca; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.sv-alt { display: flex; justify-content: flex-end; gap: 8px; }

@media (max-width: 800px) {
  .sv-ic { padding: 16px; }
  .sv-kart { padding: 10px 4px; font-size: 12px; }
  .sv-alt .dk-btn { flex: 1; min-height: 44px; }
}
.oz-bekliyor { padding: 2px 8px; border-radius: 999px; background: #fff7ed; color: #c2410c; font-size: 12px; font-weight: 650; }

/* ===== Sayfa içi onay penceresi (po-) — tarayıcının confirm() yerine ===== */
.po {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.po[hidden] { display: none; }
.po-kutu {
  width: min(440px, 100%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: linear-gradient(160deg, #fff, #f8fafc);
  color: #0f172a;
  box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.6);
  animation: po-gel .16s ease-out;
}
@keyframes po-gel { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.po-kutu h2 { margin: 0 0 6px; font-size: 18px; }
.po-kutu p { margin: 0; color: #334155; font-size: 14px; line-height: 1.5; }
.po-alt { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.po-alt button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.po-iptal { border-color: #cbd5e1 !important; background: #fff; color: #0f172a; }
.po-iptal:hover { background: #f8fafc; }
.po-tamam { background: linear-gradient(180deg, #3b74ff, #1d4ed8); color: #fff; box-shadow: 0 10px 18px -10px rgba(29, 78, 216, 0.8); }
.po-tamam.basari { background: linear-gradient(180deg, #10b981, #047857); box-shadow: 0 10px 18px -10px rgba(4, 120, 87, 0.8); }
.po-tamam.uyari { background: linear-gradient(180deg, #f97316, #c2410c); box-shadow: 0 10px 18px -10px rgba(194, 65, 12, 0.8); }
.po-alt button:focus-visible { outline: 3px solid rgba(59, 116, 255, 0.45); outline-offset: 2px; }
@media (max-width: 800px) {
  .po { align-items: flex-end; }
  .po-alt button { flex: 1; min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .po-kutu { animation: none; } }

/* Depo ürün sorgu sayfaları */
.du-sayfalar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 6px 0 24px; }
.du-sayfalar[hidden] { display: none; }
.du-sayfa {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px -8px rgba(15, 23, 42, 0.4);
  transition: transform .12s, border-color .12s;
}
.du-sayfa:hover:not(:disabled) { border-color: #93c5fd; transform: translateY(-1px); }
.du-sayfa.aktif { border-color: #1d4ed8; background: linear-gradient(180deg, #3b74ff, #1d4ed8); color: #fff; box-shadow: 0 8px 16px -8px rgba(29, 78, 216, 0.8); }
.du-sayfa:disabled { opacity: .4; cursor: default; }
.du-sayfa-bosluk { padding: 0 2px; color: #94a3b8; font-weight: 700; }
@media (max-width: 800px) {
  .du-sayfa { min-width: 36px; height: 38px; padding: 0 8px; font-size: 13px; }
}


/* ===== Mobil düzeltmeler: taşma, özet ve depo sekmeleri ===== */
/* Izgara öğeleri içerikleri kadar genişlemesin (tablo nowrap sayfayı yana taşırıyordu) */
.oz, .oz-izgara, .du { grid-template-columns: minmax(0, 1fr); }
.oz-izgara { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.oz > *, .oz-izgara > *, .oz-istatistik > *, .du > *, .depo-liste > * { min-width: 0; }

@media (max-width: 1000px) {
  .oz-izgara { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 800px) {
  /* Karşılama başlığı: tek satır, sakin */
  .hosgeldin { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 14px; }
  .hosgeldin p { width: 100%; margin: 0; font-size: 13px; }
  .hosgeldin h2 { margin: 0; font-size: 22px; }
  .hosgeldin .rol-rozet { font-size: 11px; }

  .oz { gap: 12px; }
  .oz-istatistik { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .oz-hero { grid-column: 1 / -1; padding: 16px; border-radius: 20px; }
  .oz-hero-ust .oz-etiket { font-size: 10px; }
  .oz-donem { padding: 2px 8px; font-size: 11px; }
  .oz-hero-sayi { font-size: 44px; }
  .oz-hero-alt { font-size: 11px; }

  .oz-mini { gap: 2px; padding: 10px 10px 12px; border-radius: 16px; }
  .oz-mini .oz-ikon { width: 26px; height: 26px; margin-bottom: 6px; border-radius: 8px; }
  .oz-mini .oz-ikon svg { width: 14px; height: 14px; }
  .oz-mini .oz-etiket { font-size: 9.5px; letter-spacing: 0.05em; }
  .oz-mini strong { font-size: 22px; }
  .oz-mini small { font-size: 10.5px; line-height: 1.25; }
  .oz-bos { min-height: 0; padding: 14px 0 6px; }

  .oz .gk { padding: 14px; border-radius: 18px; }
  .oz-bolum-ust { margin-bottom: 10px; }
  .oz-bolum-ust h3 { font-size: 14px; }
  .oz-cubuklar { gap: 6px; height: 150px; }
  .oz-cubuk { gap: 4px; }
  .oz-cubuk-alan { max-width: 40px; border-radius: 9px; }
  .oz-cubuk-deger { font-size: 12px; }
  .oz-cubuk-gun { font-size: 10.5px; }
  .oz-cubuk-tarih { font-size: 9.5px; }

  .oz-gorev { padding: 9px 10px; gap: 8px; }
  .oz-gorev-no { width: 32px; height: 32px; font-size: 13px; }

  /* Tablo yerine kart listesi */
  .oz-tablo-kap { margin: 0; overflow: visible; }
  .oz-tablo table, .oz-tablo tbody { display: block; }
  .oz-tablo thead { display: none; }
  .oz-tablo tbody { display: grid; gap: 8px; }
  .oz-tablo tbody tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 10px 12px;
    border: 1px solid rgba(203, 213, 225, 0.7);
    border-radius: 14px;
    background: #fff;
  }
  .oz-tablo tbody tr:hover td { background: transparent; }
  .oz-tablo td { padding: 0; border: 0; font-size: 12px; white-space: normal; }
  .oz-tablo td.oz-t-no { grid-row: 1; grid-column: 1; }
  .oz-tablo td.oz-cari { grid-row: 1; grid-column: 2; align-self: center; max-width: none; font-size: 13px; white-space: nowrap; }
  .oz-tablo td.oz-t-durum { grid-row: 1; grid-column: 3; align-self: center; }
  .oz-tablo td[data-etiket]:not(.oz-cari) {
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 8px;
    padding-top: 4px;
    border-top: 1px dashed #eef2f7;
    color: #0f172a;
    text-align: right;
  }
  .oz-tablo td[data-etiket]:not(.oz-cari)::before {
    content: attr(data-etiket);
    color: #64748b;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
  }
  .oz-tablo td .gk-rozet { padding: 1px 7px; font-size: 10.5px; }

  /* Depo sekmeleri: kaydırmasız, sayısı öne çıkan döşemeler */
  .gorev-sayfa .depo-filtre,
  .gorev-sayfa .depo-filtre.bes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin-bottom: 14px;
    padding: 6px;
    border-radius: 18px;
  }
  .gorev-sayfa .depo-filtre.bes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gorev-sayfa .depo-filtre.bes .btn { grid-column: span 2; }
  .gorev-sayfa .depo-filtre.bes .btn:nth-child(n + 4) { grid-column: span 3; }
  .gorev-sayfa .depo-filtre .btn,
  .gorev-sayfa .depo-filtre.bes .btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 7px 10px 7px 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0;
    text-align: left;
    box-shadow: 0 2px 6px -4px rgba(15, 23, 42, 0.25);
  }
  .gorev-sayfa .depo-filtre .btn::before {
    content: "";
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #94a3b8;
  }
  .gorev-sayfa .depo-filtre .btn.durum-1::before { background: #f97316; }
  .gorev-sayfa .depo-filtre .btn.durum-2::before { background: #10b981; }
  .gorev-sayfa .depo-filtre .btn.durum-3::before { background: #3b82f6; }
  .gorev-sayfa .depo-filtre .btn.gorev-sekme::before { background: #6366f1; }
  .gorev-sayfa .depo-filtre .btn i { display: none; }
  .gorev-sayfa .depo-filtre .filtre-ad {
    order: 2;
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .gorev-sayfa .depo-filtre .filtre-sayi,
  .gorev-sayfa .depo-filtre .gorev-sayi {
    order: 1;
    min-width: 0;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: none !important;
    color: #0f172a !important;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.1;
    box-shadow: none;
    animation: none;
  }
  .gorev-sayfa .depo-filtre .gorev-sayi.degisti { color: #dc2626 !important; }
  .gorev-sayfa .depo-filtre .gorev-sayi.degisti::after { content: " •"; color: #dc2626; }
  .gorev-sayfa .depo-filtre .btn.gorev-sekme { border-color: #c7d2fe; background: #eef2ff; color: #3730a3; }
  .gorev-sayfa .depo-filtre .btn.aktif,
  .gorev-sayfa .depo-filtre .btn.aktif:hover {
    border-color: #1d4ed8;
    background: linear-gradient(160deg, #3b74ff, #1d4ed8);
    color: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 16px -8px rgba(29, 78, 216, 0.8);
  }
  .gorev-sayfa .depo-filtre .btn.aktif::before { background: rgba(255, 255, 255, 0.85); }
  .gorev-sayfa .depo-filtre .btn.aktif .filtre-sayi,
  .gorev-sayfa .depo-filtre .btn.aktif .gorev-sayi { color: #fff !important; }
}

@media (max-width: 360px) {
  .oz-istatistik { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .oz-istatistik .oz-mini:last-child { grid-column: 1 / -1; }
  .gorev-sayfa .depo-filtre .btn { padding-left: 10px; font-size: 10.5px; }
}

/* ===== Personel notları (nt-) ===== */
.menu-rozet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  vertical-align: 1px;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

.nt { display: grid; gap: 14px; max-width: 1080px; }
.nt > * { min-width: 0; }
.nt .gk { margin-bottom: 0; }
.nt-avatar {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, #6366f1, #4338ca);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 12px -6px rgba(67, 56, 202, 0.7);
}
.nt-avatar.kucuk { width: 30px; height: 30px; font-size: 11px; }
.nt-avatar.buyuk { width: 46px; height: 46px; font-size: 15px; }

/* Sekmeler */
.nt-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.nt-sekmeler {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -14px rgba(15, 23, 42, 0.25);
}
.nt-sekme {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}
.nt-sekme:hover { background: #fff; color: #0f172a; text-decoration: none; }
.nt-sekme b { padding: 0 7px; border-radius: 999px; background: rgba(148, 163, 184, 0.2); font-size: 11px; }
.nt-sekme-yeni { padding: 1px 7px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; }
.nt-sekme.aktif { background: linear-gradient(180deg, #3b74ff, #1d4ed8); color: #fff; box-shadow: 0 8px 16px -8px rgba(29, 78, 216, 0.8); }
.nt-sekme.aktif b { background: rgba(255, 255, 255, 0.25); }
.nt-yeni svg { width: 16px; height: 16px; stroke-width: 2.6; }

/* Kartlar */
.nt-liste { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.nt-kart { position: relative; display: block; padding: 16px 18px; color: inherit; }
a.nt-kart:hover { text-decoration: none; }
.nt-kart::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #cbd5e1;
}
.nt-kart.o1::before { background: #f59e0b; }
.nt-kart.o2::before { background: #ef4444; }
.nt-kart.okunmamis { box-shadow: 0 0 0 2px rgba(59, 116, 255, 0.5), 0 26px 50px -26px rgba(29, 78, 216, 0.45); }
.nt-kart.guncel { box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5), 0 26px 50px -26px rgba(180, 83, 9, 0.35); }
.nt-kart.bitti { opacity: .85; }
.nt-kart.bitti h3 { color: #64748b; }
.nt-kart-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.nt-kart .nt-islemler, .nt-kart .nt-cipler { position: relative; z-index: 2; }
.nt-kart-ust { display: flex; align-items: center; gap: 10px; }
.nt-kim { display: flex; flex-direction: column; min-width: 0; }
.nt-kim b { color: #0f172a; font-size: 14px; }
.nt-kim small { color: #64748b; font-size: 12px; }
.nt-rozetler { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
.nt-kart h3 { margin: 12px 0 4px; color: #0f172a; font-size: 16px; line-height: 1.3; }
.nt-kart.gonderilen h3 { margin: 0; }
.nt-kart.gonderilen .nt-kart-ust { justify-content: space-between; }
.nt-ozetmetin { margin: 0; color: #475569; font-size: 14px; line-height: 1.5; white-space: pre-line; }
.nt-durum, .nt-oncelik { padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; }
.nt-durum.yeni { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; }
.nt-durum.duzen { background: #fff7ed; color: #c2410c; box-shadow: inset 0 0 0 1px #fdba74; }
.nt-oncelik.o1 { background: #fffbeb; color: #b45309; box-shadow: inset 0 0 0 1px #fde68a; }
.nt-oncelik.o2 { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; }
.nt-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.nt-cipler, .nt-alicilar-ozet { display: flex; flex-wrap: wrap; gap: 6px; }
.nt-alicilar-ozet { margin-top: 10px; }
.nt-cip { padding: 2px 9px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #334155; font-size: 12px; font-weight: 650; }
.nt-cip.grup { border-color: #c7d2fe; background: #eef2ff; color: #3730a3; }
.nt-cip.tarih { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.nt-cip.duzen { border-color: #fdba74; background: #fff7ed; color: #c2410c; }
.nt-cip.okundu { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.nt-cip.tamam { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.nt-islemler { display: flex; flex-wrap: wrap; gap: 6px; }
.nt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nt-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nt-btn.okundu { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.nt-btn.tamam { border-color: transparent; background: linear-gradient(180deg, #10b981, #047857); color: #fff; box-shadow: 0 8px 16px -8px rgba(4, 120, 87, 0.8); }
.nt-btn:hover { transform: translateY(-1px); }
.nt-zaman { display: block; margin-top: 10px; color: #94a3b8; font-size: 12px; text-align: right; }
.nt-ilerleme { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: center; margin-top: 12px; }
.nt-ilerleme > div:not(.nt-cubuk) { display: flex; justify-content: space-between; gap: 10px; min-width: 130px; font-size: 12px; color: #64748b; }
.nt-ilerleme b { color: #0f172a; }
.nt-cubuk { height: 8px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.nt-cubuk span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #1d4ed8); }
.nt-cubuk.tamam span { background: linear-gradient(90deg, #34d399, #047857); }
.nt-bos { padding: 28px 18px; text-align: center; }
.nt-bos p { margin: 6px 0 0; color: #64748b; }

/* Özet kartı */
.nt-ozet { margin-bottom: 16px; padding: 16px; }
.nt-ozet.yeni { box-shadow: 0 0 0 2px rgba(59, 116, 255, 0.35), 0 26px 50px -26px rgba(29, 78, 216, 0.45); }
.nt-ozet-ust { display: flex; align-items: center; gap: 12px; }
.nt-ozet-ust h3 { margin: 0; font-size: 15px; }
.nt-ozet-ust p { margin: 2px 0 0; color: #64748b; font-size: 12px; }
.nt-ozet-ust p b { color: #1d4ed8; }
.nt-ozet-ikon {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(145deg, #818cf8, #4338ca);
  color: #fff;
  box-shadow: 0 10px 18px -10px rgba(67, 56, 202, 0.8);
}
.nt-ozet-ikon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nt-ozet-ikon i {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.nt-ozet-git { margin-left: auto; font-size: 13px; font-weight: 700; white-space: nowrap; }
.nt-ozet-liste { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.nt-ozet-satir {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
}
.nt-ozet-satir:hover { border-color: #93c5fd; text-decoration: none; }
.nt-ozet-satir.okunmamis { background: #f5f8ff; border-color: #bfdbfe; }
.nt-ozet-metin { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.nt-ozet-metin b { overflow: hidden; color: #0f172a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.nt-ozet-metin small { color: #64748b; font-size: 11px; }
.nt-nokta { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
.nt-nokta.duzen { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }
.nt-ozet-bos { margin: 10px 0 0; color: #64748b; font-size: 13px; }

/* Form */
.nt-form-izgara { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.nt-form-izgara > * { min-width: 0; }
.nt-yaz, .nt-kime { padding: 18px; }
.nt-alan { display: grid; gap: 6px; margin-bottom: 14px; color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.nt-alan em { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; }
.nt-alan input, .nt-alan textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}
.nt-alan textarea { resize: vertical; line-height: 1.5; }
.nt-alan input:focus, .nt-alan textarea:focus { border-color: #3b74ff; outline: 0; box-shadow: 0 0 0 4px rgba(59, 116, 255, 0.15); }
.nt-alan .nt-hata { color: #b91c1c; font-size: 12px; font-weight: 700; }
.nt-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nt-oncelik-sec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; letter-spacing: 0; text-transform: none; }
.nt-oncelik-sec label { position: relative; cursor: pointer; }
.nt-oncelik-sec input { position: absolute; opacity: 0; }
.nt-oncelik-sec span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}
.nt-oncelik-sec .o0 input:checked + span { border-color: #64748b; background: #f1f5f9; color: #0f172a; }
.nt-oncelik-sec .o1 input:checked + span { border-color: #f59e0b; background: #fffbeb; color: #b45309; }
.nt-oncelik-sec .o2 input:checked + span { border-color: #ef4444; background: #fef2f2; color: #b91c1c; }
.nt-oncelik-sec input:focus-visible + span { outline: 3px solid rgba(59, 116, 255, 0.45); outline-offset: 2px; }
.nt-yardim { margin: 0 0 10px; color: #64748b; font-size: 13px; }
.nt-gruplar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.nt-grup { position: relative; cursor: pointer; }
.nt-grup input { position: absolute; opacity: 0; }
.nt-grup-ic {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  transition: border-color .15s, background .15s;
}
.nt-grup-ic b { color: #0f172a; font-size: 13px; }
.nt-grup-ic small { color: #64748b; font-size: 11px; }
.nt-grup input:checked + .nt-grup-ic { border-color: #4338ca; background: linear-gradient(160deg, #eef2ff, #e0e7ff); box-shadow: 0 8px 16px -10px rgba(67, 56, 202, 0.7); }
.nt-grup input:focus-visible + .nt-grup-ic { outline: 3px solid rgba(59, 116, 255, 0.45); outline-offset: 2px; }
.nt-kisi-ara { display: flex; align-items: center; gap: 8px; min-height: 42px; margin-bottom: 8px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; }
.nt-kisi-ara svg { width: 17px; height: 17px; fill: none; stroke: #64748b; stroke-width: 2; }
.nt-kisi-ara input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; }
.nt-kisiler { display: grid; gap: 4px; max-height: 340px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.nt-kisiler li[hidden] { display: none; }
.nt-kisi {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
}
.nt-kisi:hover { background: #f8fafc; }
.nt-kisi input { position: absolute; opacity: 0; }
.nt-kisi-ad { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.nt-kisi-ad b { color: #0f172a; font-size: 13px; }
.nt-kisi-ad small { color: #64748b; font-size: 11px; }
.nt-kisi-grup { padding: 1px 7px; border-radius: 999px; background: #eef2ff; color: #4338ca; font-size: 10px; font-weight: 700; }
.nt-kisi-tik { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 2px solid #cbd5e1; border-radius: 8px; background: #fff; }
.nt-kisi-tik svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; opacity: 0; }
.nt-kisi input:checked ~ .nt-kisi-tik { border-color: #4338ca; background: #4338ca; }
.nt-kisi input:checked ~ .nt-kisi-tik svg { opacity: 1; }
.nt-kisi:has(input:checked) { border-color: #c7d2fe; background: #f5f7ff; }
.nt-kisi.grupla .nt-kisi-tik { border-color: #a5b4fc; background: #e0e7ff; }
.nt-kisi input:focus-visible ~ .nt-kisi-tik { outline: 3px solid rgba(59, 116, 255, 0.45); outline-offset: 2px; }
.nt-gonder { margin-top: 0; }
#nt-secim-ozet { color: #4338ca; font-weight: 700; }

/* Ayrıntı */
.nt-oku { position: relative; padding: 22px 24px; }
.nt-oku::before { content: ""; position: absolute; top: 22px; bottom: 22px; left: 0; width: 4px; border-radius: 0 4px 4px 0; background: #cbd5e1; }
.nt-oku.o1::before { background: #f59e0b; }
.nt-oku.o2::before { background: #ef4444; }
.nt-oku-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.nt-oku-baslik { margin: 16px 0 8px; color: #0f172a; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.nt-oku-metin { color: #1e293b; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.nt-oku-metin p { margin: 0 0 10px; }
.nt-benim { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(148, 163, 184, 0.4); }
.nt-benim-durum { display: flex; flex-wrap: wrap; gap: 8px; }
.nt-benim-durum span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 700; }
.nt-benim-durum i { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.nt-benim-durum .evet { background: #eff6ff; color: #1d4ed8; }
.nt-benim-durum .evet i { background: #3b82f6; }
.nt-benim-durum .evet.tamam { background: #ecfdf5; color: #047857; }
.nt-benim-durum .evet.tamam i { background: #10b981; }
.nt-islemler.buyuk .nt-btn { min-height: 42px; padding: 8px 16px; font-size: 14px; }

.nt-takip { padding: 18px; }
.nt-takip-ozet { display: flex; gap: 24px; margin-bottom: 14px; }
.nt-halka { display: flex; align-items: center; gap: 10px; }
.nt-halka svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.nt-halka circle { fill: none; stroke-width: 3.6; stroke-linecap: round; }
.nt-halka .iz { stroke: #e2e8f0; }
.nt-halka .dolu { stroke: #3b82f6; }
.nt-halka.tamam .dolu { stroke: #10b981; }
.nt-halka b { display: block; color: #0f172a; font-size: 20px; }
.nt-halka small { color: #64748b; font-size: 12px; font-weight: 600; }
.nt-takip-liste { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nt-takip-liste li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  background: #fff;
}
.nt-takip-kim { display: flex; flex-direction: column; min-width: 0; }
.nt-takip-kim b { color: #0f172a; font-size: 13px; }
.nt-takip-kim small { color: #64748b; font-size: 11px; }
.nt-takip-durum { padding: 2px 9px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.nt-takip-durum.evet { background: #eff6ff; color: #1d4ed8; }
.nt-takip-durum.evet.tamam { background: #ecfdf5; color: #047857; }
.nt-takip-durum em { font-style: normal; font-weight: 600; color: #c2410c; }

@media (max-width: 900px) {
  .nt-form-izgara { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .nt { gap: 12px; }
  .nt-ust { flex-direction: column; align-items: stretch; }
  .nt-sekmeler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nt-sekme { flex-direction: column; justify-content: center; gap: 2px; min-height: 52px; padding: 6px 4px; font-size: 12px; text-align: center; }
  .nt-sekme-yeni { order: -1; }
  .nt-yeni { justify-content: center; min-height: 44px; }
  .nt-kart { padding: 14px 14px 14px 16px; }
  .nt-kart h3 { font-size: 15px; }
  .nt-ozetmetin { font-size: 13px; }
  .nt-alt { flex-direction: column; align-items: stretch; }
  .nt-islemler .nt-btn { flex: 1; justify-content: center; min-height: 42px; }
  .nt-ilerleme { grid-template-columns: minmax(0, 1fr); }
  .nt-ozet { padding: 14px; }
  .nt-ozet-git { font-size: 12px; }
  .nt-yaz, .nt-kime { padding: 14px; }
  .nt-iki { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .nt-oku { padding: 16px 16px 16px 18px; }
  .nt-oku-baslik { font-size: 18px; }
  .nt-oku-metin { font-size: 14px; }
  .nt-benim { flex-direction: column; align-items: stretch; }
  .nt-islemler.buyuk { display: grid; grid-template-columns: 1fr 1fr; }
  .nt-islemler.buyuk .nt-btn { justify-content: center; }
  .nt-takip-ozet { justify-content: space-around; gap: 10px; }
  .nt-takip-liste li { grid-template-columns: auto minmax(0, 1fr); }
  .nt-takip-durum { grid-column: 2; justify-self: start; }
  .nt-gonder .gk-tamamla, .nt-gonder .btn { width: 100%; justify-content: center; }
}

.nt-duzen-uyari { margin: 14px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff7ed; color: #c2410c; font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1px #fdba74; }
@media (max-width: 800px) { .nt-islemler.buyuk.tek { grid-template-columns: 1fr; } }

.dk-btn.nt-sil { border: 1px solid #fecaca; background: #fff; color: #b91c1c; }
.dk-btn.nt-sil:hover { background: #fef2f2; color: #b91c1c; }
/* Sipariş sil: depo kartında form düğmesi diğer düğmelerle aynı satırda durur */
.dk-sil-form { display: contents; }
.sd-siparis-sil { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.po-tamam.tehlike { background: linear-gradient(180deg, #ef4444, #b91c1c); box-shadow: 0 10px 18px -10px rgba(185, 28, 28, 0.8); }

/* ===== Özet kartları — kısayol ve sayaç (ok-) ===== */
.ok-kisayollar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 16px; max-width: 1120px; }
.ok-kisayollar > * { min-width: 0; }
.ok-kisayol {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 16px 18px;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
a.ok-kisayol:hover { text-decoration: none; transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 26px 44px -22px rgba(30, 58, 138, 0.45); }
.ok-kisayol-metin { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.ok-kisayol-metin b { color: #0f172a; font-size: 15px; }
.ok-kisayol-metin small { color: #64748b; font-size: 13px; line-height: 1.4; }
.ok-kisayol.pasif { opacity: .8; }
.ok-yakinda { padding: 2px 9px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ok-ok { color: #94a3b8; font-size: 18px; font-weight: 700; transition: transform .18s ease, color .18s ease; }
a:hover .ok-ok { color: #1d4ed8; transform: translateX(3px); }

.ok-ikon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, #60a5fa, #1d4ed8);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 18px -10px rgba(29, 78, 216, 0.8);
}
.ok-ikon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ok-ikon.k-katalog { background: linear-gradient(145deg, #818cf8, #4338ca); box-shadow: 0 10px 18px -10px rgba(67, 56, 202, 0.8); }
.ok-ikon.k-hesap { background: linear-gradient(145deg, #94a3b8, #334155); box-shadow: 0 10px 18px -10px rgba(51, 65, 85, 0.8); }
.ok-ikon.k-cari { background: linear-gradient(145deg, #34d399, #047857); box-shadow: 0 10px 18px -10px rgba(4, 120, 87, 0.8); }
.ok-ikon.k-siparis { background: linear-gradient(145deg, #60a5fa, #1d4ed8); }
.ok-ikon.k-hedef { background: linear-gradient(145deg, #fb923c, #c2410c); box-shadow: 0 10px 18px -10px rgba(194, 65, 12, 0.8); }
.ok-ikon.t-mavi { background: linear-gradient(145deg, #60a5fa, #1d4ed8); }
.ok-ikon.t-camgobegi { background: linear-gradient(145deg, #22d3ee, #0e7490); box-shadow: 0 10px 18px -10px rgba(14, 116, 144, 0.8); }
.ok-ikon.t-mor { background: linear-gradient(145deg, #a78bfa, #6d28d9); box-shadow: 0 10px 18px -10px rgba(109, 40, 217, 0.8); }
.ok-ikon.t-lacivert { background: linear-gradient(145deg, #3b74ff, #1e3a8a); box-shadow: 0 10px 18px -10px rgba(30, 58, 138, 0.8); }
.ok-ikon.t-yesil { background: linear-gradient(145deg, #34d399, #047857); box-shadow: 0 10px 18px -10px rgba(4, 120, 87, 0.8); }
.ok-ikon.t-turuncu { background: linear-gradient(145deg, #fb923c, #c2410c); box-shadow: 0 10px 18px -10px rgba(194, 65, 12, 0.8); }
.ok-ikon.t-pembe { background: linear-gradient(145deg, #f472b6, #be185d); box-shadow: 0 10px 18px -10px rgba(190, 24, 93, 0.8); }

.ok-sayilar { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; margin-bottom: 22px; max-width: 1120px; }
.ok-sayilar > * { min-width: 0; }
.ok-sayi {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 16px 16px 14px;
  overflow: hidden;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
  animation: ok-gel .5s ease both;
}
.ok-sayi:nth-child(2) { animation-delay: .05s; }
.ok-sayi:nth-child(3) { animation-delay: .1s; }
.ok-sayi:nth-child(4) { animation-delay: .15s; }
.ok-sayi:nth-child(5) { animation-delay: .2s; }
.ok-sayi:nth-child(6) { animation-delay: .25s; }
.ok-sayi:nth-child(7) { animation-delay: .3s; }
@keyframes ok-gel { from { opacity: 0; transform: translateY(10px); } }
.ok-sayi::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 116, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.ok-sayi.t-turuncu::after { background: radial-gradient(circle, rgba(249, 115, 22, 0.16), transparent 70%); }
.ok-sayi.t-yesil::after { background: radial-gradient(circle, rgba(16, 185, 129, 0.14), transparent 70%); }
.ok-sayi.t-mor::after { background: radial-gradient(circle, rgba(139, 92, 246, 0.14), transparent 70%); }
.ok-sayi.t-pembe::after { background: radial-gradient(circle, rgba(236, 72, 153, 0.14), transparent 70%); }
.ok-sayi.t-camgobegi::after { background: radial-gradient(circle, rgba(6, 182, 212, 0.14), transparent 70%); }
.ok-sayi:hover { text-decoration: none; transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 26px 44px -22px rgba(30, 58, 138, 0.45); }
.ok-sayi.t-turuncu { border-color: #fed7aa; background: linear-gradient(150deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.75)); }
.ok-sayi-ust { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ok-deger { color: #0f172a; font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ok-etiket { color: #64748b; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ok-sayi.t-turuncu .ok-deger { color: #c2410c; }

.ok-baslik { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; }
.ok-tablo { max-width: 1120px; margin-bottom: 0; padding: 6px 4px; overflow-x: auto; }
.ok-tablo th { background: transparent; color: #64748b; font-size: 11px; letter-spacing: 0.05em; }
.ok-tablo td { border-color: rgba(226, 232, 240, 0.8); }
.ok-tablo tbody tr:hover td { background: rgba(239, 246, 255, 0.6); }

@media (max-width: 800px) {
  .ok-kisayollar { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ok-kisayol { padding: 12px 14px; }
  .ok-ikon { width: 36px; height: 36px; border-radius: 11px; }
  .ok-ikon svg { width: 18px; height: 18px; }
  .ok-sayilar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ok-sayi { padding: 12px; }
  .ok-sayi-ust { margin-bottom: 4px; }
  .ok-deger { font-size: 26px; }
  .ok-etiket { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .ok-sayi { animation: none; } }

/* ===== Admin sipariş panosu (pn-) — Özet sayfası, panel/pano.py ===== */
.pn { display: grid; gap: 16px; margin: 8px 0 28px; }
.pn-ust { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 16px; }
.pn-ust h2 { margin: 0; color: #0f172a; font-size: 20px; letter-spacing: -0.01em; }
.pn-ust p { margin: 4px 0 0; color: #64748b; font-size: 13px; }
.pn-guncel { color: #94a3b8; font-size: 12px; font-weight: 650; }
.pn-soru { margin: 0; color: #0f172a; font-size: 15px; font-weight: 750; }
.pn > .pn-soru { margin-top: 4px; }
.pn-etiket { display: inline-flex; align-items: center; gap: 6px; color: #64748b; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }

.pn-kpi { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(5, minmax(0, 1fr)); gap: 12px; }
.pn-hero, .pn-kart { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px; color: inherit; }
.pn-hero { justify-content: space-between; background: linear-gradient(135deg, #1e3a8a, #2563eb 60%, #3b82f6); color: #fff; }
.pn-hero .pn-etiket { color: rgba(255, 255, 255, .8); }
.pn-hero-sayi { font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pn-hero-sayi small { font-size: 16px; font-weight: 700; opacity: .85; }
.pn-hero-alt { color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 600; }
.pn-hero-kirilim { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12px; font-weight: 600; }
.pn-hero-kirilim span { display: inline-flex; align-items: center; gap: 6px; }
.pn-hero-kirilim .pn-nokta { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.pn-kart strong { color: #0f172a; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pn-kart strong.pn-sure { font-size: 22px; }
.pn-kart small { color: #64748b; font-size: 12px; font-weight: 600; }
a.pn-kart { text-decoration: none; transition: transform .15s; }
a.pn-kart:hover { transform: translateY(-2px); text-decoration: none; }
.pn-kart.kritik { border-color: #fecaca; background: linear-gradient(180deg, #fff, #fff5f5); }
.pn-kart.kritik strong { color: #b91c1c; }
.pn-uyari { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #d03b3b; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }

.pn-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pn-bolum { min-width: 0; padding: 18px; }
.pn-bolum-ust { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 14px; }
.pn-bolum-ust > span { color: #64748b; font-size: 12px; font-weight: 650; }
.pn-bos { margin: 6px 0 0; color: #94a3b8; font-size: 13px; }

/* Renkler: aşama = uygulamanın durum renkleri; seri-1/2 doğrulanmış kategorik çift */
.bekliyor { --pn-renk: #94a3b8; }
.hazirlaniyor { --pn-renk: #f59e0b; }
.tamamlandi { --pn-renk: #10b981; }
.sevk { --pn-renk: #0ea5e9; }
.odeme-alindi { --pn-renk: #0ca30c; }
.odeme-alinmadi { --pn-renk: #d03b3b; }
.odeme-belirsiz { --pn-renk: #94a3b8; }
.seri-1 { --pn-renk: #2a78d6; }
.seri-2 { --pn-renk: #eb6834; }

/* Parçalı yatay çubuk: 2px boşluk, uçlar yuvarlak */
.pn-hat { display: flex; gap: 2px; height: 22px; margin-bottom: 14px; }
.pn-hat.yol { height: 16px; }
.pn-hat-parca { position: relative; min-width: 6px; background: var(--pn-renk); }
.pn-hat-parca:first-child { border-radius: 6px 0 0 6px; }
.pn-hat-parca:last-child { border-radius: 0 6px 6px 0; }
.pn-hat-parca:only-child { border-radius: 6px; }
a.pn-hat-parca:hover { filter: brightness(.92); }
.pn-nokta { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--pn-renk); }
.pn-lejant { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pn-lejant.yatay { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.pn-lejant li > a, .pn-lejant li > span { display: flex; align-items: center; gap: 8px; color: #334155; font-size: 13px; font-weight: 600; text-decoration: none; }
.pn-lejant li > a:hover { color: #1d4ed8; }
.pn-lejant b { margin-left: auto; color: #0f172a; font-variant-numeric: tabular-nums; }
.pn-lejant.yatay b { margin-left: 2px; }

/* Günlük iki serili sütun grafik */
.pn-gunler { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; height: 190px; padding-bottom: 2px; border-bottom: 1px solid #e2e8f0; }
.pn-gun { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.pn-gun-cubuklar { display: flex; justify-content: center; align-items: flex-end; gap: 2px; height: 100%; }
.pn-cubuk { width: min(14px, 42%); min-height: 2px; border-radius: 4px 4px 0 0; background: var(--pn-renk); }
.pn-cubuk.sifir { opacity: .25; }
.pn-gun:hover .pn-cubuk { filter: brightness(.9); }
.pn-gun-ad { color: #64748b; font-size: 11px; font-weight: 650; text-align: center; white-space: nowrap; }
.pn-gun.bugun .pn-gun-ad, .pn-ileri-gun.bugun .pn-gun-ad { color: #0f172a; font-weight: 800; }

/* Yaklaşan teslimler */
.pn-ileri { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; align-items: end; height: 190px; }
.pn-ileri-gun { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; min-width: 0; }
.pn-ileri-deger { color: #0f172a; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pn-ileri-gun.sifir .pn-ileri-deger { color: #cbd5e1; }
.pn-ileri-alan { display: flex; align-items: flex-end; width: 100%; max-width: 30px; flex: 1; }
.pn-ileri-alan span { display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: #2a78d6; }
.pn-ileri-gun.gecikti .pn-ileri-alan span { background: #d03b3b; }
.pn-ileri-gun.gecikti .pn-gun-ad { color: #b91c1c; font-weight: 800; }
.pn-ileri-gun.gecikti.sifir .pn-ileri-alan span, .pn-ileri-gun.sifir .pn-ileri-alan span { opacity: .25; }

/* Ortalama süre adımları */
.pn-adimlar { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pn-adimlar li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 0 10px; align-items: center; }
.pn-adimlar li > div { display: flex; flex-direction: column; }
.pn-adimlar b { color: #0f172a; font-size: 13px; }
.pn-adimlar small { color: #64748b; font-size: 12px; }
.pn-adimlar strong { color: #0f172a; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.pn-adimlar .pn-n { grid-column: 3; text-align: right; color: #94a3b8; font-size: 11px; }

/* Tablolar */
.pn-tablo { width: 100%; border-collapse: collapse; font-size: 13px; }
.pn-tablo th { padding: 6px 8px; border-bottom: 1px solid #e2e8f0; color: #64748b; font-size: 11px; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: .03em; }
.pn-tablo td { padding: 8px; border-bottom: 1px solid #f1f5f9; color: #0f172a; font-variant-numeric: tabular-nums; }
.pn-tablo .sag { text-align: right; white-space: nowrap; }
.pn-tablo td small { color: #94a3b8; font-size: 11px; font-weight: 600; }
.pn-tablo.kisi td:nth-child(2) { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.pn-satir-cubuk { display: block; flex: 1; height: 8px; border-radius: 4px; background: #f1f5f9; }
.pn-satir-cubuk span { display: block; height: 100%; border-radius: 4px; background: #2a78d6; }
.pn-tablo-ac { margin-top: 10px; }
.pn-tablo-ac summary { color: #1d4ed8; font-size: 12px; font-weight: 650; cursor: pointer; }
.pn-tablo-ac .pn-tablo { margin-top: 8px; }

/* Üzerine gelince ipucu */
[data-ipucu] { position: relative; }
[data-ipucu]:hover::after, [data-ipucu]:focus-visible::after {
  content: attr(data-ipucu);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
  padding: 5px 9px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 18px -8px rgba(15, 23, 42, .6);
}
.pn-gun[data-ipucu]:hover::after, .pn-ileri-gun[data-ipucu]:hover::after { bottom: auto; top: -4px; transform: translate(-50%, -100%); }

@media (max-width: 1100px) {
  .pn-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pn-hero { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .pn-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pn-kart:last-child { grid-column: 1 / -1; }
  .pn-izgara { grid-template-columns: minmax(0, 1fr); }
  .pn-bolum { padding: 14px; }
  .pn-hero-sayi { font-size: 28px; }
  .pn-kart strong { font-size: 26px; }
  .pn-ileri { gap: 4px; height: 170px; }
}
@media (max-width: 600px) {
  /* Telefonda son 7 gün */
  .pn-gunler { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .pn-gun:nth-child(-n+7) { display: none; }
  .pn-ileri-deger { font-size: 12px; }
  .pn-gun-ad { font-size: 10px; }
}

/* ===== Depo: Sevk edildi sekmesinde küçük kart (kompakt) ===== */
.gorev-sayfa .depo-liste.kompakt { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; max-width: 1600px; }
.kompakt .dk { height: 100%; }
/* İç bilgi kutusu her kartta aynı yerde başlasın: başlık alanı en az iki satır unvan + alt satır kadar yer tutar */
.kompakt .dk-bas { min-height: 74px; }
.kompakt .dk { padding: 12px; }
.kompakt .dk-bas { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
.kompakt .dk-no { width: 42px; height: 42px; border-radius: 12px; }
.kompakt .dk-no strong { font-size: 17px; }
.kompakt .dk-no span { display: none; }
.kompakt .dk-unvan { margin: 4px 0 0; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kompakt .dk-cari-alt { font-size: 11px; }
.kompakt .gk-rozetler .gk-rozet { padding: 1px 7px; font-size: 10.5px; }
.dk-k-tutar { display: flex; flex-direction: column; align-items: flex-end; color: #0f172a; font-size: 13px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dk-k-tutar small { color: #64748b; font-size: 11px; font-weight: 650; }
.dk-k-bilgi { margin-top: 10px; padding: 8px 10px; gap: 6px 10px; }
.kompakt .dk-odeme-info { margin-top: 8px; padding: 6px 10px; font-size: 12px; }
.kompakt .dk-alt { padding-top: 10px; }
.kompakt .dk-btn { min-height: 34px; padding: 6px 10px; font-size: 12.5px; }
.dk .dk-alt { flex-wrap: wrap; }

/* ===== Sipariş detayı penceresi (sdt-) ===== */
.sdt {
  width: min(880px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 30px 70px -20px rgba(15, 23, 42, .55);
}
.sdt::backdrop { background: rgba(15, 23, 42, .5); backdrop-filter: blur(3px); }
.sdt-ic { position: relative; padding: 22px; }
.sdt-kapat { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #334155; font-size: 22px; line-height: 1; cursor: pointer; }
.sdt-kapat:hover { background: #f1f5f9; }
.sdt-yukleniyor { margin: 30px 0; color: #64748b; text-align: center; }
.sdt-bas { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding-right: 40px; }
.sdt-no { width: 58px; height: 58px; border-radius: 16px; }
.sdt-kimlik h2 { margin: 6px 0 2px; font-size: 18px; line-height: 1.3; }
.sdt-kimlik p { margin: 0; color: #64748b; font-size: 13px; font-weight: 600; }
.sdt-tel a { color: #1d4ed8; }
.sdt-bilgi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: #f8fafc; }
.sdt-bilgi div { min-width: 0; }
.sdt-bilgi dt { color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sdt-bilgi dd { margin: 2px 0 0; font-size: 13px; font-weight: 650; }
.sdt-teslim { color: #475569; }
.sdt-teslim.bugun { color: #c2410c; }
.sdt-teslim.gecikti { color: #b91c1c; font-weight: 800; }
.sdt-bolum { margin-top: 18px; }
.sdt-bolum h3 { margin: 0 0 10px; font-size: 14px; }
.sdt-bolum h3 small { color: #64748b; font-size: 12px; font-weight: 650; }
.sdt-akis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sdt-akis li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 9px 10px 9px 14px; border-radius: 12px; background: #f8fafc; font-size: 12px; }
.sdt-akis li::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: #cbd5e1; }
.sdt-akis li.oldu::before { background: #10b981; }
.sdt-akis li b { font-size: 12.5px; }
.sdt-akis li span { color: #475569; }
.sdt-akis li.bekliyor span { color: #94a3b8; }
.sdt-akis li small { color: #1d4ed8; font-weight: 700; }
.sdt-tablo-kap { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 14px; }
.sdt-tablo { width: 100%; border-collapse: collapse; font-size: 13px; }
.sdt-tablo th { padding: 8px 10px; background: #f8fafc; color: #64748b; font-size: 11px; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.sdt-tablo td { padding: 9px 10px; border-top: 1px solid #f1f5f9; vertical-align: top; font-variant-numeric: tabular-nums; }
.sdt-tablo .sag { text-align: right; white-space: nowrap; }
.sdt-tablo tr.yok td { background: #fff5f5; }
.sdt-tablo td small { display: block; color: #64748b; font-size: 11.5px; }
.sdt-tablo td small em { color: #b91c1c; font-style: normal; font-weight: 700; }
.sdt-urun b { color: #1d4ed8; }
.sdt-artan { color: #c2410c; font-size: 11.5px; font-weight: 700; }
.sdt-tablo tfoot td { border-top: 1px solid #e2e8f0; background: #f8fafc; font-weight: 700; }
.sdt-bos { color: #94a3b8; text-align: center; }
.sdt-gecmis summary { color: #1d4ed8; font-size: 13px; font-weight: 700; cursor: pointer; }
.sdt-gecmis ul { margin: 8px 0 0; padding-left: 18px; color: #334155; font-size: 12.5px; }
.sdt-gecmis time { color: #64748b; }

@media (max-width: 800px) {
  .gorev-sayfa .depo-liste.kompakt { grid-template-columns: minmax(0, 1fr); }
  .kompakt .dk-bas { min-height: 0; }
  .sdt { width: calc(100vw - 12px); max-height: calc(100vh - 12px); border-radius: 16px; }
  .sdt-ic { padding: 16px 14px; }
  .sdt-bilgi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sdt-no { width: 46px; height: 46px; }
  .sdt-kimlik h2 { font-size: 15px; }
  /* Telefonda ürün tablosu etiketli satırlar */
  .sdt-tablo-kap { overflow: visible; border: 0; }
  .sdt-tablo thead { display: none; }
  .sdt-tablo, .sdt-tablo tbody, .sdt-tablo tfoot { display: block; }
  .sdt-tablo tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; margin-bottom: 8px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 12px; }
  .sdt-tablo td { display: flex; justify-content: space-between; gap: 8px; padding: 0; border: 0; }
  .sdt-tablo td[data-etiket]::before { content: attr(data-etiket); color: #64748b; font-size: 11px; font-weight: 700; }
  .sdt-tablo td:first-child { grid-column: 1 / -1; display: block; }
  .sdt-tablo td:first-child::before { content: none; }
  .sdt-tablo tfoot tr { grid-template-columns: minmax(0, 1fr) auto; background: #f8fafc; }
}

/* ===== Stok modülü (st-) ===== */
.st { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.st > * { min-width: 0; }
.st-ust { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; padding: 16px; }
.st-ara input { font-size: 16px; }
.st-qr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 18px; border-radius: 16px; white-space: nowrap; }
.st-qr-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.st-ipucu { grid-column: 1 / -1; margin: 0; color: #64748b; font-size: 13px; line-height: 1.45; }

/* Arama sonuç kartları */
.st-sonuclar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 12px; margin-bottom: 18px; }
.st-sonuclar:empty { display: none; }
.st-sonuc {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center;
  min-width: 0; padding: 12px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.st-sonuc:hover, .st-sonuc:focus-visible { border-color: #3b74ff; box-shadow: 0 0 0 3px rgba(59, 116, 255, 0.14); outline: 0; }
.st-sonuc:active { transform: scale(0.99); }
.st-sonuc-gorsel { display: grid; place-items: center; width: 92px; height: 92px; border: 1px solid #f1f5f9; border-radius: 12px; background: #fff; overflow: hidden; }
.st-sonuc-gorsel img { width: 100%; height: 100%; object-fit: contain; }
.st-sonuc-govde { display: grid; gap: 5px; min-width: 0; }
.st-sonuc-ad { color: #0f172a; font-size: 15px; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.st-sonuc-cipler { display: flex; flex-wrap: wrap; gap: 5px; }
.st-sonuc-cipler .du-cip { max-width: 100%; overflow-wrap: anywhere; }
.st-cip-koli { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.st-cip-koli em { color: #dc2626; }
.st-sonuc-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; }
.st-sonuc-stok { padding: 2px 8px; border-radius: 999px; background: #fef2f2; color: #b91c1c; font-size: 12px; font-weight: 700; white-space: nowrap; }
.st-sonuc-stok.var { background: #ecfdf5; color: #047857; }

/* Seçili ürün ve giriş formu */
.st-urun { scroll-margin-top: 80px; }
.st-urun-ust { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: start; }
.st-gorsel { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #f1f5f9; border-radius: 14px; background: #fff; overflow: hidden; }
.st-gorsel img { width: 100%; height: 100%; object-fit: contain; }
.st-bilgi { display: grid; gap: 6px; min-width: 0; }
.st-bilgi h2 { margin: 0; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
.st-bilgi .du-cipler { display: flex; flex-wrap: wrap; gap: 5px; }
.st-alanlar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.st-alanlar div { min-width: 0; padding: 10px 12px; border-radius: 12px; background: #f8fafc; }
.st-alanlar dt { color: #64748b; font-size: 12px; }
.st-alanlar dd { margin: 4px 0 0; color: #0f172a; font-size: 17px; font-weight: 750; overflow-wrap: anywhere; }
.st-form { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 180px) auto; gap: 12px; align-items: end; justify-content: start; }
.st-form label { display: grid; gap: 4px; min-width: 0; color: #475569; font-size: 13px; font-weight: 650; }
.st-form input, .st-form select { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; font-size: 16px; }
.st-form input:focus, .st-form select:focus { border-color: #3b74ff; outline: 0; box-shadow: 0 0 0 4px rgba(59, 116, 255, 0.15); }
.st-form .btn { min-height: 48px; padding: 0 22px; border-radius: 12px; }
.st-hesap { grid-column: 1 / -1; margin: 0; color: #047857; font-weight: 650; }
.st-hesap:empty { display: none; }

/* Son girişler */
.st-hareketler h2 { margin: 0 0 12px; font-size: 17px; }
.st-tablo-kap { overflow-x: auto; }
.st-tablo { width: 100%; border-collapse: collapse; font-size: 13px; }
.st-tablo th, .st-tablo td { padding: 8px 10px; border-bottom: 1px solid #e2e8f0; text-align: left; white-space: nowrap; }
.st-tablo th { color: #64748b; font-weight: 650; }
.st-tablo .st-td-adet { color: #047857; font-weight: 750; }
.st-tablo tr.st-yeni { background: #ecfdf5; }

/* Barkod okuyucu (bk-, panel/barkod.js) — tam ekran kamera */
.bk {
  position: fixed; inset: 0; z-index: 2000;
  width: 100vw; height: 100vh; height: 100dvh;
  overflow: hidden; background: #000; color: #fff;
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
.bk-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.bk-maske { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.bk-cerceve {
  position: relative;
  width: min(86vw, 560px); height: min(34vh, 230px);
  border-radius: 18px;
  box-shadow: 0 0 0 100vmax rgba(2, 6, 23, 0.58);
  transition: box-shadow .2s;
}
.bk-kose { position: absolute; width: 34px; height: 34px; border: 4px solid #fff; border-radius: 4px; transition: border-color .15s; }
.bk-kose.sol-ust { top: -2px; left: -2px; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.bk-kose.sag-ust { top: -2px; right: -2px; border-left: 0; border-bottom: 0; border-top-right-radius: 18px; }
.bk-kose.sol-alt { bottom: -2px; left: -2px; border-right: 0; border-top: 0; border-bottom-left-radius: 18px; }
.bk-kose.sag-alt { bottom: -2px; right: -2px; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }
.bk-lazer {
  position: absolute; left: 6%; right: 6%; top: 50%; height: 2px;
  background: #ef4444; box-shadow: 0 0 12px 2px rgba(239, 68, 68, 0.85);
  animation: bk-lazer 1.6s ease-in-out infinite alternate;
}
@keyframes bk-lazer { from { transform: translateY(-80px); } to { transform: translateY(80px); } }
@media (prefers-reduced-motion: reduce) { .bk-lazer { animation: none; } }
.bk.bulundu .bk-kose { border-color: #22c55e; }
.bk.bulundu .bk-lazer { background: #22c55e; box-shadow: 0 0 14px 3px rgba(34, 197, 94, 0.9); animation: none; transform: none; }
.bk.hata .bk-kose { border-color: #ef4444; }

.bk-ust, .bk-alt { position: absolute; left: 0; right: 0; display: flex; gap: 10px; padding: 14px 16px; }
.bk-ust {
  top: 0; align-items: center; justify-content: space-between;
  padding-top: max(14px, env(safe-area-inset-top));
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}
.bk-ust strong { font-size: 18px; }
.bk-araclar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.bk-arac, .bk-kapat {
  min-height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 12px;
  background: rgba(15, 23, 42, 0.55); color: #fff; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.bk-arac.acik { border-color: #facc15; background: rgba(250, 204, 21, 0.25); color: #fde68a; }
.bk-kapat { width: 44px; padding: 0; font-size: 26px; line-height: 1; }
.bk-alt {
  bottom: 0; flex-direction: column;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 35%);
}
.bk-durum { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(15, 23, 42, 0.6); font-size: 15px; line-height: 1.4; text-align: center; }
.bk-durum.iyi { background: rgba(22, 163, 74, 0.85); }
.bk-durum.kotu { background: rgba(220, 38, 38, 0.85); }
.bk-el { display: flex; gap: 8px; width: 100%; max-width: 560px; margin: 0 auto; }
.bk-el input {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 12px;
  background: rgba(255, 255, 255, 0.95); color: #0f172a; font-size: 16px;
}
.bk-getir { min-height: 50px; padding: 0 20px; border: 0; border-radius: 12px; background: #2f6bff; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
@media (max-width: 520px) {
  .bk-ust strong { font-size: 16px; }
  .bk-arac { padding: 0 10px; font-size: 13px; }
  .bk-cerceve { width: 88vw; height: min(28vh, 200px); }
}
@media (orientation: landscape) and (max-height: 520px) {
  .bk-cerceve { height: 46vh; }
  .bk-alt { flex-direction: row; align-items: center; }
  .bk-durum { flex: 1; font-size: 13px; }
}

@media (max-width: 800px) {
  .st-ust { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 10px; }
  .st-qr-btn { width: 100%; min-height: 52px; font-size: 16px; }
  .st-ipucu { font-size: 12px; }
  .st-sonuclar { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .st-sonuc { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .st-sonuc-gorsel { width: 76px; height: 76px; }
  .st-sonuc-ad { font-size: 14px; }
  .st-urun { padding: 14px; }
  .st-urun-ust { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .st-bilgi h2 { font-size: 17px; }
  .st-alanlar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
  .st-alanlar dd { font-size: 15px; }
  .st-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .st-hesap { order: 2; }
  .st-form .btn { order: 3; grid-column: 1 / -1; min-height: 52px; font-size: 16px; }
  .st-hareketler { padding: 14px; }
  .st-tablo-kap { overflow: visible; }
  .st-tablo thead { display: none; }
  .st-tablo, .st-tablo tbody { display: block; }
  .st-tablo tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; margin-bottom: 10px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
  .st-tablo tr.st-bos { display: block; }
  .st-tablo td { display: grid; gap: 1px; min-width: 0; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .st-tablo td::before { content: attr(data-etiket); color: #64748b; font-size: 11px; font-weight: 600; }
  .st-tablo tr.st-bos td::before { content: none; }
  .st-tablo .st-td-urun { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .st-sonuc { grid-template-columns: 64px minmax(0, 1fr); }
  .st-sonuc-gorsel { width: 64px; height: 64px; }
  .st-urun-ust { grid-template-columns: 80px minmax(0, 1fr); }
}

/* Ürün formu: Kayıt bilgisi (ur-) */
.ur-kayit-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 0; }
.ur-kayit-liste div { min-width: 0; padding: 10px 12px; border-radius: 12px; background: #f8fafc; }
.ur-kayit-liste dt { color: #64748b; font-size: 12px; }
.ur-kayit-liste dd { margin: 4px 0 0; color: #0f172a; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.ur-ekleyen { display: block; color: #64748b; font-size: 11px; }

/* Stok modülü: seçili ürün kartını kapat */
.st-urun-kapat {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid #e2e8f0; border-radius: 12px; background: #fff;
  color: #475569; font: inherit; font-size: 24px; line-height: 1; cursor: pointer;
}
.st-urun-kapat:hover, .st-urun-kapat:focus-visible { border-color: #ef4444; background: #fef2f2; color: #b91c1c; outline: 0; }
.st-urun .st-bilgi { padding-right: 44px; }

/* Görevlerim: barkodla onay (gk-dogrula, gk-sayim) */
.gk-dogrula {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 8px 10px; border-radius: 12px;
  background: #f8fafc; box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25);
}
.gk-dogrula-durum { display: inline-flex; align-items: center; gap: 6px; color: #64748b; font-size: 13px; font-weight: 650; }
.gk-dogrula-durum::before { content: "1"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e2e8f0; color: #475569; font-size: 11px; font-weight: 800; }
.gk-urun.dogrulandi .gk-dogrula-durum { color: #047857; }
.gk-urun.dogrulandi .gk-dogrula-durum::before { content: "✓"; background: #10b981; color: #fff; }
.gk-sayim { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-left: auto; }
.gk-sayim-alan { display: inline-flex; align-items: center; gap: 5px; color: #475569; font-size: 13px; font-weight: 650; }
.gk-sayim-alan input {
  width: 64px; min-height: 36px; padding: 0 8px; border: 1px solid #cbd5e1; border-radius: 10px;
  background: #fff; color: #0f172a; font: inherit; font-size: 16px; font-weight: 750; text-align: center;
  font-variant-numeric: tabular-nums;
}
.gk-sayim-alan input:focus { border-color: #3b74ff; outline: 0; box-shadow: 0 0 0 3px rgba(59, 116, 255, 0.15); }
.gk-sayim-alan input:disabled { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; }
.gk-sayim-hedef { color: #64748b; font-size: 12px; font-weight: 650; }
.gk-dogrula-geri { min-height: 30px; padding: 0 10px; border: 1px solid #e2e8f0; border-radius: 9px; background: #fff; color: #475569; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.gk-dogrula-geri:hover { border-color: #fca5a5; color: #b91c1c; }
.gk-urun.sayim-yanlis .gk-sayim-alan input { border-color: #f59e0b; background: #fffbeb; }
.gk-urun.sayim-yanlis .gk-sayim-hedef { color: #b45309; }
.gk-urun.sayim-tamam .gk-sayim-alan input { border-color: #10b981; background: #ecfdf5; color: #047857; }
.gk-urun.sayim-tamam .gk-sayim-hedef { color: #047857; }
.gk-urun.sayim-tamam .gk-miktar { background: linear-gradient(160deg, #ecfdf5, #d1fae5); box-shadow: inset 0 0 0 1px #6ee7b7; }
.gk-urun.sayim-tamam .gk-miktar .gk-koli, .gk-urun.sayim-tamam .gk-miktar .gk-adet { color: #047857; }
.gk-urun.sayim-tamam .gk-dogrula { background: #ecfdf5; box-shadow: inset 0 0 0 1px #a7f3d0; }
.gk-urun.dogrulandi .gk-btn.barkod { background: linear-gradient(180deg, #10b981, #047857); }
.gk-urun.stok-yok .gk-dogrula { opacity: .5; }
.gk-barkodsuz { display: inline-flex; align-items: center; gap: 6px; color: #475569; font-size: 12px; font-weight: 650; cursor: pointer; }
.gk-barkodsuz input { width: 16px; height: 16px; margin: 0; accent-color: #047857; }
.gk-barkod-yok { color: #b91c1c; font-size: 11px; font-weight: 650; text-align: center; }
@media (max-width: 800px) {
  .gk-dogrula { padding: 7px 8px; gap: 6px 8px; }
  .gk-dogrula-durum { font-size: 12px; width: 100%; }
  .gk-sayim { margin-left: 0; gap: 6px 8px; }
  .gk-sayim-alan input { width: 56px; min-height: 34px; }
  .gk-sayim-hedef { width: 100%; font-size: 11px; }
  .gk-dogrula-geri { min-height: 28px; }
}

/* Ayarlar (ay-): Depo/Teslimat kartlarının tasarım dili (gk cam kart, gk-no ikon, gk-rozet, dk-bilgi, dk-akis) */
.ay { display: grid; gap: 18px; max-width: 980px; }
.ay-kart { display: grid; gap: 14px; margin: 0; }
.ay-kart-bas { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.ay-ikon { width: 60px; height: 60px; border-radius: 18px; }
.ay-ikon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ay-ikon.mor { background: linear-gradient(145deg, #8b5cf6 0%, #6d28d9 55%, #4c1d95 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 10px 20px -8px rgba(109, 40, 217, .6); }
.ay-kimlik { min-width: 0; }
.ay-baslik { margin: 8px 0 4px; color: #0f172a; font-size: 20px; font-weight: 750; line-height: 1.25; letter-spacing: -0.01em; }
.ay-aciklama { margin: 0; color: #475569; font-size: 14px; line-height: 1.45; }
.ay-uyari { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid #f59e0b; border-radius: 0 10px 10px 0; background: #fffbeb; color: #92400e; font-size: 13px; }

.ay-secenekler { display: grid; gap: 10px; }
.ay-secenek {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 14px; border: 1px solid rgba(148, 163, 184, .28); border-radius: 16px; background: rgba(248, 250, 252, .75);
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.ay-secenek:hover { border-color: #bfdbfe; background: rgba(239, 246, 255, .8); }
.ay-secenek:has(input:checked) { border-color: #a7f3d0; background: linear-gradient(135deg, rgba(236, 253, 245, .9), rgba(240, 253, 250, .6)); }
.ay-secenek input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ay-anahtar { position: relative; width: 44px; height: 26px; margin-top: 2px; border-radius: 999px; background: #cbd5e1; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .15); transition: background .15s; }
.ay-anahtar::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .3); transition: transform .15s; }
.ay-secenek input:checked + .ay-anahtar { background: linear-gradient(180deg, #10b981, #059669); }
.ay-secenek input:checked + .ay-anahtar::after { transform: translateX(18px); }
.ay-secenek input:focus-visible + .ay-anahtar { outline: 3px solid rgba(47, 107, 255, .4); outline-offset: 2px; }
.ay-yazi { display: grid; gap: 4px; min-width: 0; }
.ay-yazi strong { color: #0f172a; font-size: 15px; }
.ay-yazi small { color: #64748b; font-size: 13px; line-height: 1.45; }
.ay-alt { margin-left: 28px; }
.ay-alt::before { content: ""; position: absolute; top: -11px; left: -16px; width: 12px; height: 34px; border-left: 2px solid #cbd5e1; border-bottom: 2px solid #cbd5e1; border-bottom-left-radius: 10px; }
.ay-alt.kapali { opacity: .5; cursor: not-allowed; }

.ay-sayilar { margin: 0; }
.ay-uyari-sayi { color: #b45309 !important; }

.ay-kutu { padding: 12px 14px; border: 1px solid rgba(148, 163, 184, .28); border-radius: 16px; background: rgba(248, 250, 252, .75); }
.ay-kutu-bas { margin: 0 0 10px; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ay-ikili, .ay-dortlu { display: grid; gap: 12px; }
.ay-ikili { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ay-dortlu { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
.ay-alan { display: grid; gap: 5px; align-content: start; min-width: 0; }
.ay-alan > span:first-child { color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ay-alan .girdi, .ay-alan select, .ay-alan input { width: 100%; min-height: 42px; border-radius: 12px; background: #fff; }
.ay-alan small { color: #64748b; font-size: 12px; font-weight: 500; }
.ay-hata { color: #b91c1c; font-size: 12px; font-weight: 650; }
.ay-anahtar-durum { display: flex; flex-wrap: wrap; gap: 6px; }
.ay-nokta { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border: 1px solid #e2e8f0; border-radius: 999px; background: #f8fafc; color: #64748b; font-size: 11.5px; font-weight: 650; }
.ay-nokta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.ay-nokta.var { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.ay-nokta.var::before { background: #10b981; }
.ay-bagli { margin: -4px 0 4px 28px; transition: opacity .15s; }
.ay-bagli.kapali { opacity: .45; }

.ay-iz { margin-top: 0; }
.ay-kaydet {
  position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .7));
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 12px 24px -12px rgba(15, 23, 42, .2);
}
.ay-kaydet-not { color: #64748b; font-size: 13px; }
.ay-kaydet .dk-btn { min-height: 42px; padding: 8px 22px; font-size: 14px; }

@media (max-width: 800px) {
  .ay { gap: 14px; }
  .ay-kart { padding: 16px; }
  .ay-kart-bas { gap: 12px; }
  .ay-ikon { width: 48px; height: 48px; border-radius: 15px; }
  .ay-ikon svg { width: 23px; height: 23px; }
  .ay-baslik { font-size: 17px; }
  .ay-aciklama { font-size: 13px; }
  .ay-secenek { padding: 12px; }
  .ay-alt, .ay-bagli { margin-left: 0; }
  .ay-alt::before { display: none; }
  .ay-ikili { grid-template-columns: minmax(0, 1fr); }
  .ay-dortlu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ay-kaydet { bottom: 8px; }
  .ay-kaydet-not { display: none; }
  .ay-kaydet .dk-btn { flex: 1; }
}

/* Asistan eğitimi (ae-): ihtiyaç rehberi, cevapsız sorular, anlam araması */
.ae-geri { width: fit-content; color: #1d4ed8; font-size: 13px; font-weight: 700; }
.ae-form { display: grid; gap: 12px; }
.ae-form textarea.girdi { min-height: 64px; resize: vertical; }
.ae-form-alt { display: flex; justify-content: flex-end; gap: 8px; }
.ae-bolum-bas { display: grid; gap: 4px; }
.ae-bolum-bas .ay-baslik { margin: 0; }
.ae-sayi { display: inline-grid; place-items: center; min-width: 26px; height: 22px; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 12px; vertical-align: middle; }
.ae-liste { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ae-kural, .ae-soru {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 12px 14px; border: 1px solid rgba(148, 163, 184, .28); border-radius: 16px; background: rgba(248, 250, 252, .8);
}
.ae-kural.pasif { opacity: .55; }
.ae-kural-govde { display: grid; gap: 6px; min-width: 0; }
.ae-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 12.5px; }
.ae-satir b { min-width: 64px; color: #64748b; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ae-cip { display: inline-flex; padding: 2px 9px; border: 1px solid #c7dafe; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 12px; font-weight: 650; }
.ae-cip.yesil { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.ae-cip.kirmizi { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.ae-cip.turuncu { border-color: #fed7aa; background: #fff7ed; color: #c2410c; }
.ae-cip.gri { border-color: #e2e8f0; background: #f8fafc; color: #475569; }
.ae-not { margin: 0; padding: 6px 10px; border-left: 3px solid #f59e0b; border-radius: 0 8px 8px 0; background: #fffbeb; color: #78350f; font-size: 12.5px; }
.ae-iz { color: #64748b; font-size: 11.5px; }
.ae-islem { display: flex; flex: none; align-items: center; gap: 6px; }
.ae-islem form { margin: 0; }
.ae-soru-metin { margin: 0; color: #0f172a; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.ae-bos { margin: 0; color: #64748b; font-size: 13px; }
.ae-anlam { margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ay-ust-bag { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 12px; border: 1px solid #ddd6fe; border-radius: 12px; background: #f5f3ff; color: #6d28d9; font-size: 13px; font-weight: 800; }
.ay-ust-bag:hover { background: #ede9fe; text-decoration: none; }
@media (max-width: 800px) {
  .ae-kural, .ae-soru { flex-direction: column; }
  .ae-islem { width: 100%; justify-content: flex-end; }
  .ae-anlam { grid-template-columns: minmax(0, 1fr); }
}

/* Ortak cari iletişim bloğu (_cari_iletisim.html): Görevlerim + Sipariş detayı */
.gk-cari {
  --gk-murekkep: #0f172a;
  --gk-ikincil: #475569;
  --gk-soluk: #64748b;
  --gk-cizgi: rgba(148, 163, 184, 0.28);
  min-width: 0;
}
.gk-cari svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gk-cari .gk-yol svg { width: 12px; height: 12px; }
.gk-cari a.gk-adres > span:not(.gk-yol) { flex: 1 1 160px; min-width: 0; overflow-wrap: anywhere; }
.gk-cari-kod { font-family: "Cascadia Mono", Consolas, monospace; color: var(--gk-ikincil); }
.sdt-kimlik .gk-unvan { margin: 6px 0 8px; font-size: 18px; }
@media (max-width: 800px) {
  .gk-cari svg { width: 13px; height: 13px; }
  .sdt-kimlik .gk-unvan { font-size: 15px; }
}

/* Depo/Teslimat → Plasiyer siparişi sekmesi (ps-) */
.depo-filtre .plasiyer-sekme .filtre-sayi.var { background: #f97316; color: #fff; }
.gorev-sayfa .depo-filtre .btn.plasiyer-sekme i { background: #a855f7; }
.ps-aciklama { margin: 0 0 14px; color: #475569; font-size: 13px; line-height: 1.5; }
.ps-liste { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.ps-liste > * { min-width: 0; }
.ps-bas { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.ps-no { width: auto; min-width: 64px; height: 58px; padding: 0 10px; background: linear-gradient(145deg, #a855f7, #7e22ce); }
.ps-no strong { font-size: 18px; }
.ps-kimlik { min-width: 0; }
.ps-kimlik .gk-unvan { margin: 6px 0 8px; font-size: 18px; }
.ps-rozet { border-color: #e9d5ff; background: #faf5ff; color: #7e22ce; }
.ps-tutar { display: grid; justify-items: end; gap: 2px; text-align: right; }
.ps-tutar small { color: #64748b; font-size: 11px; font-weight: 650; }
.ps-tutar strong { color: #0f172a; font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-tutar span { color: #64748b; font-size: 12px; }
.ps-bilgi { margin: 14px 0 10px; }
.ps-islem { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.ps-islem form { margin: 0; }
.ps-onayla { border-color: transparent; background: linear-gradient(180deg, #10b981, #047857); color: #fff; }
.ps-onayla:hover { color: #fff; }
.ps-reddet { border-color: #fecaca; background: #fff; color: #b91c1c; }
.ps-reddet:hover { background: #fef2f2; color: #b91c1c; }
.ps-islem .dk-btn:disabled { opacity: .6; cursor: progress; }
.ps-durum { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ps-durum.onaylandi { background: #ecfdf5; color: #047857; }
.ps-durum.reddedildi { background: #fef2f2; color: #b91c1c; }
@media (max-width: 800px) {
  .ps-bas { grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; }
  .ps-no { min-width: 54px; height: 50px; }
  .ps-no strong { font-size: 15px; }
  .ps-kimlik .gk-unvan { font-size: 15px; }
  .ps-tutar { grid-column: 1 / -1; grid-template-columns: auto 1fr; justify-items: start; align-items: baseline; gap: 2px 8px; padding: 8px 10px; border-radius: 12px; background: #f8fafc; text-align: left; }
  .ps-tutar strong { font-size: 17px; }
  .ps-tutar span { grid-column: 1 / -1; }
  .ps-islem { display: grid; grid-template-columns: 1fr 1fr; }
  .ps-islem .dk-btn { width: 100%; justify-content: center; }
  .ps-gecmis thead { display: none; }
  .ps-gecmis, .ps-gecmis tbody, .ps-gecmis tr { display: block; }
  .ps-gecmis tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid #e2e8f0; }
  .ps-gecmis td { display: grid; gap: 1px; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .ps-gecmis td::before { content: attr(data-etiket); color: #64748b; font-size: 11px; font-weight: 600; }
}

/* Liste tabloları (.tablo-kart): masaüstünde tablo, telefonda etiketli kart.
   Etiketler base.html'de thead başlıklarından td[data-etiket]'e yazılır. */
.tablo-kart { min-width: 0; max-width: 100%; overflow-x: auto; }
@media (max-width: 800px) {
  .sayfa-ust { align-items: stretch; gap: 8px; }
  .sayfa-ust > .btn { width: 100%; justify-content: center; text-align: center; }
  .sayfa-ust .filtre { width: 100%; flex-wrap: nowrap; }
  .sayfa-ust .filtre .girdi { flex: 1; min-width: 0; width: auto; }
  .sayfa-ust .filtre select.girdi { flex: 1 1 0; min-width: 0; }
  /* Açılır listeli filtre (Ürünler): arama tam satır, listeler + düğme alt satırda */
  .sayfa-ust .filtre:has(select) { flex-wrap: wrap; }
  .sayfa-ust .filtre:has(select) input.girdi { flex: 1 1 100%; }
  .sayfa-ust .filtre .btn { flex: none; }
  .tablo-kart { overflow: visible; padding: 4px 10px; }
  .tablo-kart table, .tablo-kart tbody { display: block; }
  .tablo-kart thead { display: none; }
  .tablo-kart tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--cizgi);
  }
  .tablo-kart tr:last-child { border-bottom: 0; }
  .tablo-kart tbody tr:hover td { background: transparent; }
  .tablo-kart td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
  }
  .tablo-kart td[data-etiket]::before {
    content: attr(data-etiket);
    display: block;
    margin-bottom: 1px;
    color: var(--soluk);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  .tablo-kart td:first-child { grid-column: 1 / -1; font-weight: 700; font-size: 15px; }
  .tablo-kart td:first-child::before { display: none; }
  .tablo-kart td.islemler {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }
  .tablo-kart td.islemler > * + * { margin-left: 0; }
  .tablo-kart td.bos { grid-column: 1 / -1; text-align: center; }
  .tablo-kart td img { max-width: 64px; height: auto; }
  .tablo-kart .sayfalama, .tablo-kart nav { padding: 8px 0; }
}

/* Ürün sorgula → Katalog PDF oluşturucu, telefon: sabit 188 px yükseklik kalkar; marka/kategori listesi
   ekranın yarısı kadar kaydırılabilir alan alır (önceden tek satıra sıkışıyordu). */
@media (max-width: 800px) {
  .sorgu-pdf { height: auto; min-height: 0; }
  .sorgu-pdf > div:not([hidden]) { flex: none; }
  .sorgu-pdf-liste {
    flex: none;
    max-height: min(52vh, 440px);
    margin: 10px 0;
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .sorgu-pdf-satir { min-height: 42px; padding: 9px 12px; font-size: 15px; }
  .sorgu-pdf-hepsi { padding: 7px 14px; font-size: 13px; }
  .sorgu-pdf-olustur { min-height: 44px; }
}


/* Anonslar (ans-): Ayarlar → Anonslar liste ve form ekranı (durum.md 7.12). Pencerenin kendisi katalog/static/katalog/anons.css (an-) */
.ay-ikon.kirmizi { background: linear-gradient(145deg, #f87171 0%, #d30f0f 55%, #7f1d1d 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 10px 20px -8px rgba(211, 15, 15, .55); }
.ans-bag { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ans-bag .dk-btn { min-height: 40px; padding: 8px 16px; }
.ans-ozet-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #0f172a; font-size: 14px; }
.ans-kural { margin: 0; padding: 10px 12px; border-left: 3px solid #3b74ff; border-radius: 0 12px 12px 0; background: rgba(239, 246, 255, .8); color: #1e3a8a; font-size: 13px; line-height: 1.5; }
.ans-kat { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ans-kat.k-duyuru { background: #eff6ff; color: #1d4ed8; }
.ans-kat.k-kampanya { background: #fef2f2; color: #b91c1c; }
.ans-kat.k-sistem { background: #f1f5f9; color: #334155; }
.ans-durum { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid transparent; border-radius: 999px; font-size: 11.5px; font-weight: 750; }
.ans-durum::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ans-durum.d-yayinda { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.ans-durum.d-zamanlandi { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.ans-durum.d-bitti, .ans-durum.d-pasif { border-color: #e2e8f0; background: #f8fafc; color: #64748b; }
.ans-durum.d-eksik { border-color: #fed7aa; background: #fff7ed; color: #c2410c; }
.ans-oncelik { color: #64748b; font-size: 11.5px; font-weight: 700; }

/* Liste */
.ans-liste { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ans-satir { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; align-items: center; margin: 0; padding: 14px; }
.ans-satir.d-pasif, .ans-satir.d-bitti { opacity: .72; }
.ans-ornek {
  position: relative; display: grid; place-items: center; align-content: center; gap: 6px; width: 112px; height: 100px; padding: 8px; border: 0; border-radius: 18px;
  color: #fff; cursor: pointer; overflow: hidden; background: linear-gradient(140deg, var(--a1), var(--a2) 50%, var(--a3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 20px -12px var(--a3); transition: transform .15s;
}
.ans-ornek:hover { transform: translateY(-2px); }
.ans-ornek-ikon svg, .ans-tema-ornek svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ans-ornek-ad { font-size: 10.5px; font-weight: 800; line-height: 1.2; text-align: center; }
.ans-govde { display: grid; gap: 6px; min-width: 0; }
.ans-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ans-baslik { margin: 0; color: #0f172a; font-size: 17px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.ans-mesaj { margin: 0; color: #475569; font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
.ans-urunler { display: flex; flex-wrap: wrap; gap: 6px; }
.ans-urun { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 3px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.ans-urun img { width: 28px; height: 28px; border-radius: 7px; object-fit: contain; }
.ans-urun small { color: #334155; font-size: 11px; font-weight: 700; }
.ans-iz { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: #64748b; font-size: 12px; }
.ans-islem { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.ans-islem form { margin: 0; }
.ans-anahtar { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 6px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #64748b; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.ans-anahtar span { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #cbd5e1; transition: background .15s; }
.ans-anahtar span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .3); transition: transform .15s; }
.ans-anahtar.acik { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.ans-anahtar.acik span { background: linear-gradient(180deg, #10b981, #059669); }
.ans-anahtar.acik span::after { transform: translateX(14px); }
.ans-bos { display: grid; gap: 12px; justify-items: start; }
.ans-bos p { margin: 0; color: #334155; }

/* Form */
.ans-form .gk { margin: 0; }
.ans-form [hidden] { display: none !important; }
.ans-adim { display: flex; align-items: center; gap: 10px; margin: 0; color: #0f172a; font-size: 17px; font-weight: 800; }
.ans-adim > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(145deg, #3b74ff, #1d4ed8); color: #fff; font-size: 13px; }
.ans-adim small { margin-left: auto; color: #64748b; font-size: 12px; font-weight: 700; }
.ans-hata-kutu p { margin: 0; }
.ans-kategoriler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ans-kat-kutu {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px;
  border: 2px solid rgba(148, 163, 184, .3); border-radius: 18px; background: rgba(255, 255, 255, .8); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ans-kat-kutu:hover { transform: translateY(-1px); border-color: #bfdbfe; }
.ans-kat-kutu input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ans-kat-kutu:has(input:checked) { border-color: #1d4ed8; box-shadow: 0 0 0 4px rgba(59, 116, 255, .15); }
.ans-kat-kutu:has(input:focus-visible) { outline: 3px solid rgba(47, 107, 255, .4); outline-offset: 2px; }
.ans-kat-ikon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; }
.ans-kat-ikon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.k-duyuru .ans-kat-ikon { background: linear-gradient(145deg, #60a5fa, #1d4ed8); }
.k-kampanya .ans-kat-ikon { background: linear-gradient(145deg, #f87171, #d30f0f); }
.k-sistem .ans-kat-ikon { background: linear-gradient(145deg, #64748b, #1e293b); }
.ans-kat-yazi { display: grid; gap: 2px; min-width: 0; }
.ans-kat-yazi strong { color: #0f172a; font-size: 15px; }
.ans-kat-yazi small { color: #64748b; font-size: 12px; line-height: 1.35; }
.ans-temalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.ans-tema { position: relative; display: grid; gap: 7px; padding: 6px 6px 10px; border: 2px solid transparent; border-radius: 18px; background: rgba(255, 255, 255, .75); cursor: pointer; transition: border-color .15s, transform .15s; }
.ans-tema:hover { transform: translateY(-2px); }
.ans-tema input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ans-tema:has(input:checked) { border-color: #1d4ed8; box-shadow: 0 0 0 4px rgba(59, 116, 255, .15); }
.ans-tema:has(input:checked)::after { content: "✓"; position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #1d4ed8; font-size: 13px; font-weight: 900; box-shadow: 0 2px 6px rgba(15, 23, 42, .25); }
.ans-tema:has(input:focus-visible) { outline: 3px solid rgba(47, 107, 255, .4); outline-offset: 2px; }
.ans-tema-ornek { display: grid; place-items: center; height: 74px; border-radius: 13px; color: #fff; background: linear-gradient(140deg, var(--a1), var(--a2) 50%, var(--a3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.ans-tema-ad { color: #0f172a; font-size: 12.5px; font-weight: 750; text-align: center; line-height: 1.25; }
.ans-ara { position: relative; }
.ans-ara .girdi { width: 100%; min-height: 44px; border-radius: 12px; }
.ans-sonuc { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; max-height: 340px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -18px rgba(15, 23, 42, .35); }
.ans-sonuc button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 6px 8px; border: 0; border-radius: 10px; background: none; font: inherit; text-align: left; cursor: pointer; }
.ans-sonuc button:hover, .ans-sonuc button:focus-visible { background: #eff6ff; }
.ans-sonuc button[disabled] { opacity: .5; cursor: default; }
.ans-sonuc em { color: #1d4ed8; font-size: 12px; font-style: normal; font-weight: 800; white-space: nowrap; }
.ans-sonuc-bos { padding: 10px; color: #64748b; font-size: 13px; }
.ans-secili { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: ans; }
.ans-secili-urun { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; counter-increment: ans; }
.ans-secili-gorsel { position: relative; display: block; width: 46px; height: 46px; border-radius: 10px; background: #f1f5f9; overflow: hidden; }
.ans-secili-gorsel img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ans-secili-yazi { display: grid; gap: 1px; min-width: 0; }
.ans-secili-yazi small { color: #64748b; font-size: 11px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ans-secili-yazi b { color: #0f172a; font-size: 13.5px; line-height: 1.3; overflow-wrap: anywhere; }
.ans-secili-yazi em { color: #b91c1c; font-size: 11.5px; font-style: normal; font-weight: 750; }
.ans-secili-islem { display: flex; gap: 4px; }
.ans-secili-islem button { width: 32px; height: 32px; border: 1px solid #e2e8f0; border-radius: 9px; background: #fff; color: #334155; font-size: 15px; font-weight: 800; cursor: pointer; }
.ans-secili-islem button:disabled { opacity: .35; cursor: default; }
.ans-secili-islem .kaldir { border-color: #fecaca; color: #b91c1c; }
.ans-secili-bos { padding: 12px; border: 1px dashed #cbd5e1; border-radius: 14px; color: #64748b; font-size: 13px; text-align: center; }
.ans-say { margin-left: 6px; color: #94a3b8; font-style: normal; letter-spacing: 0; text-transform: none; }
.ans-say.dolu { color: #c2410c; }
.ans-form textarea.girdi { min-height: 110px; resize: vertical; }
.ans-uclu { display: grid; grid-template-columns: 1fr 1fr 160px; gap: 12px; }
.ans-hedef { margin: 0; color: #64748b; font-size: 13px; }
.ans-form .ay-kaydet .dk-btn { padding: 8px 18px; }

@media (max-width: 800px) {
  .ans-satir { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
  .ans-ornek { width: 76px; height: 76px; border-radius: 15px; }
  .ans-ornek-ad { display: none; }
  .ans-islem { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ans-islem .dk-btn, .ans-anahtar { width: 100%; justify-content: center; }
  .ans-kategoriler { grid-template-columns: minmax(0, 1fr); }
  .ans-temalar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ans-uclu { grid-template-columns: minmax(0, 1fr); }
  .ans-bag .dk-btn { flex: 1; justify-content: center; }
  .ans-form .ay-kaydet { flex-wrap: wrap; }
  .ans-form .ay-kaydet a.dk-btn { display: none; }
}

/* ==== Anketör modülü (durum.md 7.13) ====
   ank- personel doldurma ekranı · ako- oluşturucu ve Anketör listesi · aks- sonuçlar */

/* Özet sayfasında bekleyen anket daveti (base.html) */
.ank-davet {
  display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid #c7d2fe; border-radius: 18px;
  background: linear-gradient(120deg, #eef2ff, #f5f3ff 60%, #fdf4ff); color: #312e81; text-decoration: none;
  box-shadow: 0 12px 24px -18px rgba(67, 56, 202, .6);
}
.ank-davet:hover { text-decoration: none; border-color: #a5b4fc; }
.ank-davet-ikon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(145deg, #818cf8, #4f46e5); color: #fff; }
.ank-davet-ikon svg, .ank-kilit svg, .ank-uyari-ikon svg, .ank-bitis-ikon svg, .ank-son-ikon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ank-davet > span:nth-child(2) { flex: 1; min-width: 0; font-size: 14px; }
.ank-davet-git { flex: none; font-weight: 800; font-size: 13px; }

/* Personel listesi */
.ank-liste-sar { display: grid; gap: 16px; max-width: 980px; }
.ank-gizlilik { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; margin: 0; }
.ank-gizlilik h2 { margin: 0 0 4px; font-size: 16px; color: #0f172a; }
.ank-gizlilik p { margin: 0; color: #475569; font-size: 13.5px; line-height: 1.55; }
.ank-kilit { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, #34d399, #047857); color: #fff; box-shadow: 0 10px 20px -10px rgba(4, 120, 87, .7); }
.ank-kartlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ank-kart { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.ank-kart.bitti { opacity: .85; }
.ank-kart-ust { display: flex; flex-wrap: wrap; gap: 6px; }
.ank-kart h3 { margin: 4px 0 0; color: #0f172a; font-size: 17px; line-height: 1.3; }
.ank-kart-amac { margin: 0; color: #475569; font-size: 13.5px; line-height: 1.5; }
.ank-kart-bilgi { margin: 0; color: #64748b; font-size: 12.5px; font-weight: 600; }
.ank-kart-alt { margin-top: auto; padding-top: 6px; }
.ank-tesekkur { color: #047857; font-size: 13px; font-weight: 700; }
.ank-tesekkur.gri { color: #64748b; }

/* Doldurma ekranı */
.ank-kok { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; scroll-margin-top: var(--ank-ust, 76px); }
.ako-onizleme .ank-kok { scroll-margin-top: 16px; }
.ank-kok .dk-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.ank-kok .dk-btn svg { width: 17px; height: 17px; }
.ank-sayfa .gk { margin: 0; }
.ank-onizleme-serit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; max-width: 860px; margin: 0 auto 14px; padding: 10px 14px; border: 1px dashed #f59e0b; border-radius: 14px; background: #fffbeb; color: #92400e; font-size: 13px; }
.ank-onizleme-serit a { margin-left: auto; font-weight: 800; color: #92400e; }

.ank-giris { display: grid; gap: 18px; padding: 0; overflow: hidden; }
.ank-giris-bas { position: relative; padding: 26px 26px 22px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #3b74ff 0%, #1d4ed8 45%, #1e1b4b 100%); }
.ank-giris-bas::after { content: ""; position: absolute; right: -70px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%); pointer-events: none; }
.ank-ust-etiket { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ank-giris-bas h1 { margin: 0; font-size: 24px; font-weight: 850; line-height: 1.25; letter-spacing: -.01em; }
.ank-giris-sayilar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ank-giris-sayilar span { padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 12.5px; }
.ank-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 22px; }
.ank-meta div { padding: 10px 12px; border: 1px solid rgba(148, 163, 184, .3); border-radius: 14px; background: rgba(248, 250, 252, .8); }
.ank-meta dt { color: #64748b; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ank-meta dd { margin: 3px 0 0; color: #0f172a; font-size: 14px; font-weight: 650; }
.ank-giris-bolum { margin: 0 22px; }
.ank-giris-bolum h2 { margin: 0 0 6px; color: #1d4ed8; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ank-giris-bolum p { margin: 0 0 8px; color: #334155; font-size: 14.5px; line-height: 1.65; }
.ank-maddeler { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ank-maddeler li { position: relative; padding-left: 22px; color: #334155; font-size: 14.5px; line-height: 1.55; }
.ank-maddeler li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #3b74ff; box-shadow: 0 0 0 3px rgba(59, 116, 255, .18); }
.ank-uyari { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin: 0 22px; padding: 14px 16px; border: 1px solid #fcd34d; border-radius: 16px; background: linear-gradient(135deg, #fffbeb, #fef3c7); color: #78350f; }
.ank-uyari-ikon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f59e0b; color: #fff; }
.ank-uyari h2 { margin: 0 0 6px; font-size: 15px; color: #78350f; }
.ank-uyari ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; line-height: 1.5; }
.ank-onay { display: flex; align-items: center; gap: 10px; margin: 0 22px; padding: 12px 14px; border: 1px solid rgba(148, 163, 184, .35); border-radius: 14px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 650; color: #0f172a; }
.ank-onay input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ank-onay-kutu { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 2px solid #94a3b8; border-radius: 7px; color: transparent; transition: background .15s, border-color .15s; }
.ank-onay-kutu svg, .ank-isaret svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ank-onay input:checked + .ank-onay-kutu { border-color: #047857; background: #10b981; color: #fff; }
.ank-onay input:focus-visible + .ank-onay-kutu { outline: 3px solid rgba(47, 107, 255, .4); outline-offset: 2px; }
.ank-giris-alt { display: flex; justify-content: flex-end; padding: 0 22px 22px; }
.ank-basla { min-height: 48px; padding: 10px 26px; font-size: 15px; }
.ank-sayfa .dk-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.ank-sayfa .dk-btn svg { width: 17px; height: 17px; }

/* İlerleme */
.ank-ilerleme { position: sticky; top: var(--ank-ust, 72px); z-index: 4; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px; background: linear-gradient(150deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .8)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 22px -16px rgba(15, 23, 42, .35); }
.ank-ilerleme-ust { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; color: #334155; font-size: 12.5px; font-weight: 700; }
.ank-cubuk { height: 8px; margin: 8px 0 10px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.ank-cubuk i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3b74ff, #10b981); transition: width .35s ease; }
.ank-noktalar { display: flex; flex-wrap: wrap; gap: 6px; }
.ank-nokta { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #64748b; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.ank-nokta:disabled { opacity: .45; cursor: default; }
.ank-nokta.gidildi { border-color: #fdba74; background: #fff7ed; color: #c2410c; }
.ank-nokta.bitti { border-color: #6ee7b7; background: #ecfdf5; color: #047857; }
.ank-nokta.aktif { border-color: #1d4ed8; background: linear-gradient(180deg, #3b74ff, #1d4ed8); color: #fff; }

/* Bölüm ve sorular */
.ank-bolum { display: grid; gap: 14px; }
.ank-bolum-bas { padding-bottom: 12px; border-bottom: 1px solid rgba(148, 163, 184, .3); }
.ank-bolum-no { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ank-bolum-bas h2 { margin: 8px 0 0; color: #0f172a; font-size: 20px; font-weight: 800; line-height: 1.3; }
.ank-bolum-bas p { margin: 6px 0 0; color: #475569; font-size: 14px; }
.ank-soru { min-width: 0; margin: 0; padding: 16px; border: 1px solid rgba(148, 163, 184, .3); border-radius: 18px; background: rgba(255, 255, 255, .85); transition: border-color .2s, box-shadow .2s; }
.ank-soru.cevapli { border-color: #a7f3d0; }
.ank-soru.eksik { border-color: #f87171; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.ank-soru-bas { display: flex; gap: 8px; align-items: flex-start; padding: 0; color: #0f172a; font-size: 15.5px; font-weight: 750; line-height: 1.45; }
.ank-no { flex: none; color: #1d4ed8; font-weight: 900; }
.ank-metin { flex: 1; min-width: 0; }
.ank-zorunlu { flex: none; color: #dc2626; font-weight: 900; }
.ank-istege { flex: none; padding: 1px 8px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: 11px; font-weight: 700; }
.ank-ipucu { margin: 4px 0 12px; color: #64748b; font-size: 12.5px; }
.ank-hata { margin: 10px 0 0; color: #b91c1c; font-size: 13px; font-weight: 700; }

.ank-olcek { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ank-olcek.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ank-olcek.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ank-olcek.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ank-olcek.n6, .ank-olcek.n7 { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.ank-olcek-sec { position: relative; display: grid; justify-items: center; align-content: start; gap: 5px; min-height: 86px; padding: 10px 6px; border: 2px solid #e2e8f0; border-radius: 14px; background: #fff; text-align: center; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.ank-olcek-sec:hover { border-color: #93c5fd; transform: translateY(-1px); }
.ank-olcek-sec input, .ank-secim input, .ank-puan-sec input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ank-olcek-puan { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f1f5f9; color: #334155; font-size: 15px; font-weight: 900; }
.ank-olcek-ad { color: #334155; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.ank-olcek-sec:has(input:checked) { border-color: #1d4ed8; background: #eff6ff; }
.ank-olcek-sec:has(input:checked) .ank-olcek-puan { background: linear-gradient(180deg, #3b74ff, #1d4ed8); color: #fff; }
.ank-olcek-sec:has(input:focus-visible), .ank-secim:has(input:focus-visible), .ank-puan-sec:has(input:focus-visible) { outline: 3px solid rgba(47, 107, 255, .45); outline-offset: 2px; }
.ank-secimler { display: grid; gap: 8px; }
.ank-secim { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 2px solid #e2e8f0; border-radius: 14px; background: #fff; cursor: pointer; font-size: 14.5px; font-weight: 650; color: #0f172a; }
.ank-secim:hover { border-color: #93c5fd; }
.ank-isaret { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 2px solid #94a3b8; border-radius: 50%; color: transparent; }
.ank-secim.coklu .ank-isaret { border-radius: 7px; }
.ank-secim:has(input:checked) { border-color: #1d4ed8; background: #eff6ff; }
.ank-secim:has(input:checked) .ank-isaret { border-color: #1d4ed8; background: #1d4ed8; box-shadow: inset 0 0 0 4px #fff; }
.ank-secim.coklu:has(input:checked) .ank-isaret { box-shadow: none; color: #fff; }
.ank-bosluk { width: 100%; padding: 10px 2px 8px; border: 0; border-bottom: 2px dashed #94a3b8; background: transparent; font: inherit; font-size: 15px; color: #0f172a; }
.ank-bosluk.kisa { max-width: 240px; }
.ank-bosluk:focus { outline: none; border-bottom-style: solid; border-bottom-color: #1d4ed8; }
.ank-uzun, .ank-ek textarea { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; line-height: 1.5; resize: vertical; }
.ank-uzun:focus, .ank-ek textarea:focus { outline: 3px solid rgba(47, 107, 255, .25); border-color: #3b74ff; }
.ank-sayac { display: block; margin-top: 4px; color: #94a3b8; font-size: 11.5px; text-align: right; }
.ank-ek { display: grid; gap: 4px; margin-top: 10px; color: #334155; font-size: 13px; font-weight: 700; }
.ank-ek em { color: #94a3b8; font-style: normal; font-weight: 600; }
.ank-ek.gizli { display: none; }
.ank-puan { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.ank-puan-sec { position: relative; cursor: pointer; }
.ank-puan-sec span { display: grid; place-items: center; height: 42px; border: 2px solid #e2e8f0; border-radius: 12px; background: #fff; font-weight: 850; color: #334155; }
.ank-puan-sec:has(input:checked) span { border-color: #1d4ed8; background: linear-gradient(180deg, #3b74ff, #1d4ed8); color: #fff; }
.ank-puan-uc { display: flex; justify-content: space-between; margin-top: 4px; color: #94a3b8; font-size: 11.5px; }

.ank-gezinti { display: flex; justify-content: space-between; gap: 10px; }
.ank-gezinti .dk-btn { min-height: 46px; padding: 10px 20px; font-size: 14.5px; }

/* Son sayfa */
.ank-son { display: grid; justify-items: center; gap: 10px; text-align: center; }
.ank-son-ikon, .ank-bitis-ikon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: linear-gradient(145deg, #34d399, #047857); color: #fff; box-shadow: 0 14px 26px -14px rgba(4, 120, 87, .8); }
.ank-son-ikon svg, .ank-bitis-ikon svg { width: 28px; height: 28px; }
.ank-son h2, .ank-bitis h2 { margin: 4px 0 0; color: #0f172a; font-size: 22px; font-weight: 850; }
.ank-son-mesaj { max-width: 640px; color: #334155; font-size: 15px; line-height: 1.65; }
.ank-son-mesaj p { margin: 0 0 8px; }
.ank-ozet-bas { justify-self: stretch; margin: 10px 0 0; color: #64748b; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.ank-ozet { justify-self: stretch; display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ank-ozet button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; width: 100%; padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; font: inherit; font-size: 13.5px; color: #0f172a; text-align: left; cursor: pointer; }
.ank-ozet .eksik button { border-color: #fecaca; background: #fef2f2; }
.ank-ozet-no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #eff6ff; color: #1d4ed8; font-weight: 850; }
.ank-ozet-ad { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ank-ozet em { color: #b91c1c; font-style: normal; font-weight: 800; font-size: 12px; }
.ank-ozet em.ok { color: #047857; }
.ank-ozet em.ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; }
.ank-son-uyari { margin: 4px 0 0; color: #b91c1c; font-weight: 700; font-size: 13.5px; }
.ank-son-hazir { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; color: #047857; font-weight: 700; font-size: 13.5px; text-align: left; }
.ank-son-hazir svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ank-tamamla { background: linear-gradient(180deg, #10b981, #047857) !important; border-color: #047857 !important; }
.ank-bitis { display: grid; justify-items: center; gap: 8px; max-width: 760px; margin: 0 auto; text-align: center; }
.ank-bitis.kapali { justify-items: center; }
.ank-bitis-alt { margin: 0; color: #475569; font-size: 14.5px; }
.ank-bitis-not { margin: 0 0 6px; color: #64748b; font-size: 13px; }
.ank-son-kutu { max-width: 620px; padding: 14px 16px; border: 1px solid #bbf7d0; border-radius: 16px; background: #f0fdf4; color: #14532d; text-align: left; }
.ank-son-kutu h3 { margin: 0 0 6px; font-size: 15px; }
.ank-son-kutu p { margin: 0; font-size: 14px; line-height: 1.6; }

/* ---- Oluşturucu (ako-) ---- */
.ako { display: grid; gap: 16px; max-width: 1040px; }
.ako .gk { margin: 0; }
.ako-hatalar ul { margin: 6px 0 0; padding-left: 18px; }
.ako-kilit-not { margin: 0; }
.ako-kart { gap: 14px; }
.ako-kart-bas, .ako-bolumler-bas { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.ako-kart-bas h2, .ako-bolumler-bas h2 { margin: 2px 0 2px; color: #0f172a; font-size: 18px; font-weight: 800; }
.ako-kart-bas p, .ako-bolumler-bas p { margin: 0; color: #64748b; font-size: 13px; }
.ako-adim { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(145deg, #3b74ff, #1d4ed8); color: #fff; font-weight: 850; }
.ako-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ako-genis { grid-column: 1 / -1; }
.ako-ikili { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ako .ay-alan textarea.girdi { min-height: 64px; resize: vertical; }
.ako-sabit-not { margin: 0; padding: 8px 12px; border-left: 3px solid #f59e0b; border-radius: 0 10px 10px 0; background: #fffbeb; color: #78350f; font-size: 12.5px; }
.ako-sablon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border: 1px dashed #a5b4fc; border-radius: 14px; background: #eef2ff; color: #3730a3; font-size: 13px; font-weight: 700; }
.ako-roller { display: flex; flex-wrap: wrap; gap: 8px; }
.ako-rol { position: relative; cursor: pointer; }
.ako-rol input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ako-rol span { display: inline-flex; padding: 8px 14px; border: 2px solid #e2e8f0; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 750; color: #334155; }
.ako-rol input:checked + span { border-color: #1d4ed8; background: #eff6ff; color: #1d4ed8; }
.ako-rol input:focus-visible + span { outline: 3px solid rgba(47, 107, 255, .4); outline-offset: 2px; }

.ako-bolumler-bas { margin-top: 4px; }
.ako-bolum { display: grid; gap: 12px; border-left: 4px solid #3b74ff; }
.ako-bolum-bas { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.ako-bolum-no { padding: 5px 11px; border-radius: 999px; background: #1d4ed8; color: #fff; font-size: 12px; font-weight: 850; white-space: nowrap; }
.ako-bolum-baslik { font-size: 16px !important; font-weight: 750; }
.ako-bolum-aciklama { min-height: 38px; resize: vertical; }
.ako-sorular { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ako-soru { display: grid; gap: 8px; padding: 12px; border: 1px solid rgba(148, 163, 184, .35); border-radius: 16px; background: rgba(248, 250, 252, .9); }
.ako-soru-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ako-soru-no { min-width: 28px; color: #1d4ed8; font-size: 16px; font-weight: 900; }
.ako-tur { width: auto !important; min-width: 220px; min-height: 36px; }
.ako-zorunlu { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #334155; cursor: pointer; }
.ako-zorunlu input { width: 16px; height: 16px; accent-color: #1d4ed8; }
.ako-soru-islem { display: inline-flex; gap: 4px; margin-left: auto; }
.ako-ikon-dugme { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #e2e8f0; border-radius: 9px; background: #fff; color: #334155; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.ako-ikon-dugme:hover:not(:disabled) { border-color: #93c5fd; background: #eff6ff; }
.ako-ikon-dugme:disabled { opacity: .35; cursor: default; }
.ako-ikon-dugme.sil { border-color: #fecaca; color: #b91c1c; }
.ako-soru-metin { min-height: 54px; resize: vertical; font-weight: 650; }
.ako-yardim { font-size: 13px !important; }
.ako-secenekler { display: grid; gap: 6px; padding: 10px; border: 1px dashed #cbd5e1; border-radius: 12px; background: #fff; }
.ako-secenek-bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; color: #64748b; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ako-hazir { width: auto !important; min-height: 34px; font-size: 12.5px; text-transform: none; letter-spacing: 0; }
.ako-secenek-liste { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ako-secenek { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.ako-puan { width: 64px !important; text-align: center; font-weight: 800; }
.ako-secenek-isaret { width: 18px; height: 18px; border: 2px solid #94a3b8; border-radius: 50%; }
.ako-secenek-isaret.kare { border-radius: 5px; }
.ako-ekle-kucuk { justify-self: start; padding: 6px 10px; border: 1px dashed #93c5fd; border-radius: 10px; background: #eff6ff; color: #1d4ed8; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.ako-ek { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; font-weight: 650; color: #334155; }
.ako-ek input[type=checkbox] { width: 16px; height: 16px; accent-color: #1d4ed8; }
.ako-ek .girdi { flex: 1; min-width: 180px; }
.ako-tur-not { margin: 0; color: #64748b; font-size: 12.5px; }
.ako-bos { margin: 0; padding: 12px; border: 1px dashed #cbd5e1; border-radius: 12px; color: #64748b; font-size: 13px; text-align: center; }
.ako-soru-ekle { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 4px; }
.ako-soru-ekle > span { color: #64748b; font-size: 12px; font-weight: 800; }
.ako-tur-cip { padding: 7px 11px; border: 1px solid #c7d2fe; border-radius: 999px; background: #eef2ff; color: #3730a3; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; transition: transform .15s, background .15s; }
.ako-tur-cip:hover { transform: translateY(-1px); background: #e0e7ff; }
.ako-tur-cip.t-olcek { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.ako-tur-cip.t-uzun_metin, .ako-tur-cip.t-kisa_metin { border-color: #bbf7d0; background: #f0fdf4; color: #047857; }
.ako-bolum-ekle { padding: 16px; border: 2px dashed #93c5fd; border-radius: 18px; background: rgba(239, 246, 255, .7); color: #1d4ed8; font: inherit; font-size: 15px; font-weight: 850; cursor: pointer; }
.ako-bolum-ekle:hover { background: #dbeafe; }
.ako-cubuk { flex-wrap: wrap; }
html.ako-kilit, html.ako-kilit body { overflow: hidden; }
.ako-onizleme { position: fixed; inset: 0; z-index: 900; display: flex; flex-direction: column; background: linear-gradient(160deg, #eef2ff, #f8fafc 40%, #f5f3ff); }
.ako-onizleme[hidden] { display: none; }
.ako-onizleme-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #fcd34d; background: #fffbeb; color: #92400e; font-size: 13.5px; }
.ako-onizleme-govde { flex: 1; overflow-y: auto; padding: 18px 16px 40px; }
.ako-onizleme .ank-ilerleme { top: 0; }
.ako-onizleme .ank-kok { max-width: 860px; }
#panel-onay { z-index: 1100; }

/* Anketör listesi */
.ako-ikon { background: linear-gradient(145deg, #818cf8 0%, #4f46e5 55%, #312e81 100%); }
.ako-gizlilik { display: grid; gap: 6px; margin: 0; padding: 12px 14px 12px 32px; border: 1px solid #bbf7d0; border-radius: 14px; background: #f0fdf4; color: #14532d; font-size: 13px; line-height: 1.5; }
.ako-satir { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; margin: 0; padding: 16px; }
.ako-satir.d-taslak { border-left: 4px solid #94a3b8; }
.ako-satir.d-yayinda { border-left: 4px solid #10b981; }
.ako-satir.d-kapali { border-left: 4px solid #64748b; opacity: .9; }
.ako-satir-govde { display: grid; gap: 6px; min-width: 0; }
.ako-katilim { display: flex; align-items: center; gap: 10px; color: #475569; font-size: 12.5px; }
.ako-katilim-cubuk { flex: 0 0 160px; height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.ako-katilim-cubuk i { display: block; height: 100%; background: linear-gradient(90deg, #3b74ff, #10b981); }
.ako-islem { max-width: 360px; }
.ako-yayinla { border-color: #a7f3d0 !important; color: #047857 !important; }

/* ---- Sonuçlar (aks-) ---- */
.aks { max-width: 1040px; }
.aks .gk { margin: 0; }
.aks-sayilar { margin: 0; }
.aks-sayilar small { color: #64748b; font-size: 12px; }
.aks-gizli { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.aks-gizli h3 { margin: 0 0 4px; font-size: 16px; color: #0f172a; }
.aks-gizli p { margin: 0; color: #475569; font-size: 13.5px; }
.aks-not { margin: 0; color: #64748b; font-size: 13px; }
.aks-bolum { display: grid; gap: 12px; }
.aks-bolum-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(148, 163, 184, .3); }
.aks-bolum-bas h3 { flex: 1; min-width: 200px; margin: 0; color: #0f172a; font-size: 17px; }
.aks-ort { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 850; }
.aks-ort.iyi { background: #ecfdf5; color: #047857; }
.aks-ort.orta { background: #fffbeb; color: #b45309; }
.aks-ort.kotu { background: #fef2f2; color: #b91c1c; }
.aks-soru { padding: 12px 14px; border: 1px solid rgba(148, 163, 184, .3); border-radius: 16px; background: rgba(255, 255, 255, .85); }
.aks-soru h4 { margin: 0; color: #0f172a; font-size: 14.5px; line-height: 1.45; }
.aks-soru h4 span { color: #1d4ed8; font-weight: 900; }
.aks-alt { margin: 4px 0 8px; color: #64748b; font-size: 12.5px; }
.aks-cubuklar { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.aks-cubuklar li { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) 82px; gap: 10px; align-items: center; font-size: 13px; }
.aks-etiket { color: #334155; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aks-etiket b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 4px; border-radius: 6px; background: #eff6ff; color: #1d4ed8; font-size: 11.5px; }
.aks-cubuk { height: 12px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.aks-cubuk i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #1d4ed8); }
.aks-deger { color: #475569; font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
.aks-puanlar { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.aks-puanlar span { display: grid; place-items: center; padding: 6px 0; border-radius: 10px; background: #f1f5f9; font-size: 12px; color: #475569; }
.aks-puanlar b { color: #1d4ed8; }
.ako-kimlik { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.aks-kisi { border-top: 1px solid #e2e8f0; }
.aks-kisi summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 12px 2px; cursor: pointer; color: #0f172a; font-size: 14px; }
.aks-kisi summary span { color: #64748b; font-size: 13px; font-weight: 700; }
.aks-kisi-cevaplar { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.aks-kisi-cevaplar li { display: grid; gap: 2px; padding: 8px 12px; border-left: 3px solid #a5b4fc; border-radius: 0 10px 10px 0; background: #f8fafc; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.aks-kisi-cevaplar li span { color: #475569; }
.aks-kisi-cevaplar li b { color: #0f172a; }
.aks-metinler { margin-top: 8px; }
.aks-metinler summary { cursor: pointer; color: #1d4ed8; font-size: 13px; font-weight: 800; }
.aks-metinler ul { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.aks-metinler li { padding: 8px 12px; border-left: 3px solid #a5b4fc; border-radius: 0 10px 10px 0; background: #f8fafc; color: #1e293b; font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .ank-davet { flex-wrap: wrap; }
  .ank-davet-git { width: 100%; text-align: right; }
  .ank-giris-bas { padding: 20px 16px 18px; }
  .ank-giris-bas h1 { font-size: 20px; }
  .ank-meta { grid-template-columns: minmax(0, 1fr); margin: 0 14px; }
  .ank-giris-bolum, .ank-uyari, .ank-onay { margin-left: 14px; margin-right: 14px; }
  .ank-giris-alt { padding: 0 14px 16px; }
  .ank-basla { width: 100%; justify-content: center; }
  .ank-ilerleme { padding: 10px 12px; }
  .ank-soru { padding: 12px; }
  .ank-soru-bas { font-size: 15px; }
  .ank-olcek, .ank-olcek.n4, .ank-olcek.n6, .ank-olcek.n7 { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ank-olcek-sec { display: flex; justify-content: flex-start; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; text-align: left; }
  .ank-olcek-puan { width: 30px; height: 30px; flex: none; }
  .ank-olcek-ad { font-size: 14px; }
  .ank-puan { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ank-gezinti .dk-btn { flex: 1; justify-content: center; padding: 10px 12px; }
  .ank-ozet button { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ank-ozet button > span:nth-child(3) { display: none; }
  .ako-izgara, .ako-ikili { grid-template-columns: minmax(0, 1fr); }
  .ako-bolum-bas { grid-template-columns: minmax(0, 1fr) auto; }
  .ako-bolum-no { grid-column: 1 / -1; justify-self: start; }
  .ako-tur { min-width: 0; flex: 1; }
  .ako-soru-islem { margin-left: 0; width: 100%; justify-content: flex-end; }
  .ako-satir { grid-template-columns: minmax(0, 1fr); }
  .ako-islem { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ako-islem .dk-btn, .ako-islem form, .ako-islem form .dk-btn { width: 100%; justify-content: center; }
  .ako-katilim-cubuk { flex-basis: 100px; }
  .ako-cubuk .dk-btn { flex: 1 1 auto; justify-content: center; }
  .aks-cubuklar li { grid-template-columns: minmax(0, 1fr) 72px; }
  .aks-cubuklar .aks-cubuk { grid-column: 1 / -1; grid-row: 2; }
  .aks-puanlar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .ank-cubuk i, .ank-olcek-sec, .ako-tur-cip { transition: none; }
}

/* ===================== Teklifler (tk-, 17 Kasım) ===================== */
body.tk-sayfa .icerik {
  background:
    radial-gradient(1200px 420px at 100% 0, rgba(47, 107, 255, 0.07), transparent 60%),
    radial-gradient(900px 380px at 0 100%, rgba(211, 15, 15, 0.04), transparent 60%),
    var(--paper);
  min-height: calc(100vh - 64px);
}
.tk-bas {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px;
}
.tk-bas-yazi { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tk-bas-yazi h2 { margin: 0; font-size: 20px; }
.tk-bas-yazi .yardim { margin: 2px 0 0; }
.tk-bas-ikon {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #3b74ff, #1d4ed8); box-shadow: 0 8px 20px rgba(29, 78, 216, 0.28);
}
.tk-bas-ikon svg, .tk-yeni svg, .tk-gonder svg, .tk-gonder-dugmeler svg, .tk-geri svg, .tk-kur svg, .tk-cari-ara > svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.tk-bas-ikon svg { color: #fff; width: 22px; height: 22px; }
.tk-yeni, .tk-gonder, .tk-gonder-dugmeler .btn { gap: 8px; font-weight: 650; }
.tk-konsol { font-size: 14px; }
.alert.tk-bilgi { background: #eaf1ff; color: #1d3f8f; }

.tk-sekmeler { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.tk-sekme {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--cizgi); color: var(--yazi); font-weight: 600; font-size: 14px;
}
.tk-sekme:hover { text-decoration: none; background: #f4f7fd; }
.tk-sekme b { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #eef2f8; font-size: 12px; text-align: center; }
.tk-sekme i { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.tk-sekme.aktif { background: var(--ink); color: #fff; border-color: var(--ink); }
.tk-sekme.aktif b { background: rgba(255, 255, 255, 0.16); }
.tk-d-hepsi i { background: linear-gradient(135deg, #3b74ff, #10b981); }
.tk-d-gonderildi i { background: #2f6bff; }
.tk-d-kabul i { background: #10b981; }
.tk-d-ret i { background: #ef4444; }

.tk-durum {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: #eef2f8; color: #475569; white-space: nowrap;
}
.tk-durum.tk-d-gonderildi { background: #e6eeff; color: #1d4ed8; }
.tk-durum.tk-d-kabul { background: #e3f7ee; color: #047857; }
.tk-durum.tk-d-ret { background: #fdecec; color: #b91c1c; }

.tk-ara { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-bottom: 12px; }
.tk-tablo td { vertical-align: top; }
.tk-tablo .sag { text-align: right; }
.tk-no { font-weight: 800; letter-spacing: 0.02em; }
.tk-alt { display: block; margin-top: 3px; color: var(--soluk); font-size: 12.5px; }
.tk-firma { display: block; max-width: 320px; }
.tk-tutar { font-size: 15px; white-space: nowrap; }
.tk-kisi { font-weight: 600; }
.tk-islemler { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tk-islemler form { margin: 0; }
.btn-kucuk.tk-kabul { border-color: #a7e3c8; color: #047857; }
.btn-kucuk.tk-kabul:hover { background: #e3f7ee; }
.btn-kucuk.tk-ret { border-color: #f5c2c2; color: #b91c1c; }
.btn-kucuk.tk-ret:hover { background: #fdecec; }

/* Onay penceresinde "basılı tut" düğmesi (panelOnayla basiliTut; 24 Kasım, ürün silme):
   açık kırmızı zemin, basılıyken soldan sağa koyu kırmızı dolar. */
.po-alt .po-tamam.basili {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid #fca5a5 !important; background: #fef2f2; color: #b91c1c; box-shadow: none;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none;
  transition: color .15s;
}
.po-tamam.basili::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #ef4444, #b91c1c);
  transform: scaleX(var(--dolu, 0)); transform-origin: left center;
}
.po-tamam.basili.yari { color: #fff; }
.po-tamam.basili.tutuluyor { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2); }

/* Ürünler listesi: ürün kartları (uk-, 24 Kasım; önceden tablo). Koli içi rozeti anasayfadaki gibi koyu zemin + sarı sayı. */
.uk-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
.uk {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid #dbe3ee; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 22px -16px rgba(15, 23, 42, 0.3);
  transition: border-color .15s, box-shadow .15s;
}
.uk:hover { border-color: #b6c3d6; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 16px 30px -18px rgba(15, 23, 42, 0.4); }
.uk-gorsel { position: relative; display: grid; place-items: center; height: 150px; padding: 10px; background: #fff; border-bottom: 1px solid #eef2f7; }
.uk-gorsel img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.uk-gorsel-yok { width: 46px; height: 46px; fill: none; stroke: #cbd5e1; stroke-width: 1.5; stroke-linejoin: round; }
.uk-rozetler { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.uk-rozet { padding: 3px 8px; border-radius: 999px; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.02em; }
.uk-rozet.indirim { background: #dc2626; }
.uk-rozet.yeni { background: linear-gradient(135deg, #10b981, #047857); }
.uk-stok {
  position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 999px;
  border: 1px solid #a7f3d0; background: #ecfdf5; color: #047857; font-size: 11px; font-weight: 800;
}
.uk-stok.yok { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.uk-koli-satir { display: flex; justify-content: flex-end; padding: 8px 12px 0; }
.uk-koli {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 9px;
  background: #1c2333; color: #fff; font-size: 11.5px; font-weight: 700; box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.5);
}
.uk-koli svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.uk-koli strong { color: #fcd34d; font-weight: 800; }
.uk-govde { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 6px 12px 10px; }
.uk-marka { color: #dc2626; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.uk-ad { display: -webkit-box; margin: 0; overflow: hidden; color: #0f172a; font-size: 14px; font-weight: 750; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.uk-kod { margin: 0; color: #64748b; font-family: "Cascadia Mono", Consolas, monospace; font-size: 12px; }
.uk-ozellikler { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.uk-ozellik { padding: 2px 7px; border: 1px solid #e2e8f0; border-radius: 7px; background: #f8fafc; color: #0f172a; font-size: 11.5px; font-weight: 650; }
.uk-ozellik em { margin-right: 4px; color: #64748b; font-size: 10.5px; font-style: normal; font-weight: 600; }
.uk-kategori { margin: 2px 0 0; color: #64748b; font-size: 11.5px; line-height: 1.35; }
/* Fiyatlar: tek çerçeve içinde alt alta üç satır (solda nokta + etiket, sağda fiyat + para birimi).
   Nakit (en düşük) mavi vurgulu. 24 Kasım: yan yana üç bölme dar kartta birbirine giriyordu, satıra çevrildi. */
.uk-fiyatlar {
  display: grid; grid-template-columns: 1fr; margin: 0;
  border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15, 23, 42, 0.04);
}
.uk-bosluk { flex: 1 0 8px; }  /* fiyatları kartın altına iter, üstte en az 8 px boşluk */
.uk-fiyat { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; padding: 6px 9px; }
.uk-fiyat + .uk-fiyat { border-top: 1px solid #e2e8f0; }
.uk-fiyat dt {
  flex: 1 1 auto; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #64748b; font-size: 9.5px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase;
}
.uk-fiyat dt::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; vertical-align: 1px; border-radius: 50%; background: #94a3b8; }
.uk-fiyat.kk dt::before { background: #f59e0b; }
.uk-fiyat.nakit dt::before { background: #2563eb; }
.uk-fiyat dd { display: flex; flex: none; align-items: baseline; gap: 4px; margin: 0; white-space: nowrap; }
.uk-fiyat b { color: #0f172a; font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.uk-fiyat span { color: #94a3b8; font-size: 10px; font-weight: 750; }
.uk-fiyat.nakit { background: linear-gradient(180deg, #eff6ff, #dbeafe); }
.uk-fiyat.nakit dt { color: #1d4ed8; }
.uk-fiyat.nakit b { color: #1d4ed8; }
.uk-fiyat.nakit span { color: #60a5fa; }
.uk-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 12px 12px; }
.uk-alt form { margin: 0; display: contents; }
.uk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 10px;
  border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a;
  font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .12s, border-color .12s;
}
.uk-btn:hover { background: #f1f5f9; color: #0f172a; text-decoration: none; }
.uk-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.uk-btn.sil { border-color: #fecaca; color: #b91c1c; }
.uk-btn.sil:hover { background: #fef2f2; color: #b91c1c; }
.uk-bos { grid-column: 1 / -1; padding: 28px; color: #64748b; text-align: center; }
.uk-sayfalama { margin-top: 14px; }
@media (max-width: 800px) {
  .uk-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .uk-gorsel { height: 120px; }
  .uk-koli { font-size: 10.5px; padding: 3px 7px; }
  /* Telefonda kart dar: etiket üstte, fiyat altında (yan yana sığmıyordu) */
  .uk-fiyat { flex-direction: column; align-items: stretch; gap: 1px; padding: 5px 8px; }
  .uk-fiyat dd { justify-content: flex-end; }
  .uk-fiyat b { font-size: 13px; }
  .uk-alt { grid-template-columns: 1fr; }
}

/* Teklif listesi: Depo/Teslimat tasarımı (24 Kasım). Sekme çubuğu ve kartlar gorev-sayfa'nın
   .depo-filtre / .gk.dk kurallarından gelir; burada yalnız teklife özgü renk ve yerleşim. */
.tk-liste-sayfa { max-width: 1080px; }
.tk-ust { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 14px; }
.tk-ust .depo-filtre { margin-bottom: 14px; }
.tk-ust .tk-yeni { flex: none; min-height: 46px; padding: 8px 18px; border-radius: 14px; font-size: 14px; }
.tk-ust .tk-yeni svg { width: 17px; height: 17px; }
.gorev-sayfa .tk-filtre .btn.tk-d-hepsi i { background: linear-gradient(135deg, #3b74ff, #10b981); }
.gorev-sayfa .tk-filtre .btn.tk-d-taslak i { background: #94a3b8; }
.gorev-sayfa .tk-filtre .btn.tk-d-gonderildi i { background: #3b82f6; }
.gorev-sayfa .tk-filtre .btn.aktif i { background: #fff; }
.tk-liste-sayfa .tk-konsol { margin-bottom: 14px; border-radius: 14px; }
.tk-liste-sayfa .tk-ara {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -14px rgba(15, 23, 42, 0.25);
}
.tk-liste-sayfa .tk-ara > svg {
  position: absolute; left: 18px; width: 17px; height: 17px;
  fill: none; stroke: #64748b; stroke-width: 2; stroke-linecap: round; pointer-events: none;
}
.tk-liste-sayfa .tk-ara .girdi { flex: 1; min-width: 0; min-height: 40px; padding-left: 38px; border-color: transparent; border-radius: 11px; background: #fff; }
.tk-liste-sayfa .tk-ara .girdi:focus { border-color: #3b74ff; outline: 0; box-shadow: 0 0 0 3px rgba(59, 116, 255, 0.15); }
.tk-kartlar { max-width: none; }
/* Sol simge: sade, açık zeminli kare; gönderilen mavi kâğıt uçak, taslak gri belge (24 Kasım; büyük numara kutusu yerine) */
.tk-ikon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
}
.tk-ikon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tk-ikon.tk-i-taslak { border-color: #e2e8f0; background: #f8fafc; color: #64748b; }
.gk-rozet.tk-r-taslak { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.gk-rozet.tk-r-gonderildi,
.gk-rozet.tk-r-kabul,
.gk-rozet.tk-r-ret { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.gk-rozet.tk-r-no { background: #fff; color: #334155; border-color: #e2e8f0; font-family: "Cascadia Mono", Consolas, monospace; letter-spacing: 0.02em; }
.tk-k-tutar { font-size: 16px; }
.tk-bilgi-genis { grid-column: 1 / -1; }
.tk-gonderilmedi { color: #b45309 !important; }
.tk-kart .dk-alt { flex-wrap: wrap; }
@media (max-width: 800px) {
  .tk-ust { flex-direction: column; align-items: stretch; }
  .tk-ust .depo-filtre { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
  .tk-ust .tk-yeni { width: 100%; }
  .tk-liste-sayfa .tk-ara .girdi { font-size: 16px; }
  .tk-kart .dk-alt .dk-btn { flex: 1 1 auto; }
}

/* editör */
.tk-editor { max-width: 1560px; padding-bottom: 86px; }
.tk-durum-serit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.tk-geri { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--yazi); }
.tk-kayit-durum { margin-left: auto; font-size: 13px; color: var(--soluk); }
.tk-kayit-durum.kirli { color: #b45309; font-weight: 650; }
.tk-kayit-durum.tamam { color: var(--basari); font-weight: 650; }
.tk-izgara { display: grid; gap: 16px; margin-bottom: 16px; align-items: start; }
.tk-ust-izgara, .tk-mail-izgara { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.tk-urun-izgara { grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.6fr); }
.tk-kalemler, .tk-urun { container-type: inline-size; }
@container (max-width: 520px) {
  .tk-urun .tk-u { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tk-urun .tk-u-ekle { justify-content: flex-end; }
  .tk-urun .tk-urun-filtre { grid-template-columns: minmax(0, 1fr) 118px; }
}
.tk-kart { padding: 18px 20px; min-width: 0; }
.tk-kart-bas { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tk-kart-bas h2 { margin: 0; font-size: 17px; }
.tk-kart-bas .yardim { margin: 0 0 0 auto; }
.tk-adim {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 26px;
  background: linear-gradient(135deg, #3b74ff, #1d4ed8); color: #fff; font-size: 13px; font-weight: 800;
}
.tk-alanlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.tk-alan { display: block; min-width: 0; }
.tk-alan.genis { grid-column: 1 / -1; }
.tk-alan > span { display: block; margin-bottom: 5px; font-size: 12.5px; font-weight: 650; color: var(--soluk); }
.tk-alan > span b { color: var(--hata); }
.tk-alan > span small { font-weight: 500; }
.tk-alan .girdi:disabled, .tk-sayi .girdi:disabled { background: #f4f6fa; color: #475569; }
.tk-yardim { margin: 6px 0 12px; }

.tk-cari-ara { position: relative; }
.tk-cari-ara > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--soluk); }
.tk-cari-ara .girdi { padding-left: 38px; }
.tk-cari-sonuc {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; overflow: auto;
  background: #fff; border: 1px solid var(--cizgi); border-radius: 12px; box-shadow: 0 18px 40px rgba(7, 20, 34, 0.16);
}
.tk-cari-sonuc button {
  display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #eef2f8; background: none;
  padding: 10px 14px; cursor: pointer; color: var(--yazi);
}
.tk-cari-sonuc button:hover, .tk-cari-sonuc button:focus { background: #f2f6ff; outline: none; }
.tk-cari-sonuc button span { display: block; font-size: 12.5px; color: var(--soluk); margin-top: 2px; }
.tk-cari-sonuc .bos { padding: 14px; }
.tk-cari-cip {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 999px;
  background: #e3f7ee; color: #047857; font-size: 12.5px; font-weight: 700;
}
.tk-cari-cip[hidden] { display: none; }
.tk-cari-cip button { border: 0; background: rgba(4, 120, 87, 0.12); color: inherit; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; }

.tk-secim-grup { margin-bottom: 12px; }
.tk-etiket { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 650; color: var(--soluk); }
.tk-segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #eef3fb; border: 1px solid #dde6f4; }
.tk-segment button {
  border: 0; background: transparent; border-radius: 9px; padding: 9px 8px; font-weight: 650; color: #475569; cursor: pointer;
}
.tk-segment button b { color: #1d4ed8; margin-right: 2px; }
.tk-segment button.aktif { background: #fff; color: #1d4ed8; box-shadow: 0 2px 8px rgba(29, 78, 216, 0.16); }
.tk-segment button:disabled { cursor: default; }
.tk-kur {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-bottom: 12px; border-radius: 12px;
  background: #ecfdf3; border: 1px solid #bfe9d2; color: #065f46; font-size: 13.5px;
}
.tk-kur svg { flex: 0 0 18px; margin-top: 2px; }
.tk-kur small { display: block; color: #3f6f5d; font-size: 12px; margin-top: 2px; }
.tk-kur.eski { background: #fff7e6; border-color: #f6d79b; color: #8a5a00; }
.tk-kur.eski small { color: #8a5a00; }
.tk-kur.yok { background: var(--hata-zemin); border-color: #f3c4c4; color: var(--hata); }

.tk-kategoriler { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: thin; }
.tk-kategoriler button {
  flex: 0 0 auto; border: 1px solid var(--cizgi); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--yazi);
}
.tk-kategoriler button.aktif { background: var(--kuzey); border-color: var(--kuzey); color: #fff; }
.tk-urun-filtre { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 8px; margin-bottom: 10px; }
.tk-urun-liste { max-height: 640px; overflow: auto; margin: 0 -6px; padding: 0 6px; }
.tk-u {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 10px 2px; border-bottom: 1px solid #eef2f8;
}
.tk-u-bilgi { min-width: 0; }
.tk-u-bilgi strong { display: block; font-size: 14px; }
.tk-u-bilgi > span { display: block; font-size: 12px; color: var(--soluk); margin-top: 2px; }
.tk-u-fiyat { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 750; color: #1d4ed8; }
.tk-u-fiyat small { font-weight: 600; color: var(--soluk); }
.tk-u-fiyat.yok { color: #b45309; }
.tk-u-ekle { display: flex; align-items: center; gap: 6px; }
.tk-ekle { background: var(--kuzey); color: #fff; border-color: var(--kuzey); }
.tk-ekle:hover { background: var(--kuzey-koyu); color: #fff; }
.tk-sayi { display: inline-flex; align-items: center; border: 1px solid #c9d4e6; border-radius: 10px; background: #fff; overflow: hidden; }
.tk-sayi:focus-within { outline: 2px solid rgba(47, 107, 255, 0.28); border-color: var(--kuzey); }
.tk-sayi .girdi { border: 0; border-radius: 0; width: 72px; padding: 8px 8px; text-align: right; outline: none; }
.tk-sayi span { padding: 0 9px 0 2px; color: var(--soluk); font-size: 12.5px; font-weight: 650; }
.tk-sayi .girdi.elle { background: #fff7e6; }

.tk-kalem-bas, .tk-kalem {
  display: grid; grid-template-columns: minmax(0, 1fr) 106px 136px 72px 112px 30px; gap: 10px; align-items: center;
}
.tk-kalem-bas { padding: 0 4px 8px; border-bottom: 1px solid var(--cizgi); font-size: 12px; font-weight: 700; color: var(--soluk); text-transform: uppercase; letter-spacing: 0.04em; }
.tk-kalem-bas span:nth-child(5) { text-align: right; }
.tk-kalem-liste .bos { padding: 34px 14px; }
.tk-kalem { padding: 11px 4px; border-bottom: 1px solid #eef2f8; position: relative; }
.tk-kalem.hatali { background: linear-gradient(90deg, rgba(239, 68, 68, 0.06), transparent 70%); box-shadow: inset 3px 0 0 #ef4444; }
.tk-k-ad { min-width: 0; padding-left: 4px; }
.tk-k-ad strong { display: block; font-size: 14px; }
.tk-k-ad span { display: block; font-size: 12px; color: var(--soluk); margin-top: 2px; }
.tk-k-ad span b { color: #b91c1c; font-weight: 700; }
.tk-k-hata { display: block; font-style: normal; color: var(--hata); font-size: 12.5px; font-weight: 650; margin-top: 3px; }
.tk-k-hata:empty { display: none; }
.tk-k-miktar small, .tk-k-fiyat small, .tk-k-tutar small { display: block; font-size: 11.5px; color: var(--soluk); margin-top: 3px; }
.tk-k-fiyat .tk-sayi .girdi { width: 92px; }
.tk-k-isk .tk-sayi .girdi { width: 46px; }
.tk-k-miktar .tk-sayi .girdi { width: 58px; }
@container (max-width: 640px) {
  .tk-kalem-bas { display: none; }
  .tk-kalem { grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 8px 16px; padding: 12px 40px 12px 6px; }
  .tk-k-ad { grid-column: 1 / -1; }
  .tk-k-miktar::before, .tk-k-fiyat::before, .tk-k-isk::before, .tk-k-tutar::before {
    content: attr(data-etiket); display: block; font-size: 11.5px; font-weight: 700; color: var(--soluk); margin-bottom: 4px;
  }
  .tk-k-tutar { text-align: left; }
  .tk-k-sil { position: absolute; top: 10px; right: 4px; }
}
.tk-k-tutar { text-align: right; }
.tk-k-tutar strong { font-size: 14.5px; white-space: nowrap; }
.tk-liste-don { border: 0; background: none; color: var(--kuzey); font: inherit; font-weight: 700; padding: 0; cursor: pointer; }
.tk-k-sil {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid #f0c9c9; background: #fff; color: var(--hata); font-size: 18px; line-height: 1; cursor: pointer;
}
.tk-k-sil:hover { background: var(--hata-zemin); }
.tk-toplam { margin: 14px 0 0 auto; max-width: 380px; display: grid; gap: 6px; }
.tk-toplam div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--soluk); }
.tk-toplam div strong { color: var(--yazi); }
.tk-toplam .genel {
  margin-top: 4px; padding: 11px 14px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, #0b1526, #1d3a72); box-shadow: 0 10px 24px rgba(11, 21, 38, 0.22);
}
.tk-toplam .genel span { color: #c9d6f0; font-weight: 650; }
.tk-toplam .genel strong { color: #fff; font-size: 19px; }
.tk-tl { margin: 2px 0 0; text-align: right; font-size: 12.5px; color: var(--soluk); }

.tk-kalip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: end; margin: 12px 0 10px; }
.tk-kalip-dugmeler { display: flex; gap: 6px; padding-bottom: 4px; }
.tk-kalip-dugmeler [hidden], .tk-editor .btn[hidden] { display: none; }
.tk-kalip-yeni { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; }
.tk-mesaj { min-height: 210px; line-height: 1.55; }
.tk-kontrol { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.tk-kontrol li { position: relative; padding: 8px 10px 8px 36px; border-radius: 10px; font-size: 14px; background: #f6f8fc; }
.tk-kontrol li::before {
  content: ""; position: absolute; left: 10px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
}
.tk-kontrol li.tamam::before { background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tk-kontrol li.eksik { background: #fff7e6; color: #8a5a00; }
.tk-kontrol li.eksik::before { border: 2px solid #f59e0b; }
.tk-gonder-dugmeler { display: grid; gap: 8px; }
.tk-gonder-dugmeler .btn { justify-content: flex-start; }
.tk-gecmis { margin-top: 16px; border-top: 1px solid var(--cizgi); padding-top: 12px; }
.tk-gecmis h3 { margin: 0 0 8px; font-size: 13px; color: var(--soluk); text-transform: uppercase; letter-spacing: 0.05em; }
.tk-gecmis ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.tk-gecmis li span { display: block; color: var(--soluk); overflow-wrap: anywhere; }

.tk-islem-cubugu {
  position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 -4px; padding: 12px 16px; border-radius: 16px 16px 0 0;
  background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--cizgi); border-bottom: 0; box-shadow: 0 -10px 30px rgba(7, 20, 34, 0.08);
}
.tk-islem-toplam small { display: block; font-size: 12px; color: var(--soluk); font-weight: 650; }
.tk-islem-toplam strong { font-size: 20px; white-space: nowrap; }
.tk-islem-dugmeler { display: flex; gap: 8px; }
.tk-islem-dugmeler .btn { min-height: 44px; padding: 10px 18px; }
.btn.tk-gonder { background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 8px 20px rgba(4, 120, 87, 0.26); }
.btn.tk-gonder:hover { background: linear-gradient(135deg, #0ea371, #036a4d); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.tk-bildirim {
  position: fixed; right: 20px; bottom: 96px; z-index: 95; max-width: min(440px, calc(100vw - 32px));
  padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 16px 36px rgba(7, 20, 34, 0.3);
}
.tk-bildirim.basari { background: #047857; }
.tk-bildirim.hata { background: #b91c1c; }
.tk-bildirim.uyari { background: #b45309; }

.tk-perde { position: fixed; inset: 0; z-index: 89; background: rgba(15, 23, 42, 0.5); }
.tk-pencere {
  position: fixed; inset: 0; z-index: 90; margin: auto; padding: 0; border: 0; border-radius: 16px;
  width: min(1000px, 94vw); height: min(92vh, 960px); background: #fff; color: var(--yazi);
  box-shadow: 0 30px 80px rgba(7, 20, 34, 0.35); overflow: hidden;
}
.tk-pencere[open] { display: flex; flex-direction: column; }
#tkMailPencere { width: min(780px, 94vw); }
.tk-pencere-bas { display: flex; align-items: center; gap: 8px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--cizgi); }
.tk-pencere-bas h2 { margin: 0 auto 0 0; font-size: 16px; }
.tk-kapat { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--cizgi); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.tk-pdf-cerceve { flex: 1; width: 100%; border: 0; background: #525659; }
.tk-mail-bilgi { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 4px 10px; margin: 0; padding: 12px 18px; font-size: 13.5px; border-bottom: 1px solid #eef2f8; }
.tk-mail-bilgi dt { color: var(--soluk); font-weight: 650; }
.tk-mail-bilgi dd { margin: 0; overflow-wrap: anywhere; }
.tk-mail-bilgi .tk-ek { font-weight: 650; color: #1d4ed8; }
.tk-mail-eksik { margin: 10px 18px 0; padding: 10px 12px; border-radius: 10px; background: #fff7e6; color: #8a5a00; font-size: 13.5px; font-weight: 600; }
.tk-mail-eksik .tk-not { font-weight: 500; }
.tk-mail-cerceve { flex: 1; width: 100%; border: 0; background: #f1f5f9; min-height: 240px; }
.tk-pencere-alt { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--cizgi); }
body.tk-pencere-acik { overflow: hidden; }

@media (max-width: 1180px) {
  .tk-ust-izgara, .tk-mail-izgara, .tk-urun-izgara { grid-template-columns: minmax(0, 1fr); }
  .tk-urun-liste { max-height: 420px; }
}
@media (max-width: 800px) {
  .tk-kart { padding: 14px; }
  .tk-alanlar { grid-template-columns: minmax(0, 1fr); }
  .tk-alan .girdi, .tk-cari-ara .girdi, .tk-urun-filtre .girdi, .tk-sayi .girdi, .tk-kalip .girdi { font-size: 16px; }
  .tk-urun-filtre { grid-template-columns: minmax(0, 1fr) 128px; }
  .tk-u { grid-template-columns: minmax(0, 1fr); }
  .tk-u-ekle { justify-content: flex-end; }
  .tk-kalem-bas { display: none; }
  .tk-kalem { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; padding: 12px 40px 12px 6px; }
  .tk-k-ad { grid-column: 1 / -1; }
  .tk-k-miktar::before, .tk-k-fiyat::before, .tk-k-isk::before, .tk-k-tutar::before {
    content: attr(data-etiket); display: block; font-size: 11.5px; font-weight: 700; color: var(--soluk); margin-bottom: 4px;
  }
  .tk-k-tutar { text-align: left; }
  .tk-k-sil { position: absolute; top: 10px; right: 4px; }
  .tk-k-fiyat .tk-sayi .girdi { width: 96px; }
  .tk-toplam { max-width: none; }
  .tk-kalip { grid-template-columns: minmax(0, 1fr); }
  .tk-kalip-yeni { grid-template-columns: minmax(0, 1fr) auto; }
  .tk-kalip-yeni .girdi { grid-column: 1 / -1; }
  .tk-islem-cubugu { margin: 0 -12px; border-radius: 14px 14px 0 0; padding: 10px 12px; }
  .tk-islem-toplam strong { font-size: 17px; }
  .tk-islem-dugmeler .btn { padding: 10px 12px; }
  .tk-bildirim { left: 12px; right: 12px; bottom: 84px; max-width: none; }
  .tk-pencere { width: 100vw; height: 100dvh; border-radius: 0; max-width: none; max-height: none; }
  #tkMailPencere { width: 100vw; }
  .tk-pencere-alt .btn { flex: 1; }
  .tk-kayit-durum { margin-left: 0; width: 100%; }
  .tk-islemler { justify-content: flex-start; }
  .tk-firma { max-width: none; }
}
/* ---- Teklifler: kompakt, kurumsal ölçü (17 Kasım, kullanıcı isteği) ---- */
body.tk-sayfa .icerik { font-size: 13.5px; }
.tk-sayfa .girdi, .tk-sayfa textarea.girdi, .tk-sayfa select.girdi { padding: 7px 10px; font-size: 13.5px; border-radius: 8px; }
.tk-sayfa .btn { padding: 7px 12px; font-size: 13.5px; border-radius: 8px; }
.tk-sayfa .btn-kucuk { padding: 4px 10px; font-size: 12px; border-radius: 7px; }
.tk-sayfa .alert { padding: 8px 12px; font-size: 13px; border-radius: 8px; margin-bottom: 10px; }
.tk-sayfa .yardim { font-size: 12px; }
.tk-bas { margin-bottom: 10px; }
.tk-bas-yazi h2 { font-size: 16px; }
.tk-bas-ikon { flex-basis: 34px; width: 34px; height: 34px; border-radius: 9px; box-shadow: none; }
.tk-bas-ikon svg { width: 17px; height: 17px; }
.tk-yeni svg, .tk-gonder svg, .tk-gonder-dugmeler svg { width: 15px; height: 15px; }
.tk-sekmeler { gap: 6px; margin-bottom: 10px; }
.tk-sekme { padding: 4px 10px; font-size: 12.5px; gap: 6px; border-radius: 7px; }
.tk-sekme b { min-width: 18px; padding: 0 6px; font-size: 11px; }
.tk-sekme i { width: 7px; height: 7px; }
.tk-durum { padding: 2px 8px; font-size: 11.5px; border-radius: 6px; }
.tk-tablo th { font-size: 11px; padding: 8px 10px; }
.tk-tablo td { font-size: 13px; padding: 8px 10px; }
.tk-alt { font-size: 11.5px; margin-top: 1px; }
.tk-tutar { font-size: 13.5px; }
.tk-islemler { gap: 4px; }

.tk-editor { max-width: 1440px; padding-bottom: 64px; }
.tk-durum-serit { margin-bottom: 8px; gap: 6px 10px; font-size: 13px; }
.tk-kayit-durum { font-size: 12px; }
.tk-izgara { gap: 12px; margin-bottom: 12px; }
.tk-kart { padding: 12px 14px; border-radius: 10px; box-shadow: 0 1px 3px rgba(7, 20, 34, 0.06); }
.tk-kart-bas { margin-bottom: 10px; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #eef2f8; }
.tk-kart-bas h2 { font-size: 13.5px; font-weight: 700; letter-spacing: 0.01em; }
.tk-adim { width: 20px; height: 20px; flex-basis: 20px; font-size: 11px; background: var(--ink); }
.tk-alanlar { gap: 8px 10px; }
.tk-alan > span { font-size: 11.5px; margin-bottom: 3px; }
.tk-yardim { margin: 4px 0 8px; }
.tk-cari-ara > svg { left: 10px; width: 15px; height: 15px; }
.tk-cari-ara .girdi { padding-left: 32px; }
.tk-cari-sonuc button { padding: 7px 12px; font-size: 13px; }
.tk-cari-cip { font-size: 11.5px; padding: 2px 3px 2px 8px; }
.tk-cari-cip button { width: 18px; height: 18px; font-size: 13px; }
.tk-secim-grup { margin-bottom: 9px; }
.tk-etiket { font-size: 11.5px; margin-bottom: 4px; }
.tk-segment { padding: 3px; gap: 3px; border-radius: 8px; }
.tk-segment button { padding: 5px 6px; font-size: 12.5px; border-radius: 6px; }
.tk-kur { padding: 7px 10px; margin-bottom: 9px; font-size: 12.5px; border-radius: 8px; gap: 8px; }
.tk-kur svg { width: 15px; height: 15px; flex-basis: 15px; }
.tk-kur small { font-size: 11px; }
.tk-kategoriler { gap: 4px; margin-bottom: 6px; padding-bottom: 4px; }
.tk-kategoriler button { padding: 3px 9px; font-size: 12px; border-radius: 6px; }
.tk-urun-filtre { gap: 6px; margin-bottom: 6px; }
.tk-urun-liste { max-height: 520px; }
.tk-u { padding: 7px 2px; gap: 8px; }
.tk-u-bilgi strong { font-size: 12.5px; font-weight: 650; }
.tk-u-bilgi > span { font-size: 11px; }
.tk-u-fiyat { font-size: 12px; margin-top: 2px; }
.tk-u-ekle { gap: 4px; }
.tk-sayi { border-radius: 7px; }
.tk-sayi .girdi { width: 56px; padding: 5px 6px; font-size: 13px; }
.tk-sayi span { font-size: 11.5px; padding: 0 7px 0 1px; }
.tk-kalem-bas, .tk-kalem { grid-template-columns: minmax(0, 1fr) 96px 124px 64px 104px 24px; gap: 8px; }
.tk-kalem-bas { font-size: 10.5px; padding: 0 4px 6px; }
.tk-kalem { padding: 7px 4px; }
.tk-k-ad strong { font-size: 12.5px; font-weight: 650; }
.tk-k-ad span { font-size: 11px; margin-top: 1px; }
.tk-k-hata { font-size: 11.5px; }
.tk-k-miktar small, .tk-k-fiyat small, .tk-k-tutar small { font-size: 10.5px; margin-top: 2px; }
.tk-k-fiyat .tk-sayi .girdi { width: 82px; }
.tk-k-isk .tk-sayi .girdi { width: 38px; }
.tk-k-miktar .tk-sayi .girdi { width: 50px; }
.tk-k-tutar strong { font-size: 13px; }
.tk-k-sil { width: 24px; height: 24px; font-size: 15px; }
.tk-toplam { margin-top: 10px; max-width: 320px; gap: 4px; }
.tk-toplam div { font-size: 12.5px; }
.tk-toplam .genel { padding: 8px 12px; border-radius: 8px; box-shadow: none; background: var(--ink); }
.tk-toplam .genel strong { font-size: 15px; }
.tk-tl { font-size: 11.5px; }
.tk-kalip { margin: 8px 0; gap: 6px 8px; }
.tk-kalip-dugmeler { padding-bottom: 2px; }
.tk-mesaj { min-height: 150px; line-height: 1.5; }
.tk-kontrol { gap: 4px; margin-bottom: 10px; }
.tk-kontrol li { padding: 5px 8px 5px 30px; font-size: 12.5px; border-radius: 7px; }
.tk-kontrol li::before { left: 8px; width: 15px; height: 15px; margin-top: -7.5px; background-size: 10px; }
.tk-gonder-dugmeler { gap: 6px; }
.tk-gecmis { margin-top: 12px; padding-top: 10px; }
.tk-gecmis h3 { font-size: 11px; }
.tk-gecmis ul { font-size: 12px; gap: 6px; }
.tk-islem-cubugu { padding: 8px 14px; border-radius: 10px 10px 0 0; box-shadow: 0 -4px 16px rgba(7, 20, 34, 0.06); }
.tk-islem-toplam small { font-size: 11px; }
.tk-islem-toplam strong { font-size: 16px; }
.tk-islem-dugmeler { gap: 6px; }
.tk-islem-dugmeler .btn { min-height: 34px; padding: 6px 14px; }
.btn.tk-gonder { box-shadow: none; }
.tk-bildirim { padding: 9px 13px; font-size: 13px; border-radius: 8px; bottom: 70px; }
.tk-pencere { border-radius: 10px; }
.tk-pencere-bas { padding: 8px 10px 8px 14px; }
.tk-pencere-bas h2 { font-size: 14px; }
.tk-kapat { width: 30px; height: 30px; font-size: 17px; }
.tk-mail-bilgi { font-size: 12.5px; padding: 10px 14px; grid-template-columns: 76px minmax(0, 1fr); }
.tk-mail-eksik { font-size: 12.5px; padding: 8px 10px; }
.tk-pencere-alt { padding: 8px 12px; }
@container (max-width: 640px) {
  .tk-kalem { grid-template-columns: repeat(4, minmax(0, auto)); padding: 9px 32px 9px 6px; gap: 6px 14px; }
  .tk-k-miktar::before, .tk-k-fiyat::before, .tk-k-isk::before, .tk-k-tutar::before { font-size: 10.5px; margin-bottom: 3px; }
}
@media (max-width: 800px) {
  .tk-sayfa .girdi, .tk-sayfa textarea.girdi, .tk-sayfa select.girdi, .tk-sayi .girdi { font-size: 16px; }
  .tk-kalem { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 32px 10px 6px; }
  .tk-k-fiyat .tk-sayi .girdi { width: 88px; }
  .tk-k-miktar .tk-sayi .girdi { width: 58px; }
  .tk-k-isk .tk-sayi .girdi { width: 46px; }
  .tk-islem-cubugu { margin: 0 -12px; padding: 8px 12px; }
  .tk-islem-dugmeler .btn { padding: 7px 11px; }
  .tk-bildirim { bottom: 64px; }
}.tk-sayfa .tk-alan .girdi, .tk-sayfa .tk-cari-ara .girdi, .tk-sayfa .tk-urun-filtre .girdi, .tk-sayfa .tk-kalip .girdi, .tk-kalip-yeni .girdi { font-weight: 400; }
.tk-sayi .girdi { font-weight: 600; }
.tk-alan > span { font-weight: 600; }
@media (min-width: 1181px) {
  .tk-alanlar.uc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tk-alanlar.uc .tk-alan.genis { grid-column: span 2; }
}
/* ---- Teklifler: kart ve kontrol tasarımı v2 (17 Kasım) ---- */
.tk-kart { padding: 0; overflow: visible; border: 1px solid #e3e8f0; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 14px rgba(15, 23, 42, 0.04); }
.tk-kart > :not(.tk-kart-bas) { margin-left: 16px; margin-right: 16px; }
.tk-kart > :last-child { margin-bottom: 16px; }
.tk-kart-bas { margin: 0 0 14px; padding: 12px 16px; gap: 10px; border-bottom: 1px solid #edf1f6; background: linear-gradient(180deg, #fbfcfe, #fff); border-radius: 12px 12px 0 0; flex-wrap: nowrap; }
.tk-ikon { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.tk-ikon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tk-ikon.mavi { background: #e8f0ff; color: #2563eb; }
.tk-ikon.mor { background: #f1ebff; color: #7c3aed; }
.tk-ikon.turuncu { background: #fff1e6; color: #ea580c; }
.tk-ikon.yesil { background: #e6f7ef; color: #059669; }
.tk-ikon.kirmizi { background: #fdecec; color: #c8102e; }
.tk-ikon.lacivert { background: #e8ecf5; color: #0f1b2d; }
.tk-baslik { min-width: 0; flex: 1; }
.tk-baslik h2 { margin: 0; font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.25; }
.tk-baslik p { margin: 1px 0 0; font-size: 11.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-sayac { flex: 0 0 auto; padding: 2px 9px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 11.5px; font-weight: 650; }
.tk-sayac:empty { display: none; }

.tk-alan > span { font-size: 11.5px; font-weight: 600; color: #475569; letter-spacing: 0.01em; }
.tk-alan > span small { font-weight: 500; color: #94a3b8; margin-left: 2px; }
.tk-sayfa .girdi, .tk-sayfa textarea.girdi, .tk-sayfa select.girdi { border-color: #d6dde8; background: #fff; transition: border-color .15s, box-shadow .15s; }
.tk-sayfa .girdi:hover { border-color: #b9c4d6; }
.tk-sayfa .girdi:focus, .tk-sayfa textarea.girdi:focus, .tk-sayfa select.girdi:focus { outline: none; border-color: #3b74ff; box-shadow: 0 0 0 3px rgba(59, 116, 255, 0.14); }
.tk-sayfa .girdi::placeholder { color: #9aa6b8; }
.tk-cari-ara { margin-bottom: 12px; }
.tk-cari-ara .girdi { background: #f8fafc; }

.tk-grup { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed #e3e8f0; }
.tk-grup:last-child { border-bottom: 0; padding-bottom: 0; }
.tk-satir { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; margin-bottom: 9px; }
.tk-satir .tk-etiket { margin: 0; font-size: 11.5px; font-weight: 600; color: #475569; }
.tk-segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; padding: 2px; border-radius: 8px; background: #f1f5f9; border: 1px solid #e2e8f0; }
.tk-segment button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: #475569; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.tk-segment button:hover:not(.aktif):not(:disabled) { color: #0f172a; background: rgba(255, 255, 255, 0.6); }
.tk-segment button i { font-style: normal; font-weight: 700; color: #94a3b8; }
.tk-segment button.aktif { background: #fff; color: #1d4ed8; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(29, 78, 216, 0.18); }
.tk-segment button.aktif i { color: #1d4ed8; }

.tk-kur { display: block; margin: 2px 0 0 102px; padding: 0; background: none; border: 0; }
.tk-kur-cipler { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-kur-cip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; font-size: 12.5px; font-weight: 650; color: #0f172a; font-variant-numeric: tabular-nums; }
.tk-kur-cip b { padding: 1px 5px; border-radius: 4px; background: #ecfdf5; color: #047857; font-size: 10.5px; letter-spacing: 0.04em; }
.tk-kur small { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: #64748b; }
.tk-kur small i { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); flex: 0 0 7px; }
.tk-kur.eski small i { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15); }
.tk-kur.eski .tk-kur-cip b { background: #fff7e6; color: #b45309; }
.tk-kur.yok small { color: var(--hata); }
.tk-kur.yok small i { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15); }

.tk-ekli { display: flex !important; margin: 0 !important; align-items: stretch; }
.tk-ekli .girdi { border-radius: 8px 0 0 8px !important; min-width: 0; }
.tk-ekli em { display: flex; align-items: center; padding: 0 10px; border: 1px solid #d6dde8; border-left: 0; border-radius: 0 8px 8px 0; background: #f8fafc; color: #64748b; font-style: normal; font-size: 12px; white-space: nowrap; }

.tk-kategoriler button { border-color: #e2e8f0; background: #f8fafc; color: #475569; font-weight: 600; }
.tk-kategoriler button:hover { border-color: #cbd5e1; color: #0f172a; }
.tk-kategoriler button.aktif { background: #0f172a; border-color: #0f172a; color: #fff; }
.tk-ekle, .tk-sayfa .btn-kucuk.tk-ekle { background: #fff; color: #1d4ed8; border: 1px solid #bfd3ff; font-weight: 700; }
.tk-ekle:hover, .tk-sayfa .btn-kucuk.tk-ekle:hover { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.tk-u:hover { background: #f8fafc; }
.tk-kalem-bas { color: #94a3b8; letter-spacing: 0.06em; }
.tk-kalem:hover { background: #fbfcfe; }
.tk-toplam .genel { background: linear-gradient(135deg, #0f172a, #1e293b); }

.tk-sayfa .btn-kucuk { display: inline-flex; align-items: center; gap: 5px; border-color: #d6dde8; background: #fff; color: #334155; font-weight: 600; }
.tk-sayfa .btn-kucuk:hover { background: #f1f5f9; color: #0f172a; }
.tk-sayfa .btn-kucuk svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tk-sayfa .btn-kucuk.btn-sil { border-color: #f3c4c4; color: #b91c1c; }
.tk-sayfa .btn-kucuk.btn-sil:hover { background: #fdecec; }

.tk-kontrol li { background: #f8fafc; border: 1px solid #eef2f7; color: #334155; }
.tk-kontrol li.eksik { background: #fffbeb; border-color: #fde68a; }
.tk-gonder-dugmeler { gap: 8px; }
.tk-aksiyon { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #0f172a; text-align: left; cursor: pointer; font: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tk-aksiyon:hover { border-color: #bfd3ff; box-shadow: 0 4px 12px rgba(29, 78, 216, 0.08); transform: translateY(-1px); }
.tk-aksiyon b { display: block; font-size: 13px; }
.tk-aksiyon small { display: block; font-size: 11.5px; color: #64748b; margin-top: 1px; }
.tk-aksiyon-ikon { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #f1f5f9; color: #334155; }
.tk-aksiyon-ikon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tk-aksiyon:hover .tk-aksiyon-ikon { background: #e8f0ff; color: #1d4ed8; }

.tk-islem-dugmeler .btn-soluk { border-color: #d6dde8; background: #fff; color: #0f172a; font-weight: 600; }
.tk-islem-dugmeler .btn-soluk:hover { background: #f1f5f9; }
.btn.tk-gonder { background: #059669; font-weight: 700; }
.btn.tk-gonder:hover { background: #047857; }
@media (prefers-reduced-motion: reduce) { .tk-aksiyon, .tk-aksiyon:hover { transition: none; transform: none; } }
@media (max-width: 800px) {
  .tk-kart > :not(.tk-kart-bas) { margin-left: 12px; margin-right: 12px; }
  .tk-kart-bas { padding: 10px 12px; }
  .tk-baslik p { white-space: normal; }
  .tk-satir { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tk-kur { margin-left: 0; }
}.tk-kalemler > .tk-toplam { margin: 12px 16px 16px auto; }
.tk-urun > .tk-urun-liste { margin: 0 10px 12px; }
@media (max-width: 800px) { .tk-kalemler > .tk-toplam { margin: 12px 12px 14px; } }.tk-ayar .tk-kur, .tk-ayar .tk-kur.eski, .tk-ayar .tk-kur.yok { background: none; border: 0; padding: 0; color: inherit; }
/* ---- Teklifler: hizalı ızgara (17 Kasım) — bütün satırlar aynı iki sütun, aynı satırdaki kartlar eşit boy ---- */
.tk-izgara { align-items: stretch; }
.tk-ust-izgara, .tk-urun-izgara, .tk-mail-izgara { grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr); }
.tk-urun-izgara { grid-template-areas: "kalem urun"; }
.tk-urun-izgara > .tk-kalemler { grid-area: kalem; }
.tk-urun-izgara > .tk-urun { grid-area: urun; }
.tk-kart { display: flex; flex-direction: column; min-height: 0; }
.tk-kart > * { flex: 0 0 auto; }
/* Ürün listesi kartın kalan yüksekliğini doldurur; kalem kartında toplam en alta oturur */
.tk-urun { max-height: 720px; }
.tk-urun > .tk-urun-liste { flex: 1 1 auto; min-height: 260px; max-height: none; overflow-y: auto; }
.tk-kalemler > .tk-kalem-liste { flex: 1 1 auto; }
.tk-kalemler > .tk-toplam { margin-top: auto; padding-top: 12px; }
/* Mail kartında mesaj kutusu, gönder kartında geçmiş alanı boşluğu doldurur */
.tk-mail-izgara > .tk-kart:first-child > .tk-alan:last-child { flex: 1 1 auto; display: flex; flex-direction: column; }
.tk-mail-izgara > .tk-kart:first-child > .tk-alan:last-child .tk-mesaj { flex: 1 1 auto; }
.tk-gonder-kart > .tk-gecmis { margin-top: auto; }
/* Müşteri kartı: alanlar üstte, boşluk altta kalmasın diye alan ızgarası satırları yayar */
.tk-ust-izgara > .tk-kart:first-child > .tk-alanlar { flex: 1 1 auto; align-content: start; }
@media (max-width: 1180px) {
  .tk-ust-izgara, .tk-urun-izgara, .tk-mail-izgara { grid-template-columns: minmax(0, 1fr); }
  .tk-urun-izgara { grid-template-areas: "urun" "kalem"; }
  .tk-urun { max-height: none; }
  .tk-urun > .tk-urun-liste { max-height: 420px; min-height: 0; }
  .tk-mail-izgara > .tk-kart:first-child > .tk-alan:last-child .tk-mesaj { min-height: 160px; }
}.tk-urun > .tk-urun-liste { flex: 1 1 0; min-height: 300px; }
@media (max-width: 1180px) { .tk-urun > .tk-urun-liste { flex: 0 0 auto; min-height: 0; } }
/* Ürün ekle solda (dar), teklif kalemleri sağda (geniş) — 17 Kasım */
@media (min-width: 1181px) {
  .tk-urun-izgara { grid-template-columns: minmax(340px, 1fr) minmax(0, 1.6fr); grid-template-areas: "urun kalem"; }
}
/* ---- Teklifler: elle satış kuru (17 Kasım) ---- */
.tk-elle-kur { margin: 10px 0 0 102px; }
.tk-anahtar { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #334155; cursor: pointer; user-select: none; }
.tk-anahtar input { width: 15px; height: 15px; margin: 0; accent-color: #1d4ed8; cursor: pointer; }
.tk-anahtar input:disabled, .tk-anahtar input:disabled + span { cursor: default; opacity: .6; }
.tk-elle-kur-alanlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; margin-top: 8px; padding: 10px; border: 1px solid #dbe4f3; border-radius: 8px; background: #f8fbff; }
.tk-elle-kur-alanlar[hidden] { display: none; }
.tk-elle-kur-alanlar .girdi { font-variant-numeric: tabular-nums; }
.tk-elle-kur-not { grid-column: 1 / -1; font-size: 11px; color: #64748b; }
.tk-elle-kur-not.hata { color: var(--hata); }
.tk-grup:has(.tk-elle-kur.acik) .tk-kur-cip { opacity: .55; }
@media (max-width: 800px) { .tk-elle-kur { margin-left: 0; } }

.erp { display: grid; gap: 16px; }
.erp-ust {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background:
    linear-gradient(135deg, rgba(47, 107, 255, 0.1), transparent 46%),
    #fff;
}
.erp-ust h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.03em; }
.erp-ust-etiket {
  margin: 0 0 4px;
  color: var(--kuzey);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.erp-rozet {
  flex: none;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}
.erp-rozet.acik { background: var(--basari-zemin); color: var(--basari); }
.erp-rozet.kapali { background: var(--hata-zemin); color: var(--hata); }
.erp-rozet.sessiz { background: var(--uyari-zemin); color: #9a3412; }
.erp-uyari {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--uyari-zemin);
  color: #9a3412;
  font-weight: 650;
}
.erp-olculer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.erp-olcu { padding: 16px 18px; }
.erp-olcu span {
  display: block;
  color: var(--soluk);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.erp-olcu strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.erp-olcu small { display: block; margin-top: 6px; color: var(--soluk); font-size: 13px; }
.erp-kart h2 { margin: 14px 14px 0; font-size: 18px; }
.erp-kart > .yardim { margin: 4px 14px 12px; max-width: 72ch; }
.erp-saat { font-variant-numeric: tabular-nums; font-weight: 700; }
.erp-no {
  display: block;
  margin-top: 3px;
  color: var(--soluk);
  font-family: Consolas, "Segoe UI", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.erp-sayi { font-variant-numeric: tabular-nums; font-weight: 700; }
.erp-sayi.var { color: var(--basari); }
.erp-sayi.yok { color: var(--soluk); font-weight: 600; }
.erp-eski { color: var(--soluk); font-variant-numeric: tabular-nums; }
.erp-yeni { color: var(--basari); font-weight: 700; font-variant-numeric: tabular-nums; }
.erp-giris { color: var(--basari); font-weight: 700; font-variant-numeric: tabular-nums; }
.erp-cikis { color: var(--hata); font-weight: 700; font-variant-numeric: tabular-nums; }
.erp-giris-satir { box-shadow: inset 3px 0 0 var(--basari); }
.erp-cikis-satir { box-shadow: inset 3px 0 0 var(--hata); }
/* Fiyat ve Stok tabloları geniş ekranda yan yana; dar ekranda alt alta */
.erp-ikili { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.erp-ikili .erp-kart { min-width: 0; }
@media (max-width: 1180px) {
  .erp-ikili { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .erp-ust { flex-direction: column; }
  .erp-olculer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .erp-olculer { grid-template-columns: 1fr; }
}
/* ERP: son turlar ve uyarılar (Wolvox aktarımı, 26 Kasım) */
.erp-turlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; overflow: hidden; }
.erp-tur { padding: 14px 18px; border-left: 1px solid var(--cizgi, #e2e8f0); box-shadow: inset 0 3px 0 #cbd5e1; }
.erp-tur:first-child { border-left: 0; }
.erp-tur.tamam { box-shadow: inset 0 3px 0 var(--basari); }
.erp-tur.gec { box-shadow: inset 0 3px 0 var(--hata); }
.erp-tur span { display: block; color: var(--soluk); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.erp-tur b { display: block; margin-top: 4px; font-size: 22px; font-variant-numeric: tabular-nums; }
.erp-tur.gec b { color: var(--hata); }
.erp-tur small { color: var(--soluk); font-size: 13px; }
.erp-ip { margin: 0; padding: 10px 14px; border-radius: 10px; background: #f8fafc; color: #334155; font-size: 13px; line-height: 1.6; }
.erp-ip span { display: block; color: var(--soluk); }
.erp-ip code { padding: 1px 5px; border-radius: 4px; background: #e2e8f0; font-size: 12px; }
.erp-uyarilar { padding: 14px 16px; }
.erp-uyarilar > header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.erp-uyarilar h2 { margin: 0; font-size: 18px; }
.erp-uyarilar > header p { display: flex; gap: 6px; margin: 0; }
.erp-us { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f1f5f9; color: #475569; }
.erp-us.hata { background: var(--hata-zemin); color: var(--hata); }
.erp-us.uyari { background: var(--uyari-zemin); color: #9a3412; }
.erp-uyarilar ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.erp-uy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 10px; background: #f8fafc; box-shadow: inset 4px 0 0 #94a3b8; }
.erp-uy.hata { background: #fef2f2; box-shadow: inset 4px 0 0 var(--hata); }
.erp-uy.uyari { background: #fffbeb; box-shadow: inset 4px 0 0 #f59e0b; }
.erp-uy b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.erp-uy p { margin: 3px 0 0; color: #334155; font-size: 13px; line-height: 1.5; }
.erp-uy small { display: block; margin-top: 4px; color: var(--soluk); font-size: 12px; }
.erp-uy form { margin: 0; }
.erp-uy summary, .erp-kapanan summary { cursor: pointer; margin-top: 4px; font-size: 13px; font-weight: 700; color: #1d4ed8; }
.erp-kodlar { font-family: ui-monospace, monospace; font-size: 12px !important; }
.erp-kapanan { margin-top: 12px; }
.erp-grup { margin-top: 10px; }
.erp-grup > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 6px 2px; font-size: 14px; font-weight: 700; list-style: none; }
.erp-grup > summary::-webkit-details-marker { display: none; }
.erp-grup > summary::after { content: "▾"; margin-left: auto; color: var(--soluk); transition: transform .15s; }
.erp-grup:not([open]) > summary::after { transform: rotate(-90deg); }
.erp-grup > ul { margin-top: 6px; }
.erp-kapanan li { font-size: 13px; }
.erp-kapanan li small { color: var(--soluk); }
@media (max-width: 700px) {
  .erp-turlar { grid-template-columns: 1fr; }
  .erp-tur { border-left: 0; border-top: 1px solid var(--cizgi, #e2e8f0); }
  .erp-uy { grid-template-columns: 1fr; }
}
/* Ürün silme onayı: ne korunur / ne kalkar (19 Kasım) */
.sil-etki { margin: 12px 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; }
.sil-etki li { padding: 8px 12px; border-radius: 10px; border: 1px solid #e2e8f0; background: #f8fafc; font-size: 14px; }
.sil-etki li.kalir { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.sil-etki li.gider { border-color: #fed7aa; background: #fff7ed; color: #9a3412; }
.sil-etki.engel li { border-color: #fecaca; background: #fef2f2; color: #991b1b; font-weight: 700; }
.sil-not { color: #475569; font-size: 13px; }
/* Plasiyer ana sayfası (19 Kasım): ince karşılama şeridi + kısayollar; altında Ürün sorgula */
.pa-serit {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 0 0 14px; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(120deg, #0b1526 0%, #16233b 60%, #3a0d12 100%); color: #fff;
  box-shadow: 0 14px 30px -20px rgba(11, 21, 38, .8);
}
.pa-kim { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pa-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #d30f0f; font-weight: 900; font-size: 15px; letter-spacing: .02em; }
.pa-kim small { display: block; color: rgba(255, 255, 255, .7); font-size: 11.5px; font-weight: 600; }
.pa-kim strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa-kisayol { display: flex; gap: 8px; }
.pa-btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: 11px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08);
  color: #fff; font-size: 13.5px; font-weight: 800; text-decoration: none; transition: background .15s;
}
.pa-btn:hover { background: rgba(255, 255, 255, .16); }
.pa-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pa-btn.birincil { border-color: #d30f0f; background: #d30f0f; box-shadow: 0 8px 18px -10px rgba(211, 15, 15, .9); }
.pa-btn.birincil:hover { background: #b90d0d; }
.pa-btn i { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #fbbf24; color: #0b1526; font-size: 11px; font-style: normal; font-weight: 900; }
.pa-btn.uyari { border-color: rgba(251, 191, 36, .6); }
@media (max-width: 640px) {
  .pa-serit { padding: 10px 12px; margin-bottom: 10px; }
  .pa-kisayol { width: 100%; }
  .pa-btn { flex: 1; justify-content: center; min-height: 44px; }
}/* Plasiyer ana sayfası telefonda: önce ürün arama, katalog PDF kartı aramanın altında */
@media (max-width: 640px) {
  body.plasiyer-ana .siparis.sorgu { display: flex; flex-direction: column; }
  body.plasiyer-ana .siparis.sorgu > .sorgu-ust { order: 2; }
  body.plasiyer-ana .siparis.sorgu > .siparis-orta { order: 1; }
  body.plasiyer-ana .siparis.sorgu > .doviz { order: 3; }
}