/* teamdrop — tasarım sistemi */
:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --text: #101828;
  --text-2: #475467;
  --muted: #667085;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef2ff;
  --accent-text: #4338ca;
  --ok: #067647;  --ok-soft: #ecfdf3;  --ok-dot: #17b26a;
  --warn: #b54708; --warn-soft: #fffaeb; --warn-line: #fedf89;
  --danger: #d92d20; --danger-soft: #fef3f2;
  --side-bg: #0b1220;
  --side-text: #98a2b3;
  --side-hover: #161f33;
  --side-active: #1d2740;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 4px 12px -2px rgba(16, 24, 40, .08), 0 2px 4px -2px rgba(16, 24, 40, .04);
  --focus: 0 0 0 4px rgba(79, 70, 229, .15);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c111d; --surface: #131a2a; --surface-2: #182033; --line: #222c42; --line-strong: #2f3a55;
    --text: #f2f4f7; --text-2: #cfd4dc; --muted: #8b95a8;
    --accent: #6366f1; --accent-hover: #818cf8; --accent-soft: rgba(99, 102, 241, .14); --accent-text: #a5b4fc;
    --ok: #47cd89; --ok-soft: rgba(23, 178, 106, .14); --warn: #fdb022; --warn-soft: rgba(247, 144, 9, .12);
    --warn-line: rgba(247, 144, 9, .35); --danger: #f97066; --danger-soft: rgba(240, 68, 56, .14);
    --side-bg: #080c16; --side-hover: #111827; --side-active: #182033;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-md: 0 6px 16px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 24px; line-height: 1.25; margin: 0 0 4px; font-weight: 650; letter-spacing: -.02em; }
h2 { font-size: 15px; margin: 0 0 14px; font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 13px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }

/* ---------- uygulama iskeleti ---------- */
.shell { display: flex; min-height: 100vh; }
.side { width: 248px; flex: none; background: var(--side-bg); color: var(--side-text); padding: 18px 12px;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; color: #fff;
  font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 4px 12px rgba(99, 102, 241, .35); }
.brand-mark svg { width: 18px; height: 18px; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--side-text); letter-spacing: 0; }
.nav-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #5d6b82; padding: 14px 12px 6px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--side-text); font-weight: 500; }
.nav a:hover { background: var(--side-hover); color: #e4e7ec; text-decoration: none; }
.nav a.active { background: var(--side-active); color: #fff; }
.nav a.active .icon { color: #a5b4fc; }
.nav .status { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #344054; }
.nav .status.on { background: var(--ok-dot); box-shadow: 0 0 0 3px rgba(23, 178, 106, .18); }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px 4px;
  border-top: 1px solid #1d2740; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #1d2740; color: #c7d2fe;
  display: grid; place-items: center; font-weight: 600; font-size: 13px; text-transform: uppercase; flex: none; }
.side-user .who { min-width: 0; font-size: 13px; color: #e4e7ec; font-weight: 500; }
.side-user .who span { display: block; font-size: 11.5px; color: var(--side-text); font-weight: 400; }
.side-user a { margin-left: auto; color: var(--side-text); display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 7px; }
.side-user a:hover { background: var(--side-hover); color: #fff; }

.app { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.appbar { height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 32px;
  background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.appbar .crumb { color: var(--muted); font-size: 13px; }
.appbar .crumb strong { color: var(--text); font-weight: 600; }
.appbar .spacer { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; border: 1px solid var(--line); color: var(--text-2); background: var(--surface); }
.pill .pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-dot); }
.pill.warn { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn); }
.pill.warn .pdot { background: #f79009; }
.pill.busy .pdot { background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.main { padding: 28px 32px 64px; max-width: 1280px; width: 100%; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.topbar .muted { max-width: 720px; }

/* ---------- kartlar ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card > h2:first-child { display: flex; align-items: center; gap: 8px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid > .card { margin-bottom: 0; }
.grid + .card, .grid + .grid, .grid + form, .grid + button { margin-top: 20px; }
.stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 20px; gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); position: relative; }
.stat .l { color: var(--muted); font-size: 13px; font-weight: 500; }
.stat .v { font-size: 28px; font-weight: 650; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .ic { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.stat .ic.ok { background: var(--ok-soft); color: var(--ok); }
.stat .ic.err { background: var(--danger-soft); color: var(--danger); }
.stat a { color: inherit; }

/* ---------- formlar ---------- */
label { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin: 0 0 6px; }
.field { margin-bottom: 16px; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
input[type=text], input[type=password], input[type=number], select, textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line-strong); color: var(--text);
  border-radius: var(--radius-sm); padding: 9px 12px; font: inherit; outline: none; box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: var(--focus); }
input[readonly] { background: var(--surface-2); }
input::placeholder { color: #98a2b3; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.check { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
details summary { cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent);
  color: #fff; border: 1px solid var(--accent); border-radius: var(--radius-sm); padding: 9px 16px; font: inherit;
  font-weight: 600; cursor: pointer; box-shadow: var(--shadow); transition: background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: var(--surface); color: var(--text-2); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.danger { background: var(--danger); border-color: var(--danger); }
form > .btn[type=submit], form > button.btn:last-child { margin-top: 4px; }

/* ---------- bildirimler / rozetler ---------- */
.flash { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: var(--radius-sm);
  margin-bottom: 18px; font-weight: 500; border: 1px solid transparent; }
.flash.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(23, 178, 106, .25); }
.flash.error { background: var(--danger-soft); color: var(--danger); border-color: rgba(240, 68, 56, .25); }
.banner { display: flex; gap: 12px; align-items: center; padding: 11px 16px; border-radius: var(--radius-sm);
  background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn-line); margin-bottom: 22px; font-size: 13.5px; }
.banner a { color: var(--warn); font-weight: 600; margin-left: auto; text-decoration: underline; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px;
  font-weight: 500; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.err { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }

/* ---------- tablolar ---------- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 12px; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td, table tr:hover td { background: var(--surface-2); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
.thumb { width: 52px; height: 70px; object-fit: cover; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.size { font-size: 11.5px; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); color: var(--muted);
  border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.size.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.size.err { background: var(--danger-soft); color: var(--danger); border-color: transparent; }

/* ---------- liste / günlük ---------- */
.checklist { padding: 0; margin: 0; }
.checklist li { list-style: none; display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist a { color: var(--text); font-weight: 500; }
.dot { width: 20px; height: 20px; border-radius: 50%; flex: none; border: 2px solid var(--line-strong); }
.dot.ok { border-color: var(--ok-dot); background: var(--ok-dot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.log { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; line-height: 1.7; }
.log > div { padding: 2px 0; }
.log .error { color: var(--danger); }
.log .warn { color: var(--warn); }
pre { background: var(--surface-2); border: 1px solid var(--line); padding: 14px; border-radius: var(--radius-sm);
  overflow: auto; max-height: 360px; font-size: 12px; }
.calc { display: grid; grid-template-columns: 1fr auto; gap: 7px 16px; font-variant-numeric: tabular-nums; }
.calc .total { font-weight: 650; color: var(--ok); border-top: 1px solid var(--line); padding-top: 8px; }
.card .card { box-shadow: none; }

/* ---------- kategoriler ---------- */
.cat-group { margin-bottom: 18px; }
.cat-group h3 { font-size: 12px; color: var(--muted); margin: 0 0 8px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 5px 13px; cursor: pointer; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 500;
  transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent-text); }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
.results { margin-top: 8px; max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); box-shadow: var(--shadow-md); }
.results button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--text); padding: 9px 12px; cursor: pointer; font: inherit; }
.results button:hover { background: var(--accent-soft); }
.running { display: inline-flex; gap: 8px; align-items: center; color: var(--accent-text); font-weight: 500; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--accent-soft); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- LCW arama ---------- */
.search-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px; }
.search-bar #q { flex: 2 1 280px; font-size: 15px; padding: 11px 14px; }
.search-bar select { flex: 1 1 180px; width: auto; }
.pgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pcard img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #fff; display: block; }
.pbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ptitle { color: var(--text); font-weight: 600; line-height: 1.35; }
.prices { display: flex; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; font-size: 13px; }
.prices > span { display: flex; flex-direction: column; }
.pfoot { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: auto; }

/* ---------- giriş ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); }
.auth-hero { background: radial-gradient(1200px 600px at -10% -20%, #312e81 0%, transparent 60%),
  radial-gradient(900px 600px at 120% 120%, #4c1d95 0%, transparent 55%), #0b1220;
  color: #e4e7ec; padding: 48px; display: flex; flex-direction: column; }
.auth-hero .brand { padding: 0; }
.auth-hero h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.03em; color: #fff; margin: auto 0 16px; max-width: 460px; font-weight: 700; }
.auth-hero p { color: #98a2b3; max-width: 440px; margin: 0 0 28px; font-size: 15px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 auto; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 10px; align-items: center; color: #cfd4dc; }
.feature-list .icon { color: #a5b4fc; }
.auth-hero .foot { margin-top: 40px; font-size: 12px; color: #5d6b82; }
.auth-form { display: grid; place-items: center; padding: 32px 20px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h1 { font-size: 26px; }
.auth-card > p { margin: 0 0 26px; }
.auth-card .btn { width: 100%; margin-top: 8px; padding: 11px 16px; }
.auth-card .mobile-brand { display: none; color: var(--text); padding: 0 0 26px; }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-hero { display: none; }
  .auth-card .mobile-brand { display: flex; }
}
@media (max-width: 820px) {
  .shell { flex-direction: column; }
  .side { width: auto; height: auto; position: static; padding: 12px 16px; }
  .brand { padding: 0 0 10px; }
  .nav { flex-direction: row; flex-wrap: wrap; }
  .nav-label, .side-user { display: none; }
  .appbar { padding: 0 16px; }
  .main { padding: 20px 16px 48px; }
  .grid-2 { grid-template-columns: 1fr; }
}
.stat .l { padding-right: 42px; }
.pill, .banner a { white-space: nowrap; }
@media (max-width: 820px) {
  .appbar { height: 52px; }
  .appbar .crumb { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ---------- kategoriler: sekmeler ---------- */
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cat-search { position: relative; flex: 0 1 360px; }
.cat-search .icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 16px; height: 16px; }
.cat-search input { padding-left: 34px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 -22px 20px; padding: 0 22px; overflow-x: auto; }
.tabs.dim { opacity: .45; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; margin-bottom: -1px; font: inherit;
  font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent-text); border-bottom-color: var(--accent); }
.tab .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 600; display: inline-grid; place-items: center; }
.sec-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.sec { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; background: var(--surface-2); }
.sec h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--text); }
.sec .chips { gap: 6px; }
.chip .tick { display: none; }
.chip.on .tick { display: inline-grid; }
.chip .tick .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.chip[disabled] { opacity: .6; }
details.promo { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 14px; }
details.promo > summary { font-weight: 600; margin-bottom: 14px; }
td .badge .icon { width: 12px; height: 12px; stroke-width: 2.6; }

/* ---------- LCW Ara: seçim ve ekleme çubuğu ---------- */
.pcard { position: relative; }
.pick { position: absolute; top: 10px; left: 10px; z-index: 2; width: 28px; height: 28px; border-radius: 8px; margin: 0;
  background: rgba(255,255,255,.92); border: 1px solid var(--line-strong); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow); }
.pick input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.pcard.picked { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.addwrap { position: sticky; bottom: 16px; z-index: 6; margin-top: 18px; }
.addbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow-md); }
.addbar .spacer { flex: 1; }
.addbar .selcount { color: var(--text-2); }
.addbar .target { display: flex; align-items: center; gap: 8px; margin: 0; }
.addbar .target select { width: auto; max-width: 300px; }
.addbar-msg { margin-bottom: 8px; box-shadow: var(--shadow-md); padding: 11px 14px; border-radius: var(--radius-sm); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.addbar-msg.ok { background: var(--ok-soft); color: var(--ok); }
.addbar-msg.err { background: var(--danger-soft); color: var(--danger); }

/* ---------- otomatik eşleştirme ---------- */
.auto-tabs { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.auto-tabs .spacer, .auto-head .spacer { flex: 1; }
.auto-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line);
  position: sticky; top: 60px; background: var(--surface); z-index: 3; border-radius: var(--radius) var(--radius) 0 0; }
.auto-table td { vertical-align: middle; }
.auto-table select { font-size: 13px; padding: 7px 10px; }
.attr-status .muted { margin-top: 3px; }
.cat-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.pill.live { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.banner form .btn { background: var(--warn); border-color: var(--warn); color: #fff; }
.mode-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.mode-opt { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; cursor: pointer; color: var(--text); margin: 0; }
.mode-opt input { position: absolute; opacity: 0; pointer-events: none; }
.mode-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }

/* ---------- kategoriler: mağaza menüsü görünümü ---------- */
.lc .lc-nav { gap: 0; margin-bottom: 0; border-bottom: 1px solid var(--line-strong); }
.lc .lc-nav .tab { text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 700; color: var(--text-2);
  padding: 14px 16px 12px; border-bottom-width: 3px; }
.lc .lc-nav .tab:hover { color: var(--text); }
.lc .lc-nav .tab.active { color: var(--text); border-bottom-color: var(--text); }
.lc-hero { --a1: #1e3a8a; --a2: #3b82f6; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin: 20px 0 22px; padding: 26px 28px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(120deg, var(--a1), var(--a2)); position: relative; overflow: hidden; }
.lc-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 255, 255, .09); pointer-events: none; }
.lc-a1 { --a1: #7a1f3d; --a2: #d9466f; }   /* Kadın */
.lc-a2 { --a1: #0f1f3d; --a2: #2f4f86; }   /* Erkek */
.lc-a3 { --a1: #9a3412; --a2: #f2774b; }   /* Kız Çocuk */
.lc-a4 { --a1: #0c4a6e; --a2: #1f8fd1; }   /* Erkek Çocuk */
.lc-a5 { --a1: #9d2a6b; --a2: #ec8fbf; }   /* Kız Bebek */
.lc-a6 { --a1: #155e75; --a2: #4cb5d6; }   /* Erkek Bebek */
.lc-a7 { --a1: #3f6212; --a2: #84b83a; }   /* Yenidoğan */
.lc-a8 { --a1: #57391f; --a2: #a8794b; }   /* Ev | Yaşam */
.lc-hero-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.lc-hero-title { font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; margin-top: 4px; }
.lc-hero-stats { display: flex; gap: 10px; position: relative; z-index: 1; }
.lc-hero-stats > div { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px;
  padding: 8px 14px; min-width: 78px; text-align: center; backdrop-filter: blur(4px); }
.lc-hero-stats strong { display: block; font-size: 20px; font-weight: 700; }
.lc-hero-stats span { font-size: 11.5px; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.lc-mega { columns: 4 210px; column-gap: 28px; }
.lc-col { break-inside: avoid; margin: 0 0 22px; }
.lc-col h3 { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--text); font-size: 12.5px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; color: var(--text); }
.lc-list { list-style: none; margin: 0; padding: 0; }
.lc .lc-item { display: flex; width: 100%; align-items: center; gap: 9px; border: 0; border-radius: 6px; background: none;
  padding: 6px 6px; text-align: left; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.lc .lc-item:hover { background: var(--surface-2); color: var(--text); }
.lc .lc-item.on { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.lc-box { flex: none; width: 17px; height: 17px; border: 1.5px solid var(--line-strong); border-radius: 4px; display: grid;
  place-items: center; background: var(--surface); }
.lc-box .icon { width: 12px; height: 12px; stroke-width: 3; opacity: 0; color: #fff; }
.lc .lc-item.on .lc-box { background: var(--accent); border-color: var(--accent); }
.lc .lc-item.on .lc-box .icon { opacity: 1; }
.lc details.promo .lc-mega { margin-top: 6px; }
@media (max-width: 640px) {
  .lc-hero { padding: 20px; }
  .lc-hero-title { font-size: 26px; }
  .lc-hero-stats > div { min-width: 0; padding: 6px 10px; }
}

/* ---------- otomatik ekleme anahtarı (panel) ---------- */
.autoadd { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 20px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.autoadd.on { border-color: color-mix(in srgb, var(--ok-dot) 35%, var(--line)); }
.autoadd.off { background: var(--warn-soft); border-color: var(--warn-line); }
.autoadd-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--ok-dot);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok-dot) 20%, transparent); }
.autoadd.off .autoadd-dot { background: #f79009; box-shadow: 0 0 0 4px rgba(247, 144, 9, .2); }
.autoadd-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 2px; }
.autoadd-text span { color: var(--text-2); font-size: 13px; }
.autoadd.off .autoadd-text strong { color: var(--warn); }
.btn.stop { background: var(--danger); border-color: var(--danger); }
.btn.stop:hover { background: color-mix(in srgb, var(--danger) 85%, #000); border-color: transparent; }
.badge.manual { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.pcard.instore img { opacity: .55; }
.instore-tag { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; padding: 6px 10px; border-radius: 8px;
  background: #067647; color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-md); }
.addbar .batchsel { display: inline-flex; align-items: center; gap: 6px; }
.addbar .batchsel select { width: auto; }

/* Anlık ekleme durumu */
.live-line { font-weight: 600; color: var(--text-2); }
.live-line.busy { color: var(--accent); }
.live-line.warn { color: var(--danger); }
.live-line.wait { color: var(--warn); }
.live-line.ok { color: var(--accent); }

/* ---------- ana sayfa ---------- */
.home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.home-sum { margin: 0; color: var(--text-2); font-size: 15px; }
.home-sum strong { color: var(--text); font-variant-numeric: tabular-nums; }
.home-sync { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; flex-direction: row-reverse; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 20px; }
.store { --brand: var(--accent); display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); border-top: 3px solid var(--brand); min-width: 0; }
.store.ty { --brand: #f27a1a; }
.store.n11 { --brand: #7c3aed; }
.store.off { border-top-color: var(--line-strong); box-shadow: none; background: var(--surface-2); }
.store-top { display: flex; align-items: center; gap: 10px; }
.store-top form { margin-left: auto; }
.store-ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px;
  color: var(--brand); background: color-mix(in srgb, var(--brand) 13%, transparent); }
.store.off .store-ic { color: var(--muted); background: var(--line); }
.store-name { font-size: 15px; font-weight: 650; color: var(--text); letter-spacing: -.01em; }
.linkbtn { border: 0; background: none; padding: 4px 6px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted);
  cursor: pointer; border-radius: 6px; white-space: nowrap; }
.linkbtn:hover { color: var(--danger); background: var(--danger-soft); }
.linkbtn.go { color: var(--ok); }
.linkbtn.go:hover { color: var(--ok); background: var(--ok-soft); }
.linkbtn:focus-visible { outline: none; box-shadow: var(--focus); }
.store .live-line { min-height: 40px; font-size: 13px; line-height: 1.45; font-weight: 500; padding-left: 16px; position: relative; }
.store .live-line::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.store .live-line.ok::before { background: var(--ok-dot); }
.store .live-line.ok { color: var(--ok); }
.store .live-line.busy::before { background: var(--accent); animation: td-pulse 1.2s ease-in-out infinite; }
.store .live-line.wait::before { background: #f79009; }
.store .live-line.warn::before { background: var(--danger); }
@keyframes td-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .store .live-line.busy::before { animation: none; } }
.store-big { display: flex; flex-direction: column; }
.store-big strong { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.store-big span { color: var(--muted); font-size: 13px; margin-top: 2px; }
.store-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 12px 0; border-block: 1px solid var(--line); }
.store-nums dt { color: var(--muted); font-size: 12px; line-height: 1.3; }
.store-nums dt a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.store-nums dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.store-nums dd.bad { color: var(--danger); }
.store-foot { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.store-empty { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--muted); font-size: 13px; }
.store-empty strong { color: var(--text-2); font-size: 14px; }
.store-empty .btn { margin-top: auto; }
.attention { padding-bottom: 8px; }
.attention h2 { color: var(--text); }
.attention h2 .icon { color: var(--warn); }
.attention ul, .events { list-style: none; margin: 0; padding: 0; }
.attention li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.attention .atext { flex: 1 1 240px; min-width: 0; }
.attention a { font-weight: 600; white-space: nowrap; font-size: 13px; }
.adot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #f79009; }
.adot.err { background: var(--danger); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.events li { display: flex; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); min-width: 0; }
.events time { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.events span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.events .error span { color: var(--danger); }
.events .warn span { color: var(--warn); }
.events-foot { margin: 10px 0 0; }

.store-times { margin: 0; display: grid; gap: 6px; }
.store-times > div { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.store-times dt { color: var(--muted); flex: none; }
.store-times dd { margin: 0; font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.card > .store-times { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 28px; }
.card > .store-times > div { flex-direction: column; gap: 2px; }
.card > .store-times dd { text-align: left; font-size: 14px; }

/* ---------- siparişler ---------- */
.store-profit { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-profit > div { min-width: 0; padding: 10px; border-radius: 10px; background: var(--surface-2); }
.store-profit dt { font-size: 12px; color: var(--muted); line-height: 1.3; }
.store-profit dt a { color: inherit; }
.store-profit dd { margin: 3px 0 1px; font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.store-profit span { font-size: 11.5px; color: var(--muted); }
.period-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.period-bar form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.period-bar input[type=date] { width: auto; }
.money-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.money { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.money .l { color: var(--muted); font-size: 12.5px; }
.money .v { font-size: 20px; font-weight: 650; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.money.main { border-color: color-mix(in srgb, var(--ok-dot) 45%, var(--line)); background: var(--ok-soft); }
.money.main.loss { border-color: var(--danger); background: var(--danger-soft); }
.num.neg { color: var(--danger); font-weight: 600; }
.num.pos { color: var(--ok); font-weight: 600; }
.cost-form { display: flex; gap: 4px; align-items: center; }
.cost-form input { width: 86px; padding: 4px 6px; font-size: 12.5px; }
.est { color: var(--warn); font-size: 11.5px; display: block; }

.money-grid { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }
.money .v { font-size: 18px; white-space: nowrap; }

/* ---------- üyelik ve yönetici ---------- */
.nav-count { margin-left: auto; min-width: 20px; padding: 0 6px; text-align: center; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f79009; color: #101828; }
.member-pending li { align-items: center; flex-wrap: wrap; }
.member-pending .grow { flex: 1 1 240px; min-width: 0; }
.member-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stop-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qr-box { width: 220px; max-width: 100%; background: #fff; border-radius: 10px; padding: 6px; }
.qr-box svg { width: 100%; height: auto; display: block; }
.lcw-warn { border-color: var(--warn-line); }

input[type=tel] { width: 100%; padding: 10px 12px; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }

.danger-zone { border-color: color-mix(in srgb, var(--danger) 45%, var(--line)); }
.danger-zone h2 .icon { color: var(--danger); }
.danger-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.danger-form .field { flex: 1 1 260px; max-width: 420px; }
.btn.ghost.danger-link { color: var(--danger); }
.btn.ghost.danger-link:hover { background: var(--danger-soft); color: var(--danger); }

/* ---------- kategori sayfası ---------- */
.cat-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.cat-stat { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--text); cursor: pointer; }
.cat-stat:hover { border-color: var(--line-strong); }
.cat-stat:focus-visible, .cat-item:focus-visible, .cat-tab:focus-visible, .cat-seg button:focus-visible, .cat-all:focus-visible { outline: none; box-shadow: var(--focus); }
.cat-stat span { font-size: 12.5px; color: var(--muted); }
.cat-stat strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cat-stat.ok strong { color: var(--ok); }
.cat-stat.warn { background: var(--warn-soft); border-color: var(--warn-line); }
.cat-stat.warn strong { color: var(--warn); }
.cat-panel { padding: 16px 18px 18px; }
.cat-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cat-tools .cat-search { flex: 1 1 280px; max-width: 460px; }
.cat-tools input[type=search] { width: 100%; padding: 9px 12px 9px 34px; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.cat-tools input[type=search]:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.cat-seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; }
.cat-seg button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--text-2); padding: 5px 12px; border-radius: 6px; cursor: pointer; }
.cat-seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-weight: 600; }
.cat-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.cat-tabs.dim { opacity: .45; }
.cat-tab { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: inherit; font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.cat-tab:hover { border-color: var(--line-strong); color: var(--text); }
.cat-tab.active { background: var(--a1); border-color: var(--a1); color: #fff; }
.cat-tab .count { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; font-size: 11.5px; background: var(--accent-soft); color: var(--accent-text); }
.cat-tab.active .count { background: rgba(255, 255, 255, .22); color: #fff; }
.cat-tab .count[hidden] { display: none; }
.cat-band { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 14px; border-radius: 10px; background: color-mix(in srgb, var(--a2) 12%, var(--surface)); border-left: 4px solid var(--a2); }
.cat-band strong { font-size: 15px; }
.cat-band span { font-size: 13px; color: var(--text-2); }
.cat-grid { columns: 3 250px; column-gap: 14px; }
.cat-section { break-inside: avoid; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.cat-section[hidden] { display: none; }
.cat-section header { display: flex; align-items: center; gap: 8px; padding: 9px 10px 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.cat-section h3 { margin: 0; flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--text); }
.cat-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-count b { color: var(--text); font-weight: 600; }
.cat-all { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: var(--accent-text); cursor: pointer; padding: 3px 6px; border-radius: 6px; white-space: nowrap; }
.cat-all:hover { background: var(--accent-soft); }
.cat-items { list-style: none; margin: 0; padding: 5px; }
.cat-item { display: flex; width: 100%; align-items: center; gap: 9px; padding: 6px 8px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 13.5px; color: var(--text-2); text-align: left; cursor: pointer; }
.cat-item:hover { background: var(--surface-2); color: var(--text); }
.cat-item.on { color: var(--text); font-weight: 500; }
.cat-box { flex: none; width: 17px; height: 17px; display: grid; place-items: center; border: 1.5px solid var(--line-strong); border-radius: 5px; background: var(--surface); }
.cat-box .icon { width: 12px; height: 12px; stroke-width: 3; opacity: 0; color: #fff; }
.cat-item.on .cat-box { background: var(--accent); border-color: var(--accent); }
.cat-item.on .cat-box .icon { opacity: 1; }
.cat-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cat-flag { display: none; flex: none; font-size: 11px; font-weight: 600; color: var(--warn); }
.cat-item.on[data-mapped="0"] .cat-flag { display: inline; }
.cat-promo { margin-top: 2px; }
.cat-promo > summary { padding: 8px 2px; font-weight: 600; font-size: 13px; cursor: pointer; }
.cat-promo .cat-grid { margin-top: 8px; }
.cat-mapping { margin-top: 16px; }
.cat-mapping > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cat-mapping .table-wrap { margin-top: 12px; }
@media (max-width: 560px) {
  .cat-summary { gap: 8px; }
  .cat-stat { padding: 10px 12px; }
  .cat-stat strong { font-size: 18px; }
  .cat-seg { width: 100%; }
  .cat-seg button { flex: 1; padding: 6px 4px; }
}

/* kategori sayfası: görsel kartlar */
.cat-summary .cat-stat { position: relative; overflow: hidden; }
.cat-summary .cat-stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
.cat-summary .cat-stat.ok::before { background: var(--ok-dot); }
.cat-summary .cat-stat.warn::before { background: #f79009; }
.cat-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; overflow: visible; padding-bottom: 14px; }
.cat-tab { position: relative; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 13px; border: 0; border-radius: 12px; color: #fff; text-align: left; overflow: hidden;
  background: linear-gradient(135deg, var(--a1), var(--a2)); opacity: .78; transition: opacity .15s, transform .15s, box-shadow .15s; }
.cat-tab:hover { opacity: .9; color: #fff; }
.cat-tab.active { opacity: 1; transform: translateY(-1px); box-shadow: 0 6px 16px -6px var(--a1); background: linear-gradient(135deg, var(--a1), var(--a2)); }
.cat-tab::after { content: ""; position: absolute; right: -18px; top: -22px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.cat-tab-name { font-size: 13.5px; font-weight: 700; position: relative; }
.cat-tab-sub { font-size: 11.5px; opacity: .9; font-weight: 500; position: relative; }
.cat-tab .count, .cat-tab.active .count { display: inline; min-width: 0; height: auto; padding: 0; background: none; color: inherit; font-size: inherit; font-weight: 700; }
.cat-band { position: relative; overflow: hidden; align-items: center; padding: 18px 22px; margin-bottom: 16px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(120deg, var(--a1), var(--a2)); }
.cat-band::after { content: ""; position: absolute; right: -40px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .1); pointer-events: none; }
.cat-band small { display: block; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; opacity: .8; }
.cat-band strong { font-size: 24px; font-weight: 750; letter-spacing: -.01em; }
.cat-band span, .cat-band b { color: #fff; }
.cat-band-meter { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 7px; flex: 0 1 260px; font-size: 13px; }
.cat-meter { display: block; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.cat-meter i { display: block; height: 100%; border-radius: 99px; background: #fff; transition: width .25s; }
.cat-grid { columns: auto; display: flex; flex-direction: column; gap: 18px; }
.cat-section { margin: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.cat-section header { padding: 0 0 9px; margin-bottom: 10px; background: none; border-bottom: 1px solid var(--line); }
.cat-section h3 { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.cat-section h3::before { content: ""; width: 4px; height: 15px; border-radius: 3px; background: var(--a2); flex: none; }
.cat-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 9px; padding: 0; }
.cat-items li[hidden] { display: none; }
.cat-item { height: 100%; gap: 11px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 500; transition: border-color .12s, box-shadow .12s, background .12s, transform .12s; }
.cat-item:hover { border-color: var(--a2); background: var(--surface); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cat-item.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 600; }
.cat-thumb { position: relative; flex: none; width: 50px; height: 62px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--a2) 16%, var(--surface-2)); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-initial { font-size: 20px; font-weight: 700; color: var(--a1); }
.cat-thumb .cat-box { position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-color: rgba(255, 255, 255, .85); background: rgba(16, 24, 40, .22); opacity: 0; transition: opacity .12s; }
.cat-item:hover .cat-box, .cat-item.on .cat-box { opacity: 1; }
.cat-item.on .cat-box { background: var(--accent); border-color: #fff; }
.cat-label { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.cat-flag { font-size: 11px; }
.cat-item.on[data-mapped="0"] .cat-flag { display: block; }
.cat-promo { margin-top: 18px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.cat-promo[hidden] { display: none; }
@media (prefers-color-scheme: dark) { .cat-initial { color: var(--text); } }
@media (max-width: 560px) {
  .cat-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-band { padding: 14px 16px; }
  .cat-band-meter { flex-basis: 100%; }
  .cat-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .cat-thumb { width: 40px; height: 50px; }
  .cat-item { gap: 8px; font-size: 12.5px; }
}

/* ---------- müşteri soruları ---------- */
.qa { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.qa:first-of-type { border-top: 0; padding-top: 0; }
.qa-body { flex: 1; min-width: 0; }
.qa-q { margin: 6px 0; font-weight: 600; overflow-wrap: anywhere; }
.qa-a { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.qa textarea { width: 100%; }


/* çok satanlar */
.cat-cell { position: relative; }
.cat-star { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; display: none; place-items: center; border: 0; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 14px; line-height: 1; cursor: pointer; }
.cat-item.on + .cat-star { display: grid; }
.cat-star:hover { color: #f79009; }
.cat-star.on { background: #f79009; color: #fff; }
.cat-star:focus-visible { outline: none; box-shadow: var(--focus); }
.cat-best-tag { display: none; font-size: 11px; font-weight: 600; color: #b54708; }
.cat-item.on.best .cat-best-tag { display: block; }
.cat-item.on { padding-right: 32px; }
.cat-limit { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.cat-limit select { width: auto; padding: 4px 8px; }
@media (prefers-color-scheme: dark) { .cat-best-tag { color: #fdb022; } }

/* iptal ve iade, dönem özeti */
.store-profit { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.store-profit > div { padding: 8px; }
.store-profit dd { font-size: 13.5px; }
.store-returns { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-2); padding: 7px 10px; border-radius: 8px; background: var(--surface-2); }
.store-returns:hover { text-decoration: none; background: var(--accent-soft); }
.store-returns b { color: var(--text); font-variant-numeric: tabular-nums; }
.money .v.bad-v { color: var(--danger); }
.cat-seg a { font-size: 13px; font-weight: 500; color: var(--text-2); padding: 5px 12px; border-radius: 6px; }
.cat-seg a:hover { text-decoration: none; color: var(--text); }
.cat-seg a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-weight: 600; }
.profit-table { margin-bottom: 16px; }

.thumb-empty { display: inline-grid; place-items: center; text-align: center; font-size: 10.5px; line-height: 1.2; color: var(--muted); padding: 4px; }

.order-summary { margin: 0 0 14px; color: var(--text-2); font-size: 13.5px; }
.order-summary strong { color: var(--text); font-variant-numeric: tabular-nums; }

/* paketleme */
.pk-line { display: flex; gap: 10px; align-items: center; padding: 4px 0; }
tr.pk-urgent td { background: var(--warn-soft); }
tr.pk-late td { background: var(--danger-soft); }
