:root {
  --brand: #0f766e; --brand-dark: #0b5a54; --ink: #172126; --muted: #5b6b72; --line: #dfe6e8; --soft: #f1f5f6; --bg: #f7f9fa;
  --surface: #ffffff; --link: #0b5a54; --warn-ink: #79510f; --warn: #f6e3b8; --danger: #b3261e; --ok: #1d7a46; --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e8eef0; --muted: #9aaab1; --line: #2c3a40; --soft: #1b262b; --bg: #12191c; --warn: #4a3d1a; --warn-ink: #f3d68a; --link: #7fd6c9; --surface: #182125; }
  .pill.open { background: #12332f; color: #7fd6c9; }
  .tablebtn.OPEN { background: #12332f; }
  button.danger { background: #3a1d1b; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
button { font: inherit; cursor: pointer; border: 0; border-radius: var(--radius); padding: 12px 16px; background: var(--soft); color: var(--ink); min-height: 44px; }
button.primary { background: var(--brand); color: #fff; font-weight: 700; }
button.primary:disabled { opacity: .5; cursor: not-allowed; }
button.danger { background: #fde7e5; color: var(--danger); }
button.ghost { background: transparent; border: 1px solid var(--line); }
button.small { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.input, input, select, textarea { font: inherit; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
label.field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar h1 { margin: 0; font-size: 18px; }
main { max-width: 720px; margin: 0 auto; padding: 16px 16px 120px; }
main.wide { max-width: 1200px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.muted { color: var(--muted); font-size: 14px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stack { display: grid; gap: 10px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--soft); }
.pill.open { background: #dff3ed; color: var(--brand-dark); }
.pill.warn, .pill.FAILED { background: var(--warn); color: var(--warn-ink); }
.pill.PRINTED { background: #dff3ed; color: var(--ok); }
.pill.QUEUED, .pill.PRINTING { background: #e5efff; color: #244f8f; }
.pill.CANCELLED { background: #fde7e5; color: var(--danger); }
.tablebtn { display: grid; gap: 4px; text-align: left; padding: 14px; min-height: 92px; border: 2px solid var(--line); background: var(--surface); }
.tablebtn.OPEN { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--surface)); }
.tablebtn strong { font-size: 22px; }
.cat { margin-top: 20px; }
.cat h2 { margin: 0 0 4px; font-size: 20px; }
.item { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); margin-top: 8px; padding: 12px 14px; }
.item.soldout { opacity: .45; }
.item .desc { color: var(--muted); font-size: 13px; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.bar > button { width: 100%; max-width: 720px; display: block; margin: 0 auto; }
.overlay { position: fixed; inset: 0; z-index: 20; background: rgba(10, 18, 22, .55); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: min(640px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 16px 16px 0 0; padding: 16px; display: grid; gap: 14px; }
@media (min-width: 700px) { .overlay { align-items: center; } .sheet { border-radius: 16px; } }
.group h3 { margin: 0 0 6px; font-size: 16px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; }
.opt input { width: 20px; height: 20px; flex: none; }
.opt span:first-of-type { flex: 1; }
.err { color: var(--danger); font-weight: 600; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 90px; z-index: 40; background: #172126; color: #fff; padding: 10px 16px; border-radius: 10px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.board { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.ticket { border-left: 6px solid var(--brand); }
.ticket.new { border-left-color: #d98a00; }
.ticket.ready { border-left-color: #2f6fd1; }
.ticket h3 { margin: 0; font-size: 20px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs button.active { background: var(--brand); color: #fff; }
.hidden { display: none !important; }

.foot { position: sticky; bottom: -16px; margin: 0 -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); display: grid; gap: 8px; }
.foot:has(.err:empty) { gap: 0; }

/* Açılış sayfası */
.hero { text-align: center; padding: 56px 16px 32px; max-width: 760px; margin: 0 auto; }
.hero h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.15; margin: 0 0 12px; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.hero .cta { display: inline-block; text-decoration: none; background: var(--brand); color: #fff; padding: 14px 28px; border-radius: var(--radius); font-weight: 700; }
.section { max-width: 960px; margin: 0 auto; padding: 24px 16px; }
.section h2 { margin: 0 0 14px; }
.cards3 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.banner { max-width: 960px; margin: 16px auto 0; padding: 14px 16px; border-radius: var(--radius); background: var(--warn); color: var(--warn-ink); }
.price { font-size: 36px; font-weight: 800; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checklist li { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.checklist li.done { opacity: .65; }
footer.site { text-align: center; padding: 32px 16px; color: var(--muted); font-size: 14px; }
footer.site a { color: inherit; margin: 0 8px; }

a { color: var(--link); }
button, .cta { color-scheme: light dark; }

/* Sürükle-bırak ve önizleme */
.dnd-handle { cursor: grab; user-select: none; padding: 0 6px; color: var(--muted); font-weight: 900; letter-spacing: -2px; }
.dnd-item.dragging { opacity: .4; }
.dnd-item.drop-before { box-shadow: 0 -3px 0 0 var(--brand); }
.dnd-item.drop-after { box-shadow: 0 3px 0 0 var(--brand); }
.dnd-zone.drop-zone { outline: 2px dashed var(--brand); outline-offset: -2px; }
.dnd-zone { min-height: 16px; }
.menu-layout { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .menu-layout { grid-template-columns: minmax(0, 1fr) 380px; } .menu-layout .preview-col { position: sticky; top: 70px; align-self: start; } }
.phone { border: 9px solid #172126; border-radius: 30px; height: min(720px, 80vh); overflow: auto; background: var(--bg); }
.phone .phone-head { position: sticky; top: 0; background: var(--surface); padding: 10px 14px; border-bottom: 1px solid var(--line); z-index: 2; }
.phone .cat { padding: 0 12px; }
.pill.hidden-cat { background: #e5efff; color: #244f8f; }

/* Gömülü mod (iframe): kenar boşlukları küçük, üst çubuk sade */
body.embed .topbar { position: static; }
body.embed main { padding-bottom: 96px; }
body.embed.embed-auto .bar { position: static; border-top: 0; padding-top: 0; }
[hidden] { display: none !important; }
.item .thumb { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.item .itembody { flex: 1; min-width: 0; }
.catimg { width: 100%; max-height: 140px; object-fit: cover; border-radius: 10px; margin-top: 8px; }
.sheet-hero { width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; }
.imgfield { display: flex; align-items: center; gap: 12px; }
.imgfield img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--surface); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }

/* Menü editörü (GloriaFood düzeni): solda kategoriler/ürünler, sağda "Choices & Addons" kütüphanesi */
.me-toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
.me-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.me-lib { position: sticky; top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; max-height: calc(100vh - 24px); overflow: auto; }
.me-lib h3 { margin: 0; }
.me-cat { padding: 0; overflow: hidden; }
.me-cat-head, .me-item-head { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; }
.me-cat-head .me-main, .me-item-head .me-main { flex: 1; min-width: 0; }
.me-cat-head .row, .me-item-head .row { gap: 8px; }
.me-cat-name { font-size: 17px; }
.me-items { border-top: 1px solid var(--line); background: var(--bg); padding: 8px 12px 12px; }
.me-item { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.me-item-head { padding: 10px; }
.me-item.editing, .me-cat .me-form { padding: 12px; }
.me-grip { cursor: grab; color: var(--muted); user-select: none; padding: 4px 2px; font-weight: 700; letter-spacing: -2px; }
.me-grip:active { cursor: grabbing; }
.me-thumb { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 8px; background: var(--soft); color: var(--muted); overflow: hidden; flex: none; border: 1px dashed var(--line); }
.me-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.me-price { font-weight: 700; margin-left: auto; }
.me-count { background: var(--soft); border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 700; color: var(--muted); }
.me-desc { font-size: 13px; margin-top: 2px; }
.me-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.me-pills:empty { display: none; }
.me-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.me-chip { display: inline-flex; align-items: center; gap: 4px; background: #e5efff; color: #244f8f; border-radius: 999px; padding: 2px 4px 2px 10px; font-size: 12px; font-weight: 700; }
.me-chip.inherited { background: var(--soft); color: var(--muted); padding-right: 10px; border: 1px dashed var(--line); }
.me-chip.hl { outline: 2px solid #f6c945; background: #fff7da; }
.me-x { min-height: 0; padding: 0 6px; background: transparent; color: inherit; font-size: 15px; line-height: 1.2; }
.me-attach { width: auto; min-height: 28px; padding: 2px 6px; font-size: 12px; border-radius: 999px; }
.me-actions { display: flex; gap: 4px; flex: none; }
.me-sizes { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 6px; font-size: 13px; }
.me-sizes .row { padding: 2px 0; }
.me-empty { padding: 8px 4px; }
.me-add, .me-addcat, .me-addgrp { width: 100%; margin-top: 4px; }
.me-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.me-form .row { gap: 10px; align-items: end; }
.me-btns { display: flex; gap: 8px; }
.me-opt-row { display: grid; grid-template-columns: 18px 1fr 80px 36px; align-items: center; gap: 6px; margin-bottom: 6px; }
.me-grp { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--surface); }
.me-grp-head { display: flex; align-items: center; gap: 8px; padding: 10px; cursor: pointer; }
.me-grp-name { flex: 1; min-width: 0; }
.me-grp-body { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.me-opt-list .row { font-size: 14px; padding: 2px 0; }
.me-hl { box-shadow: 0 0 0 2px #f6c945; background: #fff7da; }
.me-into { outline: 3px solid var(--brand); outline-offset: -3px; background: #eefaf6; }
.me-no { outline: 3px dashed var(--danger); outline-offset: -3px; }
.me-src-hide { display: none !important; }
.me-src-dim { opacity: .4; }
.me-cat-head, .me-item-head, .me-grp, .me-chip { user-select: none; -webkit-user-select: none; }
.me-cat-head, .me-item-head, .me-grp-head, .me-chip[data-grp-chip] { cursor: grab; }
.me-thumb img { -webkit-user-drag: none; pointer-events: none; }
.me-grip { touch-action: none; }
body.me-dragging, body.me-dragging * { cursor: grabbing !important; user-select: none !important; -webkit-user-select: none !important; }
.me-ghost { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; margin: 0; background: var(--surface); box-shadow: 0 14px 32px rgba(0,0,0,.35); border-radius: 12px; opacity: .96; will-change: transform; max-height: 120px; overflow: hidden; }
.me-ghost.me-chip { border-radius: 999px; max-height: none; }
.me-ghost.me-opt-row { padding: 4px; border: 1px solid var(--line); }
.me-gap { border: 2px dashed var(--brand); background: color-mix(in srgb, var(--brand) 22%, transparent); border-radius: 10px; margin-bottom: 8px; box-sizing: border-box; height: var(--h, 48px); animation: me-gap-in .16s ease-out; }
.me-gap.chip { display: inline-block; margin: 0; border-radius: 999px; animation: me-chip-in .16s ease-out; }
@keyframes me-gap-in { from { height: 0; opacity: 0; margin-bottom: 0; } }
@keyframes me-chip-in { from { width: 0; opacity: 0; } }
@media (max-width: 860px) { .me-layout { grid-template-columns: 1fr; } .me-lib { position: static; order: -1; max-height: 45vh; } } /* dar ekranda Choices & Addons listenin üstünde */

/* Yönetim paneli: ana menü solda dikey gezinme (dar ekranda yatay kaydırılan şerit) */
main.wide { max-width: 1400px; }
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; }
/* Sol menü: GloriaFood düzeni. Bölüm başlıkları (SETUP, MARKETING…), grup adları ve tamamlanan ayarlarda yeşil tik */
.side-nav { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
.side-nav > summary { display: none; }
.side-nav .nav-list { display: flex; flex-direction: column; gap: 2px; }
.side-nav .nav-head { margin: 14px 10px 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.side-nav .nav-group { margin: 8px 10px 2px; font-size: 13px; font-weight: 700; color: var(--ink); }
.side-nav button { display: flex; align-items: center; gap: 8px; width: 100%; justify-content: space-between; text-align: left; background: transparent; color: var(--ink); border-radius: 8px; min-height: 36px; padding: 6px 10px; font-weight: 500; }
.side-nav button.sub { padding-left: 20px; }
.side-nav button:hover { background: var(--soft); }
.side-nav button.active { background: var(--brand); color: #fff; }
.tick { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 12px; font-weight: 800; }
.tick.on { background: #1f9d55; color: #fff; }
.tick.off { border: 2px solid var(--line); }
.side-nav button.active .tick.off { border-color: rgba(255,255,255,.6); }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; }
.page-head h2 { margin: 0; }
.page-next { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.yesno { display: flex; gap: 8px; flex-wrap: wrap; }
.yesno label { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.yesno input { width: auto; }
/* Geniş sayfa (menü editörü): sol menü yerinde kalır (GloriaFood gibi), sayfa daha geniş açılır */
main.wide:has(.admin-shell.focus) { max-width: 1680px; }

/* Tablet sipariş ekranı: yeni sipariş penceresi ve vardiya başlatma */
.alertbox { z-index: 40; background: rgba(10, 18, 22, .72); }
.alertbox .sheet { width: min(720px, 100%); }
.gate { z-index: 50; align-items: center; }
.prepgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.prepgrid button { min-height: 64px; font-size: 22px; }
.countdown { font-weight: 700; color: var(--muted); }
.countdown.urgent { color: var(--danger); }
.countdown.big { font-size: 18px; }

/* Leaflet haritası kendi katman sırasını dışarı taşırmasın (pencereler haritanın üstünde kalsın) */
.leaflet-container { isolation: isolate; z-index: 0; }


/* Yönetim: Logo & colours */
label.button-like { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 16px; border-radius: var(--radius); cursor: pointer; font-weight: 700; }
label.button-like.primary { background: var(--brand); color: #fff; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 12px 0; }
.brand-slot { display: grid; place-items: center; min-height: 120px; border: 1px dashed var(--line); border-radius: var(--radius); background: repeating-conic-gradient(var(--soft) 0 25%, transparent 0 50%) 0 0 / 16px 16px; overflow: hidden; }
.brand-slot.logo img { max-height: 110px; max-width: 90%; object-fit: contain; }
.brand-slot.cover img { width: 100%; height: 160px; object-fit: cover; }
.palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.palette { display: flex; align-items: center; gap: 8px; padding: 10px; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.palette input { position: absolute; opacity: 0; width: 1px; }
.palette:has(input:checked) { border-color: var(--ink); }
.palette .sw { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.palette .sw.small { width: 14px; height: 14px; margin-left: -14px; align-self: flex-end; border: 2px solid var(--surface); }
.brand-preview { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #f6f7f3; color: #172126; }
.bp-nav { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-bottom: 1px solid #dce3e0; }
.bp-nav img { height: 32px; max-width: 100px; object-fit: contain; }
.bp-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--pb); }
.bp-cart { margin-left: auto; border: 1px solid #dce3e0; border-radius: 7px; padding: 4px 10px; font-weight: 700; font-size: 14px; }
.bp-cart b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--pa); color: #fff; font-size: 12px; }
.bp-body { padding: 16px 14px; display: grid; gap: 12px; justify-items: start; }
.bp-pill { background: var(--ps); color: var(--pd); border-radius: 999px; padding: 3px 10px; font-weight: 800; font-size: 13px; }
.bp-tabs { display: flex; gap: 6px; }
.bp-tabs span { border: 1px solid #dce3e0; border-radius: 999px; padding: 4px 12px; font-size: 14px; background: #fff; }
.bp-tabs span.on { background: var(--pb); border-color: var(--pb); color: #fff; }
.bp-btn { background: var(--pb); color: #fff; font-weight: 800; border-radius: 7px; padding: 10px 16px; }

.me-only { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.me-only:has(input:checked) { color: var(--brand-dark); font-weight: 700; }
.me-opt-row .me-only { grid-column: 2 / 5; margin: -2px 0 4px; }
.me-onlytag { background: var(--soft); color: var(--brand-dark); border-radius: 4px; padding: 0 6px; font-size: 11px; font-weight: 700; vertical-align: 1px; }




/* Giriş ekranı (tablet uygulaması ve yönetim paneli ortak) */
.launch { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at top, #10234a 0%, #03060d 62%); }
.launch-card { width: min(520px, 100%); background: #fff; color: #0e1a2b; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.launch-brand { background: #010207; display: grid; place-items: center; padding: 18px 0 10px; }
.launch-brand img { width: 200px; max-width: 64%; height: auto; display: block; padding: 10px 0 6px; }
.launch-body { padding: 26px 28px 30px; display: grid; gap: 14px; }
.launch-body h2 { margin: 0; font-weight: 700; font-size: 24px; }
.launch-body .field input { min-height: 54px; font-size: 18px; border-radius: 12px; background: #fff; color: #0e1a2b; border-color: #d9dee6; }
.launch-body button.primary { min-height: 56px; font-size: 18px; border-radius: 12px; background: #0e1a2b; }
.launch-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.launch-card .muted { color: #5f6b7c; }
.me-act { min-height: 0; padding: 4px 8px; background: transparent; border: 0; color: var(--muted); font-size: 16px; line-height: 1; border-radius: 6px; }
.me-act:hover { background: var(--soft); color: inherit; }
.me-act.bad:hover { background: #fdecec; }
.me-uses { margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: #f6c945; color: #0e1a2b; font-size: 12px; font-weight: 700; }

/* Choices & Addons: açık grup belirgin (dolu başlık, gri gövde), düzenleme formu küçük ve sıkı; düzenlerken kütüphane genişler */
.me-layout:has(.me-lib .me-form) { grid-template-columns: minmax(0, 1fr) 430px; }
.me-grp-name { font-size: 15px; }
.me-grp.open { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); overflow: hidden; }
.me-grp.open > .me-grp-head { background: var(--brand); color: #fff; }
.me-grp.open > .me-grp-head .me-count { background: rgba(255, 255, 255, .22); color: #fff; }
.me-grp.open > .me-grp-head .me-act { color: #fff; }
.me-grp.open > .me-grp-head .me-act:hover { background: rgba(255, 255, 255, .18); }
.me-grp.open > .me-grp-body { background: var(--soft); padding-top: 12px; }
.me-lib .me-form { gap: 8px; font-size: 14px; }
.me-lib .me-form .field { font-size: 12px; font-weight: 700; color: var(--muted); gap: 4px; }
.me-lib .me-form input:not([type=checkbox]), .me-lib .me-form select { min-height: 36px; padding: 5px 10px; font-size: 14px; }
.me-lib .me-form .opt { padding: 6px 10px; font-size: 14px; min-height: 0; }
.me-lib .me-opt-row { grid-template-columns: 14px minmax(0, 1fr) 72px 30px; gap: 4px; margin-bottom: 2px; background: var(--surface); border-radius: 8px; padding: 4px 6px; }
.me-lib .me-opt-row button { min-height: 30px; padding: 0; width: 30px; }
.me-lib .me-opt-row .me-only { font-size: 12px; margin: 0 0 2px; }

/* Açılış saatleri: gün satırı, açık/kapalı anahtarı, saat seçiciler */
.hd { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.hd-row { display: grid; grid-template-columns: 120px 130px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); min-height: 58px; }
.hd-row:last-child { border-bottom: 0; }
.hd-row:not(.open) { background: var(--soft); }
.hd-name { font-size: 15px; }
.hd-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0; background: none; border: 0; color: var(--muted); font-weight: 700; cursor: pointer; }
.hd-switch .hd-knob { position: relative; width: 46px; height: 26px; border-radius: 13px; background: #c9cfd8; transition: background .15s; flex: none; }
.hd-switch .hd-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .15s; }
.hd-row.open .hd-switch { color: var(--brand-dark); }
.hd-row.open .hd-knob { background: var(--brand); }
.hd-row.open .hd-knob::after { left: 23px; }
.hd-times { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.hd-range { display: inline-flex; align-items: center; gap: 6px; }
.hd-range input[type=time] { width: auto; min-height: 38px; padding: 4px 8px; font-variant-numeric: tabular-nums; }
.hd-x { min-height: 32px; width: 32px; padding: 0; background: transparent; border: 0; color: var(--muted); font-size: 18px; }
.hd-x:hover { color: var(--danger, #dc2626); }
.hd-add { min-height: 32px; padding: 0 10px; background: transparent; border: 1px dashed var(--line); color: var(--brand-dark); font-size: 13px; font-weight: 700; border-radius: 8px; }
@media (max-width: 640px) { .hd-row { grid-template-columns: 1fr auto; } .hd-times { grid-column: 1 / -1; } }

/* Sol menü hiyerarşisi (GloriaFood gibi): grup adı ana madde boyutunda, altındaki sayfalar küçük, girintili ve solda kılavuz çizgisiyle */
.side-nav .nav-list > button { font-size: 15px; font-weight: 600; }
.side-nav .nav-sub { display: flex; flex-direction: column; gap: 1px; }
.side-nav .nav-group { margin: 12px 10px 2px; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.side-nav .nav-sub button { position: relative; margin-left: 18px; width: calc(100% - 18px); padding: 4px 10px 4px 16px; min-height: 30px; font-size: 13.5px; font-weight: 400; color: #4b5563; border-radius: 6px; }
.side-nav .nav-sub button::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.side-nav .nav-sub button.active { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand-dark); font-weight: 700; }
.side-nav .nav-sub button.active::before { border-left: 3px solid var(--brand); }
.side-nav .nav-sub button .tick { width: 15px; height: 15px; font-size: 10px; }
.side-nav .nav-head { margin-top: 18px; }
.side-nav .nav-sub button.active .tick.off { border-color: var(--brand); }

/* Segmentli seçim (yönetim paneli): yan yana düğmeler, seçili olan beyaz */
.seg { display: inline-flex; flex-wrap: wrap; background: var(--soft); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { background: transparent; border: 0; min-height: 34px; padding: 0 12px; font-weight: 600; font-size: 14px; color: var(--muted); border-radius: 8px; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.sp-whole { align-self: flex-start; }
.hd-row.sp-row { grid-template-columns: minmax(0, 1fr) auto; background: var(--surface); }
.sp-row .hd-times { grid-column: 1 / -1; }
.sp-row .hd-times:empty { display: none; }
.sp-row:has([data-sp="closed"].on) { background: var(--soft); }
.overlay .sheet:has(.sp-row) { max-width: 640px; }

/* Renk seçici: her set büyük bir renk kartı (o renkte örnek düğme + vurgu noktası); seçili olan tikli ve çerçeveli */
.palettes { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.palette { position: relative; flex-direction: column; align-items: stretch; gap: 6px; padding: 6px 6px 8px; border-width: 2px; }
.palette .pal-sw { position: relative; display: grid; place-items: center; height: 64px; border-radius: 8px; background: var(--c); }
.palette .pal-btn { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--c); font-size: 13px; font-weight: 800; }
.palette .pal-dot { position: absolute; right: 7px; bottom: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--a); border: 2px solid #fff; }
.palette .pal-name { text-align: center; font-weight: 600; font-size: 14px; }
.palette:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.palette:has(input:checked)::after { content: "✓"; position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; }
.palette:has(input:focus-visible) { outline: 3px solid var(--link, #2563eb); outline-offset: 2px; }

/* Ödeme sağlayıcıları (GloriaFood "Providers" düzeni) */
.prov-list { display: grid; gap: 10px; }
.prov { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prov > summary, .prov-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; list-style: none; cursor: pointer; }
.prov > summary::-webkit-details-marker { display: none; }
.prov-row { cursor: default; }
.prov-logo { font-size: 24px; font-weight: 800; letter-spacing: -.02em; min-width: 110px; }
.prov-logo.stripe { color: #635bff; font-family: system-ui, sans-serif; }
.prov-logo.paypal { color: #009cde; font-style: italic; }
.prov-logo.paypal b { color: #003087; }
.prov-btn { margin-left: auto; padding: 8px 16px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 14px; background: var(--surface); }
.prov[open] > summary .prov-btn { background: var(--soft); }
.prov-body { padding: 0 18px 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.prov.disabled { opacity: .6; }
.prov.disabled .prov-btn { color: var(--muted); }

/* Anahtar (açık/kapalı) */
.tgl { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; flex: none; }
.tgl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tgl-track { position: relative; width: 44px; height: 24px; border-radius: 12px; background: #c9cfd8; transition: background .15s; flex: none; }
.tgl-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .15s; }
.tgl input:checked + .tgl-track { background: #1f9d55; }
.tgl input:checked + .tgl-track::after { left: 23px; }
.tgl input:focus-visible + .tgl-track { outline: 3px solid var(--link, #2563eb); outline-offset: 2px; }
.tgl input:disabled + .tgl-track { opacity: .45; cursor: not-allowed; }

/* Bildirimler: adres başına kart (GloriaFood düzeni) */
.nt-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.nt-card.off .nt-email { color: var(--muted); }
.nt-sw { position: absolute; top: 12px; right: 48px; z-index: 1; }
.nt-card details > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; padding-right: 110px; cursor: pointer; list-style: none; }
.nt-card details > summary::-webkit-details-marker { display: none; }
.nt-chev { position: absolute; right: 16px; top: 14px; color: var(--muted); transition: transform .15s; }
.nt-card details[open] .nt-chev { transform: rotate(180deg); }
.nt-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-body { padding: 4px 16px 14px; border-top: 1px solid var(--line); }
.nt-body.dim { opacity: .45; pointer-events: none; }
.nt-group { margin: 14px 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nt-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--soft); }
.nt-row > span:first-child { display: grid; gap: 2px; }
.nt-hint { font-size: 12.5px; }
.nt-master { padding: 12px 16px; border-bottom: 0; }
.nt-add input { flex: 1; }
.danger-link { margin-top: 12px; color: var(--danger, #b42318); text-decoration: underline; background: none; border: 0; padding: 0; min-height: 0; font-weight: 600; }

/* Web sitesi sayfası: eksik bilgi listesi ve adımlar */
.wb-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; }
.wb-check { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 15px; }
.wb-check .link-btn { margin-left: auto; font-size: 14px; }
.wb-steps { margin: 0; padding-left: 20px; line-height: 1.7; }
.wb-designs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.wb-design { display: grid; gap: 4px; padding: 14px; border: 2px solid var(--line, #d9dde3); border-radius: 12px; cursor: pointer; background: var(--surface, #fff); }
.wb-design.on { border-color: var(--brand, #0f7b67); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #0f7b67) 18%, transparent); }
.wb-design input { position: absolute; opacity: 0; pointer-events: none; }
.wb-design:focus-within { outline: 3px solid var(--brand, #0f7b67); outline-offset: 2px; }
.wb-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.wb-gallery figure { margin: 0; display: grid; gap: 6px; justify-items: start; }
.wb-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #e5e7eb; }
.tgl-label { font-size: 15px; }

/* Kod kutuları (giriş kodu): 6 ayrı rakam */
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.otp input { min-height: 62px; padding: 0; text-align: center; font: 600 28px/1 system-ui, sans-serif; border-radius: 12px; border: 1.5px solid #d9dee6; background: #fff; color: #0e1a2b; font-variant-numeric: tabular-nums; }
.otp input:focus { border-color: #2b6bf3; outline: 3px solid rgba(43, 107, 243, .2); }
.launch-foot .link-btn:disabled { opacity: .45; cursor: default; }

/* ---- Platform yönetimi (DENARSOFT) */
.pf { min-height: 100vh; background: #f3f5f8; }
.pf-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 10px 24px; background: #0e1a2b; color: #fff; }
.pf-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.pf-brand img { width: 34px; height: auto; }
.pf-brand .pf-word { width: auto; height: 15px; }
.pf-brand b { color: #8fb3ff; font-weight: 700; }
.pf-nav { display: flex; gap: 4px; flex: 1; }
.pf-nav a { color: #c9d3e3; text-decoration: none; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.pf-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.pf-nav a.on { background: #fff; color: #0e1a2b; }
.pf-right { display: flex; align-items: center; gap: 12px; }
.pf-link { color: #c9d3e3; font-size: 14px; }
.pf-top .ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.pf-main { max-width: 1280px; margin: 0 auto; padding: 22px 24px 60px; display: grid; gap: 16px; }
.pf-h1 { margin: 0; font-size: 26px; }
.pf-h1 .st-total { font-size: 15px; font-weight: 500; margin-left: 8px; }
.pf-main h2 { margin: 0 0 10px; font-size: 17px; }
.pf-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pf-kpi { background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
.pf-kpi span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5f6b7c; }
.pf-kpi strong { font-size: 28px; font-variant-numeric: tabular-nums; color: #0e1a2b; }
.pf-kpi em { font-style: normal; font-size: 13px; color: #5f6b7c; }
.pf-kpi.big { background: #0e1a2b; border-color: #0e1a2b; }
.pf-kpi.big span, .pf-kpi.big em { color: #c9d3e3; }
.pf-kpi.big strong { color: #fff; font-size: 34px; }
.pf-kpi.warn { border-color: #f6c945; background: #fff9e6; }
.pf-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.pf-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #eef1f5; color: inherit; text-decoration: none; }
.pf-row:hover { background: #f7f9fc; }
.pf-row > span:first-child { display: grid; min-width: 0; }
.pf-row .muted { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-table { overflow-x: auto; }
.pf-click tr[data-id] { cursor: pointer; }
.pf-click tr[data-id]:hover td { background: #f7f9fc; }
.pf-filter { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pf-filter input { flex: 1; min-width: 240px; }
.pill.pf-open { background: #e3f5ea; color: #12863d; }
.pill.pf-warn { background: #fff4d6; color: #8a5a00; }
.pill.pf-bad { background: #fdecec; color: #b42318; }
.pill.pf-free { background: #eaf1ff; color: #1d4ed8; }
.pf-back { color: #5f6b7c; text-decoration: none; font-weight: 600; }
.pf-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.pf-head-r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pf-wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .pf-grid { grid-template-columns: 1fr; } .pf-top { flex-wrap: wrap; } }
.pf-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.pf-facts > div { display: grid; gap: 2px; }
.pf-facts span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5f6b7c; }
.pf-facts b { font-size: 16px; overflow-wrap: anywhere; }
.pf-facts em { font-style: normal; font-size: 13px; }
.pf-actions { justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
.pf-mods { display: grid; gap: 8px; }
.pf-mod { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid #e3e8ef; border-left: 4px solid #c9cfd8; border-radius: 10px; }
.pf-mod.on { border-left-color: #1f9d55; }

.pf-mod > div { display: grid; gap: 2px; }
.pf-mod .muted { font-size: 13px; }
.pf-mod-r { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.pf-until { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; } .pf-until input { width: auto; min-height: 36px; }
.mod-st { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: #eef0f3; color: #4b5563; }
.mod-st.paid, .mod-st.base { background: #e3f6ea; color: #0b6b3a; }
.mod-st.trial { background: #e2edff; color: #1d4ed8; }
.mod-st.gift { background: #fdf0cf; color: #7a4b00; }
.mod-st.ending { background: #ffe9d6; color: #8a3b00; }
.mod-st.late { background: #fde7e5; color: #b3261e; }
.pf-log { font-size: 14px; padding: 5px 0; border-bottom: 1px solid #f0f2f5; }
.pf-price { width: 110px; }
/* Platform paneli hep açık temada (kartlar, yazılar, tablolar) */
.pf { color-scheme: light; color: #0e1a2b; --surface: #fff; --ink: #0e1a2b; --muted: #5f6b7c; --line: #e3e8ef; --soft: #eef1f5; --bg: #f3f5f8; }
.pf .card { background: #fff; color: #0e1a2b; border-color: #e3e8ef; }
.pf .muted { color: #5f6b7c; }
.pf .data th, .pf .data td { color: #0e1a2b; border-color: #eef1f5; }
.pf input, .pf textarea, .pf select { background: #fff; color: #0e1a2b; border-color: #d9dee6; }
.pf button.small:not(.primary):not(.danger) { background: #fff; color: #0e1a2b; border: 1px solid #d9dee6; }
.pf .pf-top button.small.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.pf-sub { margin: 6px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #5f6b7c; }
.pf-demo { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 10px 0; border-bottom: 1px solid #eef1f5; }
.pf-demo.done { opacity: .6; }

/* ---- Staff: tablet personeli (PIN) */
.page-sub { display: grid; gap: 2px; margin: 22px 0 10px; }
.page-sub h3 { margin: 0; font-size: 17px; }
.crew-card > .row { align-items: flex-start; gap: 16px; }
.crew-list { display: grid; gap: 0; border: 1px solid var(--line, #e2e6ec); border-radius: 12px; overflow: hidden; }
.crew-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--line, #e2e6ec); background: #fff; }
.crew-row:first-child { border-top: 0; }
.crew-row.off { opacity: .55; }
.crew-row .crew-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #0b7a55; color: #fff; font-weight: 700; flex: none; }
.crew-who { display: grid; gap: 2px; flex: 1; min-width: 0; }
.crew-empty { padding: 16px; border: 1px dashed var(--line, #d9dee6); border-radius: 12px; text-align: center; }
.crew-lock { display: grid; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line, #e2e6ec); }
.tgl-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.tgl-row > span:first-child { display: grid; gap: 2px; }
.crew-card > .row > button { white-space: nowrap; flex: none; }
.support-banner { margin: 0 0 12px; background: #1d1240; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.support-banner .small-link { color: #d9ccff; font-weight: 600; }
.support-banner button { background: #fff; color: #1d1240; border: 0; }

/* ---- Platform: kurulum ve destek */
.pf-tabs { display: flex; gap: 4px; border-bottom: 1px solid #e3e8ef; }
.pf-tabs a { padding: 10px 16px; color: #5f6b7c; text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.pf-tabs a.on { color: #0e1a2b; border-bottom-color: #2563eb; }
.pf-ordering { display: flex; gap: 12px; align-items: flex-start; }
.pf-odot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; background: #1aa251; box-shadow: 0 0 0 4px #e3f5ea; }
.pf-ordering.later .pf-odot { background: #8a8f98; box-shadow: 0 0 0 4px #eceef1; }
.pf-ordering.stopped { background: #fff4f2; border-color: #f2c4bc; }
.pf-ordering.stopped .pf-odot { background: #c2410c; box-shadow: 0 0 0 4px #fde2da; }
.pf-access { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border: 1px dashed #c9cfd8; }
.pf-access > div { display: grid; gap: 4px; max-width: 560px; }
.pf-access.live { background: #1d1240; color: #fff; border: 0; }
.pf-access.live .muted { color: #cfc6ee; }
.pf-access.live .ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.pf-access.live .primary { background: #fff; color: #1d1240; }
.pf-accessform { gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
.pf-accessform input { min-width: 280px; flex: 1; }
.pf-accessform select { width: auto; }
.pf-count { color: #5f6b7c; }
.pf-count b { color: #0e1a2b; font-size: 18px; }
.pf-bar { height: 8px; border-radius: 4px; background: #eef1f5; overflow: hidden; }
.pf-bar i { display: block; height: 100%; background: #1f9d55; border-radius: 4px; }
.pf-steps { display: grid; }
.pf-step { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid #eef1f5; }
.pf-step > span:nth-child(2) { flex: 1; }
.pf-tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9cfd8; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; flex: none; }
.pf-step.ok .pf-tick { background: #1f9d55; border-color: #1f9d55; }
.pf-step.ok > span:nth-child(2) { color: #5f6b7c; }
.pf-open { font-size: 13px; font-weight: 600; color: #2563eb; text-decoration: none; }
.pf-seg { flex-wrap: wrap; }
.pf-list { display: grid; border: 1px solid #e3e8ef; border-radius: 10px; overflow: hidden; }
.pf-list > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-top: 1px solid #eef1f5; font-size: 14px; }
.pf-list > div:first-child { border-top: 0; }
.pf-facts b.ok { color: #1f9d55; }

/* ---- Yönetim paneli: sade üst çubuk + kendi içinde kayan, odaklı sol menü */
.topbar { gap: 16px; padding: 10px 20px; min-height: 58px; }
.tb-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; }
.tb-brand img { width: 28px; height: 16px; object-fit: contain; }
.tb-brand .tb-word { width: auto; height: 15px; }
.tb-name { font-size: 15px; color: var(--muted); font-weight: 600; }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tb-menu { position: relative; }
.tb-menu > summary { list-style: none; cursor: pointer; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.tb-menu > summary::-webkit-details-marker { display: none; }
.tb-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 200px; display: grid; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(14, 26, 43, .14); }
.tb-pop > * { padding: 8px 10px; border-radius: 8px; text-align: left; background: transparent; border: 0; color: var(--ink); font: inherit; text-decoration: none; }
.tb-pop > a:hover, .tb-pop > button:hover { background: var(--soft); }
.admin-shell { grid-template-columns: 264px minmax(0, 1fr); gap: 28px; }
.side-nav { top: 70px; max-height: calc(100vh - 82px); overscroll-behavior: contain; scrollbar-width: thin; padding: 6px 6px 18px 0; }
.sn { gap: 2px; }
.sn-top { display: flex !important; align-items: center; gap: 10px !important; justify-content: flex-start !important; min-height: 42px !important; padding: 8px 12px !important; font-size: 15px !important; font-weight: 600 !important; color: var(--ink) !important; border-radius: 10px !important; }
.sn-top > span:first-of-type { flex: 1; }
.sn-top svg:last-child { transition: transform .15s; color: var(--muted); }
.sn-area.open > .sn-top svg:last-child { transform: rotate(90deg); }
.sn-top.active, .sn-area.here > .sn-top { background: color-mix(in srgb, var(--brand) 10%, transparent) !important; color: var(--brand-dark) !important; }
.sn-top.active { background: var(--brand) !important; color: #fff !important; }
.sn-count { font-size: 12px; font-weight: 700; color: var(--muted); }
.sn-items { display: grid; gap: 1px; margin: 2px 0 8px 21px; padding-left: 10px; border-left: 1px solid var(--line); }
.sn-item { min-height: 34px !important; padding: 6px 10px !important; font-size: 14px !important; font-weight: 500 !important; color: #374151 !important; border-radius: 8px !important; }
.sn-item.active { background: var(--brand) !important; color: #fff !important; font-weight: 600 !important; }
.sn-item.active .tick.off { border-color: rgba(255, 255, 255, .7); }
.sn-ghead { min-height: 34px !important; padding: 6px 10px !important; font-size: 13px !important; font-weight: 700 !important; color: var(--ink) !important; justify-content: flex-start !important; gap: 8px !important; }
.sn-ghead > span:first-child { flex: 1; }
.sn-gcount { font-size: 12px; font-weight: 700; color: var(--muted); }
.sn-gcount.all { color: #177a42; }
.sn-ghead svg { color: var(--muted); transition: transform .15s; }
.sn-group.open > .sn-ghead svg { transform: rotate(90deg); }
.sn-gitems { display: grid; gap: 1px; margin: 0 0 6px 8px; }
#panel { min-height: 60vh; transition: opacity .12s; }
#panel.loading { opacity: .45; pointer-events: none; }
@media (max-width: 860px) {
  .tb-name, .tb-menu > summary { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Yönetim paneli, telefon: menü üstte açılır-kapanır şerit, sayfa tam genişlik; üst çubuk iki satır */
@media (max-width: 860px) {
  .topbar { position: static; flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .tb-right { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .tb-right > *, .tb-right button { flex: none; white-space: nowrap; }
  .tb-menu { position: static; }
  .tb-pop { right: 14px; left: auto; }
  main.wide { padding-left: 12px; padding-right: 12px; }
  #panel .row { flex-wrap: wrap; }
  #panel a { overflow-wrap: anywhere; }
}

/* ---- Salon planı: mimari çizim dili (garson görünümü, kasada masa seçimi, yönetim önizlemesi, tam ekran düzenleyici).
   Sahne birimi cm; --inv = 1 / ölçek: çizgi kalınlıkları ve yazılar ekranda sabit boyda kalır (uzaklaştırınca da net ve okunur). */
.fp, .fpe-screen, .fp-admin { --fp-paper: #fbfaf7; --fp-wall: #22262c; --fp-edge: #9aa3ae; --fp-chair: #e3e7ec; --fp-chair-edge: #a9b1bc; --fp-dim: #5d6773; --fp-sel: #2563eb; --fp-canvas: #eef0f3; }
.fp { display: grid; gap: 12px; }
.fp-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fp-tabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; align-items: center; }
.fp-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 19px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; white-space: nowrap; }
.fp-tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.fp-tab.add { border-style: dashed; color: var(--muted); }
.fp-tabn { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #fff4e0; color: #5a3a00; font-size: 12px; line-height: 20px; font-weight: 700; text-align: center; }
.fp-tab.on .fp-tabn { background: rgba(255, 255, 255, .22); color: #fff; }
.fp-secname { font-weight: 700; }
.fp-sum { color: var(--muted); }
.fp-sum b { color: var(--ink); }
.fp-dim { margin-left: auto; }
.fp-dirty { display: none; color: #b45309; font-weight: 600; font-size: 14px; }
.fp-dirty.on { display: inline; }
/* Sahne: kaydırılabilir çerçeve > ölçekli sahne > plan düzlemi */
.fp-wrap { position: relative; overflow: auto; overscroll-behavior: contain; border-radius: 16px; border: 1px solid var(--line); background: var(--fp-canvas); }
.fp-sizer { position: relative; margin: 0 auto; }
.fp-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fp-plane { position: absolute; }
.fp-roomlayer { position: absolute; inset: 0; z-index: 0; }
.fp-room, .fp-dims { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.fp-floor { fill: var(--fp-paper); }
.fp-walls { fill: none; stroke: var(--fp-wall); stroke-width: 12; stroke-linejoin: miter; stroke-miterlimit: 4; }
.fp-dimline, .fp-dimext { fill: none; stroke: var(--fp-dim); stroke-width: calc(var(--inv, 1) * 1px); }
.fp-dimext { opacity: .55; }
.fp-dimtext { font-family: "Roboto", system-ui, sans-serif; font-size: calc(var(--inv, 1) * 12px); font-weight: 600; fill: #3a4350; text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: var(--fp-canvas); stroke-width: calc(var(--inv, 1) * 5px); stroke-linejoin: round; font-variant-numeric: tabular-nums; }
/* Masalar */
.fp-table, .fp-decor { position: absolute; box-sizing: border-box; user-select: none; -webkit-user-select: none; transform: rotate(var(--a, 0deg)); }
.fp-table { z-index: 2; display: grid; place-content: center; text-align: center; background: #fff; border: calc(var(--inv, 1) * 1.5px) solid var(--fp-edge); border-radius: 10px; color: #15191e; cursor: pointer;
  box-shadow: 0 calc(var(--inv, 1) * 1px) calc(var(--inv, 1) * 4px) rgba(20, 25, 30, .1); }
.fp-table.fp-round, .fp-table.fp-stool { border-radius: 50%; }
.fp-top { position: relative; z-index: 1; display: grid; place-content: center; gap: calc(var(--inv, 1) * 2px); text-align: center; pointer-events: none; transform: rotate(calc(-1 * var(--a, 0deg))); }
.fp-top b { font-size: clamp(calc(var(--inv, 1) * 14px), 30px, calc(var(--inv, 1) * 24px)); line-height: 1; font-weight: 800; letter-spacing: -.01em; }
.fp-top span { font-size: max(calc(var(--inv, 1) * 11px), 12px); font-weight: 600; color: var(--fp-dim); white-space: pre; line-height: 1.2; }
.fp-compact .fp-table.s-edit.sm .fp-top span { display: none; }
.fp-table.fp-stool .fp-top b { font-size: max(calc(var(--inv, 1) * 11px), 14px); }
.fp-chair { position: absolute; z-index: 0; width: 26px; height: 18px; margin: -9px 0 0 -13px; border-radius: 8px 8px 4px 4px; background: var(--fp-chair); border: calc(var(--inv, 1) * 1px) solid var(--fp-chair-edge); transform: rotate(var(--r)); pointer-events: none; }
.fp-view .fp-table:active { filter: brightness(.96); }
.fp-view .fp-table:focus-visible { outline: 3px solid var(--fp-sel); outline-offset: 4px; }
/* Durum renkleri (garson görünümü): yumuşak zemin, belirgin kenar, yazı hep koyu */
.fp-table.s-free { background: #fff; border-color: #c3cad3; }
.fp-table.s-seated { background: #eaf1ff; border-color: #8fb0f2; color: #173a85; }
.fp-table.s-busy { background: #fff4e0; border-color: #e3ad55; color: #5a3a00; }
.fp-table.s-paid { background: #e3f5ea; border-color: #86cfa3; color: #0b5a2e; }
.fp-table.s-late { background: #fdecea; border-color: #e88d85; color: #8f1d16; box-shadow: 0 0 0 calc(var(--inv, 1) * 3px) rgba(200, 40, 30, .14); }
.fp-table.s-booked { background: #f3efff; border-color: #a996e8; border-style: dashed; color: #3b2a7a; }
.fp-table.s-off { opacity: .4; }
.fp-table.s-seated .fp-top span, .fp-table.s-busy .fp-top span, .fp-table.s-paid .fp-top span, .fp-table.s-late .fp-top span, .fp-table.s-booked .fp-top span { color: inherit; opacity: .85; }
/* Nesneler: mimari semboller */
.fp-decor { z-index: 1; }
.fp-sym { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.fp-decor.fp-wall { background: var(--fp-wall); }
.fp-decor.fp-door { background: var(--fp-paper); }
.fp-door-arc { fill: none; stroke: var(--fp-dim); stroke-width: calc(var(--inv, 1) * 1px); stroke-dasharray: calc(var(--inv, 1) * 4px) calc(var(--inv, 1) * 3px); }
.fp-door-leaf, .fp-jamb { fill: none; stroke: var(--fp-wall); stroke-width: 4; stroke-linecap: square; }
.fp-decor.fp-window { background: #eef5fd; border-top: calc(var(--inv, 1) * 1.5px) solid #3f4853; border-bottom: calc(var(--inv, 1) * 1.5px) solid #3f4853; }
.fp-decor.fp-window::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: calc(var(--inv, 1) * 1px) solid #3f4853; }
.fp-decor.fp-door::before, .fp-decor.fp-window::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; bottom: -26px; } /* ince nesne: tutması kolay olsun */
.fp-decor.fp-counter { display: grid; place-items: center; background: #ece7de; border: calc(var(--inv, 1) * 1.5px) solid #a8977b; border-radius: 6px; }
.fp-decor.fp-area { display: grid; place-items: center; border: calc(var(--inv, 1) * 1.5px) dashed #8792a0;
  background: repeating-linear-gradient(45deg, rgba(93, 103, 115, .16) 0 calc(var(--inv, 1) * 1px), transparent 0 calc(var(--inv, 1) * 9px)), rgba(236, 239, 243, .6); }
.fp-decor.fp-stairs { background: #f3f4f6; border: calc(var(--inv, 1) * 1.5px) solid #6b7380; }
.fp-tread { fill: none; stroke: #8b95a3; stroke-width: calc(var(--inv, 1) * 1px); }
.fp-arrow { fill: none; stroke: #374151; stroke-width: calc(var(--inv, 1) * 1.6px); stroke-linecap: round; stroke-linejoin: round; }
.fp-up { position: absolute; left: 6%; top: 6%; font-style: normal; font-size: max(calc(var(--inv, 1) * 10px), 11px); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #374151; transform: rotate(calc(-1 * var(--a, 0deg))); }
.fp-decor.fp-plant .fp-sym { width: 100%; height: 100%; }
.fp-pot { fill: #e8f2ea; stroke: #7fae8a; stroke-width: calc(var(--inv, 1) * 1px); }
.fp-leaf { fill: #8cc79a; stroke: #4f8f60; stroke-width: calc(var(--inv, 1) * 1px); }
.fp-dtext { font-size: max(calc(var(--inv, 1) * 12px), 13px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #4b5563; transform: rotate(calc(-1 * var(--a, 0deg))); white-space: nowrap; pointer-events: none; }
.fp-decor.fp-label { display: grid; place-items: center; }
.fp-decor.fp-label .fp-dtext { color: #6b7380; font-size: max(calc(var(--inv, 1) * 13px), 15px); }
.fp-empty { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; color: var(--muted); font-size: calc(var(--inv, 1) * 16px); padding: 40px; text-align: center; pointer-events: none; }
.fp-loose { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; color: var(--muted); }
.fp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; }
.fp-chip.busy { background: #fff4e0; border-color: #e3ad55; color: #5a3a00; }
.fp-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.fp-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid #c3cad3; background: #fff; }
.fp-legend .s-seated::before { background: #eaf1ff; border-color: #8fb0f2; }
.fp-legend .s-busy::before { background: #fff4e0; border-color: #e3ad55; }
.fp-legend .s-paid::before { background: #e3f5ea; border-color: #86cfa3; }
.fp-legend .s-late::before { background: #fdecea; border-color: #e88d85; }
.fp-legend .s-booked::before { background: #f3efff; border-color: #a996e8; }
/* 3D: eğik açı; masalar zeminden yükselir, duvarlar ayağa kalkar (açık renk, ince üst kenar) */
.fp-wrap.fp-3d { overflow: hidden; perspective: 2200px; perspective-origin: 50% 0%; background: linear-gradient(180deg, #f1f3f6, #e1e5ea); }
.fp-3d .fp-stage, .fp-3d .fp-plane, .fp-3d .fp-roomlayer, .fp-3d .fp-table, .fp-3d .fp-decor, .fp-3d .fp-w3 { transform-style: preserve-3d; }
.fp-3d .fp-stage { transform-origin: 50% 50%; }
.fp-3d .fp-table { transform: rotate(var(--a, 0deg)) translateZ(34px); box-shadow: 0 0 0 1px rgba(14, 26, 43, .08), 0 40px 30px -18px rgba(14, 26, 43, .3); }
.fp-3d .fp-chair { transform: rotate(var(--r)) translateZ(-16px); box-shadow: 0 10px 8px -6px rgba(14, 26, 43, .25); }
.fp-3d .fp-top b { font-size: 34px; }
.fp-w3 { position: absolute; width: 0; height: 0; pointer-events: none; }
.fp-w3 > i { position: absolute; left: 0; top: 0; height: 100px; background: linear-gradient(0deg, #d9dde3, #c5cbd3); transform-origin: 0 0; border-bottom: 3px solid #8f98a4; }
.fp-3d .fp-decor.fp-wall > .fp-side, .fp-3d .fp-decor.fp-counter > .fp-side { position: absolute; left: 0; top: 0; width: 100%; background: inherit; transform-origin: 0 0; transform: rotateX(90deg); filter: brightness(.88); }
.fp-3d .fp-decor.fp-wall > .fp-side { height: 100px; }
.fp-3d .fp-decor.fp-counter { transform: rotate(var(--a, 0deg)) translateZ(44px); }
.fp-3d .fp-decor.fp-counter > .fp-side { top: 100%; height: 44px; transform: rotateX(-90deg); }
.fp-3d .fp-decor.fp-plant { transform: translateZ(30px); }
.fp-decor > .fp-side { display: none; }
.fp-3d .fp-decor > .fp-side { display: block; }

/* ---- Yönetim: plan önizlemesi */
.fp-admin { display: grid; gap: 14px; }
.fp-admin-head { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.fp-admin-head .muted { max-width: 70ch; margin-top: 4px; }
.fp-admin-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.fp-admin .fp-table { cursor: pointer; }

/* ---- Düzenleyici: tam ekran (mobil alt menünün üstünde, onay pencerelerinin altında) */
body.fpe-lock { overflow: hidden; }
body.fpe-lock .toast { z-index: 80; }
.fpe-screen { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; background: #f6f7f8; color: #121417; font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px;
  --surface: #fff; --ink: #121417; --muted: #5f646c; --line: #e3e6ea; --soft: #f2f4f6; color-scheme: light; }
.fpe { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; min-height: 0; }
.fpe-top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.fpe-title { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 360px; }
.fpe-title > b { font-size: 17px; white-space: nowrap; }
.fpe-title .fp-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.fpe-title .fp-tab { min-height: 36px; padding: 0 14px; }
.fpe-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fpe-tools { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fpe-tools button { min-height: 38px; min-width: 40px; padding: 0 10px; border: 0; border-right: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 0; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.fpe-tools button:last-child { border-right: 0; }
.fpe-tools button:disabled { color: #c3c9d2; }
.fpe-tools button:not(:disabled):hover { background: var(--soft); }
.fpe-zoom { min-width: 58px !important; font-variant-numeric: tabular-nums; }
.fpe-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13px; }
.fpe-btn:hover:not(:disabled) { border-color: #b8c0ca; }
.fpe-btn.on { background: #eef4ff; border-color: var(--fp-sel); color: #1d4ed8; }
.fpe-btn:disabled { opacity: .45; }
.fpe-bar .fp-dim { margin-left: 0; }
.fpe-bar .fp-save { min-height: 38px; }
.fpe-body { position: relative; display: grid; grid-template-columns: 224px minmax(0, 1fr) 268px; gap: 12px; padding: 12px; min-height: 0; }
.fpe-pal, .fpe-insp { overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 18px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); min-height: 0; }
.fpe-canvas { position: relative; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; }
.fpe-canvas .fp-wrap { height: 100%; min-height: 0; border-radius: 14px; touch-action: none; background: #e8ebef; }
.fpe-hint { font-size: 12.5px; color: var(--muted); text-align: center; }
.fpe-screen .fp-plane { background-image: linear-gradient(rgba(14, 26, 43, .09) calc(var(--inv, 1) * 1px), transparent 0), linear-gradient(90deg, rgba(14, 26, 43, .09) calc(var(--inv, 1) * 1px), transparent 0),
  linear-gradient(rgba(14, 26, 43, .04) calc(var(--inv, 1) * 1px), transparent 0), linear-gradient(90deg, rgba(14, 26, 43, .04) calc(var(--inv, 1) * 1px), transparent 0); background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; }
.fpe-screen .fp-floor { fill: rgba(255, 255, 255, .78); }
.fpe-screen .fp-3d .fp-plane { background-image: none; }
.fpe-screen .fp-3d .fp-floor { fill: var(--fp-paper); }
.fpe-screen .fp-table, .fpe-screen .fp-decor { cursor: grab; }
.fpe-screen .fp-multi .fp-table, .fpe-screen .fp-multi .fp-decor { cursor: copy; }
.fpe-screen .fp-drawing .fp-stage { cursor: crosshair; }
.fpe-screen .fp-decor.fp-label { border: calc(var(--inv, 1) * 1px) dashed #c3cad3; }
.fp-table.sel, .fp-decor.sel { outline: calc(var(--inv, 1) * 2px) solid var(--fp-sel); outline-offset: calc(var(--inv, 1) * 5px); z-index: 4; }
.fp-decor.snapped { outline-color: #16a34a; }
.fp-handle { position: absolute; right: calc(var(--inv, 1) * -9px); bottom: calc(var(--inv, 1) * -9px); width: calc(var(--inv, 1) * 16px); height: calc(var(--inv, 1) * 16px); border-radius: 50%; background: var(--fp-sel); border: calc(var(--inv, 1) * 3px) solid #fff; box-shadow: 0 0 0 calc(var(--inv, 1) * 1px) rgba(14, 26, 43, .2); cursor: nwse-resize; display: none; z-index: 3; }
.sel > .fp-handle { display: block; }
/* Duvar: dokunma alanı, seçili duvar, köşe ve kavis tutamakları */
.fp-seghit { fill: none; stroke: transparent; stroke-width: calc(var(--inv, 1) * 22px); pointer-events: stroke; cursor: pointer; }
.fp-seghit:hover { stroke: rgba(37, 99, 235, .12); }
.fp-segsel { fill: none; stroke: var(--fp-sel); stroke-width: calc(var(--inv, 1) * 4px); }
.fp-handles { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.fp-corner, .fp-mid { position: absolute; pointer-events: auto; touch-action: none; border-radius: 50%; box-sizing: border-box; }
.fp-corner { width: calc(var(--inv, 1) * 16px); height: calc(var(--inv, 1) * 16px); margin: calc(var(--inv, 1) * -8px) 0 0 calc(var(--inv, 1) * -8px); background: #fff; border: calc(var(--inv, 1) * 3px) solid var(--fp-sel); cursor: move; }
.fp-corner.sel { background: var(--fp-sel); }
.fp-mid { width: calc(var(--inv, 1) * 13px); height: calc(var(--inv, 1) * 13px); margin: calc(var(--inv, 1) * -6.5px) 0 0 calc(var(--inv, 1) * -6.5px); background: #fff; border: calc(var(--inv, 1) * 2px) solid #64748b; cursor: grab; }
.fp-mid.curved { border-color: var(--fp-sel); background: #dbe7ff; }
.fp-mid:hover { border-color: var(--fp-sel); background: #dbe7ff; }
@media (pointer: coarse) {
  .fp-corner { width: calc(var(--inv, 1) * 26px); height: calc(var(--inv, 1) * 26px); margin: calc(var(--inv, 1) * -13px) 0 0 calc(var(--inv, 1) * -13px); }
  .fp-mid { width: calc(var(--inv, 1) * 22px); height: calc(var(--inv, 1) * 22px); margin: calc(var(--inv, 1) * -11px) 0 0 calc(var(--inv, 1) * -11px); }
}
.fp-drawline { fill: none; stroke: var(--fp-sel); stroke-width: calc(var(--inv, 1) * 2.5px); stroke-dasharray: calc(var(--inv, 1) * 8px) calc(var(--inv, 1) * 5px); }
.fp-drawpt { fill: #fff; stroke: var(--fp-sel); stroke-width: calc(var(--inv, 1) * 2.5px); }
.fp-drawpt.first { fill: var(--fp-sel); }
/* Sürüklerken: hizalama çizgisi, geçiş boşluğu ölçüsü, seçim çerçevesi */
.fp-measure { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.fp-guide { position: absolute; background: #ec4899; }
.fp-guide.v { top: -100px; bottom: -100px; width: calc(var(--inv, 1) * 1px); }
.fp-guide.h { left: -100px; right: -100px; height: calc(var(--inv, 1) * 1px); }
.fp-gap { position: absolute; }
.fp-gap.h { height: 0; border-top: calc(var(--inv, 1) * 1px) solid #0e7490; }
.fp-gap.v { width: 0; border-left: calc(var(--inv, 1) * 1px) solid #0e7490; }
.fp-gap em { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-style: normal; font-size: calc(var(--inv, 1) * 11px); font-weight: 700; color: #fff; background: #0e7490; padding: calc(var(--inv, 1) * 1px) calc(var(--inv, 1) * 6px); border-radius: calc(var(--inv, 1) * 8px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fp-gap.tight { border-color: #d97706; }
.fp-gap.tight em { background: #d97706; }
.fp-band { position: absolute; border: calc(var(--inv, 1) * 1px) solid var(--fp-sel); background: rgba(37, 99, 235, .08); }
/* Sol: eklenecekler */
.fpe-group h4 { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.fpe-group h4 span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.fpe-tpls { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fpe-tpl, .fpe-rooms button { display: grid; justify-items: center; align-content: center; gap: 4px; padding: 8px 4px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 600; }
.fpe-tpl { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.fpe-tpl:hover, .fpe-rooms button:hover { border-color: var(--fp-sel); background: #f5f8ff; }
.fpe-tplart { height: 40px; display: grid; place-items: center; }
.fpe-tpls.obj .fpe-tplart { height: 24px; }
.fp-mini { display: block; background: #fff; border: 2px solid #8b95a5; border-radius: 4px; box-shadow: 0 0 0 4px #e4e8ee; }
.fp-mini.fp-round, .fp-mini.fp-stool { border-radius: 50%; }
.fpe-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.fpw-room { fill: #f1f3f6; stroke: #22262c; stroke-width: 2; stroke-linejoin: miter; }
.fpe-wait { display: grid; gap: 6px; margin-top: 12px; }
.fpe-wait > span { font-size: 12px; color: var(--muted); font-weight: 600; }
.fpe-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fpe-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 11px; border-radius: 17px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13px; }
.fpe-chip:hover { border-color: var(--ink); }
.fpe-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 8px 0 0; color: #1d4ed8; font-weight: 700; font-size: 13px; text-align: left; }
.fpe-link.danger { color: var(--danger, #b3261e); }
.fpe-row { display: flex; gap: 14px; flex-wrap: wrap; }
.fp-ico { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; flex: none; box-sizing: border-box; }
.fp-ico.fp-round, .fp-ico.fp-stool, .fp-ico.fp-plant { border-radius: 50%; }
.fp-ico.fp-rect { width: 22px; height: 12px; }
.fp-ico.fp-stool { width: 11px; height: 11px; }
.fp-ico.fp-wall { height: 5px; width: 22px; background: currentColor; }
.fp-ico.fp-door { border: 0; border-left: 2px solid currentColor; border-top: 2px dashed #8b95a5; border-top-right-radius: 100%; }
.fp-ico.fp-window { height: 7px; width: 22px; border-width: 1.5px 0; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, #eef5fd; }
.fp-ico.fp-counter { width: 22px; height: 11px; background: #ece7de; border-color: #a8977b; border-width: 1.5px; }
.fp-ico.fp-area { width: 22px; height: 16px; border-style: dashed; border-width: 1.5px; background: repeating-linear-gradient(45deg, rgba(93, 103, 115, .5) 0 1px, transparent 0 4px); }
.fp-ico.fp-stairs { width: 12px; height: 22px; border-width: 1.5px; background: repeating-linear-gradient(0deg, currentColor 0 1px, transparent 0 4px); }
.fp-ico.fp-plant { background: #8cc79a; border-color: #4f8f60; }
.fp-ico.fp-label { border-style: dotted; width: 22px; height: 12px; }
/* Sağ: seçilenin özellikleri */
.fpe-insp h3 { margin: 0; font-size: 18px; }
.fpe-f { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fpe-f input { min-height: 38px; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500; }
.fpe-dims { display: flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.fpe-dims input { width: 78px; text-align: center; }
.fpe-step, .fpe-turn { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: fit-content; }
.fpe-step button, .fpe-turn button { min-height: 38px; width: 42px; border: 0; border-radius: 0; background: var(--soft); color: var(--ink); font-size: 18px; display: grid; place-items: center; }
.fpe-step b, .fpe-turn b { min-width: 52px; text-align: center; font-size: 16px; color: var(--ink); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.fpe-shapes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fpe-shapes.three { grid-template-columns: repeat(3, 1fr); }
.fpe-shapes button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13px; text-transform: none; letter-spacing: 0; }
.fpe-shapes button.on { border-color: var(--fp-sel); background: #eef4ff; color: #1d4ed8; }
.fpe-align { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.fpe-align.two { grid-template-columns: 1fr 1fr; }
.fpe-align button { min-height: 38px; display: inline-flex; gap: 6px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; padding: 0 4px; }
.fpe-align button:hover:not(:disabled) { border-color: var(--fp-sel); }
.fpe-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fpe-acts button, .fpe-danger { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13px; }
.fpe-danger { color: var(--danger, #b3261e) !important; border-color: #f3c2c2 !important; }
.fpe-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fpe-stats div { display: grid; padding: 10px 12px; border-radius: 10px; background: var(--soft); }
.fpe-stats b { font-size: 22px; }
.fpe-stats span { font-size: 12px; color: var(--muted); }
.fpe-tips { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.fpe-tips kbd { font: 600 11px/1 ui-monospace, monospace; padding: 2px 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; background: var(--soft); color: var(--ink); }
.fpe-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--fp-sel); background: #fff; vertical-align: -1px; }
.fpe .wide { width: 100%; }
.fpe-ghost { position: fixed; z-index: 100; transform: translate(-50%, -50%) scale(1.6); pointer-events: none; opacity: .85; filter: drop-shadow(0 6px 10px rgba(14, 26, 43, .3)); }
.fpe-error { margin: 40px auto; max-width: 520px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
@media (max-width: 1180px) {
  .fpe-body { grid-template-columns: 200px minmax(0, 1fr); }
  .fpe-insp { position: absolute; right: 24px; top: 24px; width: 280px; max-height: calc(100% - 64px); box-shadow: 0 12px 32px rgba(14, 26, 43, .18); z-index: 10; }
  .fpe-insp.empty { display: none; }
}
@media (max-width: 760px) {
  .fpe-top { padding: 8px 10px; }
  .fpe-btn span { display: none; }
  .fpe-closebtn span { display: inline; }
  .fpe-body { grid-template-columns: 1fr; grid-template-rows: minmax(280px, 1fr) auto; padding: 8px; gap: 8px; }
  .fpe-pal { order: 2; max-height: 32vh; }
  .fpe-insp { left: 8px; right: 8px; width: auto; top: auto; bottom: 8px; max-height: 52vh; }
}
/* Hızlı kurulum */
.overlay.fpw-overlay { z-index: 70; align-items: center; padding: 16px; }
.fpw { width: min(680px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; display: grid; gap: 16px; padding: 22px; border-radius: 18px; background: #fff; color: #121417; }
.fpw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fpw-head h2 { margin: 0; font-size: 22px; }
.fpe-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e3e6ea; background: #fff; font-size: 16px; }
.fpw-lead { margin: -8px 0 0; color: #5f646c; }
.fpw-step { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid #e3e6ea; }
.fpw-step h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.fpw-step h3 span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #121417; color: #fff; font-size: 13px; }
.fpw-shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fpw-shapes button { display: grid; justify-items: center; gap: 6px; padding: 10px 6px 8px; border: 1px solid #e3e6ea; border-radius: 12px; background: #fff; color: #121417; font-size: 13px; font-weight: 600; }
.fpw-shapes button.on { border-color: var(--fp-sel, #2563eb); background: #eef4ff; box-shadow: inset 0 0 0 1px var(--fp-sel, #2563eb); }
.fpw-size { display: flex; gap: 12px; flex-wrap: wrap; }
.fpw-num { display: inline-flex; align-items: center; border: 1px solid #e3e6ea; border-radius: 12px; overflow: hidden; }
.fpw-num span { padding: 0 12px; font-size: 13px; font-weight: 700; color: #5f646c; }
.fpw-num button { width: 42px; min-height: 42px; border: 0; border-radius: 0; background: #f2f4f6; font-size: 18px; color: #121417; }
.fpw-num input { width: 64px; min-height: 42px; border: 0; text-align: center; font-size: 16px; font-weight: 600; padding: 0; }
.fpw-num em { font-style: normal; color: #5f646c; padding-right: 10px; }
.fpw-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.fpw-check input { width: auto; }
.fpw-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.fpw-trow { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; }
.fpw-trow.has { background: #f5f8ff; }
.fpw-tic { display: grid; place-items: center; height: 40px; }
.fpw-tname { display: grid; font-weight: 600; font-size: 14px; }
.fpw-tname small { font-weight: 400; font-size: 12px; color: #5f646c; }
.fpw-trow .fpe-step button { width: 38px; min-height: 36px; }
.fpw-trow .fpe-step b { min-width: 34px; }
.fpw-total { font-size: 14px; color: #5f646c; }
.fpw-total b { color: #121417; }
.fpw-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff7e6; color: #79510f; font-size: 13px; }
.fpw-foot { display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 560px) { .fpw-tables { grid-template-columns: 1fr; } .fpw-shapes { grid-template-columns: repeat(2, 1fr); } }

.me-grp-name .muted, .me-chip .muted { font-weight: 400; color: #6b7078; }

/* ==== Admin paneli: tabletle aynı sakin dil (Roboto, ince kenarlar, hafif kalınlıklar, renk yalnızca anlam için) ==== */
@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin-400-normal.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin-500-normal.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin-700-normal.woff") format("woff"); font-weight: 600 700; font-display: swap; }
body.adm { color-scheme: light; --ink: #121417; --muted: #5f646c; --line: #e6e8eb; --soft: #f2f4f6; --bg: #f6f7f8; --surface: #ffffff; --link: #0b5a54; --warn: #f6e3b8; --warn-ink: #79510f; --radius: 10px; font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { body.adm .pill.open { background: #dff3ed; color: #0b5a54; } body.adm button.danger { background: #fde7e5; } }
body.adm h1, body.adm h2 { font-weight: 600; letter-spacing: -.01em; }
body.adm .page-sub h3, body.adm .card strong, body.adm .card b { font-weight: 600; }
body.adm button { font-weight: 500; }
body.adm button.primary { font-weight: 600; }
body.adm button.ghost { background: #fff; border: 1px solid var(--line); }
body.adm button.ghost:hover { background: var(--soft); }
body.adm button.danger-text { color: #b42318; }
body.adm .card { border-radius: 14px; border-color: var(--line); padding: 16px 18px; box-shadow: none; }
body.adm .pill { font-weight: 600; text-transform: lowercase; }
body.adm table.data { font-size: 14px; }
body.adm table.data th { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line); padding: 8px 10px; }
body.adm table.data td { padding: 10px; border-bottom-color: #eef0f2; vertical-align: middle; }
body.adm table.data tr:last-child td { border-bottom: 0; }
body.adm .mono { font-family: inherit; font-variant-numeric: tabular-nums; color: var(--muted); }
body.adm .num { text-align: right; }

/* Bugün şeridi ve sipariş durumu */
.ad-today { display: grid; grid-template-columns: 1.3fr 1fr 1fr; margin-bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ad-today > div { padding: 16px 20px; display: grid; gap: 4px; align-content: start; }
.ad-today > div + div { border-left: 1px solid var(--line); }
.ad-k { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ad-today b { font-size: 26px; font-weight: 600; }
.ad-today > div:first-child b { font-size: 32px; }
.ad-today .muted { font-size: 13px; }
.ls-pct { justify-self: start; display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 12px; font: 600 13px/1.2 "Roboto", sans-serif; }
.ls-pct.up { background: #e3f5ea; color: #0f7b3f; } .ls-pct.down { background: #fdecea; color: #b42318; }
.ad-status { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 12px 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.ad-status > span:nth-child(2) { flex: 1; }
.ad-dot { width: 9px; height: 9px; border-radius: 50%; background: #1aa251; box-shadow: 0 0 0 4px #e3f5ea; flex: none; }
.ad-status.paused { background: #fff8eb; border-color: #f3d9a4; }
.ad-status.paused .ad-dot { background: #d97706; box-shadow: 0 0 0 4px #fdecc8; }
.ad-status.off { background: #fff4f2; border-color: #f2c4bc; }
.ad-status.off .ad-dot { background: #c2410c; box-shadow: 0 0 0 4px #fde2da; }
.ad-status.closed .ad-dot { background: #8a8f98; box-shadow: 0 0 0 4px #eceef1; }

/* Sipariş listesi: güne göre gruplu, renkli durumlar */
.ad-orders { padding: 6px 8px; }
.ad-day td { padding: 14px 10px 6px !important; font-size: 13px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line) !important; background: #fff; }
.ad-otable tr.is-off td { color: var(--muted); }
.ad-otable tr:not(.ad-day):hover td { background: #fafbfc; }
.ad-act { white-space: nowrap; text-align: right; }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 12px; font-size: 13px; font-weight: 500; background: var(--soft); color: var(--muted); }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.st-new { background: #fff1d6; color: #8a4b00; }
.st.st-acc { background: #eaf1ff; color: #1d4ed8; }
.st.st-ready { background: #e3f5ea; color: #0f7b3f; }
.st.st-done { background: var(--soft); color: #4b5563; }
.st.st-off { background: #fdecea; color: #b42318; }
.ad-empty { display: grid; gap: 4px; justify-items: center; padding: 40px 16px; text-align: center; }

/* Telefon: üst çubuk sığar, tablolar kart olur */
@media (max-width: 760px) {
  .ad-today { grid-template-columns: 1fr 1fr; }
  .ad-today > div:first-child { grid-column: 1 / -1; }
  .ad-today > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ad-today > div:last-child { border-left: 1px solid var(--line); }
  .ad-status { flex-wrap: wrap; }
  .ad-status .muted { display: none; }
  body.adm .topbar { flex-wrap: wrap; gap: 8px; }
  .ad-otable thead { display: none; }
  .ad-otable, .ad-otable tbody, .ad-otable tr, .ad-otable td { display: block; }
  .ad-otable tr:not(.ad-day) { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; padding: 10px 6px; border-bottom: 1px solid #eef0f2; }
  .ad-otable tr:not(.ad-day) td { padding: 0 !important; border: 0 !important; }
  .ad-otable tr:not(.ad-day) td:nth-child(1) { grid-row: 1; grid-column: 1; }
  .ad-otable tr:not(.ad-day) td:nth-child(4) { grid-row: 1; grid-column: 2; font-weight: 500; }
  .ad-otable tr:not(.ad-day) td:nth-child(7) { grid-row: 1; grid-column: 3; }
  .ad-otable tr:not(.ad-day) td:nth-child(2) { grid-row: 2; grid-column: 1; color: var(--muted); font-size: 13px; }
  .ad-otable tr:not(.ad-day) td:nth-child(3) { grid-row: 2; grid-column: 2; color: var(--muted); font-size: 13px; }
  .ad-otable tr:not(.ad-day) td:nth-child(5) { grid-row: 3; grid-column: 1 / 3; margin-top: 4px; }
  .ad-otable tr:not(.ad-day) td:nth-child(6) { grid-row: 2; grid-column: 3; font-size: 12px; text-align: right; }
  .ad-otable tr:not(.ad-day) td:nth-child(8) { grid-row: 3; grid-column: 3; }
}
.tb-acc { display: none; }
@media (max-width: 760px) {
  body.adm .tb-right { width: 100%; margin-left: 0; }
  body.adm .tb-right > a, body.adm .tb-right > .tb-menu { flex: 1; }
  body.adm .tb-right button, body.adm .tb-menu > summary { width: 100%; font-size: 13px; padding: 6px 8px; text-align: center; white-space: nowrap; }
  body.adm .tb-long, body.adm .tb-email { display: none; }
  body.adm .tb-acc { display: inline; }
  body.adm .tb-name { margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
}
.tb-short { display: none; }
@media (max-width: 760px) { body.adm .tb-short { display: inline; } }

/* ---- Raporlar */
.rp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rp-ranges { display: flex; gap: 6px; flex-wrap: wrap; }
.rp-ranges button { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 6px 14px; }
.rp-ranges button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.rp-dl a { color: var(--brand-dark); }
.rp-custom { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.rp-custom .field { margin: 0; }
.rp-hero { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; margin-bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rp-hero > div { padding: 16px 20px; display: grid; gap: 6px; align-content: start; }
.rp-hero > div + div { border-left: 1px solid var(--line); }
.rp-hero b { font-size: 24px; font-weight: 600; }
.rp-hero .rp-big { font-size: 34px; }
.rp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rp-chart { display: flex; align-items: stretch; gap: 4px; height: 200px; }
.rp-col { flex: 1; min-width: 0; display: grid; grid-template-rows: auto 1fr auto; align-items: end; justify-items: center; gap: 4px; }
.rp-col i { display: block; width: 70%; max-width: 38px; min-height: 2px; background: var(--brand); border-radius: 5px 5px 0 0; align-self: end; }
.rp-col:hover i { background: var(--brand-dark); }
.rp-val { font-size: 11px; color: var(--muted); white-space: nowrap; min-height: 14px; }
.rp-lab { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; max-width: 100%; }
.rp-chart:has(.rp-col:nth-child(15)) .rp-val { visibility: hidden; }
.rp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rp-two > .card { margin-bottom: 12px; }
.rp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 90px; grid-template-rows: auto auto; column-gap: 12px; row-gap: 5px; padding: 7px 0; font-size: 14px; }
.rp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-sub { color: var(--muted); font-size: 13px; }
.rp-row b { text-align: right; font-weight: 500; }
.rp-meter { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--soft); overflow: hidden; }
.rp-meter i { display: block; height: 100%; background: var(--brand); border-radius: 2px; }
.rp-hours { display: flex; align-items: stretch; gap: 3px; height: 150px; }
.rp-hcol { flex: 1; display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 4px; min-width: 0; }
.rp-hcol i { display: block; width: 80%; min-height: 2px; background: #94a3b8; border-radius: 4px 4px 0 0; align-self: end; }
.rp-hcol span { font-size: 10px; color: var(--muted); white-space: nowrap; min-height: 12px; }
.rp-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #eef0f2; font-size: 14px; }
.rp-kv:last-child { border-bottom: 0; }
.rp-kv b { font-weight: 500; }
@media (max-width: 900px) { .rp-hero { grid-template-columns: 1fr 1fr; } .rp-hero > div:first-child { grid-column: 1 / -1; } .rp-hero > div + div { border-left: 0; border-top: 1px solid var(--line); } .rp-hero > div:nth-child(3) { border-left: 1px solid var(--line); } .rp-two { grid-template-columns: 1fr; } }
.rp-lab { min-height: 14px; }

/* ---- Menü düzenleyici: tek satırlık ürünler (dokununca seçenekler açılır), sakin etiketler, telefonda tek sütun */
body.adm .me-cat { border-radius: 14px; }
body.adm .me-items { background: #f8f9fa; padding: 6px 10px 10px; }
body.adm .me-item { border-radius: 10px; margin-bottom: 6px; }
body.adm .me-item-head { align-items: center; padding: 8px 10px; gap: 10px; }
.me-itemtoggle { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: left; background: transparent; border: 0; padding: 2px 0; min-height: 0; color: var(--ink); cursor: pointer; }
.me-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.me-line strong { font-weight: 500; font-size: 15px; }
.me-sum { font-size: 13px; color: var(--ink-2, #374151); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-sum.muted { color: var(--muted); }
body.adm .me-price { font-weight: 600; margin-left: 0; white-space: nowrap; }
.me-avail { min-width: 76px; font-size: 13px !important; color: #b42318 !important; }
.me-avail.on { color: #0f7b3f !important; }
.me-item-body { padding: 0 12px 10px 112px; }
body.adm .me-chip { background: var(--soft); color: var(--ink); font-weight: 500; }
body.adm .me-chip.inherited { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
body.adm .me-cat-name { font-weight: 600; }
body.adm .me-count { font-weight: 500; }
body.adm .me-grp { border-radius: 10px; }
body.adm .me-hl { box-shadow: 0 0 0 2px #e3ad55; background: #fff8eb; }
@media (max-width: 900px) {
  body.adm .me-layout { grid-template-columns: minmax(0, 1fr); }
  body.adm .me-lib { position: static; max-height: none; }
  .me-item-body { padding-left: 12px; }
  body.adm .me-cat-head .me-main, body.adm .me-item-head { min-width: 0; }
  body.adm .me-chips { min-width: 0; }
  body.adm .me-attach { max-width: 100%; }
}
@media (max-width: 560px) {
  /* Telefon: 1. satır tutamak + resim + ad/özet, 2. satır fiyat (solda) ve düğmeler (sağda) */
  body.adm .me-item-head { display: grid; grid-template-columns: 14px 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 6px; }
  body.adm .me-item-head .me-grip { grid-row: 1; grid-column: 1; }
  body.adm .me-item-head .me-thumb { grid-row: 1; grid-column: 2; }
  .me-itemtoggle { grid-row: 1; grid-column: 3; }
  body.adm .me-item-head .me-price { grid-row: 2; grid-column: 3; justify-self: start; align-self: center; }
  body.adm .me-item-head .me-actions { grid-row: 2; grid-column: 3; justify-self: end; }
  .me-avail { min-width: 0; }
}
@media (max-width: 900px) { body.adm .me-layout > .me-lib { order: 2; } body.adm .me-layout > :not(.me-lib) { order: 1; } }

/* ---- Admin formları (Kurulum ve diğer sayfalar): etiket + yanında soluk açıklama, makul genişlikte kutular, normal boyutta Kaydet */
body.adm label.field { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 6px; font-weight: 500; font-size: 14px; color: var(--ink); }
body.adm label.field > :not(.muted):not(b):not(strong):not(code):not(em):not(a) { flex: 1 1 100%; }
body.adm label.field .muted, body.adm .card .muted { font-weight: 400; }
body.adm label.field .muted { font-size: 13px; }
body.adm input, body.adm select, body.adm textarea { font-weight: 400; padding: 10px 12px; border-radius: 10px; border-color: #d9dde2; }
body.adm input:focus, body.adm select:focus, body.adm textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
body.adm label.field { max-width: 720px; } /* kutu etiketin altında, tam etiket genişliğinde; satır çok uzamaz */
body.adm form button.primary, body.adm .card > button.primary { width: auto; min-width: 140px; align-self: flex-start; justify-self: start; }
body.adm .card > strong:first-child, body.adm form > strong:first-child { font-size: 16px; }
body.adm label.opt { font-weight: 400; }
body.adm .card h3 { font-weight: 600; }
/* Durum satırı: yeşil tik ya da boş halka (emoji yerine) */
.ad-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.ad-check::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9ced5; box-sizing: border-box; }
.ad-check.on::before { border: 0; background: #1aa251 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
/* Yan yana alanlar eşit genişlikte */
body.adm .row > label.field, body.adm .grid3 > label.field, body.adm .grid2 > label.field { flex: 1 1 0; min-width: 140px; max-width: none; }

/* ---- Admin erişilebilirlik: klavyeyle gezerken belirgin odak halkası; telefonda küçük düğmeler de en az 44 px. */
body.adm :is(button, a, summary, select, [role=button]):focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
@media (max-width: 720px) { body.adm button.small, body.adm summary.small, body.adm .sn-top { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { body.adm *, body.adm *::before, body.adm *::after { animation: none !important; transition: none !important; } }

/* ===== Admin gezinme v4 =====
   Masaüstü (≥1100): ekran boyu sabit kenar çubuğu, kendi içinde kayar; üstte "Search settings" (Ctrl/⌘ K komut paleti).
   Tablet (701–1099, dikey ya da yatay): menü katlanmaz, solda simge şeridi; bölüme dokununca sayfaları yanında panel olarak açılır.
   Telefon (≤700): altta 5 sekmeli çubuk (Orders, Menu, Setup, Reports, More); bölümün sayfaları alttan açılır.
   Her sayfanın üstünde yol: Setup › Payment methods & taxes › Taxation. */
body.adm .admin-shell { grid-template-columns: 256px minmax(0, 1fr); gap: 28px; align-items: start; }
body.adm .side-nav { position: sticky; top: 74px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 2px 6px 16px 0; border: 0; background: transparent; }
body.adm .side-nav .sn { display: flex; flex-direction: column; gap: 2px; }
body.adm .sn-search { display: flex !important; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 10px 0 12px !important; justify-content: flex-start !important;
  border: 1px solid var(--line) !important; border-radius: 12px !important; background: var(--surface) !important; color: var(--muted) !important; font-size: 14px !important; font-weight: 400 !important; }
body.adm .sn-search:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)) !important; color: var(--ink) !important; }
body.adm .sn-search > span { flex: 1; text-align: left; }
body.adm kbd { font: 500 12px/1 system-ui, sans-serif; padding: 4px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--soft); color: var(--muted); white-space: nowrap; }
body.adm .sn-flyhead, body.adm .sn-morehead, body.adm .area-more { display: none; }
body.adm .sn-top.active { box-shadow: inset 3px 0 0 color-mix(in srgb, #000 18%, var(--brand)); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 6px; font-size: 13px; color: var(--muted); }
.crumbs i { font-style: normal; opacity: .6; }
.crumbs b { font-weight: 500; color: var(--ink); }
.tb-find { display: none !important; }

/* Tablet: simge şeridi + yan panel */
@media (min-width: 701px) and (max-width: 1099px) {
  body.adm .admin-shell { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
  body.adm .side-nav { top: 74px; overflow: visible; max-height: none; padding: 0; gap: 8px; align-items: center; }
}
@media (min-width: 701px) and (max-width: 860px) { /* üst çubuk burada sabit değil: şerit sayfanın en üstüne yapışır */
  body.adm .side-nav { top: 12px; }
  body.adm .sn-search { width: 60px; min-height: 48px; justify-content: center !important; padding: 0 !important; }
  body.adm .sn-search > span, body.adm .sn-search kbd { display: none; }
  body.adm .side-nav .sn { gap: 4px; align-items: center; }
  body.adm .sn-top { flex-direction: column; gap: 4px !important; width: 68px; min-height: 62px !important; padding: 8px 2px !important; justify-content: center !important;
    font-size: 12px !important; font-weight: 500 !important; line-height: 1.15; text-align: center; border-radius: 14px !important; }
  body.adm .sn-top > span:first-of-type { flex: none; }
  body.adm .sn-area > .sn-top > svg:last-child, body.adm .sn-count { display: none; }
  body.adm .sn-area.here > .sn-top { background: color-mix(in srgb, var(--brand) 12%, transparent) !important; color: var(--brand-dark) !important; }
  body.adm .sn-area.fly > .sn-top { background: var(--soft) !important; color: var(--ink) !important; }
  body.adm .sn-items { display: none; }
  body.adm .sn-area.fly > .sn-items { display: grid; position: absolute; left: 84px; top: 0; z-index: 40; width: 300px; max-height: calc(100dvh - 96px); overflow-y: auto;
    margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 18px 50px rgba(15, 23, 42, .18); animation: sn-fly .16s ease-out; }
  body.adm .sn-flyhead { display: block; padding: 8px 10px 10px; font-size: 16px; font-weight: 600; color: var(--ink); }
  body.adm .sn-area.fly .sn-item, body.adm .sn-area.fly .sn-ghead { min-height: 44px !important; }
  body.adm .area-more { display: none !important; }
}
@keyframes sn-fly { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* Telefon: alt çubuk + alttan açılan sayfa listesi */
@media (max-width: 700px) {
  body.adm .admin-shell { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.adm main.wide { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  body.adm .side-nav { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 50; max-height: none; overflow: visible; gap: 0;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(15, 23, 42, .07); }
  body.adm .sn-search { display: none !important; }
  body.adm .side-nav .sn { flex-direction: row; justify-content: space-around; gap: 0; }
  body.adm .area-bookings, body.adm .area-marketing, body.adm .area-settings, body.adm .sn-top[data-tab="bookings"], body.adm .sn-top[data-tab="billing"] { display: none !important; }
  body.adm .area-more { display: block; }
  body.adm .sn-top { flex-direction: column; gap: 3px !important; width: 68px; min-height: 54px !important; padding: 4px 2px !important; justify-content: center !important;
    font-size: 12px !important; font-weight: 500 !important; background: transparent !important; color: var(--muted) !important; border-radius: 12px !important; box-shadow: none !important; }
  body.adm .sn-top > span:first-of-type { flex: none; }
  body.adm .sn-area > .sn-top > svg:last-child, body.adm .sn-count { display: none; }
  body.adm .area-more > .sn-top > svg { display: block !important; }
  body.adm .sn-top.active, body.adm .sn-area.here > .sn-top, body.adm .sn-area.fly > .sn-top { color: var(--brand-dark) !important; background: color-mix(in srgb, var(--brand) 10%, transparent) !important; }
  body.adm .sn-items { display: none; }
  body.adm .sn-area.fly > .sn-items { display: grid; position: fixed; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 2; max-height: 72vh; overflow-y: auto;
    margin: 0; padding: 6px 12px 16px; border: 0; border-radius: 20px 20px 0 0; background: var(--surface); box-shadow: 0 -12px 40px rgba(15, 23, 42, .18); animation: sn-sheet .2s ease-out; }
  body.adm .side-nav.has-fly::before { content: ""; position: fixed; left: 0; right: 0; top: 0; bottom: calc(66px + env(safe-area-inset-bottom)); background: rgba(10, 18, 22, .38); z-index: 1; }
  body.adm .sn-flyhead { display: block; padding: 14px 6px 8px; font-size: 18px; font-weight: 600; color: var(--ink); }
  body.adm .sn-morehead { display: block; padding: 12px 6px 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  body.adm .sn-area.fly .sn-item, body.adm .sn-area.fly .sn-ghead { min-height: 48px !important; font-size: 15px !important; }
  .tb-find { display: inline-flex !important; align-items: center; justify-content: center; }
  body.adm .tb-right > button { width: auto; flex: none; }
  body.adm .tb-right > .tb-find { width: 44px; min-height: 40px; padding: 0; }
}
@keyframes sn-sheet { from { transform: translateY(16px); opacity: .4; } to { transform: none; opacity: 1; } }

/* Komut paleti */
.cmdk { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px;
  background: rgba(10, 18, 22, .42); backdrop-filter: blur(3px); animation: cmdk-in .12s ease-out; }
.cmdk-box { width: min(620px, 100%); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
.cmdk-in { display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmdk-in input, body.adm .cmdk-in input:focus { flex: 1; min-height: 60px; padding: 0; border: 0; outline: none; box-shadow: none; background: transparent; font-size: 17px; color: var(--ink); }
.cmdk-list { display: grid; gap: 2px; max-height: 52vh; overflow-y: auto; padding: 8px; }
.cmdk-row { display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; width: 100%;
  min-height: 52px; padding: 8px 12px !important; border-radius: 12px !important; background: transparent !important; color: var(--ink) !important; text-align: left; }
.cmdk-row.on { background: color-mix(in srgb, var(--brand) 10%, transparent) !important; }
.cmdk-t { grid-column: 1; font-weight: 500; font-size: 15px; }
.cmdk-p { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--muted); }
.cmdk-done { grid-column: 2; grid-row: 1 / 3; font-size: 12px; font-weight: 600; color: #177a42; }
.cmdk-here { grid-column: 3; grid-row: 1 / 3; font-size: 12px; font-weight: 600; color: var(--brand-dark); padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); }
.cmdk-none { padding: 26px; text-align: center; color: var(--muted); }
.cmdk-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.cmdk-foot kbd { margin-right: 4px; }
@keyframes cmdk-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) { .cmdk { padding: 10px; align-items: flex-start; } .cmdk-foot { display: none; } }
@media (prefers-reduced-motion: reduce) { .cmdk, body.adm .sn-area.fly > .sn-items { animation: none !important; } }

/* Günlük kapanışlar (Z raporu) */
.cl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cl-month { display: flex; align-items: center; gap: 10px; } .cl-month b { font-size: 18px; font-weight: 600; min-width: 150px; text-align: center; }
.cl-month button { width: 40px; min-height: 40px; padding: 0; font-size: 18px; }
.cl-dl { display: flex; gap: 8px; flex-wrap: wrap; }
.cl-note { margin: 0 0 12px; max-width: 760px; }
.cl-wrap { overflow-x: auto; padding: 0 !important; }
.cl-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cl-table th, .cl-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; font-size: 14px; }
.cl-table th { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: var(--soft); }
.cl-table .num { text-align: right; }
.cl-table tr.open td, .cl-table tr.closing td { color: var(--muted); }
.cl-table tfoot td { font-weight: 600; background: var(--soft); border-bottom: 0; }
.cl-table tr.cl-group th { padding-top: 8px; padding-bottom: 0; border-bottom: 0; font-size: 11px; color: var(--ink, inherit); }
.cl-table tr.cl-group th[colspan]:not(:empty) { box-shadow: inset 0 -2px 0 var(--line); }
.cl-table tr.shut td { color: var(--muted); }
.cl-shut { margin-left: 6px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.cl-table .cl-sep { border-left: 1px solid var(--line); }
.cl-st { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--muted); }
.cl-st.ok { background: #e3f4ea; color: #177a42; }
.cl-st.fix { background: #fff3cd; color: #7a5a00; }

/* Marketing › Send an email */
body.adm .bc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { body.adm .bc-grid { grid-template-columns: 1fr; } }
body.adm .bc-offer { display: flex; align-items: center; gap: 8px; min-height: 44px; }
body.adm .bc-preview { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; display: grid; gap: 10px; }
body.adm .bc-subj { font-weight: 700; font-size: 17px; }
body.adm .bc-text { white-space: pre-wrap; line-height: 1.5; overflow-wrap: anywhere; }
body.adm .bc-btn { justify-self: start; background: var(--ink, #111); color: #fff; border-radius: 8px; padding: 10px 18px; font-weight: 600; }
body.adm .bc-actions { justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* Ürün seçenekleri, kasa düzeni: yan yana düğmeler (seçilen yeşil, seçilmeyen gri), geniş pencere, başlık satırın solunda */
.sheet.chips { width: min(980px, 100%); gap: 10px; padding: 18px 20px; border-radius: 16px; }
.sheet.chips .group { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 6px 12px; align-items: start; padding: 6px 0; border-top: 1px solid var(--line); }
.sheet.chips .group h3 { margin: 8px 0 0; font-size: 15px; line-height: 1.3; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sheet.chips .group h3 .pill, .sheet.chips .group h3 .muted { font-size: 11px; font-weight: 600; }
.sheet.chips .chiprow { display: flex; flex-wrap: wrap; gap: 6px; }
.sheet.chips .opt { position: relative; margin: 0; min-height: 44px; padding: 6px 12px; gap: 6px; justify-content: center; border-radius: 10px; background: #eef0f3; border-color: #dde1e6; color: #2b3138; font-weight: 600; cursor: pointer; user-select: none; }
.sheet.chips .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sheet.chips .opt span:first-of-type { flex: none; }
.sheet.chips .opt .muted { font-size: 12px; font-weight: 500; }
.sheet.chips .opt:has(input:checked) { background: #12804a; border-color: #12804a; color: #fff; }
.sheet.chips .opt:has(input:checked) .muted { color: #d9f5e5; }
.sheet.chips .opt:has(input:disabled) { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.sheet.chips .opt:has(input:focus-visible) { outline: 3px solid #2563eb; outline-offset: 2px; }
.sheet.chips .field { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.sheet.chips .foot { position: sticky; bottom: -18px; background: var(--surface); padding: 10px 0 0; }
@media (max-width: 700px) { .sheet.chips .group { grid-template-columns: 1fr; gap: 6px; } .sheet.chips .group h3 { flex-direction: row; align-items: center; margin: 0; } }
.plan-off { justify-items: center; text-align: center; }
.plan-off-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #eef0f3; color: #4b5563; }
.plan-off .btn-main, .plan-off .btn-quiet { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; text-decoration: none; }

/* Admin: plan dışı modül (kilit) ve Modules kartı */
body.adm .mods { gap: 0; }
body.adm .mod { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
body.adm .mod-state { display: grid; justify-items: end; gap: 2px; text-align: right; flex: none; min-width: 120px; }
body.adm .mod.off b { color: #4b5563; }
body.adm .mod-right { display: flex; align-items: center; gap: 12px; flex: none; }
body.adm .mod-right .small { min-height: 40px; min-width: 84px; }
@media (max-width: 640px) { body.adm .mod { flex-wrap: wrap; } body.adm .mod-right { width: 100%; justify-content: space-between; } body.adm .mod-state { justify-items: start; text-align: left; } }
/* Bildirimler: raporlar her adresin altında görünür düğmeler */
body.adm .nt-reports { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
body.adm .nt-rep { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #f3f4f6; color: #374151; font-weight: 600; font-size: 14px; cursor: pointer; }
body.adm .nt-rep input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body.adm .nt-rep::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 2px solid #9aa3ae; background: #fff; }
body.adm .nt-rep.on { background: #e3f6ea; border-color: #8fd3aa; color: #0b6b3a; }
body.adm .nt-rep.on::before { border-color: #12804a; background: #12804a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
body.adm .nt-rep:has(input:focus-visible) { outline: 3px solid #2563eb; outline-offset: 2px; }

/* Aynı seçenekten birden fazla: adet rozeti ve köşede "bir azalt" */
.opt { position: relative; }
.opt-n { margin-left: 6px; padding: 0 7px; border-radius: 999px; background: #0b5132; color: #fff; font-size: 13px; line-height: 20px; }
.opt-dec, .sheet .opt .opt-dec { position: absolute; top: -8px; right: -8px; min-height: 0; min-width: 0; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: #b42318; color: #fff; font-size: 12px; line-height: 1; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.opt-dec[hidden] { display: none; }
.opt-dec::after { content: ""; position: absolute; inset: -9px; } /* dokunma alanı 44px */
.opt:has(input:checked) .opt-n { background: #fff; color: #0b5132; }

/* Menü editörü: kategoriden gelen grup (ürün satırında sürüklenebilir, sırası ürüne özel) ve üzerine gelince eşleşme */
body.adm .me-chip.inherited { background: #fff; color: var(--ink); border: 1px dashed #9aa3ae; padding-right: 10px; cursor: grab; }
body.adm .me-chip[data-grp-chip] { cursor: grab; }
.me-from { margin-left: 6px; font-size: 11px; font-weight: 500; color: #6b7280; }
body.adm .me-chip.me-point { background: #dbeafe; color: #1e40af; border-color: #60a5fa; }
body.adm .me-grp.me-point { background: #eff6ff; box-shadow: inset 3px 0 0 #2563eb; }
body.adm .me-grp.me-point .me-grp-head { color: #1e40af; }
/* Timesheets / Roster */
.ts-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ts-note { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #fff7e6; color: #7a5a00; }
.ts-note.ok { background: #e7f6ee; color: #0b6338; }
.ts-table td, .ts-table th { vertical-align: top; white-space: normal; min-width: 96px; }
.ts-table th small, .ts-table td small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.ts-table .hol { background: #fff8e1; }
.ts-entry { display: block; width: 100%; margin: 0 0 4px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface, #fff); color: inherit; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.ts-entry:disabled { cursor: default; }
.ts-entry.open { border-color: #12804a; background: #e7f6ee; }
.ts-entry.bad { border-color: #b42318; background: #fdecea; }
.ts-entry.plan { background: #eef2ff; border-color: #c7d2fe; }
.ts-entry .ts-ed { color: #7a5a00; }
.ts-plan { color: #4338ca !important; }
.ts-late { color: #b42318 !important; font-weight: 600 !important; }
.ts-sum { display: block; margin-top: 2px; font-size: 13px; }
.ts-add { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-top: 4px; border: 1px dashed var(--line); border-radius: 8px; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.ts-add:hover { color: var(--ink); border-color: var(--ink); }

/* Onay / kısa metin penceresi (ask, askText): tarayıcı kutuları yerine */
.overlay.ask { align-items: center; z-index: 60; padding: 16px; }
.sheet.ask-box { width: min(440px, 100%); border-radius: 16px; gap: 18px; padding: 20px; }
.ask-box p { margin: 0; font-size: 16px; line-height: 1.45; white-space: pre-line; }
.ask-actions { justify-content: flex-end; gap: 10px; }
.ask-actions button { min-height: 44px; min-width: 96px; }

/* Timesheets / Roster dar ekranda (telefon): tablo yerine kişi başına kart; her gün bir satır, gün adı solda */
@media (max-width: 760px) {
  .ts-table, .ts-table tbody, .ts-table tfoot, .ts-table tr, .ts-table td { display: block; }
  .ts-table thead { display: none; }
  .ts-table tr { padding: 10px 12px; border-bottom: 8px solid var(--soft); }
  .ts-table td { display: grid; grid-template-columns: 104px 1fr auto; column-gap: 10px; align-items: start; min-width: 0; padding: 6px 0; border-bottom: 1px solid var(--line); background: none !important; }
  .ts-table tr td:last-child { border-bottom: 0; }
  .ts-table td:first-child { display: block; font-size: 16px; }
  .ts-table td[data-label]::before { content: attr(data-label); grid-column: 1; grid-row: 1 / span 8; padding-top: 6px; font-size: 13px; color: var(--muted); }
  .ts-table td > * { grid-column: 2; justify-self: start; }
  .ts-table td > .ts-add { grid-column: 3; grid-row: 1; width: 40px; height: 40px; margin: 0; }
  .ts-table td.num { text-align: left; align-items: center; }
  .ts-table td.num[data-label]::before { padding-top: 0; }
  .ts-table td.gap { display: none; }
  .ts-table .ts-entry { width: auto; margin: 0 0 4px; }
  .ts-table td .ts-sum { margin: 2px 0 0; }
  .ts-table td.hol::before { color: #7a5a00; }
  .ts-bar { align-items: flex-start; }
}

/* ---- Platform: durum panosu (platform-status.js). Renk tek başına anlam taşımaz: her durumun simgesi ve yazısı da var. */
.pf { --st-ok: #12863d; --st-ok-bg: #e3f5ea; --st-warn: #8a5a00; --st-warn-bg: #fff4d6; --st-warn-line: #f6c945; --st-bad: #b42318; --st-bad-bg: #fdecec; --st-bad-line: #f1a7a0; --st-setup: #1d4ed8; --st-setup-bg: #eaf1ff; }
.pf-nav a { display: inline-flex; align-items: center; gap: 8px; }
.pf-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; line-height: 1; }
.pf-badge.bad { background: var(--st-bad); color: #fff; }
.pf-badge.warn { background: var(--st-warn-line); color: #3d2a00; }
.st-summary { display: flex; flex-wrap: wrap; gap: 8px; }
.st-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 22px; font-size: 15px; font-weight: 600; border: 1px solid transparent; }
.st-chip b { font-size: 18px; font-variant-numeric: tabular-nums; }
.st-chip.bad { background: var(--st-bad-bg); color: var(--st-bad); border-color: var(--st-bad-line); }
.st-chip.warn { background: var(--st-warn-bg); color: var(--st-warn); border-color: var(--st-warn-line); }
.st-chip.ok { background: var(--st-ok-bg); color: var(--st-ok); border-color: #b7e0c5; }
.st-chip.setup { background: var(--st-setup-bg); color: var(--st-setup); border-color: #bfd2fb; }
.st-chip.zero { background: #f1f4f8; color: #5f6b7c; border-color: #e3e8ef; }
.st-h { margin: 6px 0 8px !important; font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.st-h span { font-size: 12px; padding: 1px 8px; border-radius: 10px; background: #eef1f6; color: #3b4656; letter-spacing: 0; }
.st-h.bad { color: var(--st-bad); } .st-h.warn { color: var(--st-warn); } .st-h.ok { color: var(--st-ok); } .st-h.setup { color: var(--st-setup); }
.st-group > summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; }
.st-group > summary::-webkit-details-marker { display: none; }
.st-group > summary .st-h::before { content: "▸"; transition: transform .15s; } .st-group[open] > summary .st-h::before { transform: rotate(90deg); }
.st-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.st-card { display: flex; align-items: stretch; background: #fff; border: 1px solid #e3e8ef; border-left: 6px solid #cfd6e0; border-radius: 12px; overflow: hidden; }
.st-card.bad { border-left-color: var(--st-bad); background: #fffafa; border-color: var(--st-bad-line); }
.st-card.warn { border-left-color: var(--st-warn-line); background: #fffdf5; }
.st-card.ok { border-left-color: #43b36a; }
.st-card.setup { border-left-color: #6f95f0; }
.st-main { flex: 1; min-width: 0; display: flex; gap: 12px; padding: 12px 12px 12px 10px; color: inherit; text-decoration: none; min-height: 64px; }
.st-main:hover { background: rgba(14, 26, 43, .03); }
.st-main:focus-visible, .st-call:focus-visible { outline: 3px solid #1d4ed8; outline-offset: -3px; }
.st-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.st-ico.bad { background: var(--st-bad); color: #fff; } .st-ico.warn { background: var(--st-warn-line); color: #3d2a00; }
.st-ico.ok { background: var(--st-ok-bg); color: var(--st-ok); } .st-ico.setup { background: var(--st-setup-bg); color: var(--st-setup); }
.st-body { display: grid; gap: 4px; min-width: 0; }
.st-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-name strong { font-size: 17px; overflow-wrap: anywhere; }
.st-tag { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; }
.st-tag.bad { background: var(--st-bad-bg); color: var(--st-bad); } .st-tag.warn { background: var(--st-warn-bg); color: var(--st-warn); }
.st-tag.ok { background: var(--st-ok-bg); color: var(--st-ok); } .st-tag.setup { background: var(--st-setup-bg); color: var(--st-setup); }
.st-reasons { display: grid; gap: 2px; font-size: 15px; }
.st-reasons .bad { color: var(--st-bad); font-weight: 700; } .st-reasons .warn { color: var(--st-warn); font-weight: 600; } .st-reasons .info { color: #3b4656; }
.st-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; color: #5f6b7c; }
.st-call { flex: none; width: 64px; display: grid; place-items: center; align-content: center; gap: 2px; border-left: 1px solid #e3e8ef; color: #0e1a2b; text-decoration: none; font-size: 12px; font-weight: 700; background: #f7f9fc; }
.st-call:hover { background: #eaf1ff; color: #1d4ed8; }
@media (prefers-reduced-motion: no-preference) { .st-ico.bad { animation: st-pulse 2.4s ease-out infinite; } }
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 rgba(180, 35, 24, .45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(180, 35, 24, 0); } }
@media (max-width: 600px) { .pf-top { padding: 8px 12px; gap: 10px; } .pf-nav { overflow-x: auto; flex-basis: 100%; order: 3; } .pf-nav a { white-space: nowrap; min-height: 44px; } .pf-main { padding: 14px 12px 60px; } .st-list { grid-template-columns: 1fr; } }

/* ---- Platform: uzaktan tablet kontrolü (platform-remote.js) */
.rc-dev { border: 1px solid #e3e8ef; border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; background: #fbfcfe; }
.rc-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.rc-head .ok { color: var(--st-ok, #12863d); font-weight: 700; } .rc-head .err { color: var(--st-bad, #b42318); font-weight: 700; }
.rc-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rc-gname { width: 92px; flex: none; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5f6b7c; }
.rc-group button { min-height: 44px; padding: 0 14px; }
.rc-group button:disabled { opacity: .45; cursor: not-allowed; }
.rc-row { padding: 10px 0; border-bottom: 1px solid #eef1f6; display: grid; gap: 4px; }
.rc-row.failed .rc-res, .rc-row.expired .rc-res { color: var(--st-bad, #b42318); font-weight: 600; }
.rc-row.queued .rc-res, .rc-row.delivered .rc-res { color: #5f6b7c; }
.rc-list { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 2px; }
@media (max-width: 600px) { .rc-gname { width: 100%; } }
.rc-diag { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rc-sum { font-weight: 800; margin: 6px 0; }
.rc-check { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef1f6; }
.rc-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.rc-check.ok .rc-ic { background: var(--st-ok-bg, #e3f5ea); color: var(--st-ok, #12863d); }
.rc-check.warn .rc-ic { background: var(--st-warn-line, #f6c945); color: #3d2a00; }
.rc-check.bad .rc-ic { background: var(--st-bad, #b42318); color: #fff; }
.rc-check.unknown .rc-ic { background: #e3e8ef; color: #3b4656; }
.rc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rc-acts button, .rc-acts a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; }
/* Günlük kapanışlar: gün / aralık bul */
.cl-find { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cl-find label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.cl-find input[type=date] { min-height: 38px; width: auto; }
.cl-find .cl-or { align-self: center; color: var(--muted); font-size: 13px; }
.cl-month .cl-back { width: auto; padding: 0 12px; font-size: 14px; }

/* Web adresi alanı */
.wa-row { display: flex; align-items: center; border: 1px solid #cfd5dd; border-radius: 10px; background: #fff; overflow: hidden; }
.wa-row:focus-within { outline: 2px solid #0f766e; outline-offset: 1px; }
.wa-row .wa-pre { padding: 0 0 0 12px; color: #5f646c; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.wa-row input[name=slug], body.adm .wa-row input[name=slug], .wa-row input[name=slug]:focus, body.adm .wa-row input[name=slug]:focus { border: 0; outline: 0; box-shadow: none; border-radius: 0; padding-left: 2px; flex: 1; min-width: 90px; }
.wa-ok { color: #0b6b3a; }

/* GloriaFood aktarma özeti (Admin ve Platform) */
.is-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.is-row { display: flex; gap: 12px; align-items: flex-start; }
.is-mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 13px; background: #eceef1; color: #4a5361; }
.is-row.ok .is-mark { background: #e3f5ea; color: #137a3d; }
.is-row.todo .is-mark { background: #fdecc8; color: #8a4b00; }
.is-tag { font-size: 12px; font-weight: 600; color: #5f6b7c; margin-left: 4px; }
.is-row.todo .is-tag { color: #8a4b00; }
.is-warn { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: #fff8eb; border: 1px solid #f3d9a4; font-size: 14px; }

/* Orders › "Ready to take orders?" ve GloriaFood geçiş sayfası: aynı tik listesi */
.ready-card { margin-bottom: 12px; }
.ready-card h3 { margin: 0; font-size: 17px; }
.ready-card .ad-status { margin: 12px 0 4px; }
.rc-prog { height: 8px; background: #eef1f3; border-radius: 8px; overflow: hidden; margin-top: 10px; }
.rc-prog i { display: block; height: 100%; background: #0f766e; border-radius: 8px; }
.rc-list { list-style: none; margin: 6px 0 0; padding: 0; }
.rc-list li { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--line); }
.rc-list li:first-child { border-top: 0; }
.rc-list li > div { flex: 1; min-width: 0; }
.rc-list li > div b { font-weight: 600; }
.rc-list li.done > div b { color: #5f646c; font-weight: 500; }
.rc-mk { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 800; border: 2px solid #b9c4c8; box-sizing: border-box; }
.rc-mk.ok { background: #1d7a46; border-color: #1d7a46; color: #fff; }
.rc-list li.now .rc-mk { border-color: #0f766e; background: #e4f3f1; }
@media (max-width: 640px) { .rc-list li { flex-wrap: wrap; } .rc-list li > button { margin-left: 36px; } }

.sw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sw-count { text-align: right; } .sw-count b { display: block; font-size: 28px; color: #0b5a54; line-height: 1.1; }
.sw-step { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-top: 10px; }
.sw-step > .sw-hd { display: flex; align-items: center; gap: 14px; padding: 14px 16px; width: 100%; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: 12px; }
.sw-step > .sw-hd > div { flex: 1; min-width: 0; }
.sw-step > .sw-hd b { font-size: 16px; }
.sw-step.open { border-color: #0f766e; box-shadow: 0 0 0 3px #d7efeb; }
.sw-step.done .sw-hd b { color: #5f646c; font-weight: 600; }
.sw-bd { padding: 0 16px 16px 54px; display: grid; gap: 10px; }
.sw-copy { background: #f6f8f9; border: 1px dashed #b9c4c8; border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; font-size: 14px; margin: 0; font-family: inherit; }
.sw-tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: #e3f5ea; color: #137a3d; white-space: nowrap; }
.sw-bd ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.sw-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 640px) { .sw-bd { padding-left: 16px; } }

/* Menü editörü: diyet rozetleri, acılık ve alerjenler */
.me-diet { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fbfcfc; }
.me-diet > summary { cursor: pointer; font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.me-diet[open] > summary { margin-bottom: 6px; }
.me-diet-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.me-tag { position: relative; display: inline-flex; }
.me-tag input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.me-tag span { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.me-tag input:checked + span { background: #e4f3f1; border-color: #0f766e; color: #0b5a54; font-weight: 600; }
.me-tag.alg input:checked + span { background: #fff4e5; border-color: #b26a00; color: #7a4a00; }
.me-tag input:focus-visible + span { outline: 2px solid #0f766e; outline-offset: 2px; }
.me-alg { margin-top: 8px; display: grid; gap: 4px; }
.me-alg-group { display: grid; gap: 2px; }
.me-confirm { background: #fff8eb; border: 1px solid #f3d9a4; border-radius: 8px; padding: 8px 10px; }
.me-dpill { font-weight: 700; }
/* Admin › Taking orders: tablet kurulumu (3 adım, QR) */
.setup-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.setup-step { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line, #e2e6ec); border-radius: 12px; background: var(--surface, #fff); }
.setup-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink, #121417); color: #fff; font-weight: 800; margin-bottom: 4px; }
.setup-qr svg { width: 140px; height: 140px; margin-top: 6px; }
/* Admin › Suggestions at checkout: ürün seçimi */
.up-adm { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 12px; }
.up-adm-cat { display: grid; gap: 4px; align-content: start; }
.up-adm-cat > b { font-size: 14px; margin-bottom: 2px; }
.up-adm-p { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.up-adm-p span:first-of-type { flex: 1; }
.up-adm-p input { width: auto; }
/* Admin: hazır menü seçimi */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tpl { display: grid; gap: 4px; text-align: left; padding: 14px 16px; border: 1px solid var(--line, #e3e8ef); border-radius: 12px; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.tpl:hover { border-color: #0f7b67; }
.tpl b { font-size: 16px; }
/* Müşteriler: sıralanabilir başlık, ada tıklayınca müşteri sayfası */
.th-sort { background: none; border: 0; padding: 0; font: inherit; font-weight: inherit; color: inherit; cursor: pointer; min-height: 32px; }
.th-sort.on { color: var(--brand, #0f6b3f); }
.linklike { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--brand, #0f6b3f); text-decoration: underline; cursor: pointer; text-align: left; min-height: 32px; }
.pay-way { display: flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; } .pay-way input { width: 20px; height: 20px; }
