/* ============================================================================
   ADMIN DÜZENİ (9 Kasım 2026, aşama 1 — örnek: Cloudflare kontrol paneli; 10 Kasım 2026 Burak'ın Aşama 2 test sonucu).
   Sol menü üç seviye: en üstte sayfa araması (⌘K, logonun altında), kategori (renkli ikon + ad + ok, açılır) → alt kategori (girintili,
   solda 1 px çizgi) → iç sayfa (sayfanın üstünde sekme). Tek satırlık araç satırı ve yoğun tablo (AdminTable: sütun genişletme,
   sabit ilk sütun, "Varsayılana döndür"). Sınıf öneki "ax-". tm.css'ten SONRA yüklenir; kit (ui.css) ve tedarikçi paneli etkilenmez.
   Kullanım notu: docs/admin-bilesenleri.md.
   RENK 60/30/10 (9 Kasım 2026, Burak): %60 beyaz (zemin, kart, tablo, menü; ayrım 1 px açık gri çizgi, gölge yok), %30 lacivert (metin,
   başlık, tablo başlığı, üst çubuk), %10 vurgu mavisi (birincil düğme, bağlantı, seçili sekme çizgisi, onay kutusu, üzerine gelme).
   Kategori ikonları renkli (10 Kasım): her kategori bir proje token'ı alır (.ax-tone-*); yeni renk yok. Seçili alt kategori SİYAH zemin
   + beyaz yazı; seçili olmayanın üzerine gelince açık gri. Değerler YALNIZ proje token'larından (ui.css --g-*, tm.css --tm-*, app.css
   --ax-r / --ax-btn-*); yeni renk yok. Bütün metin çiftleri WCAG AA (en düşük 4,68:1, yeşil rozet).
   ŞEKİL (10 Kasım): hap yok — köşe --ax-r (arama kutusununki, 8 px), küçük rozet --ax-r-sm. Düğme üç boyut (app.css başı).
   ========================================================================== */

.ax-shell {
  /* 60/30/10 renk adları ve ölçüler (--ax-bg, --ax-line, --ax-ink, --ax-muted, --ax-blue, --ax-row-hover, --ax-side-*, --ax-topbar-h,
     --ax-row-h, --ax-gap, --ax-page-top, --ax-empty-h, --ax-side-w) 18 Kasım 2026'dan beri kitte (Garajinn.WebUi/ui.css :root); değerler aynı.
     Tedarikçi Paneli aynı belirteçleri okur. */
  --g-side-w: var(--ax-side-w);
  font-size: 14px;
}
/* %60 beyaz: kabuk, içerik, menü ve üst çubuk aynı beyaz; gölge yok. Eski sayfaların kartları beyaz zeminde 1 px çizgiyle ayrılır. */
.g-shell.ax-shell, .g-shell.ax-shell .g-main, .g-shell.ax-shell .g-content { background: var(--ax-bg); color: var(--ax-ink); }
.g-shell.ax-shell :is(.card, .dash-card, .g-card, .section-nav, .search-results, .tm-kpi) { border: 1px solid var(--ax-line); box-shadow: none; }
.ax-shell.is-narrow { --g-side-w: var(--ax-side-w-dar); }
.ax-num { font-variant-numeric: tabular-nums; }
.ax-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: .2px; }

/* ---- Sol menü (≥ 901 px): 232 px, beyaz, ince çizgi; daraltınca 56 px yalnız ikon ---- */
@media (min-width: 901px) {
  .g-shell.ax-shell > .g-sidebar { flex: 0 0 var(--g-side-w); width: var(--g-side-w); padding: 12px 8px 10px; gap: 10px; border-right: 1px solid var(--ax-line);
    overflow-x: hidden; z-index: 850; }
  .g-shell.ax-shell .ax-side-nav { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-height: 0; }
  .g-shell.ax-shell .g-content { border-top-left-radius: 0; }
}

/* ---- Logo bloğu (10 Kasım, Burak): "Garajinn" ve "Yönetim Paneli" sola hizalı, simgenin sağındaki aynı dikey çizgiden başlar; satır
   arası dar; iki satırlık blok simgenin dikey ortasında. Logo dosyaları değişmez: yazı görselinin solundaki boşluk (viewBox −14 birim,
   18 px yükseklikte ≈ 1 px) ve görselin satır kutusu düzende telafi edilir. ---- */
.g-shell.ax-shell .g-brand { padding: 2px 6px 6px; min-height: 40px; display: flex; align-items: center; }
.g-shell.ax-shell .g-brand .g-logo { gap: 10px; align-items: center; }
.g-shell.ax-shell .g-brand .g-logo-mark { width: 32px; height: 32px; padding: 6px; }
.g-shell.ax-shell .g-brand .g-logo-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; line-height: 1; }
.g-shell.ax-shell .g-brand .g-logo-word { height: 17px; display: block; margin-left: -1px; }
.g-shell.ax-shell .g-brand .g-logo-sub { display: block; font-size: 11.5px; line-height: 13px; padding-left: 0; }

/* ---- Sayfa araması (⌘K / Ctrl+K): menünün en üstünde. Açılır liste kenarlıklı beyaz, gölge yok; menünün kaydırma kutusu kırpmasın diye
   sabit konumlu (admin.js girdinin altına yerleştirir). Menü katmanı 850: içerikteki işletme seçici ve genel arama (801) listenin
   üstüne çizilmez; onay penceresi (900) yine her şeyin üstünde. ---- */
.ax-cmdk { position: relative; flex: none; margin: 0 2px; }
.ax-cmdk-ic { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); color: var(--ax-muted); pointer-events: none; }
.g-shell.ax-shell .ax-cmdk input.ax-cmdk-input { width: 100%; height: 32px; min-height: 32px; padding: 0 52px 0 30px; border-radius: var(--ax-r);
  border: 1px solid var(--g-border-input); background: var(--ax-bg); font: inherit; font-size: 13.5px; color: var(--ax-ink); }
.ax-kbd, .ax-cmdk-help kbd { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--ax-r-sm); border: 1px solid var(--ax-line);
  color: var(--ax-muted); font: 600 11px/16px ui-monospace, Menlo, monospace; text-align: center; background: var(--ax-bg); }
.ax-cmdk > .ax-kbd { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.ax-cmdk-input:focus ~ .ax-kbd { display: none; }
.ax-cmdk-pop { position: fixed; z-index: 60; width: min(460px, calc(100vw - 32px)); max-height: min(440px, 64vh); overflow-y: auto; background: var(--ax-bg);
  border: 1px solid var(--ax-line); border-radius: var(--ax-r); padding: 6px; }
.ax-cmdk-pop[hidden] { display: none; }
.ax-cmdk-list { list-style: none; margin: 0; padding: 0; }
/* Gruplu sonuç (10 Kasım 2026, tek arama): grup başlığı küçük, soluk; satır: ad · ek bilgi (numara, e-posta) · tür/eşleşme etiketi. */
.ax-cmdk-group { padding: 8px 10px 4px; font-size: 11.5px; font-weight: 700; color: var(--ax-muted); }
.ax-cmdk-group:not(:first-child) { margin-top: 4px; border-top: 1px solid var(--ax-line-soft); }
.ax-cmdk-opt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, max-content) auto; align-items: center; gap: 10px; min-height: 36px;
  padding: 0 10px; border-radius: var(--ax-r); color: var(--ax-ink); cursor: pointer; }
.ax-cmdk-opt[aria-selected="true"] { background: var(--ax-side-hover); }
.ax-cmdk-opt[aria-selected="true"] .ax-cmdk-title { color: var(--ax-blue-hover); }
.ax-cmdk-tag { font-size: 11px; font-weight: 700; color: var(--ax-muted); white-space: nowrap; }
.ax-cmdk-opt.is-record .ax-cmdk-tag { color: var(--ax-blue); }
.ax-cmdk-title { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-cmdk-context { max-width: 220px; font-size: 12px; color: var(--ax-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-cmdk-opt.is-record .ax-cmdk-context { color: var(--ax-ink); font-variant-numeric: tabular-nums; }
.ax-cmdk-note { margin: 6px 10px; font-size: 12.5px; font-weight: 600; color: var(--ax-ink); }
.ax-cmdk-help { margin: 6px 0 0; padding: 6px 10px 2px; border-top: 1px solid var(--ax-line-soft); font-size: 11.5px; color: var(--ax-muted); }

/* ---- Menü ağacı: kategori (1) → alt kategori (2). Satır 32 px, köşe --ax-r. ---- */
.ax-tree, .ax-sub { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.ax-nav-item { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: var(--ax-r); color: var(--ax-ink);
  font-size: 14px; font-weight: 600; text-decoration: none; min-width: 0; }
.ax-nav-item .g-icon { color: var(--ax-ink); flex: none; }
/* Kategori ikon renkleri: her kategori bir proje token'ı (yeni renk yok); seçili satırda ikon beyaz. */
.ax-nav-item .g-icon.ax-tone-mavi { color: var(--g-primary); }
.ax-nav-item .g-icon.ax-tone-turkuaz { color: var(--g-info); }
.ax-nav-item .g-icon.ax-tone-yesil { color: var(--tm-green); }
.ax-nav-item .g-icon.ax-tone-turuncu { color: var(--g-warning-accent); }
.ax-nav-item .g-icon.ax-tone-lacivert { color: var(--g-brand-navy); }
.ax-nav-item .g-icon.ax-tone-amber { color: var(--tm-amber); }
.ax-nav-item .g-icon.ax-tone-koyu { color: var(--g-ink-2); }
.ax-nav-item .g-icon.ax-tone-kirmizi { color: var(--g-danger); }
.ax-nav-item .g-icon.ax-tone-gri { color: var(--g-muted); }
.ax-nav-label { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-nav-item:not([aria-current="page"]):hover { background: var(--ax-side-hover); color: var(--ax-ink); }
/* Seçili (Pano bağlantısı ve alt kategori): siyah zemin, beyaz yazı ve BEYAZ ikon; üzerine gelince de aynı (hover ile seçili karışmaz). */
.ax-nav-item[aria-current="page"], .ax-nav-item[aria-current="page"]:hover { background: var(--ax-side-active); color: var(--ax-bg); font-weight: 700; }
.ax-nav-item[aria-current="page"] .g-icon, .ax-nav-item[aria-current="page"] .g-icon[class*="ax-tone-"] { color: var(--ax-bg); }
/* Kategori başlığı: <summary>; ok sağda, açıkken aşağı bakar. Seçili alt kategoriyi içeren kategori satırı kalın. */
.ax-cat > summary { list-style: none; cursor: pointer; user-select: none; }
.ax-cat > summary::-webkit-details-marker { display: none; }
.ax-cat-head.is-current .ax-nav-label { font-weight: 800; }
.ax-cat-caret { margin-left: auto; color: var(--ax-muted); }
.ax-cat-head .g-icon.ax-cat-caret { color: var(--ax-muted); }
.ax-cat[open] > summary .ax-cat-caret { transform: rotate(90deg); }
/* Kategori rozeti yalnız kapalıyken (açıkken alt kategorilerin rozeti görünür). */
.ax-cat[open] > summary .ax-cat-badge { display: none; }
/* Alt kategori: girintili; solda 1 px açık gri dikey çizgi alt kategorileri birbirine bağlar (çizgi kategori ikonunun ortasından iner). */
.ax-sub { margin: 1px 0 4px 17px; padding-left: 8px; border-left: 1px solid var(--ax-line); }
.ax-sub-item { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: var(--ax-r); color: var(--ax-ink);
  font-size: 13.5px; font-weight: 500; text-decoration: none; min-width: 0; }
.ax-sub-item:not([aria-current="page"]):hover { background: var(--ax-side-hover); color: var(--ax-ink); }
.ax-sub-item[aria-current="page"], .ax-sub-item[aria-current="page"]:hover { background: var(--ax-side-active); color: var(--ax-bg); font-weight: 700; }
.ax-nav-badge { flex: none; min-width: 20px; height: 18px; padding: 0 6px; border-radius: var(--ax-r-sm); background: var(--tm-amber-soft); color: var(--tm-amber);
  font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.ax-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 1px; padding-top: 8px; border-top: 1px solid var(--ax-line-soft); }
.ax-side-foot form { margin: 0; }
.ax-foot-btn { width: 100%; border: 0; background: transparent; font: inherit; cursor: pointer; text-align: left; }
/* Daraltılmış menü: yalnız kategori ikonu (ad ekran okuyucuya kalır, ipucunda görünür); alt kategoriler ve ok gizli, ikon ilk alt
   kategoriye gider (admin.js); rozet noktaya döner; arama yalnız büyüteç, odaklanınca açılır. */
@media (min-width: 901px) {
  .ax-shell.is-narrow .ax-nav-label, .ax-shell.is-narrow .g-brand .g-logo-text { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; }
  .ax-shell.is-narrow .ax-nav-item { justify-content: center; padding: 0; position: relative; }
  .ax-shell.is-narrow .ax-sub, .ax-shell.is-narrow .ax-cat-caret { display: none; }
  .ax-shell.is-narrow .ax-cat-head.is-current { background: var(--ax-side-active); }
  .ax-shell.is-narrow .ax-cat-head.is-current .g-icon { color: var(--ax-bg); }
  .ax-shell.is-narrow .ax-nav-badge { position: absolute; top: 5px; right: 7px; min-width: 8px; width: 8px; height: 8px; padding: 0; font-size: 0; background: var(--tm-amber); }
  .ax-shell.is-narrow .ax-cat[open] > summary .ax-cat-badge { display: inline-flex; }
  .ax-shell.is-narrow .g-brand { justify-content: center; padding: 2px 0 6px; }
  .ax-shell.is-narrow [data-ax-collapse] .g-icon { transform: rotate(180deg); }
  .ax-shell.is-narrow .ax-cmdk { margin: 0; }
  .ax-shell.is-narrow .ax-cmdk > .ax-kbd { display: none; }
  .g-shell.ax-shell.is-narrow .ax-cmdk input.ax-cmdk-input { padding: 0 0 0 30px; color: transparent; cursor: pointer; }
  .g-shell.ax-shell.is-narrow .ax-cmdk input.ax-cmdk-input::placeholder { color: transparent; }
  .ax-shell.is-narrow .ax-cmdk:focus-within { position: fixed; z-index: 61; left: 8px; width: 300px; }
  .g-shell.ax-shell.is-narrow .ax-cmdk:focus-within input.ax-cmdk-input { color: var(--ax-ink); cursor: text; }
  .g-shell.ax-shell.is-narrow .ax-cmdk:focus-within input.ax-cmdk-input::placeholder { color: var(--ax-muted); }
}

/* ---- Üst çubuk (10 Kasım 2026, Burak): 56 px, beyaz, altta 1 px çizgi; öğeler 32 px, aralarında 8–12 px. Solda "neredeyim" (sayfa adı,
   ortam ve ödeme rozeti), sağda "ne yapmalıyım" (+ Yeni, Durum, Yapılacaklar, profil). Açılır pencereler gölgesiz, 1 px çizgili.
   1280 px'te (≤ 1360) "Durum" yazısı ve profildeki ad/rol gizlenir; öğeler hiçbir genişlikte üst üste binmez ve iki satıra inmez. ---- */
.g-shell.ax-shell .ax-topbar { height: var(--ax-topbar-h); min-height: var(--ax-topbar-h); padding: 0 24px; gap: 12px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; background: var(--ax-bg); border-bottom: 1px solid var(--ax-line);
  position: relative; z-index: 45; }
@media (min-width: 901px) { .g-shell.ax-shell .ax-topbar { min-height: var(--ax-topbar-h); } }
.ax-top-left, .ax-top-right { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: nowrap; }
.ax-top-left { flex: 0 1 auto; }
.ax-top-right { flex: none; gap: 8px; }
.ax-top-title { font-size: 16px; font-weight: 600; color: var(--ax-ink); white-space: nowrap; }
.ax-env { display: inline-flex; align-items: center; height: var(--ax-btn-h1); padding: 0 10px; border-radius: var(--ax-r); font-size: 12px; font-weight: 800;
  letter-spacing: .3px; white-space: nowrap; flex: none; }
.ax-env-live { background: var(--g-danger); color: var(--g-surface); }
.ax-env-test, .ax-pay-sandbox { background: var(--tm-amber-soft); color: var(--tm-amber); }
.ax-env-local { background: var(--tm-grey-soft); color: var(--ax-muted); }
.ax-pay-live { background: var(--tm-green-soft); color: var(--tm-green); }
.ax-pop { position: relative; flex: none; }
.ax-pop > summary { list-style: none; cursor: pointer; }
.ax-pop > summary::-webkit-details-marker { display: none; }
.g-shell.ax-shell .ax-top-btn { height: var(--ax-btn-h1); min-height: var(--ax-btn-h1); padding: 0 12px; gap: 6px; font-size: var(--ax-btn-f2); font-weight: 700;
  color: var(--ax-ink); background: var(--ax-bg); border: 1px solid var(--ax-line); border-radius: var(--ax-r); white-space: nowrap; box-sizing: border-box; }
/* Üzerine gelince ve klavye odağında panelin ikincil düğme kuralı (tm.css: mavi zemin, beyaz yazı); içteki ad, rol ve ok da beyaz.
   Açık pencerenin düğmesi (fare üstünde değilken) açık gri. */
.g-shell.ax-shell .ax-pop[open] > .ax-top-btn:not(:hover, :focus-visible, :active) { background: var(--ax-side-hover); }
.g-shell.ax-shell .ax-top-btn:is(:hover, :focus-visible, :active) :is(.ax-profile-name, .ax-profile-role, .ax-top-caret) { color: inherit; }
.ax-top-icon { position: relative; padding: 0 10px; }
.ax-top-caret { color: var(--ax-muted); }
.g-shell.ax-shell .ax-top-count { position: static; height: 18px; min-width: 18px; }
.ax-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--tm-check-off); }
.ax-health-ok { background: var(--tm-green); }
.ax-health-warn { background: var(--g-warning-accent); }
.ax-health-bad { background: var(--tm-red); }
.ax-avatar { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: var(--ax-r-sm);
  background: var(--tm-tint); color: var(--ax-ink); font-size: 11px; font-weight: 800; flex: none; }
.g-shell.ax-shell .ax-profile { padding: 0 8px 0 4px; }
.ax-profile-text { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.ax-profile-name { font-size: 13px; font-weight: 700; color: var(--ax-ink); }
.ax-profile-role { font-size: 11px; font-weight: 600; color: var(--ax-muted); }
.ax-pop-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 260px; max-width: min(380px, calc(100vw - 32px));
  background: var(--ax-bg); border: 1px solid var(--ax-line); border-radius: var(--ax-r); padding: 6px; box-sizing: border-box; }
.ax-pop-wide { min-width: 340px; }
.ax-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 8px; border-bottom: 1px solid var(--ax-line-soft);
  margin-bottom: 4px; }
.ax-pop-title { font-size: 13px; font-weight: 800; color: var(--ax-ink); }
.ax-pop-meta { font-size: 11.5px; color: var(--ax-muted); white-space: nowrap; }
.ax-pop-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.ax-pop-list form { margin: 0; }
.ax-pop-row { display: flex; align-items: center; gap: 8px; min-height: var(--ax-btn-h1); padding: 4px 8px; border-radius: var(--ax-r-sm); color: var(--ax-ink);
  text-decoration: none; font-size: 13px; box-sizing: border-box; flex-wrap: wrap; }
a.ax-pop-row:hover, .ax-pop-btn:hover { background: var(--ax-side-hover); }
.ax-pop-btn { width: 100%; border: 0; background: transparent; font: inherit; cursor: pointer; text-align: left; }
.ax-pop-label { flex: 1 1 auto; min-width: 0; font-weight: 600; }
.ax-pop-value { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.ax-pop-value.is-on { color: var(--tm-green); }
.ax-pop-value.is-off { color: var(--tm-amber); }
.ax-pop-sub { flex: 1 1 100%; padding-left: 16px; font-size: 11.5px; color: var(--ax-muted); }
.ax-status-row .ax-pop-sub { padding-left: 16px; }
.ax-pop-note { flex: none; font-size: 11px; font-weight: 700; color: var(--tm-amber); background: var(--tm-amber-soft); padding: 1px 6px; border-radius: var(--ax-r-sm); }
.ax-pop-count { flex: none; min-width: 24px; text-align: right; font-weight: 800; color: var(--ax-muted); font-variant-numeric: tabular-nums; }
.ax-pop-count.has-items { color: var(--tm-amber); }
.ax-pop-empty, .ax-pop-foot { margin: 6px 8px; font-size: 12.5px; color: var(--ax-muted); }
.ax-pop-more { margin-top: 4px; border-top: 1px solid var(--ax-line-soft); padding: 4px 0 0; }
.ax-pop-more > summary { cursor: pointer; padding: 6px 8px; font-size: 12.5px; font-weight: 700; color: var(--ax-blue); }
.ax-pop-jobs { list-style: none; margin: 0; padding: 0 8px 4px; max-height: 220px; overflow-y: auto; font-size: 12px; }
.ax-pop-jobs li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.ax-pop-user { flex-wrap: wrap; }
@media (max-width: 1360px) {
  .ax-top-label, .ax-profile-text { display: none; }
  .g-shell.ax-shell .ax-top-btn:has(> .ax-dot) { padding: 0 11px; }
}
@media (max-width: 900px) {
  .ax-top-title, .ax-pay-live, .ax-pay-sandbox, .ax-top-btn > span:not(.ax-dot, .ax-avatar, .ax-top-count) { display: none; }
  .g-shell.ax-shell .ax-topbar { padding: 0 16px; }
}

/* ---- Pano kartının basit listesi (DashList; 10 Kasım 2026, Burak): tablo yok, en çok 3 satır, kod tam görünür ---- */
.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
/* Satır gerekince kırılır: kod uzunsa (ör. "Hesap kapatma (askıya alma)") ad alt satıra iner; ad en az 8em genişlikte kalır (harf harf
   dikine sıkışmaz). */
.dash-list-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--ax-line-soft);
  color: var(--ax-ink); text-decoration: none; font-size: 13px; }
a.dash-list-row:hover { background: var(--ax-row-hover); }
a.dash-list-row:hover .dash-list-code { text-decoration: underline; }
.dash-list-code { flex: none; white-space: nowrap; font-weight: 700; color: var(--ax-blue); font-variant-numeric: tabular-nums; }
.dash-list-name { flex: 1 1 8em; min-width: 8em; overflow-wrap: anywhere; }
.dash-list-num { flex: none; margin-left: auto; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.dash-desc.is-danger { color: var(--tm-red); font-weight: 700; }
/* Kartta sayı yerine kısa değer (ör. son yedeğin yaşı): tek satır, başlık boyunda. */
.g-shell.ax-shell .dash-count.is-text { font-size: 16px; letter-spacing: 0; line-height: 1.3; white-space: nowrap; }
/* Canlı sayılar (10 Kasım 2026): üç kart beyaz + 1 px çizgi, sayı lacivert. */
.g-shell.ax-shell .tm-kpi .tm-kpi-value { color: var(--ax-ink); }

/* ---- Sayfa başı: alt kategorinin sekmeleri (birden çoksa); kaydırınca üstte kalır ---- */
.ax-pagebar { position: sticky; top: 0; z-index: 40; background: var(--ax-bg); border-bottom: 1px solid var(--ax-line); padding: 6px 24px 0;
  display: flex; align-items: flex-end; gap: 16px; }
.ax-tabs { display: flex; gap: 2px; flex: 1 1 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ax-tabs::-webkit-scrollbar { display: none; }
.ax-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; color: var(--ax-ink);
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; border-radius: var(--ax-r) var(--ax-r) 0 0; }
.ax-tab:hover { color: var(--ax-blue-hover); }
.ax-tab[aria-current="page"] { color: var(--ax-ink); font-weight: 800; }
.ax-tab[aria-current="page"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; background: var(--ax-blue); }
.ax-tab-count { min-width: 18px; height: 18px; padding: 0 6px; border-radius: var(--ax-r-sm); background: var(--tm-amber-soft); color: var(--tm-amber); font-size: 11.5px;
  font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }

/* ---- Kopyalanabilir numara (AdminCopy): düz rakam + küçük kopyala düğmesi (3. boyut); listede ve detayda aynı ---- */
.ax-copy { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; vertical-align: middle; }
.ax-copy-btn { display: inline-grid; place-items: center; flex: none; width: var(--ax-btn-h3); height: var(--ax-btn-h3); padding: 0; border: 0;
  border-radius: var(--ax-r-sm); background: transparent; color: var(--ax-muted); cursor: pointer; }
.ax-copy-btn:hover { background: var(--ax-side-hover); color: var(--ax-blue-hover); }
.ax-copy-btn.is-done { color: var(--ax-blue); }
.ax-taxkind { display: inline-block; min-width: 26px; margin-right: 4px; font-size: 11px; font-weight: 700; color: var(--ax-muted); }

/* ---- Düğmeler: üç boyut (app.css --ax-btn-*). Kitin düğmesi (GButton, 42 px) ve tam genişlik düğmesi de 1. boyuta bağlanır. ---- */
.g-shell.ax-shell .g-btn, .g-shell.ax-shell .g-btn-block { height: var(--ax-btn-h1); min-height: var(--ax-btn-h1); padding: 0 var(--ax-btn-px1);
  font-size: var(--ax-btn-f1); border-radius: var(--ax-r); box-shadow: none; }
.g-shell.ax-shell .btn { box-shadow: none; line-height: 1.2; }
.g-shell.ax-shell :is(table, .ax-table) :is(.btn, .g-btn) { height: auto; min-height: var(--ax-btn-h3); padding: 0 var(--ax-btn-px3); font-size: var(--ax-btn-f3); }
/* İkincil düğme TEK biçim (10 Kasım, inceleme): her yerde (tablo içi, form, kart) beyaz zemin, 1 px alan çizgisi, lacivert yazı;
   birincil ve tehlikeli kendi rengini korur. Hayalet düğme düz yazıya, siyah çizgili düğme başka bir türe benziyordu. Üzerine gelme
   ve odak tm.css'teki gibi (dolu mavi). */
.g-shell.ax-shell .btn:not(.primary, .danger, .danger-outline, .accent-outline):not(:disabled) { background-color: var(--ax-bg); border: 1px solid var(--g-border-input); color: var(--ax-ink); }
.g-shell.ax-shell .g-pill { height: 20px; padding: 0 7px; border-radius: var(--ax-r-sm); }

/* ---- Alanlar (10 Kasım 2026): tek satırlı alan ve seçim kutusu admin'in her yerinde 32 px (= arama kutusu ve süzgeç; düğme alanı aşmaz),
   köşe --ax-r, 1 px #667FC3. Form satırı düğmeyi alan boyuna germez (ortalanır). Sınıfsız kalan alan (tablo içi seçim, hakediş
   süzgeci) tarayıcının gri çizgisi yerine aynı çizgiyi alır — :where ile en düşük öncelik, öbür kurallar aynen kazanır. ---- */
:where(.g-shell.ax-shell) :where(input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"], [type="hidden"]), select, textarea) {
  border: 1px solid var(--g-border-input); border-radius: var(--ax-r); background-color: var(--ax-bg); color: var(--ax-ink); font: inherit; font-size: 13.5px; }
/* Sınıfsız tek satırlı alan ve seçim (ör. kategori düzenleme paneli) de 32 px, 10 px iç boşluk — yine en düşük öncelik. */
:where(.g-shell.ax-shell) :where(input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"], [type="hidden"]), select) {
  min-height: 32px; padding: 0 10px; }
:where(.g-shell.ax-shell) :where(input, select, textarea):disabled { border-color: var(--ax-line); background-color: var(--g-surface-2); color: var(--g-muted); }
.g-shell.ax-shell :is(.form-stack, .form-inline, .setting-edit, .list-toolbar, .list-head-row, .list-filters, .earn-toolbar, td) :is(select, input:not([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"])) {
  min-height: 32px; height: 32px; padding-top: 0; padding-bottom: 0; font-size: 13.5px; border-radius: var(--ax-r); border-width: 1px; color: var(--ax-ink); }
.g-shell.ax-shell td :is(select, input:not([type="checkbox"], [type="radio"])) { min-height: var(--ax-btn-h2); height: var(--ax-btn-h2); max-width: 100%; }
.g-shell.ax-shell :is(.form-inline, .list-filters, .setting-actions) { align-items: center; }

/* ---- Seçim kutusu (10 Kasım, inceleme): bütün admin seçimleri aynı ince ok (süzgeçteki gibi), tarayıcının kendi oku yok. Ok
   currentColor ile çizilir (token rengi). ---- */
.g-shell.ax-shell select:not([multiple]):not([size]):not(.ax-filter select) { -webkit-appearance: none; appearance: none; padding-right: 30px; color: var(--ax-ink);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
/* Tablo içindeki yetki açıklaması tek satır, kesilirse "…" (tamamı ipucunda). */
.ax-table td .gate { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; }
.ax-table td .gate-reason { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
/* "Fiyat listeye uygun" kutusu tablo hücresinde (22 Kasım 2026, admin-gorsel 160 px taşma): satır tek satır; kutu sabit, metin "…" ile
   kesilir (Kvkk "anladım" kutusu ve .ax-cell > .ax-trunc kalıbı). Tam metin sütunun ipucunda. Tablo dışında ortak stil (sarma) geçerli. */
.ax-table td .price-list-check { display: flex; max-width: 100%; min-width: 0; margin-top: 0; min-height: 0; flex-wrap: nowrap; }
.ax-table td .price-list-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Dosya seçme düğmesi (label.btn + gizli InputFile): klavyeyle gizli alan odaklanınca halka düğmede görünür. */
.g-shell.ax-shell label.btn:has(input[type="file"]:focus-visible) { outline: 2px solid var(--ax-blue); outline-offset: 1px; }
/* Devre dışı dosya düğmesi: gizli alan devre dışıyken düğme de pasif görünür. */
.g-shell.ax-shell label.btn:has(input[type="file"]:disabled) { background: var(--tm-grey-soft); border-color: var(--tm-grey-soft); color: var(--tm-muted); cursor: not-allowed; }
/* Sayfanın kendi kaydırma çubuğu da (tablo kutusundaki gibi) her zaman görünür ince çubuk: içerik ekrana sığmıyorsa belli olsun. */
.g-shell.ax-shell .g-main::-webkit-scrollbar { width: 10px; }
.g-shell.ax-shell .g-main::-webkit-scrollbar-track { background: var(--ax-bg); }
.g-shell.ax-shell .g-main::-webkit-scrollbar-thumb { background: var(--tm-check-off); border-radius: var(--ax-r-sm); border: 2px solid var(--ax-bg); }
/* Başarı bandı simgeli (hata ve uyarı gibi): yeşil daire içinde ✓. */
.g-shell.ax-shell .banner.success::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--tm-green);
  color: var(--ax-bg); display: inline-grid; place-items: center; font-size: 13px; font-weight: 800; }

/* ---- Onay penceresi ve kayıt sayfasının bölüm listesi (10 Kasım): gölge yok (1 px çizgi); bölüm düğmesi 1. boyut (40 px yerine 32 px). ---- */
.g-shell.ax-shell .confirm-dialog { box-shadow: none; border: 1px solid var(--ax-line); }
.g-shell.ax-shell .section-nav-item { min-height: var(--ax-btn-h1); }
.g-shell.ax-shell .dash-link { font-size: var(--ax-btn-f1); }

/* ---- İçerik alanı: yeni düzenli sayfa (.ax-page) tam genişlik, sık boşluk ---- */
.g-shell.ax-shell .g-content { padding: 20px 24px 40px; }
.g-shell.ax-shell .g-content:has(> .ax-page) { padding: var(--ax-page-top) 24px 16px; gap: 0; }
.ax-page { display: flex; flex-direction: column; gap: var(--ax-gap); min-width: 0; font-size: 14px; }
/* Bloklar arasında yalnız --ax-gap: açıklama paragrafının tarayıcı boşluğu (1em) ve blokların kendi dış boşluğu sayfada sıfır
   (Kilitli girişler'de açıklamanın üstünde 24 px vardı). */
.g-shell.ax-shell .ax-page > :is(p, .hint, .ax-toolbar, .ax-table-tools, .ax-table-box, .ax-pager, .banner) { margin-top: 0; margin-bottom: 0; }
/* Sayfanın ilk görünür bloğu (ör. bölüm başlığı h2) içerik üstüne --ax-page-top'ta oturur; kendi üst boşluğu eklenmez. Görünmez h1
   mutlak konumlu olduğu için akışta değildir. */
.g-shell.ax-shell .ax-page > :first-child, .g-shell.ax-shell .ax-page > .g-visually-hidden:first-child + * { margin-top: 0; }
.ax-page > :not(.ax-table-box) { flex: none; }
.ax-page-title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.2px; line-height: 1.3; }
/* Kayıt sayfasının başı (AdminPageHead): başlık + rozetler, altında künye satırı, sağda işlemler. */
.ax-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 0 0 12px; }
.ax-head-main { min-width: 0; }
.ax-head .ax-page-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.ax-head-title { min-width: 0; overflow-wrap: anywhere; }
.ax-head-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 13px; color: var(--ax-muted); }
.ax-head-meta > * + *::before { content: "·"; margin-right: 10px; color: var(--ax-muted); }
.ax-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---- Araç satırı: arama (≈300 px, "/" odaklar), süzgeçler (32 px = alan), sağda "Varsayılana döndür", sayı ve işlemler ---- */
.ax-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 32px; }
.ax-search { position: relative; flex: 0 1 300px; min-width: 150px; }
/* Araç satırı sığdığı sürece tek satır; sığmazsa (1280'de çok süzgeçli liste) sağ uç alt satıra geçer — taşmaz, kesilmez. */
.ax-toolbar > :not(.ax-search) { flex: none; }
.ax-search .g-icon { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); color: var(--ax-muted); pointer-events: none; }
.g-shell.ax-shell .ax-search input[type="search"] { width: 100%; height: 32px; min-height: 32px; padding: 0 28px 0 30px; border-radius: var(--ax-r);
  border: 1px solid var(--g-border-input); background: var(--ax-bg); font: inherit; font-size: 13.5px; color: var(--ax-ink); }
.ax-search kbd { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--ax-r-sm);
  border: 1px solid var(--ax-line); color: var(--ax-muted); font: 600 11px/16px ui-monospace, Menlo, monospace; text-align: center; background: var(--ax-bg); }
.ax-search input:focus + kbd, .ax-search input:not(:placeholder-shown) + kbd { display: none; }
/* Sabit önek (21 Kasım 2026, Gelen Siparişler "GNN-"): kutunun içinde, ikondan sonra; metin önekten sonra başlar. Tıklama kutuya geçer. */
.ax-search-pre { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); color: var(--ax-muted); pointer-events: none;
  font: 600 12.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .2px; }
.g-shell.ax-shell .ax-search.has-pre input[type="search"] { padding-left: 66px; }
/* Uzun yer tutucu kesilirse "…" ile biter (arama, sayfa araması, form alanları). */
.g-shell.ax-shell :is(input[type="search"], input[type="text"], input:not([type]), input[type="email"]) { text-overflow: ellipsis; }
.ax-filter { position: relative; display: inline-flex; align-items: center; height: 32px; border: 1px solid var(--g-border-input); border-radius: var(--ax-r);
  background: var(--ax-bg); font-size: 13px; color: var(--ax-ink); max-width: 260px; }
/* Yerel ok yerine ince ok (her tarayıcıda aynı genişlik); liste yine tarayıcının (klavye, ekran okuyucu). */
.ax-filter::after { content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); color: var(--ax-muted); pointer-events: none; }
.ax-filter-label { padding: 0 2px 0 10px; color: var(--ax-muted); font-weight: 600; white-space: nowrap; }
.g-shell.ax-shell .ax-filter select { -webkit-appearance: none; appearance: none; height: 30px; min-height: 30px; border: 0; background: transparent;
  padding: 0 28px 0 6px; border-radius: var(--ax-r); font: inherit; font-weight: 700; color: var(--ax-ink); cursor: pointer; min-width: 0; max-width: 200px;
  text-overflow: ellipsis; }
.g-shell.ax-shell .ax-filter select:focus-visible { box-shadow: none; outline: none; }
.ax-filter:focus-within { outline: 2px solid var(--ax-blue); outline-offset: 1px; }
.ax-filter:hover { border-color: var(--ax-blue); }
.ax-filter.is-on { border-color: var(--ax-blue); }
.ax-filter.is-on .ax-filter-label, .ax-filter.is-on select { color: var(--ax-blue); }
.ax-filter-value { padding: 0 2px 0 4px; font-weight: 700; color: var(--ax-blue); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-filter .ax-clear { height: 30px; min-height: 30px; padding: 0 9px; font-size: 15px; }
/* İkincil süzgeçler açılırı (AdminFilterMore). */
.ax-more { position: relative; }
.ax-more > summary { list-style: none; cursor: pointer; padding-right: 26px; user-select: none; }
.ax-more > summary::-webkit-details-marker { display: none; }
.ax-more > summary .ax-filter-label { padding-right: 4px; }
.ax-more[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.ax-more-pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 8px; display: flex; flex-direction: column; gap: 6px;
  background: var(--ax-bg); border: 1px solid var(--ax-line); border-radius: var(--ax-r); }
.ax-more-pop.is-right { left: auto; right: 0; }
.ax-more-pop .ax-filter { max-width: none; width: 100%; justify-content: space-between; }
.ax-more-pop .ax-filter select { flex: 1; text-align: right; }
.ax-clear { display: inline-flex; align-items: center; height: var(--ax-btn-h2); min-height: var(--ax-btn-h2); padding: 0 var(--ax-btn-px2); border: 0;
  background: transparent; color: var(--ax-blue); font: inherit; font-size: var(--ax-btn-f2); font-weight: 700; cursor: pointer; border-radius: var(--ax-r); }
.ax-clear:hover { color: var(--ax-blue-hover); text-decoration: underline; }
.ax-toolbar-end { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ax-count { font-size: 13px; font-weight: 700; color: var(--ax-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ax-note { font-size: 12.5px; color: var(--ax-muted); white-space: nowrap; }
.ax-note a { font-weight: 700; }
/* "Varsayılana döndür" (tablo): 2. boyut, hayalet; değişiklik yokken pasif (admin.js açar). Süzgeçlere dokunmaz. */
.ax-reset { display: inline-flex; align-items: center; gap: 4px; height: var(--ax-btn-h2); min-height: var(--ax-btn-h2); padding: 0 var(--ax-btn-px2);
  border: 1px solid var(--ax-line); border-radius: var(--ax-r); background: var(--ax-bg); color: var(--ax-ink); font: inherit; font-size: var(--ax-btn-f2);
  font-weight: 600; cursor: pointer; white-space: nowrap; }
.ax-reset:hover:not(:disabled) { border-color: var(--ax-blue); color: var(--ax-blue-hover); }
/* Pasif belirgin: soluk zemin, açık gri yazı (devre dışı öğe kontrast şartından muaf); etkin hâl lacivert, beyaz zemin. */
.ax-reset:disabled { color: var(--g-subtle); background: var(--g-surface-2); border-color: var(--ax-line-soft); cursor: default; }
.ax-reset[hidden] { display: none; }
/* Araç satırı olmayan tablonun kendi küçük satırı; araç satırının ardındaki tabloda gizli (düğme araç satırında). */
.ax-table-tools { display: flex; justify-content: flex-end; min-height: var(--ax-btn-h2); margin-bottom: var(--ax-gap); }
/* Yalnız araç satırının HEMEN ardındaki tablonun satırı gizlenir (düğmesi araç satırında); aynı kapsayıcıdaki sonraki tablolar
   kendi düğmesini taşır (GPara hediye kataloğunda düğme yoktu). */
.ax-toolbar + .ax-table-tools { display: none; }
.ax-table-tools[hidden] { display: none; }
/* Form alanı içindeki dosya düğmesi kendi genişliğinde (alan sütununa gerilmez). */
.g-shell.ax-shell .pro-field > label.btn { align-self: flex-start; width: auto; }

/* ---- Yoğun tablo: satır 44 px, tek satır, yapışkan başlık ve SABİT ilk sütun; kutu kendi içinde kayar (sayfa yana kaymaz). Bütün
   çizgiler 1 px, tek token (--ax-line): kutu kenarı, başlık altı, satır araları. Sütun genişliği başlıktaki sınırdan sürüklenir (en
   küçük --ax-col-min), çift tıklayınca içeriğe göre genişler; genişlik ve sıra bu tarayıcıda, tablo başına saklanır (admin.js). ---- */
.ax-table-box { position: relative; overflow: auto; background: var(--ax-bg); border: 1px solid var(--ax-line); border-radius: var(--ax-r);
  overscroll-behavior-x: contain; }
/* Kaydırma ipucu: tablo kutusunu aştığında ince çubuk HER ZAMAN görünür (sistemin gizlenen çubuğuna bırakılmaz); sığıyorsa çubuk yok. */
.ax-table-box::-webkit-scrollbar { width: 8px; height: 8px; }
.ax-table-box::-webkit-scrollbar-track { background: var(--ax-bg); }
.ax-table-box::-webkit-scrollbar-thumb { background: var(--tm-check-off); border-radius: var(--ax-r-sm); border: 2px solid var(--ax-bg); }
.ax-table-box::-webkit-scrollbar-corner { background: var(--ax-bg); }
.ax-table { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 13.5px; color: var(--ax-ink); }
/* Boş tablo kutuyu taşırmaz (kaydırma çubuğu çıkmaz): en küçük genişlik yalnız satır varken. */
.ax-table:has(> tbody > tr.ax-empty) { min-width: 0; }
.ax-table:has(> tbody > tr.ax-empty) > colgroup > col { width: auto; }
.ax-table.is-sized { min-width: 0; }
.ax-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ax-table th { position: sticky; top: 0; z-index: 2; height: 36px; padding: 0 10px; background: var(--ax-bg); border-bottom: 1px solid var(--ax-line);
  color: var(--ax-ink); font-size: 12.5px; font-weight: 700; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Sabit ilk sütun: sağında her zaman 1 px yer (başlık ve gövde aynı x); yana kaydırınca çizgi görünür (gölge yok). */
.ax-table th:first-child, .ax-table td:first-child { position: sticky; left: 0; z-index: 1; background: var(--ax-bg); border-right: 1px solid transparent; }
.ax-table th:first-child { z-index: 3; }
.ax-table-box.is-scrolled-x :is(th, td):first-child { border-right-color: var(--ax-line); }
.ax-table th.is-num, .ax-table td.is-num { text-align: right; }
.ax-sort { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; height: 28px; margin: 0 -6px; padding: 0 6px; border: 0; border-radius: var(--ax-r-sm);
  background: transparent; color: inherit; font: inherit; cursor: pointer; }
.ax-sort:hover { color: var(--ax-blue-hover); }
.ax-sort > span { overflow: hidden; text-overflow: ellipsis; }
/* Ok yalnız sıralı sütunda ve üzerine gelince görünür; yer kaplamaz (dar sütunda başlık kısalmasın). */
.ax-sort .ax-sort-ic { flex: none; display: none; transform: rotate(90deg); }
.ax-sort:hover .ax-sort-ic { display: inline-block; opacity: .45; }
th[aria-sort="ascending"] .ax-sort, th[aria-sort="descending"] .ax-sort { color: var(--ax-blue); }
th[aria-sort="ascending"] .ax-sort-ic { display: inline-block; opacity: 1; transform: rotate(-90deg); }
th[aria-sort="descending"] .ax-sort-ic { display: inline-block; opacity: 1; transform: rotate(90deg); }
/* Sütun sınırı tutamacı: başlığın sağ kenarında 8 px; üzerine gelince 2 px mavi çizgi. Klavyeyle ←/→ (16 px). */
.ax-col-grip { position: absolute; top: 0; right: 0; width: 8px; height: 100%; cursor: col-resize; z-index: 4; touch-action: none; }
.ax-col-grip::after { content: ""; position: absolute; top: 8px; bottom: 8px; right: 3px; width: 2px; background: transparent; }
.ax-col-grip:hover::after, .ax-col-grip:focus-visible::after, .ax-table.is-resizing .ax-col-grip.is-active::after { background: var(--ax-blue); }
.g-shell.ax-shell .ax-col-grip:focus-visible { outline: none; }
.ax-table.is-resizing { cursor: col-resize; user-select: none; }
/* Çift tıkta içerik ölçülürken metin kesilmez (bir karelik; çizim yok). */
.ax-table.is-measuring :is(.ax-sort, .ax-sort > span, .ax-trunc) { max-width: none; overflow: visible; text-overflow: clip; }
.ax-table td { height: var(--ax-row-h); padding: 0 10px; border-bottom: 1px solid var(--ax-line); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; vertical-align: middle; font-variant-numeric: tabular-nums; }
.ax-table tbody tr:last-child td { border-bottom: 0; }
.ax-table tbody tr[data-href] { cursor: pointer; }
.ax-table tbody tr:hover td { background: var(--ax-row-hover); }
.ax-table .ax-empty td:first-child { position: static; border-right: 0; }
.ax-table tbody tr:focus-within td { background: var(--ax-row-hover); }
.ax-table a { color: var(--ax-blue); font-weight: 600; text-decoration: none; }
.ax-table a:hover { color: var(--ax-blue-hover); text-decoration: underline; }
.ax-table a.ax-primary { color: var(--ax-ink); font-weight: 700; }
.ax-table a.ax-primary:hover { color: var(--ax-blue-hover); }
.ax-table .ax-muted { color: var(--ax-muted); }
.ax-table.is-busy tbody { opacity: .55; transition: opacity 120ms ease-out; }
/* Boş durum (10 Kasım 2026, Burak): bütün tablolarda ve boş listelerde (EmptyState) AYNI hiza ve stil — ortalı, soluk, 13,5 px, yarı kalın.
   En küçük yükseklik (--ax-empty-h) YALNIZ boş durumda. */
.ax-empty td { height: var(--ax-empty-h); text-align: center; padding: 0 16px; color: var(--ax-muted); font-size: 13.5px; font-weight: 600;
  white-space: normal; position: static; }
.g-shell.ax-shell .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: var(--ax-empty-h);
  padding: 0 16px; color: var(--ax-muted); font-size: 13.5px; font-weight: 600; text-align: center; }
.g-shell.ax-shell .empty-state::before { content: none; }
.ax-cell { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ax-cell > .ax-trunc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-cell > :not(.ax-trunc) { flex: none; }
/* Hücredeki seçim kutusu (ör. toptancı seçici) en uzun seçeneğe göre büyümez: hücreye sığacak kadar daralır, düğme taşmaz. */
.g-shell.ax-shell td .ax-cell > select { flex: 0 1 auto; min-width: 0; max-width: 200px; }

/* Liste sayfası geniş ekranda pencereye sığar: tablo kutusu kalan yüksekliği alır, başlık ve sayfalama hep görünür. */
@media (min-width: 901px) and (min-height: 560px) {
  .g-shell.ax-shell .g-main:has(.ax-page.is-fill) { height: 100vh; height: 100dvh; overflow: auto; }
  .g-shell.ax-shell .g-content:has(> .ax-page.is-fill) { flex: 1 1 auto; min-height: 0; }
  .ax-page.is-fill { flex: 1 1 auto; min-height: 0; }
  /* Tablo içeriği kadar uzar (10 Kasım 2026, Burak: 1 satırlık tablo 3 satırlık yer kaplıyordu). En küçük yükseklik yalnız pencere
     kısa kalıp tablo daraldığında başlık + ~3 satır görünsün diye ve YALNIZ en az 3 satırlı tabloda (doğal yüksekliğinden küçük). */
  .ax-page.is-fill .ax-table-box { flex: 0 1 auto; min-height: 0; }
  .ax-page.is-fill .ax-table-box:has(> table > tbody > tr:nth-child(3)) { min-height: calc(36px + 2.8 * var(--ax-row-h)); }
}

/* ---- Rozetler (küçük, ikon + metin; yalnız renk değil) ---- */
/* Durum rozetleri küçük; açık zemin + koyu metin (vurgu oranını bozmaz). Token: tm.css yeşil/amber/kırmızı/gri/mavi açık tonları. */
.ax-badge, .ax-status { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px; border-radius: var(--ax-r-sm); font-size: 11.5px;
  font-weight: 700; white-space: nowrap; background: var(--tm-grey-soft); color: var(--ax-muted); }
.ax-badge { height: 18px; padding: 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .2px; }
.ax-badge.is-test, .ax-status.is-warn { background: var(--tm-amber-soft); color: var(--tm-amber); }
.ax-badge.is-test::before { content: "⚑"; }
/* Bekleyen onay talebi (Bayi Ağı satırı; 10 Kasım 2026): mevcut rozet, 4 px köşe (--ax-r-sm). */
.ax-badge.is-wait { background: var(--tm-amber-soft); color: var(--tm-amber); margin-left: 6px; }
.ax-badge.is-pro, .ax-badge.is-branch, .ax-status.is-info { background: var(--tm-tint); color: var(--g-brand-navy); }
.ax-badge.is-pro::before { content: "★"; }
.ax-badge.is-danger, .ax-status.is-danger { background: var(--tm-red-soft); color: var(--tm-red); }
.ax-status.is-ok { background: var(--tm-green-soft); color: var(--tm-green); }
.ax-status.is-off { background: var(--tm-grey-soft); color: var(--ax-muted); }

/* ---- Sayfalama: aralık / toplam, ilk-önceki-sonraki-son (2. boyut düğme) ---- */
.ax-pager { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-height: 32px; font-size: 13px; color: var(--ax-muted);
  font-variant-numeric: tabular-nums; }
.ax-pager-range { margin-right: 6px; font-weight: 600; }
.ax-pager-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: var(--ax-btn-h2); min-width: var(--ax-btn-h2);
  padding: 0 8px; border-radius: var(--ax-r); border: 1px solid var(--ax-line); background: var(--ax-bg); color: var(--ax-ink); font: inherit;
  font-size: var(--ax-btn-f2); font-weight: 700; cursor: pointer; }
.ax-pager-btn:hover:not(:disabled) { border-color: var(--ax-blue); color: var(--ax-blue-hover); }
.ax-pager-btn:disabled { color: var(--ax-muted); cursor: not-allowed; border-color: var(--ax-line-soft); }
.ax-pager-page { min-width: 74px; text-align: center; font-weight: 700; color: var(--ax-ink); }

/* ---- Odak (klavye): her etkileşimli öğede 2 px vurgu mavisi çerçeve (gölge halesi yok) ---- */
.g-shell.ax-shell :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--ax-blue); outline-offset: 1px; box-shadow: none; }
.g-shell.ax-shell .ax-filter select:focus-visible { outline: none; }

/* ---- Telefon ve tablet (≤ 900 px): menü çekmecede (tm.css), arama çekmecenin üstünde; sayfa başı çekmece çubuğunun altında yapışkan ---- */
@media (max-width: 900px) {
  .ax-pagebar { top: 60px; padding: 6px 16px 0; z-index: 30; }
  .ax-cmdk > .ax-kbd { display: none; }
  .ax-copy-btn { width: 36px; height: 36px; }
  .ax-cmdk-opt { min-height: 44px; }
  .g-shell.ax-shell .ax-topbar { padding: 8px 16px; }
  .g-shell.ax-shell .g-content, .g-shell.ax-shell .g-content:has(> .ax-page) { padding: 12px 16px 32px; }
  .ax-search { flex: 1 1 100%; }
  .ax-search kbd { display: none; }
  .ax-filter { flex: 1 1 calc(50% - 4px); max-width: none; }
  .g-shell.ax-shell .ax-filter select { flex: 1; max-width: none; }
  .ax-toolbar-end { margin-left: 0; width: 100%; justify-content: space-between; }
  .ax-tab { height: 44px; }
  .ax-nav-item, .ax-sub-item { height: 44px; }
  .ax-pager-btn { height: 40px; min-width: 40px; }
  .ax-side-foot { border-top: 0; padding-top: 14px; }
  .ax-col-grip { display: none; }
  [data-ax-collapse] { display: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .ax-nav-item, .ax-sub-item, .ax-tab, .ax-sort, .ax-table td { transition: background-color 120ms ease-out, color 120ms ease-out; }
  .ax-cat-caret { transition: transform 120ms ease-out; }
}
@media print {
  .ax-shell > .g-sidebar, .ax-topbar, .ax-pagebar .ax-tabs, .ax-toolbar, .ax-pager, .ax-table-tools { display: none !important; }
  .ax-table-box { overflow: visible; border: 0; }
}
