﻿/* ==========================================================
   Ekranlar: siparişler, ayarlar, yönetim
   ========================================================== */

/* ---------- Özet kartları ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.stat {
  position: relative; overflow: hidden; padding: var(--s-5) var(--s-5) var(--s-5);
  border-radius: var(--r-lg); background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: border-color var(--dur-2) ease;
}
.stat:hover { border-color: var(--accent); }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tone, var(--accent)); }

.stat__top { display: flex; align-items: center; justify-content: space-between; color: var(--ink-3); font-size: 0.86rem; font-weight: 650; }
.stat__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--tone, var(--accent)); background: color-mix(in srgb, var(--tone, var(--accent)) 14%, transparent); }
.stat__value { margin-top: var(--s-3); font-family: var(--font-display-num); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__sub { margin-top: 4px; font-size: 0.8rem; color: var(--ink-3); }
.stat--amber { --tone: #c47d12; }
.stat--sage { --tone: #4f7f3f; }
.stat--rose { --tone: #a8453f; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stat--amber { --tone: #e5a23f; }
  :root:not([data-theme="light"]) .stat--sage { --tone: #8cc279; }
  :root:not([data-theme="light"]) .stat--rose { --tone: #ec8a82; }
}
:root[data-theme="dark"] .stat--amber { --tone: #e5a23f; }
:root[data-theme="dark"] .stat--sage { --tone: #8cc279; }
:root[data-theme="dark"] .stat--rose { --tone: #ec8a82; }
@media (max-width: 1024px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats { gap: var(--s-3); } .stat { padding: var(--s-4); } }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stats--3 { grid-template-columns: minmax(0, 1fr); } .stats--3 .stat { padding: var(--s-4) var(--s-5); } }

/* ---------- Araç çubuğu ---------- */
.toolbar, .toolbar.glass { display: grid; gap: var(--s-3); padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.toolbar__row { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.toolbar__row--grow > .search { flex: 1 1 260px; }
.search { position: relative; min-width: 0; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search .input { padding-left: 42px; padding-right: 42px; border-radius: var(--r-pill); }
.search__clear { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-3); border-radius: 50%; }
.search__clear:hover { background: var(--accent-soft); color: var(--ink); }
.scroll-row { display: flex; gap: var(--s-2); overflow-x: auto; padding: 4px 2px 8px; margin: -4px -2px -8px; scroll-snap-type: x proximity; }
.scroll-row > * { scroll-snap-align: start; flex: none; }
.demo-pill { margin-left: auto; display: inline-flex; align-items: center; gap: var(--s-2); padding: 0 var(--s-4) 0 var(--s-2); border-radius: var(--r-pill); background: var(--surface-solid); border: 1px solid var(--line); }
.select--compact { width: auto; min-width: 140px; border-radius: var(--r-pill); font-weight: 600; }
.meta-line { display: flex; gap: var(--s-2); align-items: center; color: var(--ink-3); font-size: 0.82rem; }
.alerts { display: grid; gap: var(--s-3); }

/* ---------- Sipariş tablosu ---------- */
.table-card { border-radius: var(--r-lg); overflow: hidden; background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.table-scroll { overflow-x: auto; }
.otable { min-width: 860px; }
.otable thead th {
  position: sticky; top: 0; text-align: left; padding: 14px 16px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3); background: var(--surface-2); border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
.otable th.r, .otable td.r { text-align: right; }
.otable tbody tr { cursor: pointer; transition: background-color var(--dur-1) ease; animation: rowIn 0.5s var(--ease-out) both; animation-delay: calc(min(var(--i, 0), 16) * 32ms); }
.otable.no-anim tbody tr { animation: none; }
.otable tbody tr:hover { background: var(--surface-2); }
.otable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.otable tbody tr:last-child td { border-bottom: 0; }
.otable tr.is-flash td { animation: flash 2.2s ease-out both; }
.otable .c-no { font-weight: 650; }
.otable .c-no .linklike { all: unset; cursor: pointer; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); border-radius: 4px; }
.otable .c-no .linklike:hover { color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.otable .c-no .linklike:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.cell-sub { display: block; font-size: 0.8rem; color: var(--ink-3); font-weight: 450; margin-top: 1px; }
.c-prod { max-width: 280px; }
.c-prod span.t { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-total { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-date { white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.table-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-5); background: var(--surface-2); border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-3); flex-wrap: wrap; }
.skel-row { display: flex; align-items: center; gap: var(--s-4); padding: 18px 16px; border-bottom: 1px solid var(--line); }

@media (max-width: 760px) {
  .table-scroll { overflow: visible; }
  .otable { min-width: 0; }
  .otable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .otable, .otable tbody { display: block; }
  .otable tbody { display: grid; gap: var(--s-3); padding: var(--s-3); background: var(--surface-2); }
  .otable tbody tr {
    display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "chk plat no status" "cust cust cust total" "prod prod prod prod" "date date date date";
    gap: 6px var(--s-3); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-solid); box-shadow: var(--shadow-1);
  }
  .otable td { padding: 0; border: 0; min-width: 0; }
  .otable td.c-chk { grid-area: chk; align-self: center; width: auto; }
  .otable td.c-plat { grid-area: plat; }
  .otable td.c-no { grid-area: no; align-self: center; }
  .otable td.c-status { grid-area: status; align-self: center; }
  .otable td.c-cust { grid-area: cust; margin-top: 4px; }
  .otable td.c-total { grid-area: total; text-align: right; align-self: end; font-size: 1.05rem; }
  .otable td.c-prod { grid-area: prod; max-width: none; color: var(--ink-2); }
  .otable td.c-date { grid-area: date; font-size: 0.8rem; color: var(--ink-3); }
  .otable tr.is-flash { animation: flash 2.2s ease-out both; }
  .otable tr.is-flash td { animation: none; }
}

/* ---------- Sipariş çekmecesi ---------- */
.od-head { display: flex; gap: var(--s-4); align-items: center; }
.od-head__text { min-width: 0; flex: 1; }
.od-head h3 { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.od-total { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.od-section { display: grid; gap: var(--s-3); }
.od-section > h4 { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.od-section > h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lines { display: grid; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.line { display: flex; justify-content: space-between; gap: var(--s-4); padding: 12px 16px; background: var(--surface-solid); }
.line + .line { border-top: 1px solid var(--line); }
.line__name { font-weight: 600; overflow-wrap: anywhere; }
.line__meta { font-size: 0.8rem; color: var(--ink-3); }
.line__sum { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.line--total { background: var(--surface-2); font-weight: 700; }
.copy-row { display: flex; align-items: center; gap: var(--s-2); }
.copy-row code { padding: 4px 10px; border-radius: var(--r-xs); background: var(--surface-2); border: 1px solid var(--line); overflow-wrap: anywhere; }
.action-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--s-3); }
.action-grid .btn { justify-content: flex-start; white-space: normal; text-align: left; padding-top: 8px; padding-bottom: 8px; }
.action-form { display: grid; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); animation: rise 0.4s var(--ease-out) both; }
.action-form__head { display: flex; align-items: center; gap: var(--s-2); }
.action-form__head h5 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.action-form__btns { display: flex; gap: var(--s-3); justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Pazaryeri kartları ---------- */
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--s-4); }
.mcard {
  position: relative; overflow: hidden; display: grid; justify-items: center; gap: var(--s-3);
  padding: var(--s-6) var(--s-4) var(--s-5); text-align: center; min-height: 210px;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-solid); box-shadow: var(--shadow-1);
  color: var(--ink);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) ease, border-color var(--dur-2) ease;
}
.mcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, var(--accent-soft), transparent 60%); opacity: 0; transition: opacity var(--dur-2) ease; pointer-events: none; }
.mcard:hover { border-color: var(--accent); }
.mcard:hover::before { opacity: 1; }

.mcard:active { transform: scale(0.985); }
.mcard.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.mcard__name { font-size: 1.05rem; font-weight: 800; }
.mcard__state { display: flex; align-items: center; gap: var(--s-2); font-size: 0.82rem; color: var(--ink-3); min-height: 24px; }
.mcard .sel-mark {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-on-accent); background: var(--accent);
  transform: scale(0); transition: transform var(--dur-2) var(--ease-spring);
}
.mcard .sel-mark svg { width: 16px; height: 16px; }
.mcard.is-selected .sel-mark { transform: scale(1); }
.mcard.is-selected .sel-mark .check path { animation: draw 0.55s 0.12s var(--ease-out) forwards; }
.mcard__cta { color: var(--accent-text); font-weight: 650; font-size: 0.84rem; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Mağaza listesi ---------- */
.store-list { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface-solid); box-shadow: var(--shadow-1); }
.store-row { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); animation: rowIn 0.5s var(--ease-out) both; animation-delay: calc(min(var(--i, 0), 10) * 45ms); }
.store-row + .store-row { border-top: 1px solid var(--line); }
.store-row__main { flex: 1; min-width: 0; }
.store-row__name { font-weight: 650; overflow-wrap: anywhere; }
.store-row__meta { font-size: 0.82rem; color: var(--ink-3); }
.store-row__result { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; margin-top: 4px; }
.store-row__result.ok { color: var(--ok-fg); }
.store-row__result.err { color: var(--err-fg); }
.store-row__btns { display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .store-row { flex-wrap: wrap; } .store-row__btns { width: 100%; justify-content: flex-start; } }

/* ---------- Yönetim ---------- */
.user-cell { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
.user-cell strong { display: block; white-space: nowrap; }
.utable { min-width: 940px; }
.utable thead th { text-align: left; padding: 14px 16px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); background: var(--surface-2); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.utable tbody tr { animation: rowIn 0.5s var(--ease-out) both; animation-delay: calc(min(var(--i, 0), 14) * 32ms); transition: background-color var(--dur-1) ease; }
.utable tbody tr:hover { background: var(--surface-2); }
.utable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.utable tbody tr:last-child td { border-bottom: 0; }
.utable tr.is-flash td { animation: flash 2.2s ease-out both; }
.utable tr.is-disabled .user-cell { opacity: 0.6; }
.u-note { max-width: 220px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-actions { display: flex; gap: 2px; align-items: center; justify-content: flex-end; flex-wrap: nowrap; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-weight: 600; min-height: 40px; border-radius: var(--r-pill); padding: 0 var(--s-3) 0 var(--s-2); margin-left: calc(var(--s-2) * -1); transition: background-color var(--dur-1) ease; }
.back-link:hover { background: var(--surface-2); color: var(--ink); }
.cred-box { display: grid; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); background: var(--surface-2); border: 1px dashed var(--line-strong); }
.cred-row { display: flex; align-items: center; gap: var(--s-3); }
.cred-row__k { width: 92px; flex: none; font-size: 0.8rem; color: var(--ink-3); font-weight: 650; }
.cred-row code { flex: 1; min-width: 0; padding: 8px 12px; border-radius: var(--r-xs); background: var(--surface-solid); border: 1px solid var(--line); overflow-wrap: anywhere; font-size: 0.98rem; }

@media (max-width: 760px) {
  .utable { min-width: 0; }
  .utable, .utable tbody { display: block; }
  .utable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .utable tbody { display: grid; gap: var(--s-3); padding: var(--s-3); background: var(--surface-2); }
  .utable tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 8px var(--s-3); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-solid); box-shadow: var(--shadow-1); }
  .utable td { padding: 0; border: 0; min-width: 0; }
  .utable td.u-user { grid-column: 1 / -1; }
  .utable td.u-act { grid-column: 1 / -1; }
  .utable td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-3); font-size: 0.78rem; font-weight: 650; }
  .u-note { max-width: none; white-space: normal; }
  .u-actions { justify-content: flex-start; }
  .utable tr.is-flash { animation: flash 2.2s ease-out both; }
  .utable tr.is-flash td { animation: none; }
}

/* ==========================================================
   Sürüm 0.3: seçim, eylem çubuğu, yeni sipariş, raporlar, genel ayarlar, yardım adımları
   ========================================================== */

/* Kimlik metinleri: gövde yazı tipi, düz (lining) rakamlar — "O" ile "0" karışmasın */
.ident { font-family: var(--font-body); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.ov-title .ident { font-weight: 650; font-size: 0.9em; }
.od-head__side { display: grid; justify-items: end; gap: var(--s-2); }

/* Onay kutusu (klavye erişilebilir, 44px dokunma alanı) */
.chk {
  appearance: none; -webkit-appearance: none; position: relative; flex: none;
  width: 22px; height: 22px; margin: 0; border-radius: 7px; cursor: pointer;
  border: 2px solid var(--ink-3); background: var(--surface-solid);
  display: inline-grid; place-content: center;
  transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out);
}
.chk::before { content: ""; position: absolute; inset: -12px; }
.chk::after {
  content: ""; width: 11px; height: 6px; border: solid var(--ink-on-accent); border-width: 0 0 2.5px 2.5px; border-radius: 1px;
  transform: rotate(-45deg) scale(0); transition: transform var(--dur-2) var(--ease-spring); margin-top: -2px;
}
.chk:hover { border-color: var(--accent); }
.chk:checked, .chk:indeterminate { background: var(--accent); border-color: var(--accent); }
.chk:checked::after { transform: rotate(-45deg) scale(1); }
.chk:indeterminate::after { width: 10px; height: 0; border-width: 0 0 2.5px 0; transform: none; margin-top: 0; }
.chk:active { transform: scale(0.9); }
.chk:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 7px; }
.otable th.c-chk, .otable td.c-chk { width: 52px; padding-right: 0; }
.otable tbody tr.is-selected { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.otable tbody tr.is-selected:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.sel-head { display: none; align-items: center; gap: var(--s-3); padding: 12px var(--s-4); border-bottom: 1px solid var(--line); background: var(--surface-2); font-weight: 600; font-size: 0.9rem; cursor: pointer; min-height: var(--touch); }

/* Eylem çubuğu (seçim varken yapışkan) */
.selbar-host { position: sticky; top: calc(var(--topbar-h) + 8px); z-index: 55; }
.selbar-host:empty { display: none; }
.selbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); flex-wrap: wrap; padding: var(--s-3) var(--s-4); border-radius: var(--r-lg); box-shadow: var(--shadow-3); animation: rise 0.25s var(--ease-out) both; border-color: var(--accent); background: var(--surface-solid); }
.selbar.no-anim { animation: none; }
.selbar__count { font-size: 0.95rem; }
.selbar__btns { display: flex; gap: var(--s-2); flex-wrap: wrap; }

/* Yeni gelen sipariş */
.c-no__row { display: flex; align-items: center; gap: 8px; }
.new-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--info-fg); box-shadow: 0 0 0 3px var(--accent-soft); animation: breathe 1.6s ease-in-out infinite; }
.otable tbody tr.is-new { background: var(--info-bg); }

/* Ayarlar: Genel */
.setting-list { display: grid; padding-top: var(--s-2); padding-bottom: var(--s-2); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); padding: var(--s-4) 0; flex-wrap: wrap; }
.setting-row + .setting-row { border-top: 1px solid var(--line); }
.setting-row__text { min-width: 0; flex: 1 1 260px; }
.setting-row__text p { font-size: 0.88rem; margin-top: 2px; }
.setting-row__inline { display: flex; align-items: center; gap: var(--s-3); }

/* Mağaza çekmecesi: yardım adımları */
ol.steps { display: grid; gap: 12px; padding: 4px var(--s-4) var(--s-4); counter-reset: step; }
ol.steps li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--ink-2); font-size: 0.9rem; counter-increment: step; }
ol.steps li::before { content: counter(step); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 0.8rem; font-variant-numeric: lining-nums; }
.banner--ok { background: var(--ok-bg); color: var(--ok-fg); border-color: color-mix(in srgb, var(--ok-fg) 22%, transparent); }

/* Yönetim: entegratör kartı */
.integ__head { display: flex; gap: var(--s-3); align-items: flex-start; margin-bottom: var(--s-4); }
.integ__head .section-sub { max-width: 70ch; }
.integ__form { display: flex; gap: var(--s-3); align-items: flex-end; flex-wrap: wrap; }
.integ__field { flex: 1 1 280px; max-width: 460px; }

/* ---------- Raporlar ---------- */
.rep { display: grid; gap: var(--s-6); }
.rep-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
.rep-grid > * { grid-column: span 12; animation: rise 0.6s var(--ease-out) both; }
.rep-grid > :nth-child(1) { animation-delay: 80ms; } .rep-grid > :nth-child(2) { animation-delay: 160ms; }
.rep-grid > :nth-child(3) { animation-delay: 240ms; } .rep-grid > :nth-child(4) { animation-delay: 320ms; }
@media (min-width: 960px) { .rep-card--platform { grid-column: span 7; } .rep-card--status { grid-column: span 5; } }
.rep-card { display: grid; gap: var(--s-4); align-content: start; min-width: 0; }
.rep-card__head { display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; align-items: flex-start; }
.rep-card__ctl { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.segmented--sm button { min-height: 34px; padding: 0 12px; font-size: 0.82rem; }
.chart-wrap, .donut-box { position: relative; min-width: 0; }
.chart { display: block; max-width: none; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { stroke: var(--line-strong); stroke-width: 1; }
.chart .tick { fill: var(--ink-3); font-size: 11px; font-variant-numeric: lining-nums tabular-nums; font-family: var(--font-body); }
.chart .bar { fill: var(--btn-from); transform-box: fill-box; transform-origin: 50% 100%; animation: grow 0.8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 28ms); transition: fill var(--dur-1) ease, opacity var(--dur-1) ease; }
.chart .bar--zero { fill: var(--ink-3); opacity: 0.45; }
.chart .bar.is-on { fill: var(--accent-hover); }
.chart-wrap.no-anim .bar { animation: none; }
.hit { cursor: crosshair; }
.tip { position: absolute; z-index: 6; pointer-events: none; padding: 8px 12px; border-radius: var(--r-sm); background: var(--surface-solid); border: 1px solid var(--line-strong); box-shadow: var(--shadow-3); font-size: 0.84rem; line-height: 1.4; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.tip strong { display: block; font-weight: 650; }
.donut-wrap { display: grid; grid-template-columns: auto 1fr; gap: var(--s-6); align-items: center; }
@media (max-width: 560px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; } .donut-wrap .legend { width: 100%; } }
.donut { overflow: visible; max-width: none; }
.donut__track { stroke: var(--surface-3); }
.donut .seg { animation: segIn 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 140ms); transition: opacity var(--dur-1) ease; }
.donut .seg.is-dim { opacity: 0.3; }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; padding: 0 34px; }
.donut__center strong { font-family: var(--font-display-num); font-size: 1.12rem; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; line-height: 1.15; }
.donut__center span { font-size: 0.78rem; color: var(--ink-3); }
.legend { display: grid; gap: 4px; min-width: 0; }
.legend__row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: var(--s-3); padding: 6px 8px; border-radius: var(--r-sm); font-size: 0.9rem; transition: background-color var(--dur-1) ease; }
.legend__row:hover, .legend__row:focus-visible { background: var(--accent-soft); }
.legend__name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend__val { color: var(--ink-2); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.legend__pct { min-width: 3.2ch; text-align: right; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.stackbar { display: flex; gap: 2px; height: 18px; border-radius: var(--r-pill); overflow: hidden; background: var(--surface-3); }
.stackbar__seg { background: var(--c); min-width: 6px; transform-origin: left; animation: barX 0.9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
.status-list { display: grid; gap: 2px; }
.status-list li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: var(--s-3); padding: 7px 4px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.status-list li:first-child { border-top: 0; }
.dot { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.status-list__n { font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.status-list__pct { color: var(--ink-3); min-width: 3.4ch; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.top { display: grid; }
.top li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; padding: 12px 0; border-top: 1px solid var(--line); animation: rise 0.55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + 300ms); }
.top li:first-child { border-top: 0; }
.top__rank { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 0.85rem; }
.top__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top__bar { height: 6px; border-radius: 6px; background: var(--surface-3); margin-top: 6px; overflow: hidden; }
.top__bar span { display: block; height: 100%; border-radius: 6px; background: var(--accent); transform-origin: left; animation: barX 0.9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + 450ms); }
.top__nums { display: grid; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.top__nums span { color: var(--ink-3); font-size: 0.82rem; }
.dtable { min-width: 360px; }
.dtable th { text-align: left; padding: 10px 12px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); border-bottom: 1px solid var(--line-strong); }
.dtable td { padding: 9px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: lining-nums tabular-nums; }
.dtable .r { text-align: right; }
.rep.no-anim .rep-grid > *, .rep.no-anim .seg, .rep.no-anim .stackbar__seg, .rep.no-anim .top li, .rep.no-anim .top__bar span { animation: none; }

@media (max-width: 860px) {
  .selbar-host { top: 8px; }
  .sel-head { display: flex; }
  .otable .c-chk { width: auto; }
}
@media (max-width: 560px) {
  .selbar { padding: var(--s-3); }
  .selbar__btns { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .selbar__btns .btn { padding: 0 10px; white-space: normal; text-align: left; justify-content: flex-start; font-size: 0.82rem; }
}
/* ==========================================================
   Sürüm 0.4: Sipariş Takibi — canlı şerit, mağaza çipleri, kartlar, günlük, canlı işlemler anahtarı
   ========================================================== */
.grow { flex: 1; }

/* CANLI / DEMO rozeti */
.live { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; margin-left: 12px; padding: 5px 10px; border-radius: var(--r-pill); font-family: var(--font-body); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.5px; line-height: 1.3; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.live--on { background: var(--ok-bg); color: var(--ok-fg); }
.live--on i { animation: livePulse 1.6s ease-in-out infinite; }
.live--demo { background: var(--warn-bg); color: var(--warn-fg); }
.live--err { background: var(--err-bg); color: var(--err-fg); }
.live--err i { animation: none; }
.live--off { background: var(--st-other-bg); color: var(--st-other-fg); letter-spacing: 0.02em; font-weight: 700; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.page-head--live h1 { display: flex; align-items: center; flex-wrap: wrap; }

/* Mağaza şeridi (referans: küçük logo + ad + TEST + son kontrol, tek satır) */
.schips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scroll-snap-type: x proximity; scrollbar-width: none; }
.schips::-webkit-scrollbar { display: none; }
.schip { position: relative; flex: none; display: flex; align-items: stretch; scroll-snap-align: start; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); transition: border-color var(--dur-2) ease, background-color var(--dur-2) ease; }
.schip:hover { border-color: var(--accent); }
.schip.is-on { border-color: var(--accent); background: var(--accent-soft); }
.schip.is-err { border-color: color-mix(in srgb, var(--err-fg) 40%, var(--line)); background: var(--err-bg); }
.schip__main { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 11px; background: transparent; border: 0; border-radius: 10px; color: var(--ink); text-align: left; }
.schip__dot { display: none; }
.schip .pbadge { --pb: 22px; border-radius: 5px; box-shadow: none; }
.schip__txt { display: flex; align-items: center; gap: 8px; line-height: 1.25; }
.schip__name { font-weight: 600; font-size: 0.82rem; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.schip__sub { font-size: 0.74rem; color: var(--ink-3); white-space: nowrap; }
.schip__sub--err { color: var(--err-fg); font-weight: 700; }
.schip__warn { flex: none; width: 40px; display: grid; place-items: center; border: 0; border-left: 1px solid var(--line); border-radius: 0 10px 10px 0; background: transparent; color: var(--err-fg); }
.schip__warn:hover { background: color-mix(in srgb, var(--err-fg) 14%, transparent); }
.schip.is-err .schip__main { border-radius: 10px 0 0 10px; }
@media (min-width: 861px) { .schips { flex-wrap: wrap; overflow: visible; } }

/* Etiketler */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.03em; line-height: 1.5; white-space: nowrap; font-family: var(--font-body); }
.tag--new { background: var(--info-fg); color: var(--bg); border-radius: var(--r-pill); padding: 3px 9px; font-size: 0.7rem; letter-spacing: 0.04em; animation: tagBlink 1.4s 4; }
.tag--test { background: var(--warn-bg); color: var(--warn-fg); letter-spacing: 0.06em; border-radius: var(--r-pill); }
.tag--stale { background: var(--st-other-bg); color: var(--st-other-fg); font-weight: 650; }
.tag--ours { background: var(--ok-bg); color: var(--ok-fg); }
.tag--old { background: var(--st-other-bg); color: var(--st-other-fg); }
.tag--src { background: var(--warn-bg); color: var(--warn-fg); font-weight: 700; }
@keyframes tagBlink { 50% { opacity: 0.35; } }

/* Filtre çipleri + tarih/pazaryeri satırı */
.chip--lg { min-height: 44px; padding: 0 15px; font-size: 0.92rem; }
.fchips { padding-top: 0; }
.toolbar__row--split { display: flex; gap: var(--s-3) var(--s-6); align-items: center; flex-wrap: wrap; }
.range-wrap { display: flex; flex-direction: column; gap: 4px; min-width: 0; max-width: 100%; }
.range-wrap .scroll-row.is-muted { opacity: 0.45; }
.range-hint { font-size: 0.78rem; }
.range-hint:empty { display: none; }

/* ---------- Sipariş kartı (referans yerleşimi: renkli yan sütun | gövde | ana işlem) ---------- */
.ocards { display: grid; gap: 12px; }
.cards-head { display: flex; align-items: center; gap: var(--s-3); padding: 0 var(--s-2); font-weight: 600; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; min-height: var(--touch); }
.cards-foot { margin-top: var(--s-3); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.ocard { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr) 220px; background: var(--surface-solid); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); cursor: pointer; transition: border-color var(--dur-2) ease, box-shadow var(--dur-2) ease; }
.ocard:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.ocard:has(.menu:not([hidden])) { z-index: 30; }
.ocard.is-new { border-color: var(--info-fg); box-shadow: 0 0 0 3px var(--info-bg); }
.ocard.is-selected { outline: 2px solid var(--accent); outline-offset: 2px; }
.ocard.is-stale .ocard__body { opacity: 0.72; }
.ocard.is-flash { animation: cardFlash 1.6s ease-out both; }
@keyframes cardFlash { 0% { box-shadow: 0 0 0 4px var(--accent); } 100% { box-shadow: var(--shadow-1); } }
.ocard__side { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 14px 8px; text-align: center; background: color-mix(in srgb, var(--store, var(--accent)) 12%, var(--surface-solid)); border-right: 4px solid var(--store, var(--accent)); border-radius: 14px 0 0 14px; }
.ocard__side .pbadge { --pb: 40px; border-radius: 10px; padding: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); border: 0; }
.ocard__side .pbadge img { width: 100%; height: 100%; }
.ocard__side .plat { font-size: 0.82rem; font-weight: 800; color: var(--ink); }
.ocard__side .store { font-size: 0.72rem; color: var(--ink-3); overflow-wrap: anywhere; }
.ocard__body { padding: 14px 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.ocard__head { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; }
.ocard__head .badge { font-size: 0.8rem; padding: 5px 11px; font-weight: 800; }
.ocard__head .ago { color: var(--ink-3); font-size: 0.82rem; }
.ocard__head .ono { color: var(--ink-3); font-size: 0.82rem; display: inline-flex; align-items: center; gap: 6px; }
.ocard__head .linklike { all: unset; cursor: pointer; font-weight: 800; color: var(--ink); font-size: 0.82rem; border-radius: 4px; }
.ocard__head .linklike:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.ocard__head .linklike:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.olines { display: grid; gap: 4px; }
.oline { display: flex; gap: 14px; align-items: center; min-width: 0; padding: 4px 0; }
.oline--more { color: var(--ink-3); font-size: 0.88rem; padding-left: 4px; }
.oline__info { display: grid; gap: 3px; min-width: 0; }
.pname { font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; display: inline-flex; align-items: baseline; gap: 6px; }
a.pname:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.oline__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; color: var(--ink-3); font-size: 0.82rem; font-variant-numeric: lining-nums tabular-nums; }
.oline__meta .qty { font-weight: 700; color: var(--ink-2); }
.oline__meta .dot-sep { color: var(--ink-3); }
.oline__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.oline__tags:empty { display: none; }
.thumb { flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.thumb--lg { width: 72px; height: 72px; }
.thumb--md { width: 56px; height: 56px; border-radius: 10px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-empty { color: var(--ink-3); }
.thumb-link { flex: none; border-radius: 10px; }
.thumb-link:hover .thumb { border-color: var(--accent); }
.ocard__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 2px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 0.88rem; }
.ocard__foot .f { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); min-width: 0; }
.ocard__foot .f svg { color: var(--ink-3); flex: none; }
.ocard__foot strong { color: var(--ink); }
.ototal { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
.ocard__act { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 18px 14px 0; }
.ocard__main-btn { width: 100%; min-height: 52px; white-space: normal; text-align: center; line-height: 1.2; font-size: 1rem; font-weight: 800; border-radius: 12px; }
.ocard__more { width: 100%; justify-content: center; min-height: 44px; font-weight: 700; }
.ocard__menu { right: 0; left: auto; min-width: 250px; }
.ocard__lock { display: none; position: absolute; inset: 0; z-index: 12; border-radius: 14px; background: color-mix(in srgb, var(--surface-solid) 72%, transparent); place-items: center; cursor: progress; }
.ocard.is-locked .ocard__lock { display: grid; }
.ocard__lock-text { padding: 8px 18px; border-radius: var(--r-pill); background: var(--surface-solid); border: 1px solid var(--line-strong); font-weight: 700; }
.ocard__bar { position: absolute; left: 12px; right: 12px; top: 0; height: 4px; border-radius: 0 0 4px 4px; overflow: hidden; background: var(--accent-soft); }
.ocard__bar::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; border-radius: 4px; background: var(--accent); animation: barRun 1.1s ease-in-out infinite; }
@keyframes barRun { from { left: -40%; } to { left: 100%; } }
.ocard--skel { cursor: default; grid-template-columns: 128px 1fr; }

@media (max-width: 1100px) {
  .ocard { grid-template-columns: 128px minmax(0, 1fr); }
  .ocard__act { grid-column: 2; padding: 0 18px 14px; flex-direction: row; flex-wrap: wrap; }
  .ocard__act .menu-wrap, .ocard__main-btn { flex: 1 1 200px; }
}
@media (max-width: 760px) {
  .ocard, .ocard--skel { grid-template-columns: minmax(0, 1fr); }
  .ocard__side { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; gap: 0 12px; padding: 10px 14px; border-right: 0; border-bottom: 4px solid var(--store, var(--accent)); border-radius: 14px 14px 0 0; }
  .ocard__side .pbadge { grid-row: span 3; --pb: 34px; }
  .ocard__body { padding: 12px 16px; }
  .ocard__act { grid-column: 1; padding: 0 16px 16px; flex-direction: column; }
  .ocard__act .menu-wrap, .ocard__main-btn, .ocard__more { width: 100%; flex: none; }
  .ocard__main-btn { min-height: 54px; }
  .ocard__menu { left: 0; right: 0; min-width: 0; }
  .thumb--lg { width: 60px; height: 60px; }
  .pname { font-size: 0.95rem; }
  .ocard__head .ono { margin-left: auto; }
}
/* ---------- Çekmece: zaman çizelgesi, zengin satır ---------- */
.line--rich { align-items: center; justify-content: flex-start; gap: var(--s-3); }
.line--rich .line__main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.line--rich .line__sum { flex: none; }
.timeline { display: grid; position: relative; padding-left: 4px; }
.timeline li { position: relative; display: flex; gap: var(--s-3); padding: 0 0 var(--s-4) 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--line-strong); }
.timeline__dot { flex: none; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--surface-solid); border: 3px solid var(--ink-3); z-index: 1; }
.timeline li.is-now .timeline__dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline__what { font-weight: 650; }
.timeline__when { font-size: 0.82rem; font-variant-numeric: lining-nums tabular-nums; }
.notes__body { padding: 0 var(--s-4) var(--s-4); font-size: 0.9rem; }
.order-mini { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.change-box { padding: var(--s-4); border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid var(--line); }
.change-box h4 { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); margin-bottom: var(--s-2); }
.change-list { display: grid; gap: 6px; }
.change-list li { font-size: 1rem; font-weight: 600; padding-left: 18px; position: relative; overflow-wrap: anywhere; }
.change-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.label-preview { max-width: 100%; max-height: 52dvh; margin: 0 auto; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }

/* ---------- Canlı işlemler anahtarı ---------- */
.wswitch { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface-solid); color: var(--ink-2); font-size: 0.84rem; font-weight: 600; white-space: nowrap; transition: background-color var(--dur-2) ease, border-color var(--dur-2) ease, color var(--dur-2) ease, box-shadow var(--dur-2) ease; }
.wswitch:hover { border-color: var(--gold); box-shadow: 0 0 0 3px var(--accent-soft); }
.wswitch strong { font-weight: 800; letter-spacing: 0.04em; }
.wswitch__time { font-variant-numeric: lining-nums tabular-nums; font-weight: 700; }
.wswitch__time:empty { display: none; }
.wswitch.is-on { background: var(--err-bg); color: var(--err-fg); border-color: var(--err-fg); animation: wsPulse 2.4s ease-in-out infinite; }
@keyframes wsPulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--err-fg) 35%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }
@media (max-width: 560px) { .wswitch__pre { display: none; } .wswitch { padding: 0 12px 0 10px; } }

/* ---------- İşlem günlüğü ---------- */
.pane { display: grid; gap: var(--s-6); align-content: start; }
.atable { min-width: 940px; }
.atable thead th { text-align: left; padding: 14px 16px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); background: var(--surface-2); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.atable tbody tr { animation: rowIn 0.45s var(--ease-out) both; animation-delay: calc(min(var(--i, 0), 12) * 28ms); transition: background-color var(--dur-1) ease; }
.atable tbody tr:hover { background: var(--surface-2); }
.atable td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.atable tbody tr:last-child td { border-bottom: 0; }
.a-store__in { display: flex; align-items: center; gap: 10px; }
.a-act { font-weight: 600; }
.a-msg { max-width: 380px; overflow-wrap: anywhere; color: var(--ink-2); }
.audit-detail summary { cursor: pointer; color: var(--accent-text); font-size: 0.82rem; font-weight: 650; margin-top: 4px; min-height: 28px; }
.audit-detail .detail { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 0.78rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; margin-top: 4px; max-height: 220px; overflow: auto; }
@media (max-width: 760px) {
  .atable { min-width: 0; }
  .atable, .atable tbody { display: block; }
  .atable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .atable tbody { display: grid; gap: var(--s-3); padding: var(--s-3); background: var(--surface-2); }
  .atable tbody tr { display: grid; gap: 6px; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-solid); box-shadow: var(--shadow-1); }
  .atable td { padding: 0; border: 0; }
  .atable td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-3); font-size: 0.78rem; font-weight: 650; }
  .atable td.a-store::before { content: none; }
  .a-msg { max-width: none; }
}

/* ---------- Mağaza formu: renk seçici ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--surface-solid); background: var(--c, var(--surface-3)); box-shadow: 0 0 0 1px var(--line-strong); display: grid; place-items: center; color: #fff; transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) ease; }
.swatch:hover { transform: scale(1.1); }
.swatch.is-on { box-shadow: 0 0 0 3px var(--ink); }
.swatch--auto { width: auto; min-width: 48px; padding: 0 12px; border-radius: var(--r-pill); color: var(--ink-2); font-size: 0.8rem; font-weight: 700; background: var(--surface-2); }
.mark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 480px) { .mark-grid { grid-template-columns: 1fr; } }
.store-row__name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- Yönetim: kaynak eşleme ---------- */
.integ__form--col { flex-direction: column; align-items: stretch; }
.srcmap { display: grid; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.srcmap__head { display: flex; justify-content: space-between; gap: var(--s-3); align-items: flex-start; }
.srcmap__title { font-size: 1.05rem; font-weight: 800; }
.srcmap__rows { display: grid; gap: var(--s-2); }
.srcmap__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr) auto; gap: var(--s-2); align-items: center; }
.srcmap__arrow { color: var(--ink-3); }
.srcmap__empty { padding: var(--s-2) 0; }
@media (max-width: 560px) { .srcmap__row { grid-template-columns: minmax(0, 1fr) auto; } .srcmap__arrow { display: none; } .srcmap__row input:nth-of-type(2) { grid-column: 1; } }
/* Izgara öğeleri taşmasın: kaydırılabilir şeritler sayfayı genişletmesin */
.page { grid-template-columns: minmax(0, 1fr); }
.page > * { min-width: 0; }
.alerts:empty { display: none; }.scroll-row { min-width: 0; max-width: 100%; }
.toolbar__row--split > * { min-width: 0; flex: 1 1 320px; }
.toolbar__row--split > .range-wrap { flex: 0 1 auto; }.toolbar, .rep, .pane, .alerts, .od-section { grid-template-columns: minmax(0, 1fr); }@media (min-width: 761px) { .toolbar .scroll-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } .toolbar .scroll-row > * { flex: none; } }
.scroll-row::-webkit-scrollbar { height: 6px; }

