:root {
  --c-bg: #f2f7f9;
  --c-panel: #ffffff;
  --c-text: #12303b;
  --c-muted: #5f7883;
  --c-line: #dbe7ec;
  --c-primary: #0b7a9a;
  --c-primary-dark: #0b5f7a;
  --c-primary-soft: #e1f3f8;
  --c-accent: #12b5c9;
  --c-ok: #16935b;
  --c-ok-soft: #e2f6ec;
  --c-warn: #b7791f;
  --c-warn-soft: #fff4dc;
  --c-err: #c53030;
  --c-err-soft: #fde8e8;
  --c-info-soft: #e8f0fe;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(14, 60, 80, .06), 0 4px 16px rgba(14, 60, 80, .06);
  --side-w: 248px;
  --top-h: 60px;
  --bottom-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--c-text);
  background: var(--c-bg);
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
[hidden] { display: none !important; }

/* ---------- Yerleşim ---------- */
.main { padding: 16px; max-width: 1400px; margin: 0 auto; }
body:not(.has-nav) .main { padding: 0; max-width: none; }
body.has-nav .main { padding-bottom: calc(var(--bottom-h) + 24px + var(--safe-b)); }

.brand { font-size: 19px; font-weight: 600; color: var(--c-primary-dark); letter-spacing: .2px; white-space: nowrap; }
.brand b { color: var(--c-accent); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand__dalga { color: var(--c-accent); font-weight: 800; }

.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  height: var(--top-h); padding: 0 12px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--c-line);
}
.top__menu { display: none; }
.brand--top { display: inline-block; }
.donem-sec { margin-left: auto; min-width: 0; flex: 0 1 auto; }
.donem-sec select {
  width: 100%; max-width: 320px; padding: 7px 30px 7px 10px; border-radius: 10px; text-overflow: ellipsis;
  border: 1px solid var(--c-line); background: var(--c-primary-soft); color: var(--c-primary-dark);
  font-weight: 600; font-size: 14px;
}
.top__user { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.top__avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-primary); color: #fff; font-weight: 700;
}
.top__username { font-size: 14px; color: var(--c-muted); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.side {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 50;
  width: var(--side-w); overflow-y: auto;
  background: linear-gradient(180deg, #0b5f7a 0%, #08485d 100%);
  color: #d8eef5; padding: 18px 12px;
  transform: translateX(-100%); transition: transform .22s ease;
}
.side .brand { display: block; color: #fff; padding: 4px 10px 18px; }
.side.is-open { transform: translateX(0); box-shadow: 0 0 40px rgba(0, 0, 0, .3); }
.side__nav { display: flex; flex-direction: column; gap: 2px; }
.side__nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  color: #d8eef5; font-weight: 500;
}
.side__nav a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.side__nav a.is-active { background: rgba(255, 255, 255, .16); color: #fff; }
.side__baslik { margin: 16px 12px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #8fc3d4; }
.side__cikis { margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); border-radius: 0 !important; padding-top: 14px !important; }
.nav-ico { width: 20px; height: 20px; flex: 0 0 auto; }
.side-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(5, 30, 40, .45); }

.bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; justify-content: space-around;
  height: calc(var(--bottom-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: #fff; border-top: 1px solid var(--c-line);
}
.bottom a, .bottom button {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; color: var(--c-muted); background: none; border: 0; font-family: inherit; cursor: pointer;
}
.bottom a:hover { text-decoration: none; }
.bottom a.is-active { color: var(--c-primary); font-weight: 600; }
.bottom .nav-ico { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .side { transform: none; }
  .side-backdrop { display: none !important; }
  body.has-nav .top, body.has-nav .main { margin-left: var(--side-w); }
  body.has-nav .main { padding: 24px 28px 40px; }
  .brand--top { display: none; }
  .bottom { display: none; }
}
@media (max-width: 1023px) {
  .top__menu {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
    background: none; border: 0; color: var(--c-text); cursor: pointer;
  }
}
@media (max-width: 640px) {
  .top__username { display: none; }
  .brand--top { font-size: 16px; }
  .main { padding: 12px; }
}
@media (max-width: 440px) {
  .brand--top { display: none; }
  .top__menu { flex: 0 0 auto; }
}

/* ---------- Başlık ve kartlar ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.page-head h1 { font-size: 24px; margin: 0; }
.page-head .sub { color: var(--c-muted); font-size: 14px; width: 100%; margin-top: -6px; }
.page-head__actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) {
  .page-head h1 { font-size: 20px; }
  .page-head__actions { margin-left: 0; width: 100%; }
}

.card { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 16px; }
.card--flush { padding: 0; overflow: hidden; }
.card__title { font-size: 16px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card__title .muted { font-weight: 400; }
.muted { color: var(--c-muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 400px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.stat__label { font-size: 12px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .5px; }
.stat__value { font-size: 26px; font-weight: 800; color: var(--c-primary-dark); }
.stat__sub { font-size: 12px; color: var(--c-muted); }
.stat--ok .stat__value { color: var(--c-ok); }
.stat--warn .stat__value { color: var(--c-warn); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat__value { font-size: 22px; } }

.progress { height: 10px; background: #e6eef1; border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-accent), var(--c-ok)); border-radius: 99px; }

/* ---------- Uyarılar ---------- */
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; border: 1px solid transparent; }
.alert--ok { background: var(--c-ok-soft); border-color: #b9e6cf; color: #0e6a41; }
.alert--err { background: var(--c-err-soft); border-color: #f5c2c2; color: #9b1c1c; }
.alert--warn { background: var(--c-warn-soft); border-color: #f3dca5; color: #7a5212; }
.alert--info { background: var(--c-info-soft); border-color: #c9d9fb; color: #1e429f; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--c-line); background: #fff; color: var(--c-text);
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; border-color: #b9cfd8; background: #f8fbfc; }
.btn--primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }
.btn--ok { background: var(--c-ok); border-color: var(--c-ok); color: #fff; }
.btn--ok:hover { background: #107247; }
.btn--danger { color: var(--c-err); border-color: #f1c4c4; }
.btn--danger:hover { background: var(--c-err-soft); }
.btn--ghost { background: transparent; border-color: transparent; }
.btn--sm { min-height: 32px; padding: 4px 10px; font-size: 13px; border-radius: 8px; }
.btn--lg { min-height: 50px; padding: 12px 20px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; }
.form-grid .span-2 { grid-column: span 2; }
.form-grid .span-all { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--c-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 10px;
  border: 1px solid #c9dbe2; background: #fff; color: var(--c-text); font: inherit; font-size: 15px;
}
.textarea { min-height: 80px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(11, 122, 154, .15); }
.input--sm, .select--sm { min-height: 34px; padding: 5px 8px; font-size: 14px; border-radius: 8px; }
.hint { font-size: 12px; color: var(--c-muted); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--c-primary); }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--c-line); background: #fff; cursor: pointer; user-select: none;
}
.check-pill:has(input:checked) { border-color: var(--c-primary); background: var(--c-primary-soft); }
.check-pill input { width: 18px; height: 18px; accent-color: var(--c-primary); margin: 0; }
.pdf-panel { font-size: 12px; padding: 10px 12px; }
.pdf-panel > summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.pdf-panel .hint, .pdf-panel .small { font-size: 11px; }
.pdf-panel .field { gap: 3px; }
.pdf-panel .field > label { font-size: 11px; }
.pdf-panel .input, .pdf-panel .select { min-height: 30px; padding: 4px 8px; font-size: 12px; border-radius: 7px; }
.pdf-panel .btn { min-height: 30px; padding: 3px 9px; font-size: 12px; border-radius: 7px; }
.pdf-panel .btn-row { margin-top: 8px; gap: 6px; }
.pdf-panel .form-grid { gap: 8px 10px; margin-top: 8px; }
.pdf-punto-tumu { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 6px; }
.pdf-punto-tumu label { font-size: 11px; font-weight: 600; color: var(--c-muted); }
.pdf-punto-tumu .input { width: 52px; min-width: 52px; min-height: 28px; text-align: center; }
.pdf-kolon-liste { display: flex; flex-direction: column; gap: 3px; max-height: 42vh; overflow: auto; padding-right: 2px; }
.pdf-kolon {
  display: flex; align-items: center; gap: 6px; padding: 3px 6px;
  border: 1px solid var(--c-line); border-radius: 7px; background: #fff; min-width: 0;
}
.pdf-kolon:has(input[type=checkbox]:checked) { border-color: var(--c-primary); background: var(--c-primary-soft); }
.pdf-kolon.is-dragging { opacity: .4; }
.pdf-kolon__tuta {
  flex-shrink: 0; width: 16px; padding: 0; border: 0; background: none;
  cursor: grab; color: #8aa0aa; font-size: 13px; line-height: 1; letter-spacing: -1px;
  user-select: none; -webkit-user-select: none;
}
.pdf-kolon__tuta:active { cursor: grabbing; }
.pdf-kolon__ad { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; cursor: pointer; user-select: none; font-weight: 500; font-size: 12px; }
.pdf-kolon__ad input { width: 15px; height: 15px; accent-color: var(--c-primary); margin: 0; flex-shrink: 0; }
.pdf-kolon__ad span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-kolon .input--sm { width: 44px; min-width: 44px; min-height: 26px; flex-shrink: 0; text-align: center; padding: 2px 3px; font-size: 12px; }
.pdf-kolon:not(:has(input[type=checkbox]:checked)) .input--sm { opacity: .5; }
.pdf-kolon__oklar { display: flex; flex-direction: column; flex-shrink: 0; }
.pdf-kolon__oklar button {
  width: 28px; min-height: 18px; padding: 0; border: 0; background: none;
  color: #6b8490; font-size: 10px; line-height: 1; cursor: pointer;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.filtre-detay { margin-top: 10px; }
.filtre-detay > summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--c-primary); margin-bottom: 8px; }
.filtre-detay[data-aktif] > summary::after { content: " (aktif)"; color: var(--c-warn); }
.filters .field { min-width: 150px; flex: 1 1 150px; }
.filters .field--search { flex: 3 1 240px; }
.filters .btn { min-height: 42px; }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--c-muted); background: #f7fbfc; position: sticky; top: 0; white-space: nowrap; }
.table tbody tr:hover { background: #f7fbfc; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tfoot td { font-weight: 700; background: #f7fbfc; }
.table .actions { white-space: nowrap; text-align: right; }

@media (max-width: 760px) {
  .table--cards thead { display: none; }
  .table--cards, .table--cards tbody, .table--cards tr, .table--cards td { display: block; width: 100%; }
  .table--cards tr { border: 1px solid var(--c-line); border-radius: 12px; margin: 0 0 10px; padding: 8px 12px; background: #fff; }
  .card--flush .table--cards tr { margin: 10px; width: auto; }
  .table--cards td { border: 0; padding: 4px 0; display: flex; gap: 10px; justify-content: space-between; align-items: center; text-align: right; }
  .table--cards td::before { content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--c-muted); text-align: left; flex: 0 0 auto; }
  .table--cards td[data-label=""]::before { content: none; }
  .table--cards td.td-baslik { font-size: 16px; font-weight: 700; justify-content: flex-start; text-align: left; }
  .table--cards td.td-baslik::before { content: none; }
  .table--cards td.actions { justify-content: flex-end; padding-top: 8px; }
  .table--cards td.num { text-align: right; }
  .table--cards tfoot { display: block; }
}

/* ---------- Rozetler ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px;
  font-size: 12px; font-weight: 600; background: #eef3f5; color: var(--c-muted); white-space: nowrap;
}
.badge--primary { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.badge--ok { background: var(--c-ok-soft); color: var(--c-ok); }
.badge--warn { background: var(--c-warn-soft); color: var(--c-warn); }
.badge--err { background: var(--c-err-soft); color: var(--c-err); }
.badge--dark { background: #12303b; color: #fff; }
.badge--w { background: #172554; color: #fff; }
.badges { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.bib { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--c-primary-dark); }

/* ---------- Sayfalama ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 16px 0; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px; border-radius: 10px; border: 1px solid var(--c-line); background: #fff; }
.pager .is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ---------- Sekmeler ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; }
.tabs a { padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--c-line); white-space: nowrap; color: var(--c-text); font-weight: 600; font-size: 14px; }
.tabs a:hover { text-decoration: none; }
.tabs a.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.tabs .count { opacity: .75; font-weight: 500; margin-left: 4px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 100;
  bottom: calc(var(--bottom-h) + 16px + var(--safe-b));
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100vw - 24px); padding: 12px 16px; border-radius: 12px;
  background: #12303b; color: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); font-weight: 500;
}
.toast--err { background: var(--c-err); }
.toast button { background: rgba(255, 255, 255, .15); color: #fff; border: 0; border-radius: 8px; padding: 6px 10px; font: inherit; font-weight: 700; cursor: pointer; }
@media (min-width: 1024px) { .toast { bottom: 24px; left: calc(50% + var(--side-w) / 2); } }

/* ---------- Giriş ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg, #0b5f7a 0%, #12b5c9 100%); }
.login__box { width: 100%; max-width: 380px; }
.login__brand { text-align: center; font-size: 30px; color: #fff; margin-bottom: 6px; font-weight: 600; }
.login__brand b { color: #bff3fa; font-weight: 800; }
.login__sub { text-align: center; color: #d6f4fa; margin-bottom: 18px; }
.login .card { padding: 22px; }
.login .field { margin-bottom: 12px; }

/* ---------- Malzeme dağıtım ---------- */
.dagitim-ust {
  position: sticky; top: var(--top-h); z-index: 20;
  margin: -16px -16px 14px; padding: 12px 16px; background: var(--c-bg); border-bottom: 1px solid var(--c-line);
}
@media (min-width: 1024px) { .dagitim-ust { margin: -24px -28px 16px; padding: 14px 28px; } }
@media (max-width: 640px) { .dagitim-ust { margin: -12px -12px 12px; padding: 10px 12px; } }
.dagitim-arama { display: flex; gap: 8px; }
.dagitim-arama .input { min-height: 54px; font-size: 20px; font-weight: 600; border-width: 2px; }
.dagitim-filtre { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.dagitim-filtre .select { width: auto; min-width: 130px; flex: 1 1 130px; max-width: 220px; min-height: 36px; padding: 5px 8px; font-size: 14px; }
.dagitim-ozet { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--c-muted); margin-top: 8px; align-items: center; }
.dagitim-ozet b { color: var(--c-text); }
.dagitim-ozet .progress { flex: 1 1 160px; max-width: 320px; }

.sporcu-listesi { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
@media (max-width: 400px) { .sporcu-listesi { grid-template-columns: 1fr; } }
.skart {
  background: #fff; border: 1px solid var(--c-line); border-left: 5px solid #c8d6dc; border-radius: 12px;
  padding: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
}
.skart.is-kismi { border-left-color: var(--c-warn); }
.skart.is-tamam { border-left-color: var(--c-ok); background: #fbfefc; }
.skart.is-vurgu { outline: 3px solid var(--c-accent); outline-offset: 1px; }
.skart__ust { display: flex; gap: 10px; align-items: flex-start; }
.skart__bib {
  flex: 0 0 auto; min-width: 64px; height: 52px; padding: 0 8px; border-radius: 10px;
  display: grid; place-items: center; background: var(--c-primary-dark); color: #fff;
  font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.skart__bib--yok { background: #eef3f5; color: var(--c-muted); font-size: 11px; font-weight: 700; text-align: center; line-height: 1.15; }
.skart__ad { font-size: 17px; font-weight: 700; line-height: 1.2; }
.skart__bilgi { font-size: 13px; color: var(--c-muted); margin-top: 2px; }
.skart__beden {
  margin-left: auto; flex: 0 0 auto; min-width: 52px; height: 52px; border-radius: 10px;
  display: grid; place-items: center; border: 2px solid var(--c-primary); color: var(--c-primary-dark); font-size: 18px; font-weight: 800;
}
.skart__not { font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--c-warn-soft); color: #7a5212; }
.skart__not--teslim { background: #ede9fe; color: #5b21b6; font-weight: 600; }
.skart__esyalar { display: flex; flex-wrap: wrap; gap: 8px; }
.esya {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px;
  border-radius: 10px; border: 2px solid #c9dbe2; background: #fff; color: var(--c-text);
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .12s, border-color .12s;
}
.esya:hover { border-color: var(--c-primary); }
.esya__kutu { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #9fb8c2; display: grid; place-items: center; flex: 0 0 auto; }
.esya.is-teslim { background: var(--c-ok-soft); border-color: var(--c-ok); color: #0e6a41; }
.esya.is-teslim .esya__kutu { background: var(--c-ok); border-color: var(--c-ok); }
.esya.is-teslim .esya__kutu::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.esya.is-bekliyor { opacity: .6; pointer-events: none; }
.esya__beden { font-weight: 800; padding: 1px 6px; border-radius: 6px; background: #eef3f5; }
.esya.is-teslim .esya__beden { background: #c9eedb; }
.skart__alt { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.skart__alt .btn { flex: 1 1 auto; }
.skart__zaman { font-size: 12px; color: var(--c-muted); }
.dagitim-bos { text-align: center; padding: 40px 16px; color: var(--c-muted); }

/* ---------- Stok matrisi ---------- */
.stok td.num span { display: block; font-size: 11px; color: var(--c-muted); font-weight: 500; }

/* ---------- Önizleme ---------- */
.onizleme { font-size: 12px; }
.onizleme th, .onizleme td { padding: 6px 8px; white-space: nowrap; }
.esleme-select { min-width: 150px; }

/* ---------- Yazdırma ---------- */
.print-only { display: none; }
@media print {
  body { background: #fff; font-size: 11px; }
  .side, .top, .bottom, .toast, .no-print, .btn, .filters, .pager, .tabs { display: none !important; }
  body.has-nav .main, body.has-nav .top { margin: 0; padding: 0; }
  .card { box-shadow: none; border: 0; padding: 0; }
  .print-only { display: block; }
  .table th, .table td { padding: 4px 6px; }
  .table th { position: static; }
  .table--cards thead { display: table-header-group !important; }
  .table--cards, .table--cards tbody { display: table-row-group !important; }
  .table--cards { display: table !important; }
  .table--cards tr { display: table-row !important; border: 0; padding: 0; margin: 0; }
  .table--cards td { display: table-cell !important; text-align: left; }
  .table--cards td::before { content: none !important; }
  tr { page-break-inside: avoid; }
}
