/* =====================================================================
   Admin Panel — tasarım sistemi (tek dosya, bağımsız)
   Sade, açık SaaS panel dili: açık gri zemin, beyaz kartlar, ince çizgiler,
   küçük ikonlar, hap rozetler. Vurgu rengi turuncu (--a-accent ile değiştirilebilir).

   Bu dosya tek başına yeterlidir; başka bir CSS çatısı gerektirmez.
   Sayfa gövdesi: <body class="admin-body"> (panel) ya da <body class="admin-auth-body"> (giriş).

   Bölümler: 1 Tokenlar · 2 Temel (sıfırlama, kaydırma çubuğu, buton/form/tablo temelleri, bildirim, metin)
   3 Kabuk (kenar menü, üst çubuk) · 4 Sayfa başlığı · 5 Kart & ızgara · 6 KPI · 7 Grafik · 8 Tablo
   9 Rozet · 10 Form · 11 Buton · 12 Uyarı, boş durum, sekme, sayfalama · 13 Liste bileşenleri
   14 Ürün formu · 15 Giriş sayfası · 15b Liste + detay · 15c Sayfa düzenleyici · 15d Müşteri ve manuel sipariş
   15e Ayarlar · 16 Duyarlı
   ===================================================================== */

/* 1 ---------------------------------------------------------------- Tokenlar */
:root {
  --a-bg: #F4F4F5;          /* sayfa zemini */
  --a-side: #FAFAFA;        /* kenar menü */
  --a-panel: #FFFFFF;       /* kart */
  --a-soft: #F6F6F7;        /* kart içi yumuşak zemin, tablo başlığı */
  --a-warm: #F5F3F0;        /* boş durum zemini, kaydırma çubuğu izi */
  --a-hover: #F0F0F2;
  --a-line: #E7E7EA;
  --a-line-2: #EFEFF1;
  --a-ink: #18181B;         /* ana metin + koyu butonlar */
  --a-ink-2: #3F3F46;
  --a-muted: #71717A;
  --a-faint: #A1A1AA;
  --a-accent: #F26A1B;      /* marka vurgusu */
  --a-accent-ink: #C2410C;  /* vurgu üstü metin / hover */
  --a-accent-soft: #FFF1E7; /* vurgu açık zemin */
  --a-green: #15803D;
  --a-green-soft: #E7F6EC;
  --a-red: #B91C1C;
  --a-red-soft: #FDECEC;
  --a-amber: #B45309;
  --a-amber-soft: #FEF3E2;
  --a-blue: #1D4ED8;
  --a-blue-soft: #EAF1FE;
  --a-purple: #6D28D9;
  --a-purple-soft: #F1EBFE;
  --a-radius: 16px;
  --a-radius-md: 12px;
  --a-radius-sm: 9px;
  --a-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  --a-shadow-lg: 0 12px 32px rgba(16, 24, 40, .12);
  --a-glow: 0 12px 28px rgba(242, 106, 27, .35);
  --a-side-w: 256px;
  --a-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* 2 ---------------------------------------------------------------- Temel */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, h5 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 22px; } h2 { font-size: 18px; } h3 { font-size: 16px; } h4 { font-size: 14px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--a-accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 80px; }

/* Kaydırma çubukları (vurgu renginde) */
html, .table-wrap, textarea { scrollbar-width: thin; scrollbar-color: var(--a-accent) var(--a-warm); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--a-warm); }
::-webkit-scrollbar-thumb { background: var(--a-accent); border-radius: 999px; border: 2px solid var(--a-warm); background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--a-accent-ink); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }

/* Buton, form, tablo ve boş durum temelleri (ayrıntılar aşağıdaki bölümlerde) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; text-align: center; white-space: nowrap; user-select: none; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 18px; height: 18px; }
.btn--block { display: flex; width: 100%; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.label .req { color: var(--a-accent-ink); }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--a-red) !important; }
.check { line-height: 1.45; }
.check input { margin: 0; flex-shrink: 0; cursor: pointer; }
.alert__close { margin-left: auto; border: 0; background: transparent; color: inherit; opacity: .7; padding: 0 4px; font-size: 18px; line-height: 1; }
.table-wrap { overscroll-behavior-x: contain; border: 1px solid var(--a-line); border-radius: 14px; }
.empty-state { background: var(--a-warm); border-radius: 24px; }
.empty-state .icon { width: 48px; height: 48px; color: var(--a-accent); margin: 0 auto 16px; }

/* Bildirim (toast) — window.AP.toast('Kaydedildi', 'success') */
.toast-region { position: fixed; z-index: 1000; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; max-width: calc(100vw - 40px); }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: 420px;
  padding: 14px 18px; border-radius: 14px; background: var(--a-ink); color: #fff; box-shadow: 0 18px 50px rgba(22, 26, 34, .12);
  font-size: 14px; font-weight: 500; animation: toast-in .3s cubic-bezier(.2, .7, .2, 1);
}
.toast--success .icon { color: #7EE2A8; }
.toast--error { background: #7F1D1D; }
.toast a { color: #FFE6CC; font-weight: 700; margin-left: auto; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: all .25s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Zengin metin (düzenleyici alanı ve içerik önizlemesi) */
.prose { color: var(--a-ink-2); font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.prose h4 { margin: 1.2em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--a-accent); background: var(--a-accent-soft); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--a-line); padding: 10px 12px; text-align: left; }
.prose > :first-child { margin-top: 0; }

/* 2b --------------------------------------------------------------- Panel gövdesi */
.admin-body {
  margin: 0; background: var(--a-bg); color: var(--a-ink); font-family: var(--a-font);
  font-size: 13.5px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.admin-body h1, .admin-body h2, .admin-body h3, .admin-body h4 { font-family: var(--a-font); color: var(--a-ink); letter-spacing: -.01em; }
.admin-body a { color: var(--a-ink); }
.admin-body a:hover { color: var(--a-accent-ink); }
.admin-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: var(--a-soft); padding: 2px 6px; border-radius: 6px; }
.admin-body .help, .admin-body small.help { color: var(--a-muted); font-size: 12.5px; }
.admin-body .icon { flex-shrink: 0; }
.admin-body :focus-visible { outline: 2px solid var(--a-accent); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--a-muted); }
.num { font-variant-numeric: tabular-nums; }

/* 3 ---------------------------------------------------------------- Kabuk */
.adm-shell { display: grid; grid-template-columns: var(--a-side-w) minmax(0, 1fr); min-height: 100vh; }

/* Kenar menü */
.adm-side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--a-side);
  border-right: 1px solid var(--a-line); z-index: 40;
}
.adm-side__brand { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px; }
.adm-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.adm-brand__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--a-ink); color: #fff; }
.adm-brand__name { font-weight: 700; font-size: 16px; color: var(--a-ink); letter-spacing: -.02em; }
.adm-brand__name span { color: var(--a-accent); }
.adm-icon-btn.adm-side__close { display: none; }

.adm-nav { flex: 1; overflow-y: auto; padding: 4px 12px 12px; scrollbar-width: thin; scrollbar-color: #D4D4D8 transparent; }
.adm-nav::-webkit-scrollbar { width: 6px; }
.adm-nav::-webkit-scrollbar-track { background: transparent; }
.adm-nav::-webkit-scrollbar-thumb { background: #D4D4D8; border: 0; border-radius: 99px; }
.adm-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.adm-nav__group + .adm-nav__group { margin-top: 8px; }
.adm-nav__label { display: flex; align-items: center; gap: 6px; padding: 5px 10px 3px; font-size: 11.5px; font-weight: 500; color: var(--a-faint); }
.adm-nav__label::before { content: ""; width: 9px; height: 9px; border: 1.5px dashed var(--a-faint); border-radius: 50%; }
.adm-nav__link {
  display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: var(--a-radius-sm);
  color: var(--a-ink-2) !important; text-decoration: none; font-size: 13.5px; font-weight: 500; transition: background .15s, color .15s;
}
.adm-nav__link:hover { background: var(--a-hover); color: var(--a-ink) !important; }
.adm-nav__link.is-active { background: var(--a-panel); color: var(--a-ink) !important; font-weight: 600; box-shadow: 0 0 0 1px var(--a-line), var(--a-shadow); }
.adm-nav__icon { color: var(--a-muted); }
.adm-nav__link.is-active .adm-nav__icon { color: var(--a-accent); }
.adm-nav__text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.adm-count { min-width: 22px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; text-align: center; line-height: 18px; }
.adm-count--accent { background: var(--a-accent-soft); color: var(--a-accent-ink); }
.adm-count--red { background: var(--a-red-soft); color: var(--a-red); }
.adm-count--green { background: var(--a-green-soft); color: var(--a-green); }
.adm-count--blue { background: var(--a-blue-soft); color: var(--a-blue); }
.adm-count--purple { background: var(--a-purple-soft); color: var(--a-purple); }

.adm-side__foot { padding: 10px 12px; border-top: 1px solid var(--a-line); display: grid; gap: 8px; }
.adm-store-card { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius-md); padding: 12px; }
.adm-store-card__row { display: flex; align-items: center; gap: 8px; color: var(--a-ink); font-size: 13px; }
.adm-store-card p { margin: 2px 0 8px; color: var(--a-muted); font-size: 12px; }

.adm-user { position: relative; }
.adm-user summary {
  display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: var(--a-radius-sm); cursor: pointer; list-style: none;
}
.adm-user summary::-webkit-details-marker { display: none; }
.adm-user summary:hover { background: var(--a-hover); }
.adm-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--a-accent-soft); color: var(--a-accent-ink); font-weight: 700; font-size: 12.5px; flex-shrink: 0; }
.adm-user__meta { flex: 1; min-width: 0; display: grid; }
.adm-user__meta strong { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-user__meta small { font-size: 11.5px; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-user__chev { color: var(--a-muted); transition: transform .15s; }
.adm-user[open] .adm-user__chev { transform: rotate(180deg); }
.adm-user__menu {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); background: var(--a-panel); border: 1px solid var(--a-line);
  border-radius: var(--a-radius-md); box-shadow: var(--a-shadow-lg); padding: 6px; display: grid; gap: 2px;
}
.adm-user__menu a, .adm-user__menu button {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: 8px;
  font: inherit; font-size: 13px; color: var(--a-ink-2); text-decoration: none; cursor: pointer; text-align: left;
}
.adm-user__menu a:hover, .adm-user__menu button:hover { background: var(--a-hover); color: var(--a-ink); }
.adm-user__menu form { margin: 0; }

/* Üst çubuk + içerik */
.adm-main { display: flex; flex-direction: column; min-width: 0; }
.adm-top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 28px;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--a-line);
}
.adm-icon-btn.adm-top__menu { display: none; }
.adm-top__title { display: flex; align-items: center; gap: 8px; color: var(--a-ink-2); font-weight: 500; min-width: 0; }
.adm-top__title .icon { color: var(--a-muted); }
.adm-top__title span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-search {
  margin-left: auto; display: flex; align-items: center; gap: 8px; width: min(340px, 34vw); height: 36px; padding: 0 12px;
  border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-panel); color: var(--a-muted);
}
.adm-search:focus-within { border-color: var(--a-accent); box-shadow: 0 0 0 3px var(--a-accent-soft); }
.adm-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 13px; color: var(--a-ink); }
.adm-top__actions { display: flex; align-items: center; gap: 8px; }
.adm-icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--a-line);
  background: var(--a-panel); color: var(--a-ink-2); cursor: pointer; text-decoration: none;
}
.adm-icon-btn:hover { background: var(--a-hover); color: var(--a-ink); }
.adm-bell__dot {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--a-accent);
  color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; border: 2px solid var(--a-panel); box-sizing: content-box;
}
.adm-content { flex: 1; padding: 28px 32px 40px; width: 100%; max-width: 1480px; margin: 0 auto; box-sizing: border-box; }
.adm-foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 32px; color: var(--a-faint); font-size: 12px; border-top: 1px solid var(--a-line); }
.adm-foot a { color: var(--a-muted); font-weight: 600; text-decoration: none; }
.adm-overlay { position: fixed; inset: 0; background: rgba(24, 24, 27, .36); z-index: 35; }

/* 4 ---------------------------------------------------------------- Sayfa başlığı */
.admin-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-page-head h1 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.25; }
.admin-page-head h1 .help { font-size: 14px; font-weight: 500; }
.admin-page-head p { margin: 4px 0 0; color: var(--a-muted); font-size: 13.5px; }
.admin-page-actions, .admin-page-head__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm-date-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-panel); color: var(--a-ink-2); font-size: 13px; }

/* 5 ---------------------------------------------------------------- Kart & ızgara */
.admin-card, .admin-panel {
  background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 20px; box-shadow: var(--a-shadow); min-width: 0;
}
.admin-card + .admin-card { margin-top: 20px; }
.admin-grid > .admin-card + .admin-card, .product-form__main > .admin-card + .admin-card, .product-form__side > .admin-card + .admin-card { margin-top: 0; }
.admin-card__header, .admin-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.admin-card__title, .admin-panel__title { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.admin-card__header .admin-card__title, .admin-card__head .admin-card__title { margin: 0; }
.admin-card__actions { display: flex; gap: 8px; }
.admin-card__link { font-size: 12.5px; color: var(--a-ink-2); text-decoration: underline; text-underline-offset: 3px; }
.admin-card--flush { padding: 0; }
.admin-card--flush .admin-card__header { padding: 16px 20px 0; }
.admin-grid { display: grid; gap: 20px; }
.admin-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-grid--main-side { grid-template-columns: minmax(0, 1fr) 360px; }
.admin-flex { display: flex; } .admin-flex-between { display: flex; justify-content: space-between; align-items: center; } .admin-flex-center { display: flex; align-items: center; }
.admin-gap-sm { gap: 8px; } .admin-gap-md { gap: 16px; } .admin-gap-lg { gap: 24px; }
.admin-mt-0 { margin-top: 0; } .admin-mb-0 { margin-bottom: 0; } .admin-text-right { text-align: right; } .admin-text-center { text-align: center; }
.section-gap { margin-top: 20px; }

/* 6 ---------------------------------------------------------------- KPI kartları */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 6px; box-shadow: var(--a-shadow); display: flex; flex-direction: column; }
.kpi__body { background: var(--a-soft); border-radius: var(--a-radius-md); padding: 14px 16px 16px; flex: 1; }
.kpi__head { display: flex; align-items: center; gap: 10px; color: var(--a-ink-2); font-size: 13px; font-weight: 500; }
.kpi__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--a-panel); border: 1px solid var(--a-line); color: var(--a-ink); }
.kpi__value { margin-top: 12px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.kpi__foot { display: flex; align-items: center; gap: 6px; padding: 9px 10px 5px; font-size: 12px; color: var(--a-muted); }
.kpi__foot .icon { width: 14px; height: 14px; }
.kpi__delta--up, .kpi__delta--down { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }
.kpi__delta--up { color: var(--a-green); }
.kpi__delta--down { color: var(--a-red); }
.kpi__foot a { margin-left: auto; font-weight: 600; color: var(--a-ink-2); text-decoration: none; }
.kpi--attention .kpi__body { background: var(--a-accent-soft); }
.kpi--attention .kpi__icon { color: var(--a-accent-ink); border-color: #FAD7BF; }

/* Eski stat-tile uyumluluğu */
.stat-tile { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 16px 18px; }
.stat-tile__label { color: var(--a-muted); font-size: 13px; }
.stat-tile__value { font-size: 24px; font-weight: 600; margin-top: 6px; }
.stat-tile__change { font-size: 12px; margin-top: 6px; color: var(--a-muted); }
.stat-tile__change--positive { color: var(--a-green); } .stat-tile__change--negative { color: var(--a-red); }

/* 7 ---------------------------------------------------------------- Grafik (tek seri çubuk) */
.bar-chart { --h: 230px; position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
.bar-chart__axis { position: relative; height: var(--h); font-size: 11px; color: var(--a-muted); font-variant-numeric: tabular-nums; }
.bar-chart__axis span { position: absolute; right: 0; transform: translateY(50%); white-space: nowrap; }
.bar-chart__plot { position: relative; height: var(--h); border-bottom: 1px solid var(--a-line); }
.bar-chart__grid { position: absolute; left: 0; right: 0; height: 1px; background: var(--a-line-2); }
.bar-chart__bars { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; align-items: end; }
.bar-chart__slot { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; outline: none; cursor: default; }
.bar-chart__bar { width: min(24px, 70%); background: var(--a-accent); border-radius: 4px 4px 0 0; min-height: 0; transition: filter .15s; }
.bar-chart__slot:hover .bar-chart__bar, .bar-chart__slot:focus-visible .bar-chart__bar { filter: brightness(.9); }
.bar-chart__slot:hover, .bar-chart__slot:focus-visible { background: rgba(24, 24, 27, .03); border-radius: 6px; }
.bar-chart__peak { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--a-ink-2); white-space: nowrap; }
.bar-chart__tip {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 3; display: none; min-width: 120px;
  background: var(--a-ink); color: #fff; border-radius: 8px; padding: 7px 10px; font-size: 12px; line-height: 1.35; pointer-events: none; white-space: nowrap;
}
.bar-chart__tip strong { display: block; font-size: 13px; }
.bar-chart__slot:hover .bar-chart__tip, .bar-chart__slot:focus-visible .bar-chart__tip { display: block; }
.bar-chart__x { white-space: nowrap; grid-column: 2; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; font-size: 11px; color: var(--a-muted); text-align: center; margin-top: 6px; }
.bar-chart__x span:nth-child(even) { visibility: hidden; }
.chart-table { margin-top: 12px; }
.chart-table summary { cursor: pointer; font-size: 12.5px; color: var(--a-muted); }

/* 8 ---------------------------------------------------------------- Tablo */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.data-table thead th {
  background: var(--a-soft); color: var(--a-muted); font-weight: 500; font-size: 12px; text-align: left; padding: 10px 12px; white-space: nowrap;
  border-top: 1px solid var(--a-line-2); border-bottom: 1px solid var(--a-line-2); text-transform: none; letter-spacing: 0;
}
.data-table thead th:first-child { border-left: 1px solid var(--a-line-2); border-radius: 10px 0 0 10px; }
.data-table thead th:last-child { border-right: 1px solid var(--a-line-2); border-radius: 0 10px 10px 0; }
.data-table tbody td { padding: 11px 12px; border-bottom: 1px solid var(--a-line-2); vertical-align: middle; color: var(--a-ink-2); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #FBFBFC; }
.data-table a { text-decoration: none; font-weight: 500; }
.data-table a:hover { text-decoration: underline; }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .row-actions { text-align: right; white-space: nowrap; }
.data-table .row-actions a, .data-table .row-actions button { color: var(--a-muted); font-size: 12.5px; }
.cell-strong { color: var(--a-ink); font-weight: 600; white-space: nowrap; }
.cell-sub { display: block; color: var(--a-muted); font-size: 12px; }
.cell-with-thumb { display: flex; align-items: center; gap: 10px; min-width: 0; }
.admin-thumb { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; background: var(--a-soft); border: 1px solid var(--a-line-2); display: block; flex-shrink: 0; }
.time-cell { display: inline-flex; align-items: center; gap: 6px; color: var(--a-muted); white-space: nowrap; }

/* 9 ---------------------------------------------------------------- Rozetler */
.admin-body .badge, .admin-body .status-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  line-height: 18px; white-space: nowrap; background: var(--a-soft); color: var(--a-ink-2); border: 0; text-transform: none; letter-spacing: 0;
}
.admin-body .badge--green, .status-badge--delivered { background: var(--a-green-soft); color: var(--a-green); }
.admin-body .badge--red, .status-badge--cancelled { background: var(--a-red-soft); color: var(--a-red); }
.admin-body .badge--amber, .status-badge--pending { background: var(--a-amber-soft); color: var(--a-amber); }
.admin-body .badge--blue, .status-badge--processing { background: var(--a-blue-soft); color: var(--a-blue); }
.admin-body .badge--purple, .status-badge--shipped { background: var(--a-purple-soft); color: var(--a-purple); }
.admin-body .badge--gray { background: var(--a-soft); color: var(--a-muted); }
.admin-body .badge--accent { background: var(--a-accent-soft); color: var(--a-accent-ink); }
.source-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--a-ink-2); white-space: nowrap; }
.source-tag::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--a-faint); }
.source-tag--site::before { background: var(--a-ink); }
.source-tag--market { padding: 2px 8px; border-radius: 999px; background: var(--a-accent-soft); color: var(--a-accent-ink); }
.source-tag--market::before { background: var(--a-accent); }

/* 10 --------------------------------------------------------------- Form */
.admin-body .label, .admin-form label:not(.check):not(.icon-picker__item):not(.filament-pick__name):not(.filament-pick__default):not(.option-rows__default):not(.switch-row):not(.choice-card) {
  display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: var(--a-ink-2);
}
.admin-body .input, .admin-body .select, .admin-body .textarea,
.admin-form input[type="text"], .admin-form input[type="email"], .admin-form input[type="number"], .admin-form input[type="password"],
.admin-form input[type="url"], .admin-form input[type="tel"], .admin-form input[type="date"], .admin-form input[type="datetime-local"], .admin-form select, .admin-form textarea {
  width: 100%; min-height: 38px; padding: 8px 12px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-panel);
  font: inherit; font-size: 13.5px; color: var(--a-ink); box-sizing: border-box; transition: border-color .15s, box-shadow .15s;
}
.admin-body .textarea, .admin-form textarea { min-height: 96px; line-height: 1.5; resize: vertical; }
.admin-body .select, .admin-form select {
  appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.admin-body .input:focus, .admin-body .select:focus, .admin-body .textarea:focus,
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline: 0; border-color: var(--a-accent); box-shadow: 0 0 0 3px var(--a-accent-soft); }
.admin-body .input::placeholder, .admin-body .textarea::placeholder { color: var(--a-faint); }
.admin-body input[type="file"].input { padding: 6px; }
.admin-body input[type="checkbox"], .admin-body input[type="radio"] { accent-color: var(--a-accent); width: 16px; height: 16px; }
.input--sm { min-height: 34px !important; padding: 6px 10px !important; font-size: 13px !important; }
.admin-form .form-field, .admin-form-group { margin-bottom: 16px; }
.form-field:last-child { margin-bottom: 0; }
.form-field .help { margin-top: 6px; font-size: 12px; color: var(--a-muted); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 16px; }
.form-row > .form-field { margin-bottom: 0; }
.form-row:last-child { margin-bottom: 0; }
.form-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row.full { grid-template-columns: 1fr; }
.admin-body .field-error { margin-top: 6px; color: var(--a-red); font-size: 12.5px; font-weight: 500; }
.admin-body .check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--a-ink-2); cursor: pointer; }
.kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 13px; }
.kv dt { color: var(--a-muted); } .kv dd { margin: 0; color: var(--a-ink); }

/* 11 --------------------------------------------------------------- Butonlar */
.admin-body .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 7px 14px; border-radius: 10px;
  font-family: var(--a-font); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: none; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.admin-body .btn--sm { min-height: 30px; padding: 5px 11px; font-size: 12.5px; border-radius: 8px; }
.admin-body .btn--primary { background: var(--a-ink); border: 1px solid var(--a-ink); color: #fff; }
.admin-body .btn--primary:hover { background: #000; color: #fff; }
.admin-body .btn--accent { background: var(--a-accent); border: 1px solid var(--a-accent); color: #fff; }
.admin-body .btn--accent:hover { background: var(--a-accent-ink); color: #fff; }
.admin-body .btn--outline { background: var(--a-panel); border: 1px solid var(--a-line); color: var(--a-ink); }
.admin-body .btn--outline:hover { background: var(--a-hover); border-color: #D4D4D8; color: var(--a-ink); }
.admin-body .btn--ghost { background: transparent; border: 1px solid transparent; color: var(--a-ink-2); }
.admin-body .btn--ghost:hover { background: var(--a-hover); color: var(--a-ink); }
.admin-body .btn--danger { background: var(--a-panel); border: 1px solid #F3C4C4; color: var(--a-red); }
.admin-body .btn--danger:hover { background: var(--a-red-soft); color: var(--a-red); }
.admin-body .btn[disabled], .admin-body .btn:disabled { opacity: .45; pointer-events: none; }
.admin-body .btn--block { width: 100%; }

/* 12 --------------------------------------------------------------- Uyarı · boş durum · sekme · sayfalama */
/* Uyarılar hem panelde hem giriş ekranında (admin-auth-body) aynı görünür */
:is(.admin-body, .admin-auth-body) .alert {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; margin-bottom: 18px; border-radius: var(--a-radius-md);
  border: 1px solid transparent; font-size: 13.5px; line-height: 1.45;
}
:is(.admin-body, .admin-auth-body) .alert svg { flex-shrink: 0; margin-top: 1px; }
:is(.admin-body, .admin-auth-body) .alert--success { background: var(--a-green-soft); border-color: #CBEBD6; color: #14532D; }
:is(.admin-body, .admin-auth-body) .alert--error { background: var(--a-red-soft); border-color: #F6CACA; color: #7F1D1D; }
:is(.admin-body, .admin-auth-body) .alert--info { background: var(--a-blue-soft); border-color: #CFDDFB; color: #1E3A8A; }
:is(.admin-body, .admin-auth-body) .alert--warning { background: var(--a-amber-soft); border-color: #F8DDB3; color: #78350F; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--a-muted); display: grid; justify-items: center; gap: 10px; }
.empty-state-icon { color: var(--a-faint); }
.empty-state-title { font-size: 15px; font-weight: 600; color: var(--a-ink); }
.empty-state-message { font-size: 13px; }
.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--a-line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs button, .admin-tabs a {
  padding: 10px 14px; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--a-muted); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none;
}
.admin-tabs button:hover, .admin-tabs a:hover { color: var(--a-ink); }
.admin-tabs button.active, .admin-tabs a.active, .admin-tabs a.is-active { color: var(--a-ink); border-bottom-color: var(--a-accent); font-weight: 600; }
.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }
.admin-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--a-line-2); }
.admin-pagination__info { color: var(--a-muted); font-size: 12.5px; }
.admin-pagination__links { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-pagination__links a, .admin-pagination__links span {
  display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--a-line);
  background: var(--a-panel); font-size: 12.5px; color: var(--a-ink-2); text-decoration: none;
}
.admin-pagination__links a:hover { background: var(--a-hover); }
.admin-pagination__links .active { background: var(--a-ink); border-color: var(--a-ink); color: #fff; }

/* 13 --------------------------------------------------------------- Liste bileşenleri */
.toolbar, .tool-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 10px; }
.toolbar-right { margin-left: auto; }
.admin-filters { margin-bottom: 16px; }
.admin-filters-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-filters-row .input, .admin-filters-row .select { width: auto; flex: 1 1 180px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--a-soft); border: 1px solid var(--a-line-2); border-radius: 11px; flex-wrap: wrap; }
.seg a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--a-muted); text-decoration: none; }
.seg a:hover { color: var(--a-ink); }
.seg a.is-active { background: var(--a-panel); color: var(--a-ink); font-weight: 600; box-shadow: 0 0 0 1px var(--a-line), var(--a-shadow); }
.seg .adm-count { min-width: 18px; padding: 0 6px; line-height: 17px; }
.todo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.todo-list a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--a-ink-2); }
.todo-list a:hover { background: var(--a-soft); color: var(--a-ink); }
.todo-list__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--a-soft); color: var(--a-ink-2); flex-shrink: 0; }
.todo-list__text { flex: 1; min-width: 0; font-size: 13px; }
.todo-list__text small { display: block; color: var(--a-muted); font-size: 12px; }
.todo-list__count { font-size: 15px; font-weight: 700; color: var(--a-ink); font-variant-numeric: tabular-nums; }
.todo-list .is-zero { opacity: .55; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mini-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--a-line-2); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list__main { flex: 1; min-width: 0; }
.mini-list__main a { display: block; font-weight: 500; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-list__main small { color: var(--a-muted); font-size: 12px; }
.mini-list__value { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.notice-banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--a-radius-md); background: var(--a-amber-soft); color: #78350F; }
.image-preview { display: flex; gap: 10px; flex-wrap: wrap; }
.image-preview-item { position: relative; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 1px solid var(--a-line); }
.image-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
.search-group + .search-group { margin-top: 20px; }

/* İkon ve renk seçiciler (kategori formu, filament renkleri) */
.icon-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-picker__item { position: relative; cursor: pointer; }
.icon-picker__item input { position: absolute; opacity: 0; pointer-events: none; }
.icon-picker__item span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--a-line); border-radius: 10px; color: var(--a-ink-2); background: var(--a-panel); transition: border-color .15s, box-shadow .15s; }
.icon-picker__item:hover span { border-color: #D4D4D8; }
.icon-picker__item input:checked + span { border-color: var(--a-accent); box-shadow: 0 0 0 3px var(--a-accent-soft); color: var(--a-accent-ink); background: #FFFAF6; }
.icon-picker__item input:focus-visible + span { outline: 2px solid var(--a-accent); outline-offset: 2px; }
.color-dot { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); vertical-align: middle; flex-shrink: 0; }
.color-dot--lg { width: 40px; height: 40px; }
.color-input { display: flex; align-items: center; gap: 10px; }
.color-input input[type="color"] { width: 46px; height: 38px; padding: 2px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-panel); cursor: pointer; flex-shrink: 0; }
.color-input .input { flex: 1; font-family: ui-monospace, monospace; text-transform: uppercase; }

/* 14 --------------------------------------------------------------- Ürün formu */
.product-form__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.product-form__main, .product-form__side { display: grid; gap: 20px; min-width: 0; }
.product-form__side { position: sticky; top: 80px; }
.product-form .admin-card__title .help { font-weight: 500; font-size: 12.5px; }
.product-form__actions { display: grid; gap: 8px; }
.filament-pick { display: grid; gap: 8px; }
.filament-pick__row { display: grid; grid-template-columns: minmax(0, 1fr) 160px 110px; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-panel); }
.filament-pick__row.is-on { border-color: #F7C39F; background: #FFFAF6; }
.filament-pick__row.is-passive .filament-pick__name > span:not(.badge) { opacity: .6; }
.filament-pick__name { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; min-width: 0; }
.filament-pick__delta { display: flex; align-items: center; gap: 6px; }
.filament-pick__delta .help { white-space: nowrap; margin: 0; }
.filament-pick__default { display: flex; align-items: center; gap: 6px; font-size: 12.5px; cursor: pointer; }
.filament-pick__row:not(.is-on) .filament-pick__delta, .filament-pick__row:not(.is-on) .filament-pick__default { visibility: hidden; }
.option-rows { display: grid; gap: 8px; }
.option-rows__head, .option-rows__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.4fr) 100px 72px 36px; gap: 8px; align-items: center; }
.option-rows__head { font-size: 11.5px; font-weight: 600; color: var(--a-muted); }
.option-rows__default { display: flex; justify-content: center; }
.image-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.image-manage__item { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--a-line); border-radius: 12px; }
.image-manage__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--a-soft); }
.image-manage__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; }
.image-manage__meta label:first-child { display: flex; align-items: center; gap: 6px; margin: 0; }

/* 15 --------------------------------------------------------------- Giriş sayfası */
.admin-auth-body { margin: 0; min-height: 100vh; background: var(--a-bg); font-family: var(--a-font); color: var(--a-ink); font-size: 13.5px; }
.admin-auth-container { min-height: 100vh; display: grid; place-items: center; padding: 24px; box-sizing: border-box; }
.admin-auth-card { width: 100%; max-width: 400px; background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 20px; padding: 32px; box-shadow: var(--a-shadow-lg); box-sizing: border-box; }
.admin-auth-header { text-align: center; margin-bottom: 24px; }
.admin-auth-logo { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.admin-auth-logo__img { display: block; width: auto; height: 48px; margin: 0 auto; }
.admin-auth-logo .adm-brand { justify-content: center; }
.admin-auth-logo .adm-brand__mark { width: 36px; height: 36px; border-radius: 10px; }
.admin-auth-logo .adm-brand__name { font-size: 22px; }
.admin-auth-title { margin: 14px 0 4px; font-size: 18px; font-weight: 600; }
.admin-auth-subtitle { margin: 0; color: var(--a-muted); }
.admin-auth-footer { margin-top: 20px; text-align: center; color: var(--a-faint); font-size: 12px; }
.admin-auth-footer a { color: var(--a-muted); font-weight: 600; }
.admin-auth-body .label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: var(--a-ink-2); }
.admin-auth-body .input { width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--a-line); border-radius: 10px; font: inherit; box-sizing: border-box; }
.admin-auth-body .input:focus { outline: 0; border-color: var(--a-accent); box-shadow: 0 0 0 3px var(--a-accent-soft); }
.admin-auth-body .btn--primary { width: 100%; min-height: 40px; border-radius: 10px; background: var(--a-ink); border: 1px solid var(--a-ink); color: #fff; font-weight: 600; box-shadow: var(--a-glow); }
.admin-auth-body .btn--primary:hover { background: #000; }

/* 15b -------------------------------------------------------------- Siparişler (liste + detay) */
.source-tag:has(svg)::before { display: none; }
.source-tag svg { flex-shrink: 0; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--a-faint); flex-shrink: 0; }
.status-dot--green { background: var(--a-green); } .status-dot--red { background: var(--a-red); }
.status-dot--amber { background: #F59E0B; } .status-dot--blue { background: #3B82F6; }
.status-dot--purple { background: #8B5CF6; } .status-dot--gray { background: var(--a-faint); }
.order-tabs { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.order-tabs::-webkit-scrollbar { display: none; }
.order-tabs a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 10px; border: 1px solid var(--a-line);
  background: var(--a-panel); color: var(--a-ink-2); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.order-tabs a:hover { background: var(--a-hover); color: var(--a-ink); }
.order-tabs a.is-active { background: var(--a-ink); border-color: var(--a-ink); color: #fff; }
.order-tabs__n { font-size: 12px; font-weight: 600; color: var(--a-muted); font-variant-numeric: tabular-nums; }
.order-tabs a.is-active .order-tabs__n { color: rgba(255, 255, 255, .7); }
.date-field { display: inline-flex; align-items: center; gap: 6px; flex: 0 1 auto; }
.date-field span { font-size: 12px; color: var(--a-muted); white-space: nowrap; }
.admin-filters-row .date-field .input { flex: 0 1 150px; width: 150px; }
.bulk-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 12px; border-radius: var(--a-radius-md);
  background: var(--a-accent-soft); border: 1px solid #FBD5BC; font-size: 13px;
}
.bulk-bar[hidden] { display: none; }
.bulk-bar > span { margin-right: auto; color: var(--a-accent-ink); }
.order-table .col-check { width: 34px; padding-right: 0; }
.order-table input[type="checkbox"], .bulk-bar input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--a-accent); cursor: pointer; }
.order-table tbody tr:has(input[data-bulk-item]:checked) { background: #FFF8F2; }
.cell-clip { max-width: 220px; }
.cell-clip, .cell-clip .cell-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-sub--flush { font-size: 12.5px; }
.col-nowrap { white-space: nowrap; }
.cell-clip--sm { max-width: 170px; }
.pay-state { display: block; font-size: 12px; font-weight: 600; }
.pay-state--green { color: var(--a-green); } .pay-state--amber { color: var(--a-amber); }
.pay-state--red { color: var(--a-red); } .pay-state--gray { color: var(--a-muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: .01em; }
.icon-link { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--a-muted); vertical-align: middle; }
.icon-link:hover { background: var(--a-hover); color: var(--a-ink); }
.data-table .row-actions .btn { margin-left: 4px; }

.back-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--a-muted); text-decoration: none; margin-bottom: 6px; }
.back-link:hover { color: var(--a-ink); }
.order-head h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-head h1 .badge { font-size: 12px; }
.order-head p { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-main, .order-side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.order-main > .admin-card, .order-side > .admin-card { margin: 0; }
.next-step .notice-banner { margin-bottom: 12px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 220px; }
.status-form .check { margin-bottom: 14px; }
.status-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.status-actions .btn--danger { margin-left: auto; }
.status-actions .btn--danger ~ .btn--danger { margin-left: 0; }
.personal-note { color: var(--a-accent-ink); }
.totals { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; margin: 0; padding: 14px 20px 18px; border-top: 1px solid var(--a-line-2); font-size: 13px; }
.totals dt { color: var(--a-muted); text-align: right; }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; min-width: 96px; }
.totals .totals__grand { color: var(--a-ink); font-weight: 700; font-size: 15px; padding-top: 6px; }
.quote-note { margin: 0; padding: 10px 12px; border-left: 3px solid var(--a-accent); background: var(--a-soft); border-radius: 0 8px 8px 0; font-size: 13.5px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--a-line-2); }
.timeline__item { position: relative; display: flex; gap: 14px; padding: 0 0 16px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: relative; width: 16px; height: 16px; margin-top: 2px; border: 3px solid var(--a-panel); box-shadow: 0 0 0 1px var(--a-line); }
.timeline__dot--pay { display: grid; place-items: center; border-radius: 50%; background: var(--a-soft); color: var(--a-ink-2); border: 0; }
.timeline__body { min-width: 0; font-size: 13px; }
.timeline__body p { margin: 3px 0 0; color: var(--a-ink-2); }
.timeline__body small { display: block; margin-top: 3px; color: var(--a-muted); font-size: 12px; }
.side-name { margin: 0 0 8px; font-size: 15px; white-space: normal; }
.side-sub { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--a-line-2); display: flex; align-items: center; gap: 8px; }
.contact-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.contact-list li { display: flex; align-items: center; gap: 8px; color: var(--a-muted); min-width: 0; }
.contact-list a, .contact-list span { color: var(--a-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv--compact { grid-template-columns: 110px minmax(0, 1fr); gap: 6px 12px; margin-bottom: 14px; }
.kv--compact:last-child { margin-bottom: 0; }
.addr { display: grid; gap: 2px; font-style: normal; font-size: 13px; color: var(--a-ink-2); line-height: 1.5; }
.addr strong { color: var(--a-ink); }
.gift-flag { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 4px 10px; border-radius: 999px; background: var(--a-accent-soft); color: var(--a-accent-ink); font-size: 12px; font-weight: 600; }
.order-side .admin-form textarea { margin-bottom: 10px; }
.order-side .admin-form .check { display: flex; margin-bottom: 10px; }

/* 15c -------------------------------------------------------------- Sayfa düzenleyici (görsel metin editörü) */
.page-form__main, .page-form__side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.page-form__main > .admin-card, .page-form__side > .admin-card { margin: 0; }
.page-form__bar { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--a-line); }
.admin-body .input--lg { font-size: 17px; font-weight: 600; padding-top: 11px; padding-bottom: 11px; }
.input-prefix { display: flex; align-items: stretch; border: 1px solid var(--a-line); border-radius: var(--a-radius-sm); background: var(--a-panel); overflow: hidden; }
.input-prefix:focus-within { border-color: var(--a-accent); box-shadow: 0 0 0 3px var(--a-accent-soft); }
.input-prefix span { display: flex; align-items: center; padding: 0 4px 0 12px; color: var(--a-muted); font-size: 13px; white-space: nowrap; background: var(--a-soft); border-right: 1px solid var(--a-line-2); max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.admin-body .input-prefix .input { border: 0; border-radius: 0; box-shadow: none; min-width: 0; }
.admin-body .input-prefix .input[readonly] { background: var(--a-soft); color: var(--a-muted); cursor: not-allowed; }
.help .icon, .cell-sub .icon { display: inline-block; vertical-align: -1px; }
.help--warn { color: var(--a-amber); margin: -4px 0 12px; }
.counter { float: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.counter.is-over { color: var(--a-red); }
.ph-chip { display: inline-block; margin: 2px 4px 0 0; padding: 1px 7px; border-radius: 6px; background: rgba(255, 255, 255, .7); border: 1px solid #F8DDB3; font-size: 12px; }

.switch-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 4px 0 14px; cursor: pointer; }
.switch-row + .switch-row { padding-top: 14px; border-top: 1px solid var(--a-line-2); }
.switch-row strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--a-ink); }
.switch-row small { display: block; margin-top: 2px; font-size: 12px; color: var(--a-muted); line-height: 1.45; }
.admin-body input.switch { appearance: none; -webkit-appearance: none; flex-shrink: 0; position: relative; width: 38px; height: 22px; margin: 2px 0 0; border-radius: 999px; background: #D4D4D8; cursor: pointer; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.admin-body input.switch:checked { background: var(--a-accent); }
.switch:checked::after { transform: translateX(16px); }
.switch:focus-visible { outline: 2px solid var(--a-accent); outline-offset: 2px; }

.rte { position: relative; }
.rte__bar {
  position: sticky; top: 60px; z-index: 5; display: flex; align-items: center; gap: 2px; flex-wrap: wrap;
  padding: 8px 10px; background: var(--a-panel); border-bottom: 1px solid var(--a-line); border-radius: var(--a-radius) var(--a-radius) 0 0;
}
.rte__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 34px; height: 34px; padding: 0 8px; border: 0; border-radius: 8px;
  background: transparent; color: var(--a-ink-2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.rte__btn:hover { background: var(--a-hover); color: var(--a-ink); }
.rte__btn.is-on { background: var(--a-accent-soft); color: var(--a-accent-ink); }
.rte__btn:disabled, .rte__block:disabled { opacity: .35; cursor: not-allowed; }
.rte__btn--text { border: 1px solid var(--a-line); }
.admin-body .rte__block { width: auto; min-width: 128px; height: 34px; padding: 0 30px 0 10px; font-size: 13px; font-weight: 500; border-color: var(--a-line); }
.rte__sep { width: 1px; height: 20px; margin: 0 6px; background: var(--a-line); }
.rte__spacer { flex: 1; }
.rte__table-bar, .rte__link { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 12px; background: var(--a-soft); border-bottom: 1px solid var(--a-line-2); font-size: 12.5px; }
.rte__table-bar[hidden], .rte__link[hidden] { display: none; }
.rte__table-bar > span { display: inline-flex; align-items: center; gap: 5px; color: var(--a-muted); margin-right: 4px; }
.rte__table-bar button { padding: 5px 10px; border: 1px solid var(--a-line); border-radius: 7px; background: var(--a-panel); font: inherit; font-size: 12.5px; color: var(--a-ink-2); cursor: pointer; }
.rte__table-bar button:hover { background: var(--a-hover); }
.rte__table-bar .is-danger { color: var(--a-red); }
.admin-body .rte__link .input { flex: 1 1 260px; width: auto; }
.rte__link-error { flex-basis: 100%; margin: 0; }
.rte__area {
  min-height: 460px; padding: 28px 32px 40px; outline: none; font-family: var(--a-font); overflow-wrap: anywhere;
}
.rte__area:focus-visible { box-shadow: inset 0 0 0 2px var(--a-accent-soft); }
.rte__area h2, .rte__area h3, .rte__area h4 { font-family: var(--a-font); color: var(--a-ink); }
.rte__area p { margin: 0 0 1em; }
.rte__area a { color: var(--a-accent-ink); cursor: text; }
.rte__area hr { border: 0; border-top: 1px solid var(--a-line); margin: 1.6em 0; }
.rte__area table td, .rte__area table th { min-width: 60px; }
.rte__area table th { background: var(--a-soft); }
.rte__area { position: relative; }
.rte.is-empty .rte__area::before {
  content: attr(data-placeholder); position: absolute; top: 28px; left: 32px; right: 32px; pointer-events: none; color: var(--a-faint);
}
.rte__source {
  display: block; width: 100%; min-height: 460px; padding: 20px 24px; border: 0; outline: none; resize: vertical; background: #FBFBFC;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; color: var(--a-ink);
}
.rte__source[hidden] { display: none; }
.rte__foot { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 8px 12px 8px 16px; border-top: 1px solid var(--a-line-2); color: var(--a-muted); font-size: 12px; }
.rte__foot [data-rte-count] { font-variant-numeric: tabular-nums; font-weight: 600; }
.rte__hint { flex: 1; min-width: 0; }
.rte__foot .rte__btn--text { height: 30px; color: var(--a-muted); }
.rte.is-source .rte__foot .rte__btn--text { color: var(--a-accent-ink); }

.serp { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--a-line-2); border-radius: var(--a-radius-md); background: var(--a-soft); font-family: Arial, sans-serif; }
.serp__label { font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--a-faint); margin-bottom: 4px; }
.serp__url { font-size: 12px; color: #4D5156; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp__title { font-size: 17px; line-height: 1.3; color: #1A0DAB; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp__desc { font-size: 13px; line-height: 1.5; color: #4D5156; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 15d -------------------------------------------------------------- Müşteriler ve manuel sipariş */
.avatar-sm, .avatar-lg { display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: var(--a-accent-soft); color: var(--a-accent-ink); font-weight: 700; }
.avatar-sm { width: 34px; height: 34px; font-size: 13px; }
.avatar-lg { width: 52px; height: 52px; font-size: 20px; }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-bottom: 20px; overflow: hidden; border: 1px solid var(--a-line); border-radius: var(--a-radius); background: var(--a-line); }
.stat-strip > div, .stat-strip > a { display: grid; gap: 2px; align-content: start; padding: 14px 18px; background: var(--a-panel); color: inherit; text-decoration: none; }
.stat-strip > a:hover { background: var(--a-soft); }
.stat-strip span { font-size: 12px; color: var(--a-muted); }
.stat-strip strong { font-size: 20px; font-weight: 700; color: var(--a-ink); font-variant-numeric: tabular-nums; line-height: 1.3; }
.stat-strip small { font-size: 11.5px; color: var(--a-faint); }
.customer-head__row { display: flex; align-items: center; gap: 14px; }
.customer-head h1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.customer-head h1 .badge { font-size: 12px; }
.customer-main { min-width: 0; }
.customer-tabs { padding: 4px 12px 0; margin-bottom: 0; }
.customer-tabs .order-tabs__n { margin-left: 2px; }
.admin-tab-content { min-height: 120px; }
.tab-pad { padding: 8px 20px 18px; }
.tab-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px 18px; border-top: 1px solid var(--a-line-2); font-size: 13px; }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; padding-top: 18px; }
.address-card { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--a-line); border-radius: var(--a-radius-md); font-style: normal; font-size: 13px; color: var(--a-ink-2); }
.address-card strong { display: flex; align-items: center; gap: 6px; color: var(--a-ink); margin-bottom: 2px; }
.request-list { list-style: none; margin: 0; display: grid; }
.request-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--a-line-2); }
.request-list li:last-child { border-bottom: 0; }
.request-list__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--a-soft); color: var(--a-ink-2); flex-shrink: 0; }
.request-list__main { flex: 1; min-width: 0; font-size: 13px; }
.request-list__main p { margin: 3px 0; color: var(--a-ink-2); }
.request-list__main small { color: var(--a-muted); font-size: 12px; }

.choice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 16px; }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card > span { display: grid; gap: 3px; height: 100%; padding: 12px 14px; border: 1px solid var(--a-line); border-radius: var(--a-radius-md); background: var(--a-panel); color: var(--a-ink-2); transition: border-color .15s, box-shadow .15s; }
.choice-card > span .icon { color: var(--a-muted); }
.choice-card strong { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--a-ink); }
.choice-card small { font-size: 12px; color: var(--a-muted); line-height: 1.45; }
.choice-card:hover > span { border-color: #D4D4D8; }
.choice-card input:checked + span { border-color: var(--a-accent); box-shadow: 0 0 0 3px var(--a-accent-soft); background: #FFFCF9; }
.choice-card input:checked + span .icon { color: var(--a-accent-ink); }
.choice-card input:focus-visible + span { outline: 2px solid var(--a-accent); outline-offset: 2px; }
.choice-card--row > span { padding-left: 38px; }
.choice-card--row > span::before, .choice-card--address > span::before {
  content: ""; position: absolute; left: 14px; top: 14px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #C4C4CC; background: var(--a-panel);
}
.choice-card--row input:checked + span::before, .choice-card--address input:checked + span::before { border: 4.5px solid var(--a-accent); }
.choice-card--address > span { padding-left: 38px; }
.pay-options, .address-pick { display: grid; gap: 8px; }
.address-pick { border: 0; padding: 0; margin: 0 0 14px; }
.corp-fields, .new-address, .paid-via { padding-top: 4px; }
.narrow-field { max-width: 260px; }
.form-field--wide { grid-column: span 2; }
.help--ok { color: var(--a-green); }
.error-list { margin: 4px 0 0; padding-left: 18px; }
.gift-check { margin-top: 12px; }
.list-caption { margin: 0 0 6px; }
.corp-fields[hidden], .new-address[hidden], .paid-via[hidden] { display: none; }

.steps { display: flex; gap: 8px; list-style: none; margin: -6px 0 20px; padding: 0; flex-wrap: wrap; }
.steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--a-line); background: var(--a-panel); font-size: 12.5px; color: var(--a-muted); }
.steps li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--a-soft); font-size: 11.5px; font-weight: 700; color: var(--a-muted); }
.steps .is-current { color: var(--a-ink); border-color: var(--a-ink); }
.steps .is-current span { background: var(--a-ink); color: #fff; }
.steps .is-done span { background: var(--a-green-soft); color: var(--a-green); }
.pick-list { list-style: none; margin: 0; padding: 0; display: grid; }
.pick-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--a-line-2); }
.pick-list li:last-child { border-bottom: 0; }
.pick-list__main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.pick-list__main strong { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13.5px; }
.pick-list__main small { color: var(--a-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picked-customer { display: flex; align-items: center; gap: 12px; }
.picked-customer > div { flex: 1; min-width: 0; display: grid; gap: 1px; }
.picked-customer strong { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.picked-customer small { color: var(--a-muted); font-size: 12.5px; }

.product-search { position: relative; }
.product-search > .icon { position: absolute; left: 12px; top: 11px; color: var(--a-muted); pointer-events: none; }
.admin-body .product-search .input { padding-left: 36px; }
.product-search__results {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 340px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius-md); box-shadow: 0 12px 32px rgba(16, 24, 40, .12);
}
.product-search__results[hidden] { display: none; }
.product-search__results li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; cursor: pointer; }
.product-search__results li.is-active, .product-search__results li:hover { background: var(--a-soft); }
.product-search__results li.is-out { opacity: .6; }
.product-search__results img, .product-search__noimg { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: var(--a-soft); flex-shrink: 0; }
.product-search__main { flex: 1; min-width: 0; display: grid; }
.product-search__main strong { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-search__main small { font-size: 12px; color: var(--a-muted); }
.product-search__price { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-search__empty { cursor: default !important; color: var(--a-muted); font-size: 13px; }
.mo-lines { display: grid; margin-top: 12px; }
.mo-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) 76px 120px 34px; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--a-line-2); }
.mo-line:last-child { border-bottom: 0; }
.mo-line .admin-thumb { width: 44px; height: 44px; }
.mo-line__main { display: grid; gap: 2px; min-width: 0; }
.mo-line__main strong { font-size: 13.5px; }
.mo-line__main small { font-size: 12px; }
.mo-line__opts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.mo-opt { display: grid; gap: 4px; min-width: 150px; }
.admin-body .mo-opt .label, .admin-body .mo-line__pers .label { margin: 0; font-size: 11.5px; }
.mo-line__pers { display: grid; gap: 4px; margin-top: 8px; max-width: 340px; }
.mo-line__qty .input { text-align: center; }
.mo-line__price { display: grid; justify-items: end; gap: 2px; padding-top: 8px; font-variant-numeric: tabular-nums; }
.mo-line__price small { font-size: 11.5px; }
.mo-line [data-remove] { margin-top: 3px; }
.mo-line.has-error { background: linear-gradient(90deg, var(--a-red-soft), transparent 60%); }
.mo-empty { padding: 26px 20px; }
.mo-empty[hidden] { display: none; }
.mo-side { position: sticky; top: 80px; }
.mo-summary .totals { padding: 0; border: 0; margin-bottom: 8px; }
.totals--side dt { text-align: left; align-self: center; }
.totals--side dd { min-width: 0; }
.discount-input { width: 110px !important; text-align: right; }
.mo-summary .check { display: flex; margin: 12px 0; }
#manual-order.is-quoting [data-t] { opacity: .5; transition: opacity .15s; }

/* 15e -------------------------------------------------------------- Ayarlar */
.settings-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.settings-nav { position: sticky; top: 84px; display: grid; gap: 2px; padding: 6px; border: 1px solid var(--a-line); border-radius: var(--a-radius); background: var(--a-panel); }
.settings-nav__item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 10px; border-radius: var(--a-radius-sm); color: var(--a-ink-2); text-decoration: none; }
.settings-nav__item:hover { background: var(--a-hover); color: var(--a-ink); }
.settings-nav__item.is-active { background: var(--a-accent-soft); color: var(--a-ink); }
.settings-nav__icon { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--a-soft); color: var(--a-muted); }
.settings-nav__item.is-active .settings-nav__icon { background: var(--a-panel); color: var(--a-accent-ink); }
.settings-nav__item strong { display: block; font-size: 13.5px; font-weight: 600; }
.settings-nav__item small { display: block; margin-top: 1px; font-size: 12px; line-height: 1.4; color: var(--a-muted); }
.settings-main { display: grid; gap: 20px; min-width: 0; }
.settings-form { display: grid; gap: 20px; }
.settings-main .admin-card, .settings-form .admin-card { margin: 0; }
.settings-main > .alert, .settings-form > .alert { margin: 0; }
.settings-intro { margin: -6px 0 14px; }
.settings-form > .settings-intro { margin: 0; }
.settings-row--host { grid-template-columns: minmax(0, 2fr) minmax(90px, .7fr) minmax(0, 1.2fr); }
.settings-bar { position: sticky; bottom: 12px; z-index: 5; align-items: center; margin: 0; padding: 10px 12px 10px 16px; background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius-md); box-shadow: 0 8px 24px rgba(24, 24, 27, .08); }
.settings-bar__hint { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; font-size: 12.5px; color: var(--a-amber); }
.settings-bar__hint[hidden] { display: none; }
.admin-body .btn--icon { width: 36px; min-width: 36px; padding: 0; justify-content: center; }
.secret-field, .copy-field { display: flex; gap: 8px; align-items: center; }
.secret-field .input, .copy-field .input { flex: 1; min-width: 0; }
.copy-field .btn { flex-shrink: 0; }
.copy-field .input[readonly] { background: var(--a-soft); color: var(--a-ink-2); }
.admin-body .badge.secret-badge { margin-left: 6px; padding: 1px 7px; font-size: 11px; vertical-align: 1px; }
.secret-badge .icon { vertical-align: -1px; }
.admin-body .check.secret-forget { margin-top: 8px; font-size: 12.5px; color: var(--a-muted); }
.pay-card > .switch-row:first-child { padding-bottom: 12px; }
.pay-card > .switch-row:first-child strong { font-size: 15px; }
.pay-card:not(.is-on) > :not(.switch-row:first-child):not(template) { opacity: .55; }
.pay-card:not(.is-on) > .switch-row:first-child ~ .switch-row { opacity: .55; }
.pay-card > .switch-row:first-child + * { margin-top: 4px; }
.pay-card > .field-error { margin: -4px 0 12px; }
.pay-live { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pay-live__label { font-size: 12.5px; font-weight: 600; color: var(--a-muted); margin-right: 2px; }
.pay-live .badge .icon { vertical-align: -1px; }
.pay-card > .help--warn { margin: -4px 0 12px; }
.bank-rows { display: grid; gap: 8px; margin-bottom: 12px; }
.admin-body .bank-rows__error { margin: -4px 0 10px; }
.bank-rows__head, .bank-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.7fr) 36px; gap: 8px; align-items: center; }
.bank-rows__head span { font-size: 12px; font-weight: 600; color: var(--a-muted); }
.admin-body .bank-row .input[aria-invalid="true"], .admin-body .input[aria-invalid="true"] { border-color: var(--a-red); }

/* 16 --------------------------------------------------------------- Duyarlı */
@media (max-width: 1280px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid--main-side { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .product-form__grid { grid-template-columns: 1fr; }
  .product-form__side { position: static; }
}
@media (max-width: 1100px) {
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; padding: 4px; }
  .settings-nav::-webkit-scrollbar { display: none; }
  .settings-nav__item { flex-shrink: 0; align-items: center; padding: 8px 12px 8px 8px; }
  .settings-nav__item small { display: none; }
  .settings-nav__icon { width: 26px; height: 26px; }
}
@media (max-width: 1024px) {
  .adm-shell { grid-template-columns: 1fr; }
  .adm-side { position: fixed; left: 0; top: 0; bottom: 0; width: min(var(--a-side-w), 86vw); transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--a-shadow-lg); }
  .adm-side.open { transform: none; }
  .adm-icon-btn.adm-side__close, .adm-icon-btn.adm-top__menu { display: inline-grid; }
  .adm-top { padding: 0 16px; }
  .adm-content { padding: 20px 16px 32px; }
  .adm-foot { padding: 14px 16px; }
  .admin-grid--2, .admin-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .bank-rows__head { display: none; }
  .bank-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; padding-bottom: 10px; border-bottom: 1px dashed var(--a-line); }
  .bank-row [data-iban] { grid-column: 1 / 3; grid-row: 2; }
  .bank-row [data-bank-remove] { grid-column: 3; grid-row: 1 / 3; }
  .settings-row--host { grid-template-columns: 1fr; }
  .adm-search { display: none; }
  .adm-top__actions { margin-left: auto; }
  .admin-body .adm-top__store { display: none; }
  .admin-grid--4 { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi__body { padding: 12px; }
  .kpi__head { font-size: 12px; gap: 8px; }
  .kpi__value { font-size: 20px; margin-top: 8px; }
  .kpi__foot { flex-wrap: wrap; padding: 8px 8px 4px; font-size: 11.5px; }
  .kpi__foot a { margin-left: 0; }
  .admin-page-head h1 { font-size: 19px; }
  .form-row.two { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .kv--compact { grid-template-columns: 110px minmax(0, 1fr); gap: 6px 12px; }
  .kv--compact dd { margin-bottom: 0; }
  .date-field { flex: 1 1 140px; }
  .admin-filters-row .date-field .input { width: 100%; flex: 1 1 auto; }
  .status-actions .btn { flex: 1 1 auto; }
  .status-actions .btn--danger { margin-left: 0; }
  .rte__bar { top: 60px; padding: 6px; }
  .rte__sep { display: none; }
  .rte__area { padding: 20px 18px 28px; min-height: 360px; }
  .rte.is-empty .rte__area::before { top: 20px; left: 18px; right: 18px; }
  .rte__hint { display: none; }
  .page-form__bar { position: sticky; bottom: 0; z-index: 6; margin: 20px -16px 0; padding: 12px 16px; background: var(--a-panel); }
  .page-form__bar .btn { flex: 1; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip strong { font-size: 17px; }
  .customer-head__row { align-items: flex-start; }
  .avatar-lg { width: 42px; height: 42px; font-size: 17px; }
  .mo-line { grid-template-columns: 44px minmax(0, 1fr) 34px; }
  .mo-line__qty { grid-column: 2; grid-row: 2; max-width: 90px; }
  .mo-line__price { grid-column: 2; grid-row: 2; justify-self: end; padding-top: 6px; }
  .mo-line [data-remove] { grid-column: 3; grid-row: 1; }
  .mo-side { position: static; }
  .form-field--wide { grid-column: auto; }
  .picked-customer { flex-wrap: wrap; }
  .filament-pick__row { grid-template-columns: 1fr 1fr; }
  .filament-pick__name { grid-column: 1 / -1; }
  .option-rows__head { display: none; }
  .option-rows__row { grid-template-columns: 1fr 1fr; padding: 10px; border: 1px solid var(--a-line); border-radius: 10px; }
  .bar-chart { grid-template-columns: 56px minmax(0, 1fr); }
  .bar-chart__x span:nth-child(3n+2), .bar-chart__x span:nth-child(3n) { visibility: hidden; }
  .bar-chart__x span:nth-child(3n+1) { visibility: visible; }
}
body.is-locked { overflow: hidden; }
