/* Okzen Menu — tasarım sistemi (Okzen ailesi: lacivert + altın, Apple tarzı) */
:root {
  --navy: #04182f;
  --navy-2: #0a2344;
  --navy-3: #12305a;
  --deep: #020e1d;
  --gold-1: #bc8c40;
  --gold-2: #ecc25f;
  --gold-3: #f3d27a;
  --gold-grad: linear-gradient(100deg, #bc8c40 0%, #ecc25f 60%, #f3d27a 100%);
  --gold-ink: #7a5a14;
  --gold-soft: #fbf3df;
  --bg: #f5f6fa;
  --bg-2: #eceff5;
  --surface: #ffffff;
  --ink: #0b1a2e;
  --ink-2: #33445a;
  --muted: #5a687b;
  --faint: #8b9ab0;
  --line: #dfe3eb;
  --line-2: #eceff4;
  --on-dark: #eef2f8;
  --on-dark-2: #b4c0d2;
  --on-dark-3: #8b9ab0;
  --green: #1a7f37;
  --green-soft: #e9f6ec;
  --red: #b42318;
  --red-soft: #fdeeec;
  --amber: #9a6700;
  --amber-soft: #fff6e0;
  --blue: #1f5fd6;
  --blue-soft: #ebf2ff;
  --r: 20px;
  --r-sm: 12px;
  --ring: 0 0 0 1px rgba(4, 24, 47, .07), 0 1px 2px rgba(4, 24, 47, .04);
  --sh-lg: 0 0 0 1px rgba(4, 24, 47, .06), 0 24px 48px -18px rgba(4, 24, 47, .28);
  --focus: 0 0 0 4px rgba(236, 194, 95, .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--gold-1); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: 1.85rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.08rem; letter-spacing: -.015em; font-weight: 700; } h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line-2); margin: 24px 0; }
::selection { background: rgba(236, 194, 95, .35); }
.icon { width: 1.12em; height: 1.12em; flex-shrink: 0; stroke-width: 1.9; }
code, .mono { font-family: var(--mono); font-size: .9em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .875rem; }
.xs { font-size: .78rem; }
.strong { font-weight: 700; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.hide-desktop { display: none; }
@media (max-width: 640px) { .hide-desktop { display: inline; } }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.gold-text { background: linear-gradient(100deg, #bc8c40 0%, #ecc25f 40%, #f6dc95 55%, #ecc25f 75%, #bc8c40 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-1); }
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }

/* ---------- Yerleşim ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
/* Tek satırda kalan satır: öğeler alt satıra geçmez ama içlerindeki metin sarılabilir (.nowrap'ın white-space'ini ezer) */
.row.nowrap { flex-wrap: nowrap; white-space: normal; }
.row.top { align-items: flex-start; }
.stack > * + * { margin-top: 16px; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-2 > .field, .grid-3 > .field { margin-bottom: 0; }
form .grid-2, form .grid-3 { row-gap: 18px; margin-bottom: 18px; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: .92rem; letter-spacing: -.01em; line-height: 1; cursor: pointer; white-space: nowrap;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .08s, color .2s;
  text-decoration: none !important;
}
.btn:hover { background: #fafbfd; box-shadow: inset 0 0 0 1px #c9d0dc; color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--gold-1), var(--focus); }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--navy-2); color: #fff; box-shadow: none; }
.btn-accent, .btn-gold { background: var(--gold-grad); color: var(--navy); box-shadow: 0 10px 28px -12px rgba(236, 194, 95, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-accent:hover, .btn-gold:hover { color: var(--navy); filter: brightness(1.04); box-shadow: 0 14px 30px -12px rgba(236, 194, 95, .8), inset 0 1px 0 rgba(255, 255, 255, .45); background: var(--gold-grad); }
.btn-danger { color: var(--red); box-shadow: inset 0 0 0 1px #f2c9c4; }
.btn-danger:hover { background: var(--red-soft); color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: rgba(4, 24, 47, .05); box-shadow: none; }
.btn-dark-ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.btn-dark-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-sm { height: 34px; padding: 0 14px; font-size: .84rem; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; padding: 0; }
.btn-icon.btn-sm { width: 34px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-3); cursor: pointer; font-weight: 600; }
.link-btn:hover { color: var(--gold-1); }
.link-btn.danger { color: var(--red); }

/* ---------- Kartlar ---------- */
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--ring); }
.card-body { padding: 24px; }
.card-head { padding: 18px 24px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.02rem; letter-spacing: -.015em; }
.card-head .sub { font-size: .82rem; color: var(--muted); }
.card-foot { padding: 16px 24px; border-top: 1px solid var(--line-2); background: #fbfcfe; border-radius: 0 0 var(--r) var(--r); }
.card.dark { background: radial-gradient(120% 140% at 0% 0%, #12305a 0%, var(--navy) 55%, var(--deep) 100%); color: var(--on-dark-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 24px 48px -24px rgba(4, 24, 47, .6); }
.card.dark h1, .card.dark h2, .card.dark h3 { color: #fff; }
.card.dark .muted { color: var(--on-dark-3); }
@media (max-width: 640px) { .card-body { padding: 18px; } .card-head { padding: 14px 18px; } .card-foot { padding: 12px 18px; } }

/* ---------- Formlar ---------- */
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field > label, .label { display: block; font-weight: 600; font-size: .86rem; color: var(--ink-2); margin-bottom: 7px; letter-spacing: -.005em; }
.field > label.switch { display: inline-flex; font-weight: 500; margin-bottom: 0; }
.field > label.check { display: flex; font-weight: 400; margin-bottom: 0; }
.field .opt { font-weight: 400; color: var(--faint); font-size: .8rem; }
.input, .select, .textarea {
  display: block; width: 100%; height: 46px; padding: 0 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 96px; padding: 12px 15px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a687b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder, .textarea::placeholder { color: #a3aebd; }
.input:hover, .select:hover, .textarea:hover { border-color: #c9d0dc; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold-1); box-shadow: var(--focus); }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--red); }
.input[readonly] { background: var(--bg); }
.input-group { display: flex; align-items: stretch; }
.input-group .addon { display: flex; align-items: center; padding: 0 14px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-size: .88rem; white-space: nowrap; }
.input-group .addon:first-child { border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-group .addon:last-child { border-left: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.input-group .input, .input-group .select { border-radius: 0; min-width: 0; }
.input-group > :first-child.input, .input-group > :first-child.select { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-group > :last-child.input, .input-group > :last-child.select { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.help { font-size: .8rem; color: var(--muted); margin-top: 7px; line-height: 1.45; }
.error { font-size: .82rem; color: var(--red); margin-top: 7px; font-weight: 500; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .92rem; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: .84rem; cursor: pointer; background: #fff; user-select: none; box-shadow: inset 0 0 0 1px var(--line); transition: all .15s; }
.chip-check span:hover { box-shadow: inset 0 0 0 1px #c9d0dc; }
.chip-check input:checked + span { background: var(--navy); color: #fff; box-shadow: none; font-weight: 600; }
.chip-check input:checked + span .icon { color: var(--gold-2); }
.chip-check input:focus-visible + span { box-shadow: var(--focus); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Aç/kapa (iOS tarzı) */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track { display: inline-block; position: relative; width: 44px; height: 26px; border-radius: 999px; background: #d5dbe5; transition: background .25s var(--ease); flex-shrink: 0; }
.switch .track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(4, 24, 47, .22); transition: transform .25s var(--ease); }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: var(--focus); }
.switch.sm .track { width: 36px; height: 22px; }
.switch.sm .track::after { width: 18px; height: 18px; }
.switch.sm input:checked + .track::after { transform: translateX(14px); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.setting-row:last-child { border-bottom: 0; }
.setting-row .t { font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.setting-row .d { font-size: .83rem; color: var(--muted); margin-top: 2px; }

/* ---------- Uyarılar ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; font-size: .92rem; margin-bottom: 16px; background: #fff; box-shadow: var(--ring); }
.alert .icon { margin-top: 2px; width: 1.25em; height: 1.25em; }
.alert-success .icon { color: var(--green); }
.alert-error { background: var(--red-soft); box-shadow: 0 0 0 1px #f4d1cc; color: #7a1a12; } .alert-error .icon { color: var(--red); }
.alert-info .icon { color: var(--blue); }
.alert-warn { background: var(--amber-soft); box-shadow: 0 0 0 1px #f3e1b1; color: #5b3d00; } .alert-warn .icon { color: var(--amber); }
.alert a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Rozetler ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; letter-spacing: -.005em; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.blue { background: var(--blue-soft); color: var(--blue); }
.pill.gold, .pill.teal { background: var(--gold-soft); color: var(--gold-ink); }
.pill.navy { background: var(--navy); color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-weight: 600; color: var(--faint); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: 12px 16px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fafbfd; }
/* Telefonda satırları kart olarak gösteren tablo: <table class="table stack-mobile">, hücrelerde data-label */
@media (max-width: 640px) {
  .table.stack-mobile thead { display: none; }
  .table.stack-mobile, .table.stack-mobile tbody, .table.stack-mobile tr, .table.stack-mobile td { display: block; width: 100%; }
  .table.stack-mobile tr { padding: 12px 18px; border-bottom: 1px solid var(--line-2); }
  .table.stack-mobile tr:last-child { border-bottom: 0; }
  .table.stack-mobile td { padding: 3px 0; border: 0; text-align: left; max-width: none !important; }
  .table.stack-mobile tbody tr:hover td { background: none; }
  .table.stack-mobile td[data-label]::before { content: attr(data-label); display: inline-block; min-width: 76px; margin-right: 8px; color: var(--faint); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
  .table.stack-mobile td:empty { display: none; }
  .table.stack-mobile .nowrap { white-space: normal; }
  .table.stack-mobile td.actions { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; justify-content: flex-start; }
  .table.stack-mobile td.actions form { display: inline-flex !important; }
  .table.stack-mobile td.actions .row { justify-content: flex-start !important; }
}

/* ---------- Boş durum ---------- */
.empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty .icon { width: 46px; height: 46px; color: #c3cad6; margin-bottom: 14px; stroke-width: 1.5; }
/* Boş durumdaki düğmelerin ikonları normal boyutta kalır (büyük ikon yalnızca başlıktaki) */
.empty .btn .icon { width: 1.12em; height: 1.12em; margin: 0; color: inherit; stroke-width: 1.9; }
.empty h3 { color: var(--ink); }

/* ---------- Görsel yükleme ---------- */
.image-field { display: flex; gap: 16px; align-items: center; }
.image-field .preview { position: relative; width: 100px; height: 100px; border-radius: 18px; background: var(--bg) center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: #a9b3c2; flex-shrink: 0; overflow: hidden; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .15s; }
.image-field .preview:hover { box-shadow: inset 0 0 0 1.5px var(--gold-1); }
.image-field .preview.wide { width: 178px; }
.image-field .preview.has-image { box-shadow: var(--ring); }
.image-field .preview.has-image .icon { display: none; }
.image-field .preview .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.image-field .preview.loading::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%2304182f' stroke-width='2.5'%3E%3Cpath d='M21 12a9 9 0 1 1-6.2-8.56'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") center no-repeat; }
.image-field .actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.gallery .g-item { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; background: var(--bg) center / cover; box-shadow: var(--ring); }
.gallery .g-item button { position: absolute; top: 6px; right: 6px; }

/* ---------- Bildirim ---------- */
/* Bildirimler ekran genişliğinde bir şeritte ortalanır (yarım ekrana sıkışıp yuvarlak lekeye dönmez); uzun yazı satıra bölünür */
.toast-wrap { position: fixed; left: 16px; right: 16px; bottom: 28px; z-index: 1000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { max-width: min(560px, 100%); background: rgba(4, 24, 47, .94); backdrop-filter: blur(12px); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: .88rem; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; box-shadow: var(--sh-lg); animation: toast-in .3s var(--ease); }
.toast.multi { border-radius: 14px; }
@media (max-width: 640px) { .toast-wrap { align-items: stretch; } .toast { max-width: 100%; border-radius: 14px; padding: 12px 16px; text-align: center; } }
.toast.error { background: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; color: var(--navy); --logo-gap: #fff; text-decoration: none !important; line-height: 0; }
.logo svg, .logo img { height: 30px; width: auto; display: block; }
.logo:hover { color: var(--navy); }
.logo.light { color: #fff; --logo-gap: var(--navy); }
.logo.light:hover { color: #fff; }

/* ---------- Üyelik sayfaları ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-side { position: relative; overflow: hidden; background: linear-gradient(160deg, #f8f1ea 0%, #eef1fa 60%, #f3eef8 100%); color: var(--ink-2); padding: 44px 52px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 40% at 12% 8%, rgba(255, 214, 186, .75), transparent 70%), radial-gradient(60% 50% at 100% 100%, rgba(205, 218, 255, .85), transparent 70%); }
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 { color: #14223a; font-size: clamp(2rem, 3.2vw, 2.7rem); max-width: 460px; letter-spacing: -.045em; line-height: 1.05; }
.auth-side ul { list-style: none; padding: 0; margin: 28px 0 0; }
.auth-side li { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: var(--ink-2); }
.auth-side li .icon { color: #c48a4f; }
.auth-side .gold-text { background: linear-gradient(100deg, #b47a33, #c8874f 50%, #c06f58); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-eyebrow { color: #b07b3e; }
.auth-phones { display: flex; align-items: flex-end; margin-top: 30px; }
.auth-phones .iph { --s: .4; }
.auth-phones .iph + .iph { margin-left: -30px; margin-bottom: -18px; }
@media (max-height: 860px) { .auth-phones { display: none; } }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 430px; }
.auth-box h1 { font-size: 2rem; letter-spacing: -.04em; }
@media (max-width: 920px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ---------- Panel iskeleti ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar { width: 264px; flex-shrink: 0; background: var(--navy); color: var(--on-dark-2); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.sidebar .brand { padding: 22px 22px 14px; }
.branch-switch { margin: 4px 14px 6px; position: relative; }
.branch-switch summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); cursor: pointer; color: #fff; font-weight: 600; font-size: .88rem; }
.branch-switch summary::-webkit-details-marker { display: none; }
.branch-switch summary .avatar { width: 30px; height: 30px; font-size: .8rem; }
.branch-switch summary .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.branch-switch .menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #0d2645; border-radius: 14px; padding: 6px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08); z-index: 5; }
.branch-switch .menu button, .branch-switch .menu a { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: var(--on-dark); font: inherit; font-size: .86rem; cursor: pointer; text-align: left; text-decoration: none; }
.branch-switch .menu button:hover, .branch-switch .menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.branch-switch .menu .on { color: var(--gold-2); }
.sidebar nav { padding: 6px 12px 12px; flex: 1; }
.sidebar .nav-label { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: #8b9ab0; padding: 16px 12px 6px; font-weight: 700; }
.sidebar nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 11px; color: var(--on-dark-2); font-weight: 500; font-size: .9rem; margin-bottom: 1px; text-decoration: none; letter-spacing: -.005em; transition: background .15s, color .15s; }
.sidebar nav a .icon { color: #7f90a8; }
.sidebar nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar nav a.active { background: rgba(255,255,255,.09); color: #fff; }
.sidebar nav a.active::before { content: ''; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold-grad); }
.sidebar nav a.active .icon { color: var(--gold-2); }
.sidebar nav a .count { margin-left: auto; background: var(--gold-grad); color: var(--navy); border-radius: 999px; font-size: .7rem; font-weight: 800; padding: 1px 8px; min-width: 22px; text-align: center; }
.sidebar .side-foot { padding: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.sub-mini { display: block; background: rgba(255,255,255,.05); border-radius: 14px; padding: 12px 14px; font-size: .82rem; margin-bottom: 12px; text-decoration: none; color: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.sub-mini:hover { background: rgba(255,255,255,.08); color: inherit; }
.sub-mini .t { color: #fff; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.sub-mini .t .icon { color: var(--gold-2); }
.sub-mini .bar { height: 4px; border-radius: 9px; background: rgba(255,255,255,.1); margin: 9px 0 5px; overflow: hidden; }
.sub-mini .bar span { display: block; height: 100%; background: var(--gold-grad); border-radius: 9px; }
.side-user { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-3); color: var(--gold-2); display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.side-user .n { color: #fff; font-weight: 600; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .e { font-size: .74rem; color: var(--on-dark-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user form { margin-left: auto; }
.side-user button { background: none; border: 0; color: var(--on-dark-3); cursor: pointer; padding: 7px; border-radius: 9px; display: grid; }
.side-user button:hover { color: #fff; background: rgba(255,255,255,.08); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 66px; display: flex; align-items: center; gap: 12px; padding: 0 32px; background: rgba(245, 246, 250, .78); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid rgba(4, 24, 47, .06); position: sticky; top: 0; z-index: 20; }
.topbar h1 { font-size: 1.06rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.02em; font-weight: 700; }
.topbar .menu-btn { display: none; }
.topbar .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.content { padding: 30px 32px 56px; max-width: 1220px; width: 100%; }
.content.narrow { max-width: 880px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h2 { font-size: 1.75rem; letter-spacing: -.035em; margin: 0; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.impersonate-bar { background: var(--gold-grad); color: var(--navy); padding: 8px 20px; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; font-size: .88rem; flex-wrap: wrap; }
.impersonate-bar button { background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .82rem; cursor: pointer; }
.sidebar-backdrop { display: none; }
@media (max-width: 1000px) {
  /* Kapalı çekmece klavye odağı ve ekran okuyucu ağacından çıkar (visibility, kayma bittikten sonra uygulanır; q5 B6) */
  .sidebar { position: fixed; left: 0; top: 0; z-index: 50; transform: translateX(-100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
  body.nav-open .sidebar { transform: none; visibility: visible; transition: transform .3s var(--ease); box-shadow: 0 0 60px rgba(0,0,0,.4); }
  body.nav-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(2, 14, 29, .5); backdrop-filter: blur(2px); z-index: 40; }
  .topbar { padding: 0 14px; }
  .topbar .menu-btn { display: inline-flex; }
  .content { padding: 20px 14px 48px; }
  .topbar .hide-mobile { display: none; }
}

/* ---------- Karşılama kartı ve istatistik ---------- */
.welcome { padding: 26px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-bottom: 20px; }
.welcome .date { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.welcome h2 { font-size: 1.75rem; margin: 6px 0 4px; letter-spacing: -.035em; }
.welcome p { margin: 0; color: var(--on-dark-2); }
.welcome .kpis { display: flex; gap: 12px; flex-wrap: wrap; }
.kpi { min-width: 128px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.kpi .k { font-size: .72rem; color: var(--on-dark-3); font-weight: 600; }
.kpi .v { font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: -.03em; margin-top: 2px; }
.kpi .v.gold { color: var(--gold-2); }
@media (max-width: 860px) { .welcome { grid-template-columns: 1fr; } }
.stat { padding: 20px 22px; }
.stat .label { font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 7px; }
.stat .label .icon { color: var(--gold-1); }
.stat .value { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; }
.stat .sub { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 10px; }
.bars .b { flex: 1; background: linear-gradient(180deg, #d8dfeb, #e6ebf3); border-radius: 5px 5px 2px 2px; min-height: 3px; position: relative; transition: background .2s; }
.bars .b:hover, .bars .b.today { background: linear-gradient(180deg, var(--gold-2), var(--gold-1)); }
.bars .b:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: .72rem; padding: 5px 9px; border-radius: 8px; white-space: nowrap; z-index: 2; }
.hbar { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; font-size: .86rem; padding: 6px 0; }
.hbar .track { height: 8px; border-radius: 9px; background: var(--bg-2); overflow: hidden; }
.hbar .track span { display: block; height: 100%; border-radius: 9px; background: var(--navy-3); }
.hbar .n { text-align: right; font-weight: 700; color: var(--ink-2); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 500; }
.checklist li:last-child a { border-bottom: 0; }
.checklist .tick { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; flex-shrink: 0; }
.checklist .done .tick { background: var(--green); box-shadow: none; color: #fff; }
.checklist .done span.t { color: var(--faint); text-decoration: line-through; }
.checklist .tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.progress { height: 6px; background: var(--bg-2); border-radius: 9px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gold-grad); border-radius: 9px; }
.quick { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.quick a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: var(--ring); color: var(--ink); font-weight: 600; font-size: .86rem; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.quick a:hover { box-shadow: var(--sh-lg); transform: translateY(-1px); color: var(--ink); }
.quick a .icon { color: var(--gold-1); }

/* ---------- Menü düzenleyici ---------- */
.cat-block { margin-bottom: 16px; overflow: hidden; }
.cat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.cat-head .handle, .prod .handle { cursor: grab; color: #b3bccb; padding: 4px; touch-action: none; display: flex; }
.cat-head .handle:active, .prod .handle:active { cursor: grabbing; }
.cat-head .thumb { width: 44px; height: 44px; border-radius: 12px; background: var(--bg) center / cover; flex-shrink: 0; }
.cat-head h3 { margin: 0; font-size: 1.02rem; }
.cat-head .meta { font-size: .78rem; color: var(--muted); }
.cat-head .tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.cat-block.inactive .cat-head h3 { color: var(--faint); }
.prod-list { border-top: 1px solid var(--line-2); min-height: 8px; }
.prod { display: flex; align-items: center; gap: 14px; padding: 11px 18px; border-bottom: 1px solid var(--line-2); background: #fff; }
.prod:last-child { border-bottom: 0; }
.prod .thumb { width: 50px; height: 50px; border-radius: 13px; background: var(--bg) center / cover; flex-shrink: 0; display: grid; place-items: center; color: #b9c2cf; }
.prod .info { flex: 1; min-width: 0; }
.prod .name { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; letter-spacing: -.01em; }
.prod .name:hover { color: var(--gold-1); }
.prod .desc { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.prod.inactive .name, .prod.inactive .thumb { opacity: .4; }
.prod .price-input { width: 112px; height: 38px; text-align: right; font-weight: 700; padding: 0 26px 0 10px; border-radius: 10px; }
.prod .price-wrap { position: relative; flex-shrink: 0; }
/* ₺ işareti kutunun içinde durur; yanındaki anahtarlarla çakışmaz */
.prod .price-wrap::after { content: '₺'; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: .85rem; pointer-events: none; }
.prod .toggles { display: flex; gap: 16px; align-items: center; }
.prod .toggles .switch, .cat-head .tools .switch { font-size: .76rem; color: var(--muted); gap: 7px; }
.prod .tools { display: flex; gap: 6px; }
.prod { flex-wrap: wrap; }
.prod.soldout .name { color: var(--muted); }
/* Boy / porsiyonlu ürün: fiyat düğmesi satırın altında boy fiyatlarını açar, her kutu ayrı kaydedilir */
.vprice-btn { min-width: 112px; gap: 6px; }
.vprice-btn .icon { width: 14px; height: 14px; transition: transform .2s; }
.vprice-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.vprice-panel { flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 2px 0 2px 103px; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.vp-item { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.vp-item .price-input { width: 104px; }
.vp-edit { margin-left: auto; font-weight: 600; }
.sortable-ghost { opacity: .35; }
.sortable-chosen { box-shadow: var(--sh-lg); }
.add-prod { display: flex; align-items: center; gap: 8px; padding: 13px 18px; color: var(--navy-3); font-weight: 600; font-size: .88rem; border-top: 1px dashed var(--line); min-height: 48px; }
.add-prod:hover { background: #fafbfd; }
/* Kayıttan dönülen satır kısa süre vurgulanır (panel.js) */
.prod.just-saved, .cat-block.just-saved, .first-steps.just-saved { animation: just-saved 2.4s var(--ease); }
@keyframes just-saved { 0%, 45% { background-color: #fff6d6; box-shadow: inset 0 0 0 2px var(--gold-2); } }
@media (max-width: 720px) {
  /* Telefonda ürün satırı iki satır: fotoğraf · ad · fiyat / anahtarlar. Düzenlemek için ada ya da fotoğrafa dokunulur. */
  .prod { display: grid; grid-template-columns: auto 48px minmax(0, 1fr) auto; grid-template-areas: "h t i p" "h s s s" "v v v v"; gap: 6px 10px; padding: 10px 12px 8px 4px; }
  .prod > .handle { grid-area: h; align-self: stretch; width: 30px; padding: 0; justify-content: center; align-items: center; }
  .prod > .thumb { grid-area: t; width: 48px; height: 48px; }
  .prod > .info { grid-area: i; }
  .prod .name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
  .prod > .price-wrap, .prod > .vprice-btn, .prod > .prod-price { grid-area: p; }
  .prod > .toggles { grid-area: s; gap: 0 18px; flex-wrap: wrap; }
  .prod > .toggles .switch { min-height: 44px; font-size: .84rem; }
  .prod > .tools { display: none; }
  .prod > .vprice-panel { grid-area: v; margin: 0 0 4px 30px; }
  .prod .price-input { width: 100px; height: 44px; }
  .prod .vprice-btn { min-width: 0; height: 44px; padding: 0 12px; }
  .cat-head { flex-wrap: wrap; padding: 10px 12px 10px 4px; gap: 4px 10px; }
  .cat-head > .handle { width: 30px; height: 44px; padding: 0; justify-content: center; align-items: center; }
  .cat-head .tools { width: 100%; margin-left: 0; padding-left: 40px; gap: 8px; }
  .cat-head .tools .switch { min-height: 44px; margin-right: auto; font-size: .84rem; }
  .cat-head .tools .btn-sm { height: 44px; }
  .cat-head .tools .btn-icon { width: 44px; }
}
.variant-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px 44px; gap: 8px; margin-bottom: 8px; align-items: start; }
.variant-row .btn-icon { width: 44px; height: 46px; }
.variant-row .vt { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin-top: 6px; }
.variant-row .vt .input { height: 40px; font-size: .9rem; }
/* Boy adının çevirileri boy satırının altında kapalı durur (ekstralardaki gibi) */
.vt-fold { grid-column: 1 / -1; margin: -2px 0 4px; }
.vt-fold > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.vt-fold > summary::-webkit-details-marker { display: none; }
.vt-fold > summary::before { content: ''; width: 6px; height: 6px; margin: 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.vt-fold[open] > summary::before { transform: rotate(45deg); }
@media (max-width: 560px) {
  .variant-row { grid-template-columns: minmax(0, 1fr) 112px 44px; gap: 6px; }
  .variant-row .vt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-2); border-radius: 999px; margin-bottom: 18px; overflow-x: auto; width: fit-content; max-width: 100%; }
.tabs a, .tabs button { padding: 7px 16px; border: 0; background: none; font: inherit; font-weight: 600; font-size: .86rem; color: var(--muted); border-radius: 999px; cursor: pointer; white-space: nowrap; text-decoration: none; }
.tabs .active { background: #fff; color: var(--ink); box-shadow: var(--ring); }
.lang-panels .lang-panel { display: none; }
.lang-panels .lang-panel.active { display: block; }

/* ---------- Panel › Tasarım: bölüm sekmeleri, tasarım seçici, önizleme ve kayıt çubuğu ---------- */
/* Sekmeler JS ile açılır (dz-ready); JS yoksa bütün bölümler alt alta görünür */
.dz-tabs { display: none; }
.dz-ready .dz-tabs { display: flex; }
.dz-tabs button { display: inline-flex; align-items: center; gap: 7px; }
.dz-tabs button .icon { width: 16px; height: 16px; }
.dz-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--ring); }
.dz-tabs button.dirty::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); flex-shrink: 0; }
.dz-ready .dz-pane:not(.on) { display: none; }
.dz-pane + .dz-pane { margin-top: 16px; }
.dz-pane .card-head .opt { font-weight: 500; color: var(--faint); font-size: .8rem; }
.dz-pane > * + * { margin-top: 16px; }
@media (max-width: 640px) { .dz-tabs { width: 100%; } .dz-tabs button { flex: 1 0 auto; justify-content: center; padding: 9px 11px; } .dz-tabs button .icon { display: none; } }

.dz-now { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; border-radius: 14px; background: var(--bg); font-size: .9rem; }
.dz-now-item { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dz-now-item > .icon { color: var(--faint); }
.dz-now-lbl { color: var(--muted); font-size: .8rem; }
.dz-now-lbl em { font-style: normal; color: var(--amber); font-weight: 600; }
.dz-now b { display: inline-flex; align-items: center; gap: 6px; }
.dz-now .dot { width: 9px; height: 9px; }
.dz-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 10px; }
.dz-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: .84rem; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.dz-chip span { font-size: .72rem; font-weight: 700; color: var(--faint); }
.dz-chip .icon { color: var(--gold-1); width: 15px; height: 15px; }
.dz-chip:hover { box-shadow: inset 0 0 0 1px #c9d0dc; }
.dz-chip:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--gold-1), var(--focus); }
.dz-chip.on { background: var(--navy); color: #fff; box-shadow: none; }
.dz-chip.on span, .dz-chip.on .icon { color: var(--gold-2); }
.dz-why { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 0 0 14px; line-height: 1.45; }
.dz-why .icon { color: var(--gold-1); margin-top: 2px; }
@media (max-width: 640px) {
  /* Telefonda süzgeçler tek satırda yana kayar */
  .dz-filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -18px; margin-right: -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .dz-filters::-webkit-scrollbar { display: none; }
}

.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.theme-grid[data-filter="oneri"] .theme-card { order: var(--rec, 99); }
@media (max-width: 640px) { .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.theme-card { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; cursor: pointer; background: #fff; box-shadow: var(--ring); transition: box-shadow .2s, transform .2s; }
.theme-card input { position: absolute; opacity: 0; pointer-events: none; }
.theme-card:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.theme-card:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--gold-1), var(--focus); }
.theme-card.selected { box-shadow: 0 0 0 2.5px var(--navy), 0 18px 40px -18px rgba(4, 24, 47, .45); }
.theme-card .frame { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg); position: relative; pointer-events: none; }
.theme-card .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.theme-card .meta { display: block; padding: 10px 12px 12px; }
.theme-card .meta strong { display: flex; align-items: center; gap: 7px; color: var(--ink); letter-spacing: -.01em; font-size: .92rem; }
.theme-card .meta .dot { width: 9px; height: 9px; flex-shrink: 0; box-shadow: 0 0 0 1.5px rgba(4, 24, 47, .1); }
.theme-card .meta small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .76rem; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.tc-flags { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.tc-flags em { font-style: normal; font-size: .66rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.tc-badge { position: absolute; top: 8px; left: 8px; z-index: 2; display: none; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); }
.tc-badge .icon { width: 12px; height: 12px; stroke-width: 3; }
.tc-live { background: var(--green); color: #fff; }
.tc-try { background: var(--navy); color: #fff; }
.theme-card.saved .tc-live { display: inline-flex; }
.theme-card.selected:not(.saved) .tc-try { display: inline-flex; }
/* Ekran görüntüsü henüz olmayan tasarım: kendi renkleriyle küçük bir menü taslağı */
.tc-tile { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 0 14px; background: var(--tbg, #fff); }
.tc-tile::before { content: ''; display: block; height: 34%; margin: 0 -14px; background: var(--tb); }
.tc-tile b { margin-top: -38px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--tt, #fff); }
.tc-tile i { position: relative; display: block; height: 9px; margin-top: 6px; border-radius: 5px; background: rgba(127, 127, 127, .22); width: 62%; }
.tc-tile i::after { content: ''; position: absolute; right: -52%; top: 0; width: 26%; height: 9px; border-radius: 5px; background: var(--tc); }
.tc-tile b + i { margin-top: 26px; }
.dz-empty { margin: 14px 0 0; }

/* Marka: logo, kapak ve renk */
.swatches { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; transition: transform .15s; }
.swatch:hover { transform: scale(1.08); }
.swatch.selected { box-shadow: 0 0 0 2px var(--navy); }
.swatch-mini { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-left: 3px; box-shadow: 0 0 0 1px rgba(4, 24, 47, .15); }
input[type=color] { width: 44px; height: 36px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.dz-color-pick { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.dz-logo-colors { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: var(--gold-soft); }
.dz-warn { display: flex; gap: 6px; align-items: flex-start; color: var(--amber); }
.dz-warn .icon { margin-top: 1px; }
.dz-brand .image-field { flex-wrap: wrap; }
@media (pointer: coarse) { .swatch { width: 40px; height: 40px; } .dz-chip { height: 44px; } }

/* Önizleme: geniş ekranda sağda yapışkan telefon; 1200 px altında "Önizle" ile alttan açılan pencere */
.design-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.design-layout > .preview-col { align-self: stretch; }
.dz-pv { position: sticky; top: 84px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dz-pv-head { display: flex; align-items: center; gap: 4px; width: 100%; }
.dz-pv-head .grow { min-width: 0; }
.dz-pv-head b { display: block; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-pv-head small { display: block; font-size: .74rem; color: var(--muted); }
.dz-pv-head small.try { color: var(--amber); font-weight: 600; }
.dz-pv-note { font-size: .76rem; color: var(--muted); text-align: center; margin: 0; max-width: 300px; line-height: 1.4; }
.dz-close, .dz-sheet-foot, .dz-open { display: none; }
.panel-iph { --s: .74; margin: 0 auto; }
@media (max-height: 860px) { .panel-iph { --s: .66; } }
@media (max-height: 760px) { .panel-iph { --s: .58; } }
@media (max-width: 1199.98px) {
  .design-layout { grid-template-columns: minmax(0, 1fr); }
  .design-layout > .preview-col { display: none; }
  .dz-open { display: inline-flex; }
  body.dz-sheet-open { overflow: hidden; }
  body.dz-sheet-open .design-layout > .preview-col { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(2, 14, 29, .55); backdrop-filter: blur(4px); }
  .dz-pv { position: absolute; left: 0; right: 0; bottom: 0; top: 12px; background: var(--bg); border-radius: 22px 22px 0 0; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); gap: 8px; animation: dz-up .25s var(--ease); }
  .dz-close { display: inline-flex; margin-left: 4px; }
  .dz-phone { flex: 1; min-height: 0; width: 100%; display: grid; place-items: center; overflow: hidden; }
  .dz-sheet-foot { display: flex; gap: 10px; width: 100%; max-width: 520px; }
  .dz-sheet-foot .btn { flex: 1; }
  .dz-pv-note { display: none; }
}
@keyframes dz-up { from { transform: translateY(40px); opacity: 0; } }
@media (max-width: 640px) {
  /* Telefonda çerçeve yok: menü, müşterinin göreceği gibi ekranı doldurur */
  .dz-pv { top: 0; border-radius: 0; padding: 0 0 calc(10px + env(safe-area-inset-bottom)); }
  .dz-pv-head { padding: 6px 8px; background: #fff; border-bottom: 1px solid var(--line-2); }
  .dz-sheet-foot { padding: 0 12px; }
  .dz-sheet-foot .btn-lg { height: 48px; }
  .dz-phone { display: block; }
  .dz-phone .iph { width: 100% !important; height: 100% !important; }
  .dz-phone .iph-frame { position: static; transform: none; width: 100%; height: 100%; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .dz-phone .iph-btn, .dz-phone .iph-bar, .dz-phone .iph-home { display: none; }
  .dz-phone .iph-screen { width: 100%; height: 100%; border-radius: 0; }
  .dz-phone .iph-view { height: 100%; }
  .dz-phone .iph-live { width: 100%; height: 100%; }
}

/* Kayıt çubuğu (ortak .save-bar ile birlikte): kaydedilmemiş değişiklik varsa sarı nokta */
.dz-bar { margin-top: 16px; }
.dz-state { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.dz-dot { width: 9px; height: 9px; border-radius: 50%; background: #c3cad6; flex-shrink: 0; }
.dz-bar.dirty .dz-dot { background: var(--gold-2); box-shadow: 0 0 0 4px rgba(236, 194, 95, .25); }
.dz-bar.dirty .dz-state { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .dz-state { font-size: .8rem; line-height: 1.25; } .dz-bar .dz-open { flex: 0 0 auto; } }
@media (max-width: 400px) { .dz-tabs button { padding: 9px 7px; font-size: .8rem; } }
/* Bekleyen sipariş şeridi kayıt çubuğunun üstünde durur (kural dosya sonundaki ortak .save-bar yerleşiminde); önizleme açıkken gizli */
body.dz-sheet-open .live-pill { display: none; }

/* ---------- QR ---------- */
.qr-box { background: #fff; border-radius: 22px; padding: 18px; display: inline-block; box-shadow: var(--ring); }
.qr-box img, .qr-box svg { width: 220px; height: 220px; display: block; }
.copy-field { display: flex; gap: 8px; }
.copy-field .input { font-weight: 600; color: var(--navy-3); }
/* QR sayfası: QR kodu ve masa kartları üstte yan yana; telefonda sıra QR → kartlar → stand → Instagram */
.qr-layout { display: grid; gap: 20px; align-items: start; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-areas: "qr kart" "ig kart" "ig promo"; }
.qr-layout > .qr-card { grid-area: qr; }
.qr-layout > .qr-cards { grid-area: kart; }
.qr-layout > .qr-link { grid-area: ig; }
.qr-layout > .qr-promo { grid-area: promo; margin: 0; }
@media (max-width: 1100px) { .qr-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; } .qr-layout > * { grid-area: auto !important; } }
.qr-main { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.qr-main .qr-opts { flex: 1 1 240px; }
.qr-table-input { max-width: 170px; }
.qr-dl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.qr-files { list-style: none; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--bg); display: grid; gap: 8px; font-size: .84rem; color: var(--ink-2); line-height: 1.45; }
.qr-files li { display: flex; gap: 10px; align-items: flex-start; }
.qr-files .icon { color: var(--gold-1); margin-top: 2px; }
.qr-paper { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.qr-paper legend { padding: 0; }
.card-pv { margin-top: 6px; border-radius: 16px; background: var(--bg-2); padding: 10px; }
.card-pv-cap { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); margin: 0 2px 8px; }
.card-pv iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 6px; background: #fff; box-shadow: 0 6px 20px -10px rgba(4, 24, 47, .35); }
.qr-cards-foot { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .qr-main { justify-content: center; }
  .qr-box img, .qr-box svg { width: 200px; height: 200px; }
  .qr-dl .btn, .qr-cards-foot .btn { flex: 1 1 100%; }
  .qr-table-input { max-width: none; }
}

/* ---------- Ödeme ---------- */
.price-tag { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.05em; line-height: 1; }
.price-tag small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.method-opt { display: block; border-radius: 16px; padding: 15px 18px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, background .15s; }
.method-opt:hover { box-shadow: inset 0 0 0 1px #c9d0dc; }
.method-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--navy); background: #fafbfd; }
.method-opt input { accent-color: var(--navy); }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .92rem; color: var(--ink-2); }
.feature-list .icon { color: var(--gold-1); margin-top: 3px; stroke-width: 2.5; }
.bank-box { background: var(--bg); border-radius: 16px; padding: 4px 18px; }
.bank-box .r { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.bank-box .r:last-child { border-bottom: 0; }
.bank-box .k { color: var(--muted); font-size: .84rem; }
.bank-box .v { font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; word-break: break-all; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: var(--ring); color: var(--ink); font-weight: 600; font-size: .86rem; text-decoration: none; }
.pagination .active { background: var(--navy); color: #fff; box-shadow: none; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; padding: 4px; background: var(--bg-2); border-radius: 999px; width: fit-content; max-width: 100%; }
.filters a { padding: 7px 15px; border-radius: 999px; color: var(--muted); font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.filters a:hover { color: var(--ink); }
.filters a.active { background: #fff; color: var(--ink); box-shadow: var(--ring); }
.dl { display: grid; grid-template-columns: 170px 1fr; gap: 11px 16px; font-size: .9rem; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 500; word-break: break-word; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } }

/* ---------- Canlı ekran (sipariş / çağrı) ---------- */
.live-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .live-grid { grid-template-columns: minmax(0, 1fr); } }
.call-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: var(--ring); margin-bottom: 10px; }
.call-card.new { box-shadow: 0 0 0 2px var(--gold-2), 0 12px 28px -14px rgba(188, 140, 64, .6); }
.call-card .tbl { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; flex-shrink: 0; line-height: 1; text-align: center; }
.call-card .tbl small { display: block; font-size: .56rem; font-weight: 600; color: var(--gold-2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.order-card { border-radius: 18px; background: #fff; box-shadow: var(--ring); margin-bottom: 14px; overflow: hidden; }
.order-card.fresh, .call-card.fresh { animation: pop .45s var(--ease); }
.order-card.st-new { box-shadow: 0 0 0 2px var(--gold-2), 0 16px 32px -18px rgba(188, 140, 64, .6); }
.order-card .oh { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.order-card .ob { padding: 12px 18px; overflow-wrap: anywhere; }
.order-card .oh b { overflow-wrap: anywhere; min-width: 0; }
.order-card .note { display: flex; gap: 8px; align-items: flex-start; }
.order-card .oi { display: flex; gap: 10px; padding: 5px 0; font-size: .92rem; }
.order-card .oi b { min-width: 26px; }
.order-card .of { display: flex; gap: 8px; padding: 12px 18px; background: #fbfcfe; border-top: 1px solid var(--line-2); flex-wrap: wrap; align-items: center; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.99); } }
.stars { display: inline-flex; gap: 2px; color: var(--gold-2); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; }
.stars .off { color: #d5dbe5; }
.sound-btn.on { background: var(--green-soft); color: var(--green); box-shadow: inset 0 0 0 1px #bfe3c8; }

/* =================== iPhone çerçevesi (views/partials/iphone.ejs) =================== */
/* Doğal boyut 420 × 874 (ekran 390 × 844); --s ile ölçeklenir */
.iph { --s: .6; position: relative; flex-shrink: 0; width: calc(420px * var(--s)); height: calc(874px * var(--s)); }
.iph-frame { position: absolute; top: 0; left: 0; width: 420px; height: 874px; padding: 15px; border-radius: 70px; transform: scale(var(--s)); transform-origin: 0 0;
  background: linear-gradient(145deg, #c9ccd3 0%, #8e929a 14%, #4b4f57 40%, #2a2d33 60%, #6c7079 86%, #c4c7cd 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55), inset 0 0 0 5px #15171b, 0 0 0 1px rgba(0,0,0,.25), 0 60px 90px -40px rgba(20, 30, 50, .55), 0 30px 50px -30px rgba(20, 30, 50, .35); }
.iph-btn { position: absolute; width: 5px; border-radius: 3px; background: linear-gradient(90deg, #6c7079, #c9ccd3 55%, #6c7079); }
.iph-btn.ib1 { left: -4px; top: 170px; height: 34px; }
.iph-btn.ib2 { left: -4px; top: 236px; height: 64px; }
.iph-btn.ib3 { left: -4px; top: 314px; height: 64px; }
.iph-btn.ib4 { right: -4px; top: 270px; height: 100px; }
.iph-screen { position: relative; width: 390px; height: 844px; border-radius: 55px; overflow: hidden; background: #000; isolation: isolate; }
.iph-bar { position: relative; z-index: 3; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 46px; color: #fff; transition: background .4s; }
.iph-bar.on-light { color: #000; }
.iph-time { font-family: -apple-system, 'SF Pro Text', Inter, system-ui, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -.02em; width: 54px; text-align: center; }
.iph-icons { display: flex; align-items: center; gap: 6px; }
.iph-icons svg { fill: currentColor; display: block; }
.iph-island { position: absolute; top: 11px; left: 50%; width: 126px; height: 37px; margin-left: -63px; border-radius: 20px; background: #000; }
.iph-view { position: relative; height: 790px; background: #fff; }
.iph-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 1; transition: opacity .35s; }
.iph-shot.gone { opacity: 0; pointer-events: none; }
.iph-live { position: absolute; inset: 0; width: 390px; height: 790px; border: 0; display: block; background: #fff; }
.iph-home { position: absolute; z-index: 4; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgba(0,0,0,.5); box-shadow: 0 0 0 1px rgba(255,255,255,.35); pointer-events: none; }

/* Panel › Tasarım: özel tasarım çağrısı */
.custom-design { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none !important; color: var(--ink); background: linear-gradient(120deg, #fff4ea, #f1edff 55%, #e9f3ff); transition: transform .2s; }
.custom-design:hover { transform: translateY(-2px); color: var(--ink); }
.custom-design .cd-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: #c48a4f; flex-shrink: 0; }
.custom-design b { display: block; font-size: 1rem; }
.custom-design .grow > span { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
.custom-design > .icon { color: var(--faint); }
.custom-design .cd-cta { flex-shrink: 0; }
@media (max-width: 640px) { .custom-design { flex-wrap: wrap; align-items: flex-start; } .custom-design .grow { flex-basis: calc(100% - 58px); } .custom-design .cd-cta { margin-left: 58px; } }

/* ---------- Satış araçları: ekstralar, kampanyalar, sadakat, yapay zekâ ---------- */
.chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--gold-soft); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(188, 140, 64, .25); transition: background .15s; }
.chip-btn:hover { background: #f7e8c4; }
.opt-card { border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); padding: 12px; margin-bottom: 10px; background: var(--bg); }
.opt-top { display: grid; grid-template-columns: minmax(0, 1fr) 200px 40px; gap: 8px; }
.opt-flags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 8px; }
.opt-flags label { gap: 6px; }
.opt-choices { display: grid; gap: 6px; margin-bottom: 6px; }
.opt-choice { display: grid; grid-template-columns: minmax(0, 1fr) 150px 40px; gap: 8px; }
.input-sm { height: 34px; padding: 0 8px; }
.opt-choice .addon { padding: 0 10px; }
/* Ekstra çevirileri: grup kartının altında açılır, her dil için grup adı ve seçimler */
.opt-tr { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.opt-tr > summary { list-style: none; cursor: pointer; font-size: .84rem; font-weight: 600; display: flex; align-items: center; gap: 8px; width: fit-content; }
.opt-tr > summary::-webkit-details-marker { display: none; }
.opt-tr > summary::before { content: ''; width: 6px; height: 6px; margin: 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.opt-tr[open] > summary::before { transform: rotate(45deg); }
.opt-tr[open] > summary { margin-bottom: 8px; }
.opt-tr-lang { display: grid; gap: 6px; margin-bottom: 12px; }
.opt-tr-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px; align-items: center; }
.opt-tr-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt-tr-row .input { height: 36px; font-size: .84rem; }
@media (max-width: 560px) {
  /* Telefonda grup adı ile sil düğmesi üstte, seçim türü alt satırda tam genişlikte */
  .opt-top { grid-template-columns: minmax(0, 1fr) 36px; }
  .opt-top > .select { grid-row: 2; grid-column: 1 / -1; }
  .opt-choice { grid-template-columns: minmax(0, 1fr) 124px 36px; gap: 6px; }
  .opt-choice .addon { padding: 0 7px; }
  .opt-choice .input-group .input { padding: 0 8px; text-align: right; }
  .opt-top .btn-icon, .opt-choice .btn-icon { width: 36px; }
}

.ai-drop { border-radius: var(--r); box-shadow: inset 0 0 0 2px var(--line); border: 0; padding: 6px; background: var(--bg); }
.ai-drop-in { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border-radius: 16px; border: 2px dashed #c9d0dc; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.ai-drop-in:hover { border-color: var(--gold-1); background: var(--gold-soft); }
.ai-drop-in .icon { width: 28px; height: 28px; color: var(--gold-1); }
.ai-files { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; }
.ai-files:empty { display: none; }
.ai-file { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; background: #fff; box-shadow: var(--ring); font-size: .82rem; }
.ai-file button { width: 24px; height: 24px; border-radius: 50%; color: var(--muted); }
.ai-file button:hover { background: var(--bg-2); }
.ai-table td { vertical-align: top; }
.ai-table td:nth-child(3) { max-width: 260px; }

.loy-card { border-radius: var(--r); padding: 18px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--on-dark); }
.loy-card .muted, .loy-card .xs { color: var(--on-dark-2); }
.loy-card .big { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.loy-card .table { background: rgba(255, 255, 255, .06); border-radius: 12px; color: var(--on-dark); }
.loy-card .table td { border-color: rgba(255, 255, 255, .08); }
.loy-dots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.loy-dots span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 2px dashed rgba(255, 255, 255, .35); color: transparent; }
.loy-dots span:last-child { color: rgba(255, 255, 255, .45); }
.loy-dots span.on { background: var(--gold-2); border-color: transparent; color: var(--navy); }
.loy-dots .icon { width: 18px; height: 18px; }
.oi-opt { display: block; color: var(--muted); font-size: .8rem; }
.loy-card .btn-primary { background: var(--gold-grad); color: var(--navy); }
.loy-card .input, .loy-card .select { background: #fff; }
.auto-print { position: relative; padding-right: 8px; }
.auto-print select { border: 0; background: transparent; font: inherit; font-weight: 600; color: inherit; cursor: pointer; outline: none; max-width: 190px; }

/* ---------- Canlı ekran: ses uyarısı, sekmeler, araç menüsü ---------- */
.sound-strip { position: sticky; top: 76px; z-index: 15; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 16px; padding: 14px 18px; border: 0; border-radius: 16px; background: #ffd84d; color: #3d2c00; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.35; text-align: left; cursor: pointer; box-shadow: 0 12px 26px -16px rgba(154, 103, 0, .8); }
.sound-strip .icon { width: 1.5em; height: 1.5em; }
.sound-strip:hover { filter: brightness(1.03); }
.sound-strip small { display: block; font-weight: 500; font-size: .8rem; opacity: .8; }
@media (max-width: 1000px) { .sound-strip { top: 74px; } }
.live-tabs { display: none; }
@media (max-width: 1000px) {
  .live-tabs { display: flex; }
  .live-grid[data-tab="orders"] > [data-pane="calls"], .live-grid[data-tab="calls"] > [data-pane="orders"] { display: none; }
  .live-grid .pane-title { display: none; }
}
/* Geniş ekranda araçlar satırın parçası gibi davranır (display: contents), telefonda "⋯" menüsüne katlanır */
.tool-menu { display: contents; }
.tool-menu-btn { display: none; }
.tool-menu-items { display: contents; }
@media (max-width: 640px) {
  .tool-menu { display: flex; }
  .tool-menu-btn { display: inline-flex; }
  /* Menü, düğmenin bulunduğu satırın soluna hizalanır; dar ekranda taşmaz */
  .tool-menu-anchor { position: relative; }
  .tool-menu-anchor .tool-menu { position: static; }
  .tool-menu-items { display: none; position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; flex-direction: column; align-items: stretch; min-width: 240px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--sh-lg); }
  .tool-menu.open .tool-menu-items { display: flex; }
  .tool-menu-items .btn { justify-content: flex-start; }
}
.empty-live .icon { width: 40px; height: 40px; }

/* ---------- İşletme saatleri ---------- */
.hours-row { display: grid; grid-template-columns: 96px 120px auto 120px minmax(0, 1fr); align-items: center; gap: 8px 10px; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.hours-row .input { height: 38px; min-width: 0; }
.hours-row .closed { justify-self: end; }
@media (max-width: 560px) {
  .hours-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .hours-row .day { grid-column: 1 / 3; }
  .hours-row .closed { grid-column: 3; grid-row: 1; }
}

/* ---------- Ekranlar: kısa etiketli bağlantı satırları ve küçük QR ---------- */
.link-row { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: var(--bg); }
.link-row + .link-row { margin-top: 8px; }
.link-row .lbl { flex: 1 1 150px; min-width: 0; font-weight: 600; font-size: .92rem; }
.link-row .lbl small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; }
.link-row .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.qr-box.qr-mini { padding: 10px; border-radius: 16px; }
.qr-box.qr-mini svg, .qr-box.qr-mini img { width: 116px; height: 116px; }
.tv-builder { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0; }
.tv-builder .field { margin: 0; }
.tv-builder .wide { grid-column: 1 / -1; }
@media (max-width: 520px) { .tv-builder { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Açılır oluşturma formları ve durum şeridi ---------- */
.create-box > summary { list-style: none; width: fit-content; }
.create-box > summary::-webkit-details-marker { display: none; }
.create-box[open] > summary { margin-bottom: 16px; }
.status-strip { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--ring); margin-bottom: 16px; }
.status-strip .grow { flex: 1 1 200px; }
.status-strip .dot { width: 9px; height: 9px; }
.num-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.num-row .field { margin: 0; }
.num-row .input { width: 110px; }
/* ---------- Panel formları: ince kaydet çubuğu, telefonda yazı boyutu ve dokunma hedefleri ---------- */
/* Kaydet çubuğu en fazla 64 px, opak; telefonda tek satır ve yazarken (klavye açıkken) alanın üstüne binmez */
.save-bar { position: sticky; bottom: 0; z-index: 6; display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: var(--bg); box-shadow: 0 -1px 0 var(--line); }
.save-bar .btn, .save-bar .btn-lg { height: 44px; padding: 0 22px; font-size: .95rem; }
.save-bar .save-state { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--amber); }
form.is-dirty [data-save-main]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 2px var(--navy); }
.lbl-short { display: none; }
@media (max-width: 640px) {
  .save-bar { flex-wrap: nowrap; gap: 8px; margin: 8px -14px 0; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); }
  .save-bar .btn, .save-bar .btn-lg { padding: 0 16px; }
  .save-bar .btn-primary { flex: 1 1 auto; }
  .save-bar [data-cancel], .save-bar .save-state { display: none; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  form:has(:is(input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea, select):focus) .save-bar { position: static; }
  /* Form ekranlarında alt sekme çubuğu yerine kaydet çubuğu görünür (iki çubuk üst üste binmesin) */
  body:has(.save-bar) .tabbar { display: none; }
}
/* Sabit üst çubuk ve kaydet çubuğu, odaklanan ya da bağlantıyla gidilen alanı örtmesin */
html:has(.save-bar) { scroll-padding: 84px 0 84px; }
html:has([data-menu-bar]) { scroll-padding-top: var(--menu-sticky, 190px); }

/* iOS Safari 16 px'ten küçük yazılı alana odaklanınca sayfayı yakınlaştırır: telefonda ve dokunmatik ekranda tüm panel alanları 16 px */
@media (max-width: 1000px), (pointer: coarse) {
  .shell :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=submit]):not([type=button]), select, textarea) { font-size: 16px !important; }
}
/* Dokunmatik ekranda anahtar, onay kutusu ve çiplerin dokunma alanı en az 44 / 40 px */
@media (pointer: coarse) {
  .shell .switch { min-height: 44px; }
  .shell .check { min-height: 44px; align-items: center; }
  .shell .check input { margin-top: 0; }
  .shell .chip-check span { min-height: 40px; padding: 9px 14px; }
  .shell .chip-btn { min-height: 40px; }
  .shell .tabs a, .shell .tabs button { min-height: 40px; }
  .shell .btn:not(.btn-sm) { height: 44px; }
  .shell :is([data-image-field], [data-product-form], .form-head, .danger-zone, .first-steps, [data-import-form]) .btn-sm { height: 44px; }
  .shell [data-product-form] .btn-icon.btn-sm { width: 44px; }
  .menu-bar .cat-jump a, .menu-bar .chip-filter { min-height: 44px; }
}

/* Form başlığı: geri bağlantısı büyük dokunma alanı; telefonda başlık üst çubukta zaten yazıyor */
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 600; font-size: .9rem; }
.back-link .icon { width: 1em; height: 1em; }
@media (max-width: 640px) {
  .form-head { margin-bottom: 12px; }
  .form-head h2 { display: none; }
  .form-head .back-link { min-height: 44px; }
  .form-head p { font-size: .88rem; }
}

/* Açılır form bölümleri (ürün / kategori formu): kapalıyken başlık ve içindekilerin özeti görünür */
.fold-label { margin: 22px 4px 10px; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.fold-label span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.fold > .fold-head { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 20px; border-radius: var(--r); cursor: pointer; user-select: none; }
.fold > .fold-head::-webkit-details-marker { display: none; }
.fold > .fold-head:focus-visible { outline: none; box-shadow: var(--focus); }
.fold-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--bg); color: var(--gold-1); display: grid; place-items: center; flex-shrink: 0; }
.fold-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fold-t b { color: var(--ink); font-size: .98rem; letter-spacing: -.01em; }
.fold-sum { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fold:has(.is-invalid) > .fold-head .fold-sum { color: var(--red); }
.fold-chev { width: 9px; height: 9px; margin: 0 6px 4px 0; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .2s var(--ease); flex-shrink: 0; }
.fold[open] > .fold-head { border-bottom: 1px solid var(--line-2); border-radius: var(--r) var(--r) 0 0; }
.fold[open] > .fold-head .fold-chev { transform: rotate(-135deg); margin-bottom: -4px; }
.fold > .fold-head:hover .fold-t b { color: var(--navy-3); }
@media (max-width: 640px) { .fold > .fold-head { gap: 12px; padding: 10px 14px; } .fold-ic { width: 34px; height: 34px; } }

/* Temel bilgiler: fiyat ve kategori telefonda da yan yana; durum anahtarları büyük dokunma alanlı */
@media (max-width: 640px) { .grid-2.basic-pair { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px; } }
.status-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.status-pair.one { grid-template-columns: minmax(0, 1fr); }
.status-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 10px 14px; border-radius: 14px; background: var(--bg); cursor: pointer; }
.status-opt b { display: block; font-size: .92rem; color: var(--ink); letter-spacing: -.01em; }
.status-opt small { display: block; margin-top: 1px; font-size: .76rem; line-height: 1.35; color: var(--muted); }
.status-opt .switch { min-height: 0; }
.status-opt:has(input:focus-visible) { box-shadow: var(--focus); }
@media (max-width: 520px) { .status-pair { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* Çeviri sekmeleri: hepsi görünür (alt satıra iner); ad çevrildiyse yeşil nokta */
.lang-tabs { flex-wrap: wrap; width: auto; border-radius: 18px; }
.lang-tabs button { display: inline-flex; align-items: center; gap: 7px; }
.lang-tabs .tr-dot { width: 7px; height: 7px; border-radius: 50%; background: #c3cad6; }
.lang-tabs .done .tr-dot { background: var(--green); }

/* Tehlikeli alan: kaydet çubuğundan ayrı, formun sonunda */
.danger-zone { margin-top: 28px; background: #fffafa; box-shadow: 0 0 0 1px #f2c9c4; }
.danger-zone h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--red); margin-bottom: 6px; }
.danger-zone .field { margin-bottom: 12px; max-width: 420px; }
.danger-zone .row { gap: 10px; }

/* Menü listesi: başlık işlemleri ve "Diğer" menüsü */
.menu-head .head-actions { gap: 8px; }
.more-menu { position: relative; }
.more-menu > summary { list-style: none; }
.more-menu > summary::-webkit-details-marker { display: none; }
.more-items { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; display: flex; flex-direction: column; min-width: 250px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: var(--sh-lg); }
.more-items a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.more-items a:hover { background: var(--bg); color: var(--ink); }
.more-items .icon { color: var(--gold-1); }
@media (max-width: 640px) {
  .menu-head { margin-bottom: 12px; gap: 10px; }
  .menu-head h2 { display: none; }
  .menu-head p { margin: 0; font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .menu-head .head-actions { width: 100%; flex-wrap: nowrap; }
  .menu-head .head-actions .btn-primary { flex: 1 1 auto; }
  .more-items { left: 0; right: auto; }
}

/* Menü listesi: yapışkan arama + durum süzgeçleri + kategoriye atlama çipleri */
.menu-bar { position: sticky; top: var(--topbar-h, 66px); z-index: 15; margin: 0 -8px 14px; padding: 10px 8px 8px; background: var(--bg); }
.menu-bar.stuck { box-shadow: 0 10px 16px -16px rgba(4, 24, 47, .45); }
.menu-search { position: relative; max-width: 420px; }
.menu-search > .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.menu-search .input { height: 44px; padding-left: 42px; border-radius: 999px; }
.cat-jump { position: relative; display: flex; gap: 6px; overflow-x: auto; margin: 8px -8px 0; padding: 2px 8px 4px; scrollbar-width: none; }
.cat-jump::-webkit-scrollbar { display: none; }
.cat-jump a, .chip-filter { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: var(--ring); font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; cursor: pointer; text-decoration: none; }
.cat-jump a span { font-size: .72rem; font-weight: 700; color: var(--faint); }
.cat-jump a:hover { color: var(--ink); box-shadow: 0 0 0 1px #c9d0dc; }
.cat-jump a.active { background: var(--navy); color: #fff; box-shadow: none; }
.cat-jump a.active span { color: var(--gold-2); }
.chip-filter .icon { width: 15px; height: 15px; }
.chip-filter.red { color: var(--red); }
.chip-filter[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.chip-filter:focus-visible, .cat-jump a:focus-visible { outline: none; box-shadow: var(--focus); }
@media (min-width: 900px) {
  .menu-bar { display: flex; align-items: center; gap: 12px; }
  .menu-search { flex: 0 0 300px; }
  .cat-jump { flex: 1; min-width: 0; margin: 0; }
}
@media (max-width: 1000px) { .menu-bar { margin: 0 -14px 12px; padding: 8px 14px; } .cat-jump { margin: 8px -14px 0; padding: 2px 14px 4px; } }
.filter-empty { padding: 28px 18px; }

/* İlk ürünlerden sonra: menüyü telefonda görme kartı */
.first-steps { display: flex; align-items: center; gap: 16px; padding: 16px 18px; scroll-margin-top: 90px; }
.first-steps .fs-qr { width: 104px; height: 104px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: var(--ring); flex-shrink: 0; }
.first-steps b { display: block; margin-bottom: 4px; }
.first-steps .fs-mob { display: none; }
.first-steps > .btn-icon { align-self: flex-start; }
@media (max-width: 640px) { .first-steps .fs-qr, .first-steps .fs-desk { display: none; } .first-steps .fs-mob { display: inline; } }

/* Excel'den ürün yükleme */
.import-pick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.import-preview { max-height: 520px; overflow: auto; }
@media (max-width: 640px) { .import-preview { max-height: none; } }
.card.is-soon .card-body { opacity: .62; }
.sidebar nav a .soon { margin-left: auto; font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--on-dark-3); }
.cat-head .meta .pill { font-size: .68rem; padding: 2px 8px; }
.table .fb-comment { min-width: 240px; }
@media (max-width: 640px) { .table .fb-comment { min-width: 0; } }
.station-card .st-help-bar, .station-card:has(input[value="bar"]:checked) .st-help-kitchen { display: none; }
.station-card:has(input[value="bar"]:checked) .st-help-bar { display: block; }
.ai-drop.is-off { opacity: .55; }
.ai-drop.is-off .ai-drop-in { cursor: not-allowed; }
.ai-drop.is-off .ai-drop-in:hover { border-color: #c9d0dc; background: none; }
.stack > .qr-promo { margin-top: 16px; }

/* Windows sipariş uygulaması: bağlantı kodu */
.pair-code { display: inline-grid; gap: 4px; padding: 14px 20px; border-radius: 16px; background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(188, 140, 64, .35); }
.pair-code span, .pair-code small { font-size: .82rem; color: var(--gold-ink); }
.pair-code b { font: 800 2rem/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--ink); cursor: copy; }
.dot.green { color: #16a34a; }

/* ---------- Masalar: masa planı ve hesap paneli ---------- */
.tables-bar .tabs button span { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: rgba(4, 24, 47, .07); font-size: .74rem; text-align: center; }
.tables-sum { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tables-sum b { font-size: 1.15rem; letter-spacing: -.02em; }
.tables-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tables-grid > .empty { grid-column: 1 / -1; }
.tbl-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 128px; padding: 14px 14px 12px; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--ring); font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: box-shadow .15s var(--ease), transform .08s; }
.tbl-tile:hover { box-shadow: 0 0 0 1px rgba(4, 24, 47, .14), 0 10px 24px -16px rgba(4, 24, 47, .4); }
.tbl-tile:active { transform: scale(.98); }
.tbl-tile:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--gold-1), var(--focus); }
.tbl-tile .tt-no { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; overflow-wrap: anywhere; }
.tbl-tile .tt-no small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.tbl-tile .tt-free { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--faint); }
.tbl-tile .tt-total { margin-top: auto; font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.tbl-tile .tt-meta { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; color: var(--muted); }
.tbl-tile .tt-pend { font-size: .72rem; font-weight: 700; color: var(--blue); }
.tbl-tile .tt-call { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 56px); padding: 3px 8px; border-radius: 999px; background: var(--gold-2); color: var(--navy); font-size: .68rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl-tile.busy { background: var(--navy); color: #fff; box-shadow: 0 14px 28px -18px rgba(4, 24, 47, .8); }
.tbl-tile.busy .tt-no small { color: var(--gold-2); }
.tbl-tile.busy .tt-meta { color: var(--on-dark-2); }
.tbl-tile.busy .tt-pend { color: var(--gold-3); }
.tbl-tile.long .tt-meta { color: #fecaca; }
.tbl-tile.call { box-shadow: 0 0 0 2px var(--gold-2), 0 12px 28px -14px rgba(188, 140, 64, .6); }
.tbl-tile.sel { box-shadow: 0 0 0 3px var(--gold-1), 0 12px 28px -14px rgba(188, 140, 64, .6); }
.recent-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: var(--ring); margin-bottom: 8px; }
.bill-drawer { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: flex-end; }
.bill-backdrop { position: absolute; inset: 0; background: rgba(2, 14, 29, .4); backdrop-filter: blur(2px); }
.bill-panel { position: relative; width: min(480px, 100%); height: 100%; display: flex; flex-direction: column; background: var(--bg); box-shadow: -20px 0 50px -20px rgba(2, 14, 29, .5); animation: bill-in .22s var(--ease); }
@keyframes bill-in { from { transform: translateX(30px); opacity: 0; } }
.bill-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--line-2); }
.bill-head h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.bill-body { flex: 1; overflow-y: auto; padding: 16px 18px 28px; overscroll-behavior: contain; }
.bill-body > .empty { padding: 36px 12px; }
.bill-order { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--ring); margin-bottom: 8px; overflow-wrap: anywhere; }
.bill-order.cancelled { opacity: .55; }
.bill-order.cancelled .bo-item span { text-decoration: line-through; }
.bo-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.bo-head .bo-total { margin-left: auto; }
.bo-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; padding: 3px 0; font-size: .9rem; }
.bill-paid, .bill-form { padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: var(--ring); margin-top: 12px; }
.bill-paid .r { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.bill-paid .r span { display: inline-flex; align-items: center; gap: 6px; }
.bill-paid .r.big { font-size: 1.1rem; font-weight: 700; border-top: 1px solid var(--line-2); margin-top: 4px; padding-top: 10px; }
.bill-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 2px 0 12px; }
.bill-line.due { padding: 10px 0 14px; margin-top: 2px; border-top: 1px solid var(--line-2); font-size: 1.05rem; }
.bill-line.due b { font-size: 1.5rem; letter-spacing: -.03em; }
.bill-adj { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.bill-adj .field { margin-bottom: 14px; }
.bill-error { color: var(--red); font-weight: 600; margin: 0 0 10px; }
.bill-move .row .input { flex: 1; min-width: 0; }
body.bill-open { overflow: hidden; }
@media (max-width: 640px) {
  .tables-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
  .tbl-tile { min-height: 112px; padding: 12px 11px 10px; border-radius: 16px; }
  .tbl-tile .tt-no { font-size: 1.35rem; }
  .tbl-tile .tt-total { font-size: 1rem; }
  .tbl-tile .tt-call { position: static; max-width: 100%; order: -1; margin-bottom: 2px; white-space: normal; line-height: 1.25; border-radius: 10px; }
  /* "Canlı siparişler →" bağlantısı telefonda uyarının altına iner (metin sütunu sıkışmaz; q5 B16) */
  .tables-alert { flex-wrap: wrap; }
  .tables-alert > .grow { flex: 1 1 calc(100% - 40px); }
  .tables-alert > .ta-go { flex: 1 0 100%; padding-left: calc(1.25em + 12px); }
  .bill-panel { width: 100%; animation-name: bill-up; }
  .bill-head { padding: 12px 14px; }
  .bill-body { padding: 12px 14px 24px; }
  .recent-row { padding: 10px 12px; }
}
@keyframes bill-up { from { transform: translateY(24px); opacity: 0; } }
.bill-line.due small { display: block; font-weight: 500; }
@media (max-width: 640px) {
  .tbl-tile { min-height: 96px; }
  .tbl-tile .tt-meta { font-size: .7rem; }
  .tbl-tile .tt-long { display: none; }
}
.bill-body > .empty .btn .icon { width: 1.1em; height: 1.1em; margin: 0; color: inherit; stroke-width: 2; }

/* ---------- Süper yönetim (views/admin): genel bakış, listeler, onay pencereleri, talepler, ayar sekmeleri ---------- */
.adm-today { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.adm-today h2 { font-size: 1.75rem; letter-spacing: -.035em; }
.adm-today .adm-search { flex: 0 1 360px; }
.adm-search { position: relative; display: flex; align-items: center; min-width: 0; }
.adm-search > .icon { position: absolute; left: 15px; color: var(--faint); pointer-events: none; }
.adm-search .input { height: 42px; padding-left: 42px; border-radius: 999px; }
.adm-todo .card-head h3, .adm-danger .card-head h3 { display: flex; align-items: center; gap: 8px; }
.adm-todo .card-head h3 .icon { color: var(--gold-1); }
.adm-task { padding: 16px 24px; border-bottom: 1px solid var(--line-2); }
.adm-task:last-child { border-bottom: 0; }
.adm-task-h { display: flex; align-items: flex-start; gap: 14px; }
.adm-task-h b { font-size: .98rem; letter-spacing: -.01em; }
.adm-task-h .xs { margin-top: 2px; line-height: 1.45; }
.adm-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--bg-2); color: var(--ink-2); }
.adm-ic.amber { background: var(--amber-soft); color: var(--amber); }
.adm-ic.gold { background: var(--gold-soft); color: var(--gold-ink); }
.adm-ic.blue { background: var(--blue-soft); color: var(--blue); }
.adm-ic.red { background: var(--red-soft); color: var(--red); }
.adm-ic.navy { background: var(--navy); color: var(--gold-2); }
.adm-n { min-width: 44px; height: 38px; padding: 0 12px; border-radius: 999px; display: grid; place-items: center; flex-shrink: 0; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.adm-n:hover { background: var(--navy-3); color: #fff; }
.adm-items { list-style: none; margin: 10px 0 0 52px; padding: 0; }
.adm-items li { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; padding: 10px 0; border-top: 1px dashed var(--line); }
.adm-items li .grow { flex: 1 1 220px; min-width: 0; }
.adm-items .pill { margin-left: 4px; }
.adm-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.adm-acts form { display: inline-flex; margin: 0; }
.adm-more { display: inline-block; margin: 6px 0 0 52px; font-size: .84rem; font-weight: 600; }
.adm-clear { display: flex; gap: 14px; align-items: center; padding: 22px 24px; }
.adm-clear > .icon { width: 34px; height: 34px; color: var(--green); }
.adm-code { font: 600 .78rem var(--mono); padding: 1px 7px; border: 0; border-radius: 6px; background: var(--bg-2); color: var(--ink); cursor: copy; }
.adm-code:hover { background: var(--gold-soft); }
.adm-kpis { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.adm-kpis a.card { color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.adm-kpis a.card:hover { box-shadow: var(--sh-lg); transform: translateY(-1px); }
.adm-notes { padding: 4px 0; }
.adm-note { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; padding: 11px 22px; font-size: .86rem; }
.adm-note > .icon { color: var(--blue); margin-top: 2px; }
.adm-note .grow { flex: 1 1 260px; }
.adm-note + .adm-note { border-top: 1px solid var(--line-2); }
.adm-list { list-style: none; margin: 0; padding: 0; }
.adm-list li { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; padding: 12px 22px; border-bottom: 1px solid var(--line-2); }
.adm-list li:last-child { border-bottom: 0; }
.adm-list li .grow { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
/* Liste çubuğu ve süzgeç çipleri (telefonda tek satır, yatay kaydırılır) */
.adm-listbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.adm-listbar .adm-search { flex: 1 1 260px; }
.adm-listbar .filters { margin-bottom: 0; }
.adm-sort { position: relative; display: flex; align-items: center; }
.adm-sort > .icon { position: absolute; left: 14px; color: var(--faint); pointer-events: none; }
.adm-sort .select { width: auto; height: 42px; padding-left: 40px; border-radius: 999px; }
.adm-chips a { display: inline-flex; align-items: center; gap: 6px; }
.adm-chips .n, .adm-types .n { font-size: .74rem; font-weight: 700; color: var(--faint); }
.adm-chips a.active .n { color: var(--ink-2); }
.adm-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa6b8; flex-shrink: 0; }
.adm-dot.green { background: var(--green); }
.adm-dot.blue { background: var(--blue); }
.adm-dot.amber { background: #d69e00; }
.adm-dot.red { background: var(--red); }
.adm-dot.navy { background: var(--navy); }
.pagination .gap { background: none; box-shadow: none; min-width: 18px; padding: 0; }
.adm-biz td.actions .btn .icon { margin: 0; }
.adm-m-only { display: none !important; }
/* İşletme detayı: abonelik özeti ve tehlikeli işlemler */
.adm-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.adm-facts > div { padding: 10px 14px; border-radius: 14px; background: var(--bg); }
.adm-facts span { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); }
.adm-facts b { font-size: .95rem; }
.adm-danger { box-shadow: 0 0 0 1px #f2c9c4; }
.adm-danger .card-head h3 { color: var(--red); }
.adm-danger-row { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 14px 24px; border-bottom: 1px solid var(--line-2); }
.adm-danger-row:last-child { border-bottom: 0; }
.adm-danger-row .grow { flex: 1 1 220px; }
/* Onay penceresi: ne olacağını madde madde anlatır */
.adm-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 24px; border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: var(--sh-lg); }
.adm-dialog::backdrop { background: rgba(2, 14, 29, .5); backdrop-filter: blur(2px); }
.adm-dialog h3 { font-size: 1.2rem; margin-bottom: 10px; overflow-wrap: anywhere; }
.d-block { display: block; }
.check .d-block, .adm-dialog .d-block { margin-top: 2px; font-weight: 400; }
.adm-dialog .label { margin-bottom: 4px; }
.adm-dialog-foot { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 20px; }
.adm-conseq { list-style: none; margin: 0 0 12px; padding: 0; }
.adm-conseq li { position: relative; padding: 5px 0 5px 22px; font-size: .9rem; line-height: 1.45; }
.adm-conseq li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.adm-conseq li.bad::before { background: var(--red); }
.adm-conseq li.warn::before { background: #d69e00; }
.adm-conseq li.ok::before { background: var(--green); }
.adm-conseq-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.adm-conseq-t { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.adm-conseq-t.bad { color: var(--red); }
.adm-conseq-t.ok { color: var(--green); }
.adm-opt { padding: 12px 14px; border-radius: 14px; background: var(--bg); font-size: .9rem; }
/* Talepler */
.adm-types { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.adm-types a { padding: 5px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: .8rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.adm-types a.active { background: var(--navy); color: #fff; box-shadow: none; }
.adm-types a.active .n { color: var(--gold-2); }
.adm-leads { display: grid; gap: 14px; }
.adm-lead { scroll-margin-top: 84px; }
.adm-lead.is-due { box-shadow: 0 0 0 2px var(--gold-2), 0 12px 28px -18px rgba(188, 140, 64, .6); }
.adm-lead:target { box-shadow: 0 0 0 2px var(--navy-3); }
.adm-lead-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 22px 0; }
.adm-lead-h .pill .icon { width: 1em; height: 1em; }
.adm-lead-date { margin-left: auto; }
.adm-lead-b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 12px 22px 16px; }
.adm-lead-who .strong { font-size: 1.05rem; }
.adm-quote { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--gold-2); border-radius: 0 12px 12px 0; background: var(--bg); font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.adm-lead-note .textarea { min-height: 84px; }
.adm-lead-note .row { justify-content: space-between; }
.adm-follow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.adm-follow .input { width: auto; height: 34px; padding: 0 10px; }
.adm-lead-f { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 12px 22px; border-top: 1px solid var(--line-2); border-radius: 0 0 var(--r) var(--r); background: #fbfcfe; }
.adm-steps { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; font-size: .76rem; font-weight: 700; color: var(--faint); }
.adm-steps li { display: flex; align-items: center; gap: 6px; }
.adm-steps li + li::before { content: ""; width: 20px; height: 2px; margin: 0 6px; border-radius: 2px; background: var(--line); }
.adm-steps i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.adm-steps .done { color: var(--ink-2); }
.adm-steps .done i { background: var(--green); }
.adm-steps .done + .done::before { background: var(--green); }
.adm-ellipsis { display: inline-block; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.adm-miss { color: var(--amber); font-weight: 600; }
/* Ayar sekmeleri ve yapışkan kaydet çubuğu */
.adm-tabs { margin-bottom: 20px; }
.adm-tabs a { display: inline-flex; align-items: center; gap: 7px; }
.adm-tabs a .icon { width: 1em; height: 1em; }
.adm-tab-alert { width: 7px; height: 7px; border-radius: 50%; background: #d69e00; }
.adm-tabs a.is-dirty::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.adm-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 0; background: linear-gradient(transparent, var(--bg) 30%); }
@media (max-width: 980px) { .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .adm-lead-b { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .adm-today .adm-search { flex: 1 1 100%; }
  .adm-task { padding: 14px 16px; }
  .adm-items { margin-left: 0; }
  .adm-more { margin-left: 0; }
  .adm-kpis { gap: 10px; }
  .adm-kpis .stat { padding: 14px 16px; }
  .adm-kpis .stat .value { font-size: 1.4rem; }
  .adm-list li, .adm-note { padding: 11px 16px; }
  .adm-chips, .adm-types { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .adm-chips::-webkit-scrollbar, .adm-types::-webkit-scrollbar { display: none; }
  .adm-chips { border-radius: 16px; }
  .adm-m-only { display: inline-flex !important; }
  .adm-biz tr { padding: 14px 16px; }
  .adm-biz .adm-biz-name { margin-bottom: 4px; font-size: 1rem; }
  .adm-danger-row { padding: 14px 16px; }
  .adm-dialog { padding: 20px 18px; }
  .adm-dialog-foot .btn { flex: 1 1 auto; }
  .adm-conseq-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .adm-lead-h, .adm-lead-b, .adm-lead-f { padding-left: 16px; padding-right: 16px; }
  .adm-lead-date { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) { .adm-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.adm-setup p { margin: 0; }
.adm-setup p + p { margin-top: 8px; padding-top: 8px; border-top: 1px solid #f3e1b1; }

/* ---------- Panel kabuğu (u1): gruplu kenar menü, hesap menüsü, alt sekme çubuğu, hızlı arama, canlı şerit ---------- */
.sidebar .brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 16px 10px 22px; }
.nav-close { display: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; place-items: center; cursor: pointer; flex-shrink: 0; }
.nav-close:hover { background: rgba(255, 255, 255, .12); }
.sidebar nav { padding: 2px 12px 10px; }
.sidebar nav a { padding: 7px 12px; }
.sidebar nav a .lbl { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar nav a .ext { width: 13px; height: 13px; opacity: .55; margin-left: -6px; }
.sidebar nav a .tag { margin-left: auto; font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: var(--on-dark-2); white-space: nowrap; }
.sidebar nav a .tag.warn { background: rgba(236, 194, 95, .16); color: var(--gold-2); }
.sidebar nav a.dim { color: var(--on-dark-3); }
.sidebar nav a.dim .icon { opacity: .6; }
.sidebar nav a:focus-visible, .sidebar summary:focus-visible, .sidebar button:focus-visible { outline: 2px solid var(--gold-2); outline-offset: -2px; }
.sidebar .nav-group.top { margin-top: 2px; }
.sidebar button.nav-label { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; cursor: pointer; font-family: inherit; text-align: left; padding: 12px 12px 4px; border-radius: 8px; line-height: 1.4; }
.sidebar button.nav-label:hover { color: var(--on-dark-2); }
.sidebar button.nav-label .chev { margin-left: auto; width: 14px; height: 14px; opacity: .65; transition: transform .2s var(--ease); }
.sidebar button.nav-label .count { background: var(--gold-grad); color: var(--navy); border-radius: 999px; font-size: .64rem; font-weight: 800; padding: 0 7px; letter-spacing: 0; }
.nav-group:not(.closed) [data-group-count] { display: none; }
.nav-group.closed .chev { transform: rotate(-90deg); }
.nav-group.closed .nav-items { display: none; }
/* Abonelik uyarısı yalnızca önemliyken (menü kapalı, deneme son 7 gün, yenileme yakın) görünür */
.sub-mini { margin-bottom: 10px; padding: 10px 12px; }
.sub-mini .xs { color: var(--on-dark-3); margin-top: 3px; }
.sub-mini .cta { color: var(--gold-2); font-weight: 700; margin-top: 5px; }
.sub-mini.on { box-shadow: inset 0 0 0 1px rgba(236, 194, 95, .5); }
/* Hesap menüsü: giriş ve şifre, yardım, özel tasarım, çıkış */
.user-menu { position: relative; }
.user-menu > summary { list-style: none; cursor: pointer; padding: 6px 8px; margin: -6px -8px; border-radius: 14px; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu > summary:hover, .user-menu[open] > summary, .user-menu.on > summary { background: rgba(255, 255, 255, .06); }
.user-menu .side-user .who { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.user-menu .side-user > .icon { color: var(--on-dark-3); }
.user-menu .menu { position: absolute; left: -8px; right: -8px; bottom: calc(100% + 10px); background: #0d2645; border-radius: 14px; padding: 6px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08); z-index: 5; }
.user-menu .menu a, .user-menu .menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: var(--on-dark); font: inherit; font-size: .86rem; cursor: pointer; text-align: left; text-decoration: none; }
.user-menu .menu a:hover, .user-menu .menu button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.user-menu .menu .icon { color: var(--on-dark-3); }
.user-menu .menu .ext { margin-left: auto; width: 13px; height: 13px; }
.user-menu .menu form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid rgba(255, 255, 255, .08); }
/* Üst çubuk: konum, arama, hamburger rozeti */
.topbar h1 .crumb { color: var(--faint); font-weight: 600; }
.topbar .search-btn { color: var(--muted); gap: 8px; }
.topbar .search-btn kbd { font: 600 .68rem var(--font); padding: 2px 6px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--faint); }
.menu-btn { position: relative; }
.dot-badge { position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--bg); }
@media (max-width: 1000px) {
  .sidebar { width: min(300px, 86vw); height: 100vh; height: 100dvh; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
  .nav-close { display: grid; }
  body.nav-open { overflow: hidden; }
  .sidebar nav a, .sidebar button.nav-label { min-height: 44px; }
  .sidebar button.nav-label { padding-top: 10px; }
  .topbar h1 .crumb { display: none; }
  .topbar .search-btn { width: 40px; height: 40px; padding: 0; }
}
/* Telefonda alt sekme çubuğu */
.tabbar { display: none; }
@media (max-width: 640px) {
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a, .tabbar button { min-width: 0; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 2px; border: 0; background: none; font: inherit; font-size: .7rem; font-weight: 600; color: var(--muted); text-decoration: none; cursor: pointer; }
  .tabbar .ic { position: relative; display: grid; place-items: center; }
  .tabbar .ic .icon { width: 22px; height: 22px; }
  .tabbar .active { color: var(--navy); }
  .tabbar .active .ic .icon { color: var(--gold-1); }
  .tabbar .tl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar .count { position: absolute; top: -7px; left: 13px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center; line-height: 1; box-shadow: 0 0 0 2px #fff; }
  .shell.has-tabbar .content { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  /* Alt sekme çubuğu varken rozet orada; form ekranlarında (kaydet çubuğu, alt sekme gizli) hamburger rozeti görünür */
  body:not(:has(.save-bar)) .shell.has-tabbar .topbar .menu-btn .dot-badge { display: none; }
  body:has(.save-bar) .shell.has-tabbar .content { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
/* Hızlı arama (Ctrl+K) */
.search-dlg { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.search-backdrop { position: absolute; inset: 0; background: rgba(2, 14, 29, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.search-panel { position: relative; width: min(600px, 100%); max-height: 76vh; display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: var(--sh-lg); overflow: hidden; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 18px; border-bottom: 1px solid var(--line-2); }
.search-field > .icon { width: 20px; height: 20px; color: var(--faint); }
.search-field input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-results { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.search-results [aria-selected="true"] a { background: var(--bg); }
.search-results .sl { flex: 1; min-width: 0; font-weight: 600; }
.search-results .sg { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.search-empty { padding: 16px 14px; color: var(--muted); font-size: .9rem; }
body.search-open { overflow: hidden; }
@media (max-width: 640px) { .search-dlg { padding: 10px; } .search-panel { max-height: calc(100dvh - 20px); } .search-results .sg { display: none; } }
/* Yeni sipariş / çağrı şeridi (Canlı siparişler dışındaki sayfalarda) */
.live-pill { position: fixed; right: 24px; bottom: 24px; z-index: 35; display: flex; align-items: center; gap: 4px; max-width: min(560px, calc(100vw - 32px)); padding: 6px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 18px 40px -16px rgba(2, 14, 29, .65); animation: toast-in .3s var(--ease); }
.live-pill .lp-main { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 8px 6px 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.live-pill .lp-main:hover { color: #fff; }
.live-pill .lp-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-pill .lp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-2); flex-shrink: 0; animation: lp-pulse 1.6s infinite; }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgba(236, 194, 95, .7); } 70% { box-shadow: 0 0 0 10px rgba(236, 194, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(236, 194, 95, 0); } }
.live-pill .lp-go { color: var(--gold-2); white-space: nowrap; }
.live-pill button { border: 0; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; flex-shrink: 0; }
.live-pill .lp-sound { height: 36px; padding: 0 14px; background: var(--gold-grad); color: var(--navy); font-size: .82rem; white-space: nowrap; }
.live-pill .lp-x { width: 36px; height: 36px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.2rem; line-height: 1; }
@media (max-width: 640px) { .live-pill { left: 12px; right: 12px; bottom: calc(68px + env(safe-area-inset-bottom)); max-width: none; } .live-pill .lp-main { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .live-pill, .live-pill .lp-dot { animation: none; } }

/* ---------- Bugün sayfası (u1) ---------- */
.today-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.today-head h2 { font-size: 1.6rem; letter-spacing: -.035em; margin: 2px 0 0; }
.eyebrow-sm { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.next-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 30px; margin-bottom: 20px; }
.next-step .date { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-2); }
.next-step h2 { font-size: 1.7rem; margin: 6px 0 6px; letter-spacing: -.035em; }
.next-step p { margin: 0; color: var(--on-dark-2); max-width: 560px; }
.next-step .ns-dismiss { color: var(--on-dark-3); }
.next-step .ns-dismiss:hover { color: #fff; }
.ns-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 220px; }
.ns-steps li { display: flex; align-items: center; gap: 10px; color: var(--on-dark-3); font-weight: 600; font-size: .9rem; }
.ns-steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18); font-size: .8rem; flex-shrink: 0; }
.ns-steps li.on { color: #fff; }
.ns-steps li.on span { background: var(--gold-grad); color: var(--navy); box-shadow: none; }
.ns-steps li.done span { background: var(--green); color: #fff; box-shadow: none; }
.ns-steps li .icon { width: 14px; height: 14px; stroke-width: 3; }
.ns-qr { display: grid; justify-items: center; gap: 8px; padding: 14px; border-radius: 20px; background: #fff; color: var(--muted); font-size: .78rem; font-weight: 600; }
.ns-qr img { width: 168px; height: 168px; }
@media (max-width: 760px) { .next-step { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; } .next-step h2 { font-size: 1.4rem; } .ns-steps { min-width: 0; } .ns-qr { justify-self: start; } }
.now-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 18px; }
.now-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--ring); color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.now-tile:hover { box-shadow: var(--sh-lg); color: var(--ink); transform: translateY(-1px); }
.now-tile .ni { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--muted); flex-shrink: 0; }
.now-tile .nv { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.now-tile .nv b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.now-tile .nv span { font-size: .8rem; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-tile.hot { box-shadow: 0 0 0 2px var(--gold-2), 0 12px 28px -16px rgba(188, 140, 64, .7); }
.now-tile.hot .ni { background: var(--gold-soft); color: var(--gold-ink); }
.today-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.today-kpis .k { font-size: .78rem; color: var(--muted); font-weight: 600; }
.today-kpis .v { font-size: 1.55rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; margin-top: 2px; }
.today-kpis .s { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.checklist .tick.tip { box-shadow: none; background: var(--gold-soft); color: var(--gold-ink); }
.checklist.attn .tick { box-shadow: none; background: var(--bg); color: var(--muted); }
.checklist.attn .tick.warn { background: var(--amber-soft); color: var(--amber); }
.checklist.attn .tick .icon { width: 15px; height: 15px; stroke-width: 2; }
.checklist.attn .cta { color: var(--navy-3); font-weight: 600; white-space: nowrap; }
.checklist .done .t { color: var(--faint); text-decoration: line-through; }
.bars.bars-sm { height: 96px; }
@media (max-width: 640px) {
  .today-head h2 { font-size: 1.35rem; }
  .now-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .now-tile { padding: 12px; gap: 10px; }
  .now-tile .ni { width: 34px; height: 34px; }
  .now-tile > .icon { display: none; }
  .now-tile .nv span { white-space: normal; }
  .checklist.attn .cta { display: none; }
  /* Telefonda kurulum listesi istatistiklerden önce gelir */
  .today-split.setup-first { display: flex; flex-direction: column-reverse; }
}

/* ---------- Sipariş ve özellikler: bölüm sekmeleri (u1) ---------- */
.feature-tabs a { display: inline-flex; align-items: center; gap: 6px; }
.feature-tabs .icon { width: 15px; height: 15px; }
@supports selector(:has(*)) {
  .features-form .order-extra { display: none; }
  .features-form:has(input[name="order_mode"][value="panel"]:checked) .order-extra { display: block; }
}
.domain-card > summary { list-style: none; cursor: pointer; border-bottom: 0; }
.domain-card > summary::-webkit-details-marker { display: none; }
.domain-card[open] > summary { border-bottom: 1px solid var(--line-2); }
.domain-card > summary h3 .opt { font-weight: 500; color: var(--muted); font-size: .82rem; }
.adm-biz .adm-mail { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .adm-biz .adm-mail { max-width: none; white-space: normal; overflow-wrap: anywhere; } }
.live-pill .lp-detail { font-weight: 500; color: var(--on-dark-2); }
@media (max-width: 640px) { .live-pill .lp-detail { display: none; } .today-head .row { display: none; } }
.live-pill .lp-short { display: none; }
@media (max-width: 640px) { .live-pill .lp-long { display: none; } .live-pill .lp-short { display: inline; } }
.link-btn.xs { font-size: .8rem; }
.link-btn.small { font-size: .875rem; }
.link-btn.muted { color: var(--muted); font-weight: 500; }
.link-btn.muted:hover { color: var(--ink); }
.today-solo { align-items: start; }
.feature-tabs .tl-short { display: none; }
@media (max-width: 640px) { .feature-tabs .tl-long, .feature-tabs .icon { display: none; } .feature-tabs .tl-short { display: inline; } }
/* Cihaza göre metin: bilgisayarda .dev-desk, telefon / tablette (dokunmatik ya da dar ekran) .dev-touch görünür */
.dev-touch { display: none; }
@media (max-width: 640px), (hover: none) and (pointer: coarse) { .dev-desk { display: none; } .dev-touch { display: inline; } }
.next-step .ns-trial { margin-top: 10px; font-size: .84rem; color: var(--on-dark-3); }
.next-step .ns-trial .icon { vertical-align: -2px; margin-right: 4px; }
.next-step .ns-trial a { color: var(--gold-2); font-weight: 600; }
/* Yerleşim (alttan yukarı): telefonda alt sekme çubuğu ya da form ekranlarında yapışkan kaydet çubuğu → sipariş/çağrı şeridi → bildirimler.
   Şerit kaydet çubuğunun (tasarım ekranındaki .dz-bar dahil) hep üstünde durur: şerit görünürken sayfanın alt boşluğu küçülür, böylece
   çubuk sayfa sonunda da şeridin altında kalır; çubuğun üstüne şerit kadar boşluk açılır, son alanlar da şeridin altında kalmaz.
   Alt sekmeli sayfalarda ve çubuktan sonra içerik olan sayfalarda (tehlikeli alan) sayfanın altına şerit kadar boşluk eklenir (q5 B2, B4, B5).
   Ölçüler: masaüstü kaydet çubuğu 64 px, şerit 48 px; telefonda kaydet çubuğu 60 px, alt sekme 58 px, şerit 56 px. */
body:has(.save-bar) .live-pill { bottom: calc(96px + env(safe-area-inset-bottom)); }
body:has(.save-bar) .toast-wrap { bottom: calc(96px + env(safe-area-inset-bottom)); }
/* Masaüstünde şerit sağ altta: görünürken bildirimler onun üstünde durur (uzun bildirim şeridin üstüne binmesin) */
@media (min-width: 641px) {
  body:has(.live-pill:not([hidden])) .toast-wrap { bottom: 88px; }
  body:has(.save-bar):has(.live-pill:not([hidden])) .toast-wrap { bottom: calc(152px + env(safe-area-inset-bottom)); }
  body:has(.live-pill:not([hidden])) .content { padding-bottom: 96px; }
  body:has(.save-bar):has(.live-pill:not([hidden])) .content { padding-bottom: 24px; }
  body:has(.danger-zone):has(.live-pill:not([hidden])) .content { padding-bottom: 160px; }
  body:has(.live-pill:not([hidden])) .save-bar { margin-top: 72px; }
}
@media (max-width: 640px) {
  body:has(.save-bar) .live-pill { bottom: calc(92px + env(safe-area-inset-bottom) * 2); }
  .shell.has-tabbar ~ .toast-wrap { bottom: calc(72px + env(safe-area-inset-bottom)); }
  body:has(.live-pill:not([hidden])) .shell.has-tabbar ~ .toast-wrap { bottom: calc(132px + env(safe-area-inset-bottom)); }
  body:has(.save-bar) .shell.has-tabbar ~ .toast-wrap { bottom: calc(72px + env(safe-area-inset-bottom)); }
  body:has(.save-bar):has(.live-pill:not([hidden])) .shell.has-tabbar ~ .toast-wrap { bottom: calc(156px + env(safe-area-inset-bottom) * 2); }
  body:has(.live-pill:not([hidden])) .shell.has-tabbar .content { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
  body:has(.save-bar):has(.live-pill:not([hidden])) .shell.has-tabbar .content { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  body:has(.danger-zone):has(.live-pill:not([hidden])) .shell.has-tabbar .content { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
  body:has(.live-pill:not([hidden])) .save-bar { margin-top: 80px; }
  /* Şerit düğmeleri telefonda en az 44 px (q5 B12) */
  .live-pill .lp-main { min-height: 44px; }
  .live-pill .lp-sound { height: 44px; }
  .live-pill .lp-x { width: 44px; height: 44px; }
}
/* ---------- q5 görsel QA düzeltmeleri ---------- */
/* Panel ve yönetim: soluk yazılar (tablo başlığı, "isteğe bağlı", kart etiketleri, Ctrl K) zeminde en az 4,5:1 (q5 B9).
   Yalnızca panel kabuğunda; tanıtım sitesinin kendi soluk tonu değişmez. */
.shell, .search-dlg { --faint: #627186; }
/* Telefon / tablet üst çubuğu: simge düğmeleri en az 44 px (q5 B7) */
@media (max-width: 1000px) {
  .topbar .actions .btn, .topbar .menu-btn { min-width: 44px; min-height: 44px; }
  .topbar .search-btn { width: 44px; height: 44px; }
}
/* Telefonda uzun sayfa başlığı kesilmez, iki satıra iner (q5 B15) */
@media (max-width: 640px) {
  .topbar { gap: 8px; }
  .topbar .actions { gap: 4px; }
  .topbar h1 { white-space: normal; font-size: 1rem; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: break-word; }
}
/* Telefon ve dokunmatik ekranda küçük düğmeler ve süzgeçler de en az 44 px (q5 B12: canlı sipariş kartı, kampanya, ekip, yönetim) */
@media (max-width: 640px), (pointer: coarse) {
  .shell .btn-sm { height: 44px; }
  .shell .btn-icon.btn-sm { width: 44px; }
  .shell .filters a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* Yönetim › Site ayarları: telefonda sekmeler alt satıra iner, hepsi ve uyarı noktaları görünür (q5 B17) */
@media (max-width: 640px) {
  .adm-tabs { flex-wrap: wrap; width: 100%; border-radius: 18px; }
}
