@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("fonts/host-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("fonts/host-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* PAYON açık tema — docs/mimari.md sözleşmesi. Koyu kip yok (kullanıcı kararı). */
:root {
  color-scheme: light;
  --bg: #FBFAF7; --s1: #FFFFFF; --s2: #F3F1EC; --s3: #EAE7E0;
  --line: #E6E2D9; --line-2: #D6D1C6;
  --fg: #112A4A; --mute: #6B7480; --dim: #A3A9B3;
  --acc: #19B77C; --acc-ink: #FFFFFF; --warn: #F0A23B; --rd: #D94841;
  --acc-soft: rgba(25,183,124,.12); --warn-soft: rgba(240,162,59,.14); --rd-soft: rgba(217,72,65,.12);
  --r: 20px; --r-s: 14px;
  --shadow: 0 10px 30px -18px rgba(17,42,74,.25);
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font: 16px/1.45 "Host Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.005em; min-height: 100dvh; scrollbar-color: var(--s3) var(--bg); }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(30px, 7vw, 40px); line-height: 1.05; font-weight: 700; }
h2 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.mute { color: var(--mute); }
.code { font-family: ui-monospace, Menlo, Consolas, "SF Mono", monospace; letter-spacing: .06em; }

.app { max-width: 560px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding: 0 16px; padding-top: env(safe-area-inset-top); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; }
.brand img { display: block; height: 26px; width: auto; }
.bar-right { display: flex; align-items: center; gap: 10px; }
.mode { font-size: 12px; font-weight: 600; color: #8a5a12; background: var(--warn-soft); border: 1px solid rgba(240,162,59,.45); border-radius: 999px; padding: 3px 9px; }
.icon-btn { background: var(--s1); border: 1px solid var(--line); border-radius: 12px; width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--s2); }

.view { flex: 1; display: flex; flex-direction: column; padding: 8px 0 max(24px, env(safe-area-inset-bottom)); animation: rise .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero { padding: 22px 0 18px; }
.hero p { margin-top: 10px; font-size: 17px; color: var(--mute); max-width: 36ch; }

.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.card + .card { margin-top: 12px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn { appearance: none; border: 0; border-radius: var(--r-s); padding: 0 20px; height: 56px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; transition: transform .15s var(--ease), background .2s; }
.btn:active { transform: scale(.985); }
.btn.pri { background: var(--acc); color: var(--acc-ink); }
.btn.pri:hover { background: #15a56f; }
.btn.sec { background: var(--s1); border: 1px solid var(--line-2); }
.btn.sec:hover { background: var(--s2); }
.btn.warn { background: var(--warn); color: #3a2305; }
.btn.warn:hover { background: #e2942f; }
.btn.ghost { background: none; color: var(--mute); height: 44px; }
.btn:disabled { opacity: .5; cursor: default; }
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 22px; }
.actions.tight { margin-top: 0; padding-top: 12px; }

/* masa / cihaz satırı */
.dev { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); transition: background .2s, border-color .2s; box-shadow: var(--shadow); }
a.dev:hover { background: var(--s2); border-color: var(--line-2); }
.dev .tile { width: 56px; height: 56px; border-radius: 14px; background: var(--fg); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; letter-spacing: -.02em; flex: none; font-variant-numeric: tabular-nums; }
.dev .tile.soft { background: var(--s3); color: var(--fg); font-size: 15px; }
.dev.ayar .tile svg, .dev-hero .big.soft svg { width: 26px; height: 26px; }
.dev-hero .pills { display: flex; flex-wrap: wrap; gap: 6px; }
/* masa sayfası: tek eylem, altta yapışık */
.eylem-cubuk { position: sticky; bottom: 0; z-index: 5; display: flex; flex-direction: column; gap: 6px; padding: 10px 0 max(10px, env(safe-area-inset-bottom)); margin-top: 10px; background: linear-gradient(to bottom, transparent, var(--bg) 28%); }
.eylem-cubuk .mute { font-size: 13px; text-align: center; }
.dev .tile.free { background: var(--s2); color: var(--mute); border: 1px dashed var(--line-2); }
.dev .t { flex: 1; min-width: 0; }
.dev .t b { display: block; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev .t span { color: var(--mute); font-size: 14px; }
.dev .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.dev .pills .pill { padding: 4px 9px; font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--s2); color: var(--mute); white-space: nowrap; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.pill.on { color: #0f7a52; background: var(--acc-soft); } .pill.on i { background: var(--acc); box-shadow: 0 0 0 4px rgba(25,183,124,.15); }
.pill.off i { background: var(--rd); }
.pill.wait { color: #8a5a12; background: var(--warn-soft); } .pill.wait i { background: var(--warn); }
.pill.none { color: var(--mute); }
.pill.menu { color: #0f7a52; background: var(--acc-soft); } .pill.menu i { background: var(--acc); }
.pill.pay { color: #8a5a12; background: var(--warn-soft); } .pill.pay i { background: var(--warn); animation: blink 1.2s infinite; }
.pill.cash { color: #3a2305; background: var(--warn); font-weight: 700; } .pill.cash i { background: #3a2305; animation: blink 1.2s infinite; }
/* online ödeme (sağlayıcı sayfası): lacivert, personel tahsilatı yok */
.pill.online { color: #fff; background: var(--fg); font-weight: 700; } .pill.online i { background: #fff; animation: blink 1.2s infinite; }
a.dev.collect { border-color: rgba(240,162,59,.7); box-shadow: 0 0 0 3px var(--warn-soft); }

/* boş durum */
.empty { text-align: center; padding: 36px 12px; }
.empty .art { margin: 0 auto 22px; width: 160px; }

/* sihirbaz */
.dots { display: flex; gap: 6px; margin: 4px 0 18px; }
.dots i { height: 4px; flex: 1; border-radius: 2px; background: var(--s3); }
.dots i.on { background: var(--acc); }
.art-card { background: linear-gradient(160deg, var(--s2), var(--s1)); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; place-items: center; min-height: 230px; margin: 6px 0 18px; }
.step-n { color: var(--acc); font-weight: 700; font-size: 14px; letter-spacing: .04em; margin-bottom: 8px; }
.tip { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-s); color: var(--mute); font-size: 15px; }
.tip b { color: var(--fg); }

.field { display: flex; align-items: center; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 8px 0 16px; }
.field:focus-within { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--fg); font: inherit; font-size: 18px; padding: 16px 0; }
.field input::placeholder { color: var(--dim); }
.field input.code { font-size: 26px; letter-spacing: .18em; text-transform: uppercase; }
.field .pre { font-size: 22px; font-weight: 700; color: var(--mute); margin-right: 8px; }
.field input.amount { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.err { color: var(--rd); font-size: 14px; min-height: 1.4em; margin-top: 8px; }

/* ekran durumu kartı (cihaz sayfası) */
.screen { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-top: 4px; box-shadow: var(--shadow); --acc-cur: var(--acc); }
.screen.pay, .screen.trkk, .screen.staff { --acc-cur: var(--warn); }
.screen.staff { border-color: rgba(240,162,59,.6); box-shadow: 0 0 0 4px var(--warn-soft), var(--shadow); }
.screen-qr.staff { background: var(--warn-soft); border-color: rgba(240,162,59,.45); }
/* tahsilat kutusu (stage staff): kehribar, belirgin */
.collect-box { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--warn-soft); border: 1px solid rgba(240,162,59,.5); font-size: 14px; color: var(--mute); }
.collect-box b { color: #8a5a12; font-size: 15px; }
.collect-box .btn { margin-top: 10px; }
.chk .collect-box { margin: 0 0 14px; }
.screen.online { --acc-cur: var(--fg); border-color: rgba(17,42,74,.45); box-shadow: 0 0 0 4px rgba(17,42,74,.08), var(--shadow); }
.screen-qr.online { background: rgba(17,42,74,.07); border-color: rgba(17,42,74,.3); }
.online-box { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(17,42,74,.06); border: 1px solid rgba(17,42,74,.25); font-size: 14px; color: var(--mute); }
.online-box b { color: var(--fg); font-size: 15px; }
.online-box span b { font-size: inherit; }
.screen.offline { border-style: dashed; border-color: rgba(240,162,59,.55); }
.screen-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.screen-title { font-weight: 700; font-size: 17px; }
.screen-body { display: flex; align-items: center; gap: 16px; }
.screen-qr { width: 72px; height: 72px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.screen-qr svg { width: 56px; height: 56px; }
.screen-what { flex: 1; min-width: 0; }
.screen-what .lbl { display: block; font-size: 13px; color: var(--mute); }
.screen-what .big { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--acc-cur); line-height: 1.1; font-variant-numeric: tabular-nums; }
.screen-what .sub { display: block; font-size: 14px; color: var(--mute); margin-top: 4px; overflow-wrap: anywhere; }
.screen-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.screen-actions .btn { height: 52px; }
.screen-actions .btn.full { grid-column: 1 / -1; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.chip { flex: 1; min-width: 52px; height: 38px; border: 0; border-radius: 11px; background: var(--s3); color: var(--fg); font: 600 14px "Host Grotesk", system-ui; cursor: pointer; transition: background .2s, color .2s, transform .15s var(--ease); padding: 0 12px; }
.chip:active { transform: scale(.97); } .chip:disabled { color: var(--dim); cursor: default; }
.chip.on { background: var(--acc); color: var(--acc-ink); } .chip.on.warm { background: var(--warn); color: #3a2305; }
.chip.lg { flex: 0 0 auto; min-width: 64px; height: 48px; font-size: 18px; font-weight: 700; }
/* serbest çipler: içerik kadar, sarmalı, tek satır metin (kategori, grup, sağlayıcı) */
.chips.serbest .chip { flex: 0 0 auto; height: auto; min-height: 36px; padding: 8px 12px; white-space: nowrap; }
/* etiketli çip satırı: etiket üstte, çipler altta */
.cip-satir { display: flex; flex-direction: column; gap: 6px; }
.cip-satir > .mute { font-size: 13px; }
.cip-satir .chips { flex: none; width: 100%; }

/* uygulama içi QR tarayıcı */
.scan { position: relative; margin-top: 16px; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 1; }
.scan video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-frame { position: absolute; inset: 18%; border: 2px solid var(--acc); border-radius: 14px; box-shadow: 0 0 0 999px rgba(17,42,74,.45); }

/* cihaz / masa sayfası */
.dev-hero { display: flex; align-items: center; gap: 16px; padding: 18px 0 8px; }
.dev-hero .big { width: 68px; height: 68px; border-radius: 20px; background: var(--fg); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 800; letter-spacing: -.02em; flex: none; }
.dev-hero .big.soft { background: var(--s1); color: var(--fg); border: 1px solid var(--line); font-size: 16px; }
.dev-hero h1 { font-size: 28px; }
.kv { display: flex; flex-direction: column; gap: 4px; }
.kv span { color: var(--mute); font-size: 13px; }
.kv b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; margin-left: 8px; vertical-align: -2px; }
.bars i { width: 5px; border-radius: 2px; background: var(--s3); }
.bars i:nth-child(1) { height: 6px; } .bars i:nth-child(2) { height: 10px; } .bars i:nth-child(3) { height: 14px; } .bars i:nth-child(4) { height: 18px; }
.bars i.on { background: var(--acc); }
.list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--s1); box-shadow: var(--shadow); }
.list > button, .list .row { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--s1); border: 0; border-bottom: 1px solid var(--line); padding: 16px; text-align: left; cursor: pointer; color: inherit; }
.list .row { cursor: default; }
.list > button:last-child, .list .row:last-child { border-bottom: 0; }
.list > button:hover { background: var(--s2); }
.list > button > span, .list .row > span { flex: 1 1 160px; min-width: 0; }
.list > button small, .list .row small { color: var(--mute); }
.list .row { flex-wrap: wrap; }
.list .row .x { margin-left: auto; } .list .row .x + .x { margin-left: 0; }
/* yatay taşma yok: giriş alanları daralabilir */
.field { min-width: 0; } .field input { min-width: 0; width: 100%; }
.app { overflow-x: clip; }
.opt-ekle { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.opt-ekle .field { flex: 1 1 150px; } .opt-ekle .field input { padding: 10px 0; font-size: 15px; }
.opt-ekle .field.fiyat { flex: 0 1 96px; padding-left: 10px; } .opt-ekle .field .pre { font-size: 15px; }
.opt-ekle .btn { width: auto; height: 44px; padding: 0 16px; flex: 0 0 auto; }
.grup-ekle { display: flex; flex-wrap: wrap; gap: 8px; }
.grup-ekle .field { flex: 1 1 160px; } .grup-ekle .field.kucuk { flex: 0 1 92px; padding-left: 10px; }
.dlg { max-width: min(420px, 100%); }
.list .row .x { display: inline-flex; width: auto; flex: none; border: 0; background: var(--s2); color: var(--mute); border-radius: 9px; padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.list .row .tl { flex: none; min-width: 44px; text-align: center; background: var(--s2); border-radius: 9px; padding: 7px 8px; font-weight: 700; }
.list .row span small { display: block; }
.list .row .x:hover { background: var(--rd-soft); color: var(--rd); }
.tag-soon { color: #8a5a12; font-size: 12px; font-weight: 700; letter-spacing: .04em; }

/* sayfa içi soru (tarayıcı confirm/prompt yerine) */
.dlg-perde { position: fixed; inset: 0; z-index: 70; background: rgba(17,42,74,.42); display: grid; place-items: end center; padding: 12px; animation: dlg-perde .18s ease-out; }
@media (min-width: 640px) { .dlg-perde { place-items: center; } }
.dlg { width: 100%; max-width: 420px; background: var(--s1); border-radius: 20px; padding: 20px 20px 16px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.55); animation: dlg-in .24s cubic-bezier(.2,.8,.2,1); }
.dlg h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.dlg p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--mute); }
.dlg input { width: 100%; box-sizing: border-box; margin-top: 12px; height: 48px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--bg); padding: 0 14px; font: inherit; color: var(--fg); }
.dlg input:focus { outline: 2px solid var(--acc); outline-offset: 1px; border-color: transparent; }
/* .field kutusunun içindeki giriş çerçevesiz: tek çizgi kutunun kendisi (çift çizgi yok) */
.dlg .field input, .dlg .field input:focus { height: auto; margin-top: 0; border: 0; border-radius: 0; background: none; padding: 15px 0; outline: 0; box-shadow: none; }
.dlg .field { margin-top: 10px; }
.dlg .opt-ekle .field input { padding: 10px 0; }
.dlg-btns { display: grid; gap: 8px; margin-top: 16px; }
/* sipariş düzenleyici */
.dlg.dz { max-height: calc(100dvh - 24px); overflow-y: auto; } .dlg.dz { overscroll-behavior: contain; scroll-behavior: auto; } .dlg.dz .dlg-btns { position: sticky; bottom: -1px; background: var(--s1); padding-top: 10px; margin-top: 12px; } .dz-bas .chips .chip[data-q] { height: 44px; min-width: 52px; font-size: 20px; }
.dz-grup { margin-top: 12px; }
.dz-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dz-bas b { font-size: 15px; } .dz-bas span { font-size: 12.5px; color: var(--mute); } .dz-bas span.gerek { color: var(--rd); font-weight: 600; }
.dz-q { min-width: 28px; text-align: center; font-size: 17px; align-self: center; flex: none; }
.dlg.dz .chip { flex: 0 1 auto; min-width: 44px; }
.dlg.dz .chip[data-seat] { flex: 1 1 0; min-width: 38px; }   /* altı koltuk tek satıra sığar; tek başına alt satıra düşmez */
.dlg.dz .chip small { font-weight: 600; opacity: .8; }
.chip.ic.yok { background: var(--rd); color: #fff; } .chip.ic.az { background: var(--warn-soft); } .chip.ic.ekstra { background: var(--fg); color: #fff; } .chip.ic.yaninda { background: var(--s1); border: 1.5px dashed var(--fg); }
.chk .line .nm small.mods { color: #8a5a12; font-weight: 700; }
.chk .line .nm .servis { color: #0f7a52; font-weight: 600; } .chk .line .nm .mutfak { color: #8a5a12; font-weight: 600; }
.taslak { margin: 12px 0 4px; padding: 12px 14px; border-radius: 14px; background: var(--acc-soft); border: 1px dashed rgba(25,183,124,.5); }
.taslak-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.taslak-bas b { color: #0f7a52; } .taslak-bas .mute { font-size: 13px; }
.taslak .line { border-bottom: 1px solid rgba(25,183,124,.25); }
.taslak .line:last-child { border-bottom: 0; }
.taslak .qbtns { display: inline-flex; align-items: center; gap: 4px; }
.chk .line .nm small.notu { font-style: italic; }
.dlg-btns .btn { width: 100%; height: 50px; }
.btn.tehlike { background: #b3261e; color: #fff; }
.btn.tehlike:hover { background: #9c1f18; }
@keyframes dlg-perde { from { opacity: 0; } }
@keyframes dlg-in { from { transform: translateY(18px); opacity: 0; } }
.stack .row.cagri.siparis { background: #EAF6EF; border-color: rgba(16,122,82,.45); animation: none; }
.row.cagri.siparis .big { background: #107a52; }
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--fg); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 12px 30px -10px rgba(17,42,74,.5); font-size: 15px; animation: rise .3s var(--ease) both; z-index: 9; max-width: calc(100% - 32px); }

@media (prefers-reduced-motion: reduce) { .view, .toast, .pill.pay i, .pill.cash i, .q-anim i, .dlg, .dlg-perde { animation: none; } }
@media (min-width: 720px) { .app { padding-top: 12px; } .hero { padding-top: 34px; } }

/* çevrimdışı: hedef kuyrukta (kehribar) */
.pill.queued { color: #8a5a12; background: var(--warn-soft); } .pill.queued i { background: var(--warn); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.queue { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); border: 1px dashed rgba(240,162,59,.55); font-size: 14px; color: var(--mute); }
.queue b { color: var(--fg); }
.q-anim { display: inline-flex; gap: 4px; align-items: center; margin-top: 6px; }
.q-anim i { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); opacity: .25; animation: qdot 1.5s infinite; }
.q-anim i:nth-child(2) { animation-delay: .25s; } .q-anim i:nth-child(3) { animation-delay: .5s; }
@keyframes qdot { 0%, 60%, 100% { opacity: .25; transform: translateX(0); } 30% { opacity: 1; transform: translateX(3px); } }

.sect { margin: 22px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sect h2 { margin: 0; }
.sect .mute { font-size: 13px; }
.linkish { background: none; border: 0; padding: 0; color: var(--acc); font: inherit; font-size: inherit; font-weight: 600; cursor: pointer; }
.field select { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--fg); font: inherit; font-size: 17px; padding: 16px 0; }
.list .row.dim > span { color: var(--mute); }
a.dev.nodev .tile { background: var(--s3); color: var(--fg); }
.pill.chk { color: var(--fg); background: var(--s3); } .pill.chk i { background: var(--fg); }

/* adisyon kartı (POS simülatörü) — docs/pos-gateway.md §5 */
.chk .chk-lines { display: flex; flex-direction: column; }
/* adisyon satırı: dar ekranda iki sıra — üstte ad ve tutar, altta ayrıntı ve düğmeler (sıkışma yok) */
.chk .line { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nm amt" "btns btns"; align-items: start; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.chk .line .nm { grid-area: nm; } .chk .line .amt { grid-area: amt; padding-top: 2px; }
.chk .line .qbtns { grid-area: btns; justify-self: end; display: inline-flex; gap: 6px; margin-left: 0; }
.chk .line .qbtns .xbtn { min-width: 40px; height: 34px; display: inline-grid; place-items: center; padding: 0 10px; }
.chk .line .nm { flex: 1; min-width: 0; font-weight: 600; }
.chk .line .nm small { display: block; color: var(--mute); font-size: 13px; font-weight: 400; }
.chk .line .amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
.xbtn { appearance: none; flex: none; border: 0; background: var(--s2); color: var(--mute); border-radius: 9px; padding: 7px 12px; font: 600 13px "Host Grotesk", system-ui; cursor: pointer; transition: background .2s, color .2s; }
.xbtn:hover { background: var(--rd-soft); color: var(--rd); }
.chk .tot .xbtn:hover { background: var(--acc-soft); color: #0f7a52; }
.chk .tot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-variant-numeric: tabular-nums; }
.chk .tot.big { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px; font-weight: 700; }
.chk .tot.big b { font-size: 28px; letter-spacing: -.03em; line-height: 1; }
.chk .queue { margin-top: 10px; }
.menu-tabs { display: flex; gap: 6px; overflow-x: auto; margin-top: 16px; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs .chip { flex: 0 0 auto; }
.menu-items { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; margin-top: 10px; background: var(--s1); }
.menu-items button { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--s1); border: 0; border-bottom: 1px solid var(--line); padding: 12px 10px 12px 14px; text-align: left; cursor: pointer; color: inherit; font: inherit; transition: background .15s; }
.menu-items button:last-child { border-bottom: 0; }
.menu-items button:hover { background: var(--s2); }
.menu-items button:active { background: var(--acc-soft); }
.menu-items button:disabled { opacity: .5; cursor: default; background: var(--s1); }
.menu-items .nm { flex: 1; min-width: 0; font-weight: 600; }
.menu-items .nm small { display: block; color: var(--mute); font-size: 13px; font-weight: 400; }
.menu-items .pr { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--mute); }
.menu-items svg { flex: none; color: var(--acc); }
.tag-yk { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #8a5a12; background: var(--warn-soft); border-radius: 999px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px; }
.tag-yk.off { color: var(--mute); background: var(--s2); }
.chk.locked { border-style: dashed; border-color: rgba(240,162,59,.55); }
/* cihaz ekranı: ödeme sonucu (aktif-qr.md "Cihaz ekranları") ve sim banka */
.screen.paid { --acc-cur: var(--acc); }
.screen.failed { --acc-cur: var(--rd); }
.screen-qr.paid { background: var(--acc-soft); border-color: rgba(25,183,124,.4); }
.screen-qr.failed { background: rgba(217,72,65,.08); border-color: rgba(217,72,65,.35); }
.screen-what .payload { display: block; margin-top: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; color: var(--mute); overflow-wrap: anywhere; }
.simbank { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--s2); border: 1px dashed var(--line-2); }
.simbank .lbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }

/* ---- garson ekranı: vardiya başlığı + nabız, görev sırası, salon karoları ---- */
.vardiya { display: flex; flex-direction: column; gap: 14px; padding: 18px 0 4px; }
.vardiya h1 { font-size: clamp(28px, 7vw, 36px); }
.vardiya p { margin-top: 4px; font-size: 15px; }
.nabiz { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nabiz > div { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 10px 6px 9px; text-align: center; min-width: 0; }
.nabiz b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nabiz span { display: block; font-size: 11px; font-weight: 600; color: var(--mute); margin-top: 5px; letter-spacing: .01em; }
.nabiz > div.var b { color: var(--fg); }
.nabiz > div.sicak { background: var(--warn-soft); border-color: rgba(240,162,59,.5); } .nabiz > div.sicak b { color: #8a5a12; }
.nabiz.mekan { margin: 6px 0 2px; } .nabiz.mekan b { font-size: 17px; padding-top: 4px; color: var(--fg); }
.gorevler { display: flex; flex-direction: column; gap: 10px; }
.gorev { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); box-shadow: var(--shadow); --g: var(--fg); }
.gorev-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--g); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.gorev-metin { min-width: 0; }
.gorev-ne { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--g); }
.gorev-metin b { display: block; font-size: 17px; line-height: 1.25; margin-top: 2px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.gorev-aciklama { display: block; font-size: 13px; color: var(--mute); margin-top: 3px; line-height: 1.35; }
.gorev-btns { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.gorev-btns .btn { width: 100%; height: 46px; padding: 0 10px; font-size: 14px; white-space: normal; line-height: 1.15; }
.gorev.simdi { grid-template-columns: 64px minmax(0, 1fr); padding: 18px 16px; }
.gorev.simdi .gorev-tile { width: 64px; height: 64px; font-size: 28px; border-radius: 18px; }
.gorev.simdi .gorev-metin b { font-size: 20px; }
.gorev.simdi .gorev-btns .btn { height: 50px; font-size: 15px; }
.gorev.alarm { --g: #b3261e; background: #FBE9E7; border-color: rgba(179,38,30,.5); animation: alarm-yanip 1.2s ease-in-out 6; }
.gorev.tahsil { --g: #8a5a12; background: #FFF7E6; border-color: rgba(240,162,59,.55); }
.gorev.change, .gorev.waiter { --g: #112A4A; background: #EEF4FB; border-color: rgba(17,42,74,.3); }
.gorev.order { --g: #107a52; background: #EAF6EF; border-color: rgba(16,122,82,.4); }
.sakin { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 18px; background: var(--acc-soft); border: 1px solid rgba(25,183,124,.35); margin-top: 18px; }
.sakin b { color: #0f7a52; } .sakin span { font-size: 14px; color: var(--mute); }
.salon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 480px) { .salon { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.masa-k { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 92px; padding: 12px 12px 10px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s var(--ease), background .2s; }
.masa-k:active { transform: scale(.97); }
.masa-k b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.masa-k span { font-size: 12px; font-weight: 600; color: var(--mute); margin-top: 8px; line-height: 1.2; overflow-wrap: anywhere; }
.masa-k .cihaz-n { position: absolute; top: 12px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px rgba(25,183,124,.18); }
.masa-k .cihaz-n.off { background: var(--rd); box-shadow: 0 0 0 3px var(--rd-soft); }
.masa-k .cihaz-n.yok { background: transparent; border: 1.5px dashed var(--dim); box-shadow: none; }
.masa-k.bos b { color: var(--dim); }
.masa-k.acik { border-color: rgba(25,183,124,.5); } .masa-k.acik span, .masa-k.odendi span { color: #0f7a52; }
.masa-k.siparis { background: #EAF6EF; border-color: rgba(16,122,82,.4); } .masa-k.siparis span { color: #107a52; }
.masa-k.cagri, .masa-k.odeme { background: #EEF4FB; border-color: rgba(17,42,74,.3); } .masa-k.cagri span, .masa-k.odeme span { color: var(--fg); }
.masa-k.tahsil { background: #FFF7E6; border-color: rgba(240,162,59,.6); } .masa-k.tahsil span { color: #8a5a12; }
.masa-k.alarm { background: #FBE9E7; border-color: rgba(179,38,30,.55); animation: alarm-yanip 1.2s ease-in-out 6; } .masa-k.alarm span, .masa-k.alarm b { color: #b3261e; }
/* uygulama içi bildirim bandı: işletim sistemi bildirimi yerine */
.bant { position: fixed; top: max(10px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(100% - 24px, 520px); z-index: 60; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--fg); color: #fff; box-shadow: 0 16px 40px -16px rgba(17,42,74,.6); animation: bant-in .3s var(--ease) both; cursor: pointer; }
.bant b { font-size: 15px; } .bant span { font-size: 13px; opacity: .85; }
.bant.kirmizi { background: #b3261e; } .bant.kehribar { background: #8a5a12; } .bant.yesil { background: #107a52; } .bant.lacivert { background: #112A4A; }
@keyframes bant-in { from { opacity: 0; transform: translate(-50%, -10px); } }
/* garson adisyonu: sekmeler, ürün ızgarası, kalem satırı, kalem yaprağı */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: -4px 0 12px; border-radius: 16px; background: var(--s2); position: sticky; top: 0; z-index: 4; }
.seg button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; border: 0; border-radius: 12px; background: transparent; color: var(--mute); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.seg button small { font-size: 12px; font-weight: 600; opacity: .85; }
.seg button.on { background: var(--s1); color: var(--fg); box-shadow: 0 6px 14px -8px rgba(17,42,74,.4); }
.seg button i { position: absolute; top: 6px; right: 12px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--acc); color: #04281a; font: 800 12px/20px "Host Grotesk", sans-serif; text-align: center; }
.u-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.u-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 124px; padding: 0; border: 0; border-radius: 20px; overflow: hidden; isolation: isolate; background: var(--fg); color: #fff; text-align: left; font: inherit; cursor: pointer; box-shadow: 0 10px 22px -16px rgba(17,42,74,.7); transition: transform .12s var(--ease), box-shadow .2s; }
.u-tile:active { transform: scale(.97); }
.u-tile .foto { position: absolute; inset: 0; z-index: -2; display: block; } .u-tile .foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.u-tile:active .foto img { transform: scale(1.05); }
.u-tile .foto.harf { display: grid; place-items: center; font: 800 54px/1 "Host Grotesk", sans-serif; color: rgba(255,255,255,.88); }
.u-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,18,34,.88) 0%, rgba(8,18,34,.42) 42%, rgba(8,18,34,0) 72%); }
.u-tile .alt { display: flex; flex-direction: column; gap: 1px; padding: 0 12px 10px; }
.u-tile b { font-size: 15px; line-height: 1.2; letter-spacing: -.01em; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.u-tile .fy { font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.82); font-variant-numeric: tabular-nums; }
.u-tile .rozet { position: absolute; top: 8px; right: 8px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--acc); color: #04281a; font: 800 14px/28px "Host Grotesk", sans-serif; text-align: center; font-style: normal; box-shadow: 0 4px 10px -3px rgba(0,0,0,.5); animation: rozet-zip .3s var(--ease); }
@keyframes rozet-zip { from { transform: scale(.4); } 60% { transform: scale(1.18); } }
.u-tile.secili { box-shadow: 0 0 0 3px var(--acc), 0 10px 22px -16px rgba(17,42,74,.7); }
.u-tile em { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--fg); }
.u-tile em.tuk { background: var(--rd); color: #fff; }
.u-tile.yok .foto { filter: grayscale(1) brightness(.7); } .u-tile.yok { cursor: default; }
@media (prefers-reduced-motion: reduce) { .u-tile .rozet { animation: none; } .u-tile .foto img { transition: none; } }
.taslak .tas-sat { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: 4px 10px; padding: 8px 0; border-bottom: 1px solid rgba(25,183,124,.25); } .taslak .tas-sat:last-child { border-bottom: 0; }
.taslak .tas-sat .t b { display: block; font-size: 15px; } .taslak .tas-sat small { display: block; font-size: 12.5px; color: var(--mute); } .taslak .tas-sat small.mods { color: #8a5a12; font-weight: 700; }
.taslak .mini { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: var(--fg); color: #fff; display: grid; place-items: center; font-weight: 800; } .taslak .mini img { width: 100%; height: 100%; object-fit: cover; }
.kalemler { display: flex; flex-direction: column; }
.kalem .adet.foto-a { position: relative; width: 44px; height: 44px; border-radius: 13px; overflow: hidden; background: var(--fg); } .kalem .adet.foto-a img { width: 100%; height: 100%; object-fit: cover; display: block; } .kalem .adet.foto-a em { position: absolute; right: 2px; bottom: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: rgba(8,18,34,.85); color: #fff; font: 800 12px/20px "Host Grotesk", sans-serif; font-style: normal; text-align: center; }
.kalem { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 11px 2px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: inherit; font: inherit; }
button.kalem { cursor: pointer; } button.kalem:active { background: var(--s2); }
.kalem .adet { width: 44px; height: 44px; border-radius: 13px; background: var(--s2); display: grid; place-items: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.kalem .t b { display: block; font-size: 16px; line-height: 1.25; } .kalem .t small { display: block; font-size: 12.5px; color: var(--mute); margin-top: 1px; } .kalem .t small.mods { color: #8a5a12; font-weight: 700; } .kalem .t small.notu { font-style: italic; }
.kalem .son { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; } .kalem .son b { font-variant-numeric: tabular-nums; font-size: 15px; }
.kalem .dur { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 7px; border-radius: 999px; } .kalem .dur.mk { background: var(--warn-soft); color: #8a5a12; } .kalem .dur.ok { background: var(--acc-soft); color: #0f7a52; }
.islem { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; } .islem .btn { height: 46px; font-size: 14px; padding: 0 10px; } .btn.tehlike-m { color: var(--rd); }
.dlg.ky .ky-adet { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 14px 0 4px; } .dlg.ky .ky-adet b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; }
.ky-b { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--s1); font-size: 28px; font-weight: 600; cursor: pointer; color: var(--fg); } .ky-b:active { background: var(--s2); } .ky-b:disabled { opacity: .5; }
.alt-bag { display: flex; justify-content: center; gap: 22px; padding: 22px 0 6px; } .alt-bag a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--mute); } .alt-bag a:hover { color: var(--fg); }
/* mekân panosu */
.mk-kapak { position: relative; margin-top: 6px; padding: 18px 18px 16px; border-radius: 24px; background: linear-gradient(155deg, #112A4A 0%, #1E3A5F 100%); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 14px; box-shadow: 0 22px 40px -24px rgba(17,42,74,.7); overflow: hidden; }
.mk-kapak::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(25,183,124,.35), transparent 70%); pointer-events: none; }
.mk-kod { display: inline-block; font: 800 12px/1 "Host Grotesk", sans-serif; letter-spacing: .16em; padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.14); }
.mk-kapak h1 { font-size: 27px; color: #fff; margin-top: 10px; line-height: 1.05; }
.mk-kapak p { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.72); }
.mk-halka { position: relative; width: 78px; display: grid; place-items: center; align-self: start; z-index: 1; }
.mk-halka .halka-k { width: 78px; height: 78px; }
.mk-halka b { position: absolute; top: 26px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; } .mk-halka span { position: absolute; top: 46px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.mk-siradaki { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #19B77C; color: #04281a; position: relative; z-index: 1; }
.mk-siradaki span { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .8; } .mk-siradaki b { flex: 1; font-size: 16px; } .mk-siradaki svg { flex: none; }
.mk-siradaki.tamam { background: rgba(255,255,255,.12); color: #fff; } .mk-siradaki.tamam b { text-align: right; font-size: 14px; }
.salon.yon { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.salon.yon .masa-k { min-height: 74px; } .salon.yon .masa-k b { font-size: 24px; }
.salon.yon.buyuk { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.salon.yon.buyuk .masa-k { min-height: 104px; text-align: left; align-items: flex-start; border: 1px solid var(--line); cursor: pointer; font: inherit; color: inherit; }
.salon.yon.buyuk .masa-k small { font-size: 12px; color: var(--mute); margin-top: 2px; }
.salon.yon.buyuk .masa-k.ekle { background: transparent; border: 1.5px dashed var(--line-2); box-shadow: none; justify-content: center; align-items: center; text-align: center; } .salon.yon.buyuk .masa-k.ekle b { color: var(--acc); font-size: 30px; }
.masa-k.cagri { background: #FFF7E6; border-color: rgba(240,162,59,.6); } .masa-k.cagri span { color: #8a5a12; }
.kapi-k .ik { width: 44px; height: 44px; border-radius: 14px; background: var(--s2); color: var(--fg); display: grid; place-items: center; margin-bottom: 6px; }
.kapi-k.uyari .ik { background: var(--warn-soft); color: #8a5a12; }
.kapi-k .alt { font-size: 13px; color: var(--mute); line-height: 1.3; }
/* menü */
.field.ara { margin-top: 2px; } .field.ara input { font-size: 16px; padding: 13px 0; }
.kat-cip { margin: 10px 0 12px; position: sticky; top: 0; z-index: 4; background: var(--bg); padding: 6px 0; }
.kat-cip .chip small { opacity: .6; margin-left: 2px; }
.urunler { display: flex; flex-direction: column; gap: 8px; }
.urun { display: flex; align-items: stretch; gap: 0; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.urun[hidden] { display: none; }
.urun-ac { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 8px 10px 10px; background: none; border: 0; text-align: left; color: inherit; cursor: pointer; }
.urun .kutu { flex: none; width: 54px; height: 54px; border-radius: 14px; overflow: hidden; background: var(--s2); display: grid; place-items: center; } .urun .kutu img { width: 100%; height: 100%; object-fit: cover; }
.harf-k { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font: 800 22px/1 "Host Grotesk", sans-serif; }
.urun .t { flex: 1; min-width: 0; } .urun .t b { display: block; font-size: 16px; line-height: 1.25; } .urun .t small { display: block; font-size: 12.5px; color: var(--mute); margin-top: 2px; }
.urun .fiyat { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 15px; }
.anahtar { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-left: 1px solid var(--line); background: var(--rd-soft); color: var(--rd); cursor: pointer; }
.anahtar i { width: 36px; height: 20px; border-radius: 999px; background: rgba(217,72,65,.35); position: relative; transition: background .2s; } .anahtar i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.anahtar span { font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.anahtar.on { background: var(--acc-soft); color: #0f7a52; } .anahtar.on i { background: var(--acc); } .anahtar.on i::after { transform: translateX(16px); }
.bos-kart { padding: 22px 18px; border-radius: 18px; border: 1.5px dashed var(--line-2); text-align: center; display: flex; flex-direction: column; gap: 4px; } .bos-kart span { font-size: 14px; color: var(--mute); }
/* seçenek kartları */
.gruplar { display: flex; flex-direction: column; gap: 10px; }
.grup-k { display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 14px 16px; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); color: inherit; cursor: pointer; font: inherit; }
.grup-k .ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .grup-k .ust b { font-size: 18px; }
.grup-k .kural { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--s2); color: var(--mute); } .grup-k .kural.zorunlu { background: var(--warn-soft); color: #8a5a12; }
.grup-k .secs { display: flex; flex-wrap: wrap; gap: 6px; } .grup-k .secs i { font-style: normal; font-size: 13.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--s2); } .grup-k .secs i small { color: #0f7a52; font-weight: 700; } .grup-k .secs em { color: var(--mute); font-size: 13px; }
.grup-k .alt { font-size: 12.5px; color: var(--mute); }
/* ekip */
.ekip { display: flex; flex-direction: column; gap: 8px; }
.uye { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); text-align: left; color: inherit; cursor: pointer; font: inherit; }
.uye .harf-k { flex: none; width: 44px; height: 44px; border-radius: 50%; font-size: 18px; } .uye .t { flex: 1; min-width: 0; } .uye .t b { display: block; font-size: 15px; } .uye .t small { display: none; }
.uye .rol { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--s2); color: var(--mute); } .uye .rol.sahip { background: var(--acc-soft); color: #0f7a52; }
/* mekân merkezi: kapı kartları */
.kapilar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.kapi-k { display: flex; flex-direction: column; gap: 4px; min-height: 92px; padding: 14px 14px 12px; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: transform .15s var(--ease), background .2s; }
.kapi-k:active { transform: scale(.97); }
.kapi-k b { font-size: 18px; letter-spacing: -.01em; }
.kapi-k span { font-size: 13px; color: var(--mute); line-height: 1.3; }
.kapi-k.uyari { border-color: rgba(240,162,59,.6); } .kapi-k.uyari span { color: #8a5a12; }
.hero.kucuk { padding: 14px 0 12px; } .hero.kucuk h1 { font-size: 28px; } .hero.kucuk p { font-size: 15px; margin-top: 6px; }
/* dokunulabilir satır: liste içinde */
.list > button.satir { align-items: center; }
.list > button.satir .tl { flex: none; min-width: 44px; text-align: center; background: var(--s2); border-radius: 9px; padding: 7px 8px; font-weight: 700; }
.list > button.satir .t { flex: 1 1 100px; min-width: 0; } .list > button.satir .t b { display: block; font-size: 16px; } .list > button.satir .t small { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }
.list > button.satir svg { flex: none; color: var(--dim); }
.list > button.satir.dim .t b { color: var(--mute); }
.kat-cip { margin: 4px 0 12px; } .kat-cip .chip.kat-yonet { background: var(--s1); border: 1px dashed var(--line-2); }
/* form yaprağı alanları */
.fy .field { margin-top: 10px; }
.fy-etiket { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--mute); margin-top: 14px; } .fy-etiket span { font-size: 12px; }
.fy .chips { margin-top: 6px; }
.fy-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fy .kv b { display: block; margin-top: 2px; }
/* yönetici ekranı: açılır bölümler */
details.bolum { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); margin-top: 12px; }
details.bolum > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 16px 18px; cursor: pointer; }
details.bolum > summary::-webkit-details-marker { display: none; }
details.bolum > summary h2 { font-size: 18px; flex: none; }
details.bolum > summary .mute { flex: 1; min-width: 0; font-size: 13px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details.bolum > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg); transition: transform .2s; flex: none; margin: 0 2px 4px 0; }
details.bolum[open] > summary::after { transform: rotate(-135deg); margin: 4px 2px 0 0; }
details.bolum > .ic { padding: 2px 18px 18px; }
details.bolum .list, details.bolum .dev { box-shadow: none; }
details.bolum .card { box-shadow: none; background: var(--s2); border-color: transparent; }
details.bolum .list .row .x, details.bolum .xbtn { background: var(--s3); }

/* "Masaya git" çağrısı: personel yöntemi seçen masa; onaylı tahsilat */
.stack .row.cagri { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; background: #FFF7E6; border: 1px solid rgba(240,162,59,.55); border-radius: 16px; margin-bottom: 10px; }
.row.cagri .big { width: 52px; height: 52px; border-radius: 14px; background: #8a5a12; color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; flex: none; }
.row.cagri > div:not(.big) { flex: 1 1 180px; min-width: 0; }
.row.cagri b { display: block; font-size: 17px; letter-spacing: -.01em; }
.row.cagri .mute { display: block; font-size: 13px; margin-top: 2px; }
.row.cagri .btn { flex: 1 1 100%; width: 100%; min-width: 0; height: 48px; padding: 0 14px; white-space: normal; line-height: 1.2; }
@media (min-width: 640px) { .row.cagri .btn { flex: 0 0 auto; width: auto; } }
/* kaçak alarmı: müşteri ödemeden kalktı */
.stack .row.cagri.alarm { background: #FBE9E7; border-color: rgba(179,38,30,.55); animation: alarm-yanip 1.2s ease-in-out 6; }
.row.cagri.alarm .big { background: #b3261e; }
.row.cagri.alarm b { color: #b3261e; }
.row.cagri .alarm-btns { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.row.cagri .alarm-btns .btn { width: 100%; flex: none; height: 46px; padding: 0 8px; font-size: 14px; }
@media (max-width: 420px) { .row.cagri .alarm-btns { grid-template-columns: 1fr; } }
.pill.alarm { color: #b3261e; background: #FBE9E7; } .pill.alarm i { background: #b3261e; animation: blink 1s infinite; }
.stack .row.cagri.degisiklik { background: #EEF4FB; border-color: rgba(17,42,74,.35); animation: none; }
.row.cagri.degisiklik .big { background: #112A4A; }
.row.cagri .alarm-btns.iki { grid-template-columns: 1fr 1fr; }
.row.cagri .alarm-btns a.btn { text-decoration: none; }
.chk .line .qbtns { display: inline-flex; gap: 4px; margin-left: 6px; }
.chk .line .qbtns .xbtn { min-width: 34px; }
@keyframes alarm-yanip { 50% { box-shadow: 0 0 0 4px rgba(179,38,30,.25); } }

/* uygulama gibi davran: uzun basınca metin seçimi, "Kopyala / Web arama" çubuğu ve görsel menüsü çıkmaz (yalnız giriş alanlarında metin seçilir) */
html { -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
body { -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable="true"], .secilebilir { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
img, svg, a { -webkit-user-drag: none; -webkit-touch-callout: none; }
/* mekân ayarı satırı */
.ayar-k { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.ayar-k .t { flex: 1; min-width: 0; } .ayar-k .t b { display: block; font-size: 16px; } .ayar-k .t span { display: block; font-size: 13px; color: var(--mute); margin-top: 2px; line-height: 1.35; }
.ayar-k .anahtar { flex: none; width: 74px; min-height: 64px; border: 0; border-radius: 16px; }
/* yeni sipariş taslağı: iki sıralı satır (üstte görsel + ad/seçenekler + tutar, altta adet düğmeleri) — uzun seçenek metni taşmaz */
.taslak-bas { flex-direction: column; align-items: flex-start; gap: 1px; }
.taslak .tas-sat { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "mini t amt" "mini qb qb"; align-items: start; gap: 4px 10px; }
.taslak .tas-sat .mini { grid-area: mini; width: 44px; height: 44px; }
.taslak .tas-sat .t { grid-area: t; min-width: 0; overflow-wrap: anywhere; }
.taslak .tas-sat .t small { margin-top: 1px; line-height: 1.3; }
.taslak .tas-sat .amt { grid-area: amt; font-variant-numeric: tabular-nums; font-size: 15px; white-space: nowrap; padding-top: 1px; }
.taslak .tas-sat .qbtns { grid-area: qb; justify-self: end; }
.btn.gonder { justify-content: space-between; white-space: nowrap; gap: 12px; }
.btn.gonder .ozet { font-size: 14px; font-weight: 600; opacity: .9; font-variant-numeric: tabular-nums; }
/* kısmi ödeme: ödenen paylar dilim dilim, kalan taralı */
.pay-liste { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line, #d8d3c6); }
.bak-bar { display: flex; gap: 3px; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(0,0,0,.06); margin-bottom: 8px; }
.bak-bar i { display: block; min-width: 6px; }
.bak-bar i.s0 { background: #19B77C; } .bak-bar i.s1 { background: #0B6B48; } .bak-bar i.s2 { background: #7CD3B2; }
.bak-bar i.kalan { background: repeating-linear-gradient(-45deg, rgba(0,0,0,.14) 0 6px, rgba(0,0,0,.06) 6px 12px); }
/* açık pencerede arka sayfa kaymaz: kaydırma zinciri kesilir, pencerenin kendi içeriği kayar */
html:has(.dlg-perde) { overflow: hidden; overscroll-behavior: none; }
body:has(.dlg-perde) { overscroll-behavior: none; }
.dlg-perde { overscroll-behavior: contain; touch-action: none; }
.dlg { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }

/* belge yolu: yöntem başına üç yollu seçim + canlı önizleme */
.belge-ozet { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.belge-ozet .bo { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--s2); font-size: 13px; font-weight: 600; }
.belge-ozet .bo b { font-size: 16px; font-variant-numeric: tabular-nums; }
.belge-ozet .bo.okc { background: #E4EBF5; } .belge-ozet .bo.payon { background: var(--ok-soft, #DDF3E9); } .belge-ozet .bo.talep { background: var(--warn-soft, #F8EBD3); }
.belge-satir { padding: 14px 0; border-top: 1px solid var(--line); }
.belge-satir:first-of-type { border-top: 0; padding-top: 4px; }
.bs-ust b { display: block; font-size: 16px; } .bs-ust span { display: block; font-size: 13px; color: var(--mute); margin-top: 1px; }
.bs-sec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.bs-sec button { display: grid; gap: 1px; min-height: 52px; padding: 8px 6px; border: 1.5px solid var(--line2); border-radius: 12px; background: var(--s1); color: var(--fg); font: inherit; text-align: center; cursor: pointer; transition: background .2s, border-color .2s, transform .1s; }
.bs-sec button:active { transform: scale(.98); }
.bs-sec button b { font-size: 13.5px; line-height: 1.15; } .bs-sec button small { font-size: 11.5px; color: var(--mute); }
.bs-sec button.on { color: var(--fg); border-color: var(--fg); }
.bs-sec button.on.okc { background: #E4EBF5; } .bs-sec button.on.payon { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); } .bs-sec button.on.payon small { color: var(--acc-ink); } .bs-sec button.on.talep { background: var(--warn); border-color: var(--warn); color: #3a2305; } .bs-sec button.on.talep small { color: #3a2305; }
.bs-onizle { display: grid; gap: 4px; margin-top: 9px; padding: 9px 11px; border-radius: 12px; background: var(--s2); font-size: 13px; line-height: 1.35; }
.bs-onizle span { display: flex; gap: 8px; } .bs-onizle i { flex: none; width: 54px; font-style: normal; font-weight: 700; color: var(--mute); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; padding-top: 1px; } .bs-onizle em { font-style: normal; color: var(--fg2); }
.belge-satir.degisti .bs-onizle { outline: 1.5px dashed var(--warn); }
.bs-sec.iki { grid-template-columns: 1fr 1fr; }
.bs-kilit { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: #E4EBF5; font-size: 13.5px; flex-wrap: wrap; } .bs-kilit b { font-size: 14px; } .bs-kilit small { flex-basis: 100%; color: var(--mute); font-size: 12px; }
.belge-satir.kilitli .bs-ust b::after { content: ""; }
.fatura-kutu { margin-top: 10px; padding: 11px 12px; border-radius: 12px; background: var(--warn-soft); border: 1.5px dashed var(--warn); font-size: 13.5px; line-height: 1.4; color: var(--fg); }
.fatura-kutu > b { display: block; font-size: 15px; } .fatura-kutu > span { display: block; margin-top: 2px; color: var(--fg2); }
.fatura-kutu dl { margin: 8px 0 0; display: grid; gap: 4px; } .fatura-kutu dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; } .fatura-kutu dt { color: var(--mute); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; } .fatura-kutu dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }

/* kurye yaklaşma simülasyonu (yalnız test siparişleri) */
.kurye-sim { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: var(--s2); color: var(--fg); }
.kurye-sim strong { font-size: 15px; letter-spacing: -.01em; } .kurye-sim small { margin-left: 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.kurye-yol { display: block; height: 6px; margin-top: 6px; border-radius: 4px; background: var(--s3); overflow: hidden; } .kurye-yol i { display: block; height: 100%; border-radius: 4px; background: var(--acc); transition: width .8s ease; }

/* ---- Panel (tablet): salon, mutfak, tahsilat kanalları, en çok satılanlar. Okuma yüzeyi; eylemler masa ve görev sayfalarında. */
body.panel-mode .app { max-width: none; padding-left: clamp(16px, 2.4vw, 32px); padding-right: clamp(16px, 2.4vw, 32px); }
.pn { display: grid; gap: 16px; padding: 4px 0 28px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "ust" "salon" "mutfak" "paket" "kasa" "satis" "hiz" "not"; }
.pn-cols, .pn-c1, .pn-c2 { display: contents; }   /* dar ekranda bölümler tek sütunda sırayla dizilir */
@media (min-width: 960px) {
  .pn { grid-template-columns: 1fr; grid-template-areas: "ust" "cols" "hiz" "not"; }
  .pn .pn-hizg { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .pn-cols { grid-area: cols; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .pn-c1, .pn-c2 { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
}
.pn-ust { grid-area: ust; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 36px; padding: 6px 0 4px; }
.pn-bas h1 { font-size: 34px; }
.pn-bas p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 6px; font-size: 14px; }
.pn-canli { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #0f7a52; }
.pn-canli i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: pn-nabiz 2.4s ease-in-out infinite; }
@keyframes pn-nabiz { 0%, 100% { box-shadow: 0 0 0 0 rgba(25,183,124,.45); } 50% { box-shadow: 0 0 0 6px rgba(25,183,124,0); } }
.pn-ornek { font-size: 12px; font-weight: 700; color: #8a5a12; background: var(--warn-soft); border: 1px solid rgba(240,162,59,.45); border-radius: 999px; padding: 2px 9px; }
.pn-chips { margin-top: 12px; flex-wrap: nowrap; overflow-x: auto; }
.pn-chips .chip { flex: 0 0 auto; height: 40px; padding: 0 16px; }
.pn-rakam { display: flex; flex-wrap: wrap; }
.pn-rakam > div { padding: 2px 26px; min-width: 150px; border-left: 1px solid var(--line-2); }
.pn-rakam > div:first-child { padding-left: 0; border-left: 0; }
.pn-rakam span { display: block; font-size: 13px; font-weight: 600; color: var(--mute); }
.pn-rakam b { display: block; margin-top: 3px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pn-rakam > div:first-child b { font-size: 40px; }
.pn-rakam small { font-size: 13px; color: var(--mute); }

.pn-b { min-width: 0; background: var(--s1); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); }
.pn-salon { grid-area: salon; } .pn-mutfak { grid-area: mutfak; } .pn-paketb { grid-area: paket; } .pn-kasa { grid-area: kasa; } .pn-satis { grid-area: satis; } .pn-not { grid-area: not; font-size: 13px; }
.pn-bh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.pn-bh.alt { margin: 22px 0 10px; } .pn-bh h3 { margin: 0; font-size: 16px; font-weight: 700; }
.pn-bh .mute { font-size: 13px; }
.pn-bh .pn-chips { margin: 0; }
.pn-lgs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; font-weight: 600; color: var(--mute); }
.pn-lg { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.pn-lg i { width: 10px; height: 10px; border-radius: 3px; background: var(--dim); }
.pn-lg.acik i { background: #19B77C; } .pn-lg.siparis i { background: #107a52; } .pn-lg.cagri i, .pn-lg.odeme i { background: #112A4A; } .pn-lg.tahsil i { background: #F0A23B; } .pn-lg.alarm i { background: #D94841; } .pn-lg.odendi i { background: #8fd6b7; } .pn-lg.bos i { background: var(--s3); outline: 1px dashed var(--line-2); }

/* salon */
.pn-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.pn-masa { justify-content: flex-start; min-height: 126px; box-shadow: none; }
.pn-masa b { font-size: 36px; }
.pn-masa span { font-size: 13px; margin-top: 6px; }
.pn-masa .pn-t { margin-top: auto; }
.pn-masa em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--mute); margin-top: 5px; font-variant-numeric: tabular-nums; }
.pn-t { height: 5px; border-radius: 3px; background: rgba(17,42,74,.1); overflow: hidden; }
.pn-t i { display: block; height: 100%; border-radius: 3px; background: var(--acc); }
.pn-t i.s { background: var(--warn); } .pn-t i.k { background: var(--rd); }

/* mutfak */
.pn-fisler { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.pn-fis { display: block; padding: 14px; border-radius: 16px; background: var(--s2); border: 1px solid var(--line); transition: transform .15s var(--ease); }
.pn-fis:active { transform: scale(.98); }
.pn-fis.s { background: #FFF7E6; border-color: rgba(240,162,59,.5); } .pn-fis.k { background: #FBE9E7; border-color: rgba(179,38,30,.4); }
.pn-fis .u { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pn-fis .tl { min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; background: var(--fg); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.pn-fis .dk { font-size: 13px; color: var(--mute); }
.pn-fis .dk b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--fg); font-variant-numeric: tabular-nums; }
.pn-fis.s .dk b { color: #8a5a12; } .pn-fis.k .dk b { color: #b3261e; }
.pn-fis .pn-t { margin: 11px 0; }
.pn-fis ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 14px; line-height: 1.3; }
.pn-paketler { display: grid; gap: 8px; }
.pn-paket { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--s2); }
.pn-paket .pl { padding: 5px 11px; border-radius: 999px; background: var(--c); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pn-paket .pb b { display: block; font-size: 15px; } .pn-paket .pb .mute { font-size: 13px; }
.pn-paket .ad { display: flex; gap: 4px; margin-top: 7px; }
.pn-paket .ad i { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); } .pn-paket .ad i.on { background: var(--acc); }
.pn-paket .pt { font-weight: 800; font-variant-numeric: tabular-nums; }

/* tahsilat kanalları */
.pn-nehir { display: block; width: 100%; max-width: 620px; height: auto; margin: 0 auto; }
.pn-nl { font: 600 14px "Host Grotesk", system-ui, sans-serif; fill: var(--fg); }
.pn-nl .t { font-weight: 700; font-variant-numeric: tabular-nums; } .pn-nl .kasa { font-weight: 800; letter-spacing: .02em; }
.pn-saat { display: flex; align-items: flex-end; gap: 5px; height: 100px; }
.pn-saat .s { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; }
.pn-saat .s i { display: block; border-radius: 5px 5px 2px 2px; background: #C9D3E0; }
.pn-saat .s.now i { background: var(--acc); } .pn-saat .s.gel i { background: var(--s3); }
.pn-saat .s small { font-size: 11px; color: var(--mute); text-align: center; font-variant-numeric: tabular-nums; }

/* en çok satılanlar */
.pn-sat { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pn-sat li { display: grid; grid-template-columns: 22px 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.pn-sat .no { font-size: 18px; font-weight: 800; color: var(--dim); text-align: center; font-variant-numeric: tabular-nums; }
.pn-sat .im { width: 48px; height: 48px; border-radius: 14px; overflow: hidden; background: var(--s3); display: grid; place-items: center; }
.pn-sat .im img { width: 100%; height: 100%; object-fit: cover; } .pn-sat .im b { font-size: 20px; color: var(--mute); }
.pn-sat .ad b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-sat .ad small { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.pn-sat .cb { display: block; height: 6px; margin-top: 5px; border-radius: 3px; background: var(--s3); overflow: hidden; }
.pn-sat .cb u { display: block; height: 100%; border-radius: 3px; background: var(--acc); text-decoration: none; }
.pn-sat .n { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.pn-sat .n small { display: block; margin-top: 3px; font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--mute); }
.pn-bos { display: grid; gap: 4px; padding: 20px; border-radius: 16px; background: var(--s2); }
.pn-bos span { font-size: 14px; color: var(--mute); }
/* tahsilat hızı: PAYON cihazı (yeşil) ile personel tahsilatı (lacivert) */
.pn-hiz { grid-area: hiz; }
.pn-bh-s { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pn-hizoz { display: flex; flex-wrap: wrap; gap: 8px 36px; align-items: flex-end; margin-bottom: 20px; }
.pn-hizoz > div { min-width: 150px; }
.pn-hizoz span { display: block; font-size: 13px; font-weight: 600; color: var(--mute); }
.pn-hizoz b { display: block; margin-top: 2px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pn-hizoz b.p { color: #0f7a52; } .pn-hizoz b.d { color: var(--fg); }
.pn-hizoz .f { padding: 10px 16px; border-radius: 16px; background: var(--acc-soft); } .pn-hizoz .f b { font-size: 36px; color: #0f7a52; } .pn-hizoz .f small { display: block; font-size: 13px; color: var(--mute); }
.pn-hizg { display: grid; gap: 22px 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.pn-hizs h3 { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--mute); } .pn-hizs h3:not(:first-child) { margin-top: 18px; }
.pn-hizs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pn-hizs li { display: grid; grid-template-columns: minmax(96px, 140px) minmax(0, 1fr) minmax(150px, 210px); gap: 12px; align-items: center; }
.pn-hizs .hn { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; } .pn-hizs .hn i { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.pn-hizs .hb { display: block; height: 12px; border-radius: 6px; background: var(--s3); overflow: hidden; } .pn-hizs .hb u { display: block; height: 100%; border-radius: 6px; text-decoration: none; }
.pn-hizs .hv b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; } .pn-hizs .hv small { display: block; font-size: 12px; color: var(--mute); }
.pn-hizt { display: grid; gap: 18px; }
.pn-lg.hp i { background: #19B77C; } .pn-lg.hd i { background: #112A4A; }
.pn-bol { display: grid; gap: 6px; }
.pn-bol .bs { font-size: 13px; font-weight: 600; color: var(--mute); }
.pn-bol .br { display: flex; gap: 3px; height: 22px; }
.pn-bol .br i { display: block; min-width: 0; border-radius: 6px; } .pn-bol .br i.p { background: #19B77C; } .pn-bol .br i.d { background: #112A4A; }
.pn-bol .bv { display: flex; justify-content: space-between; gap: 12px; }
.pn-bol .bv b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .pn-bol .bv b.p { color: #0f7a52; }
@media (max-width: 600px) { .pn-hizs li { grid-template-columns: minmax(0, 1fr) auto; } .pn-hizs .hb { grid-column: 1 / -1; order: 3; } }
@media (prefers-reduced-motion: reduce) { .pn-canli i { animation: none; } .pn-fis { transition: none; } }
.pn-daha { display: none; margin: 8px 0 0; font-size: 12px; font-weight: 600; color: var(--mute); }

/* yatay tablet: tek ekrana sığar, sayfa kaydırmaz. Bölümler 12 sütunlu ızgarada iki satır; taşan kalemler gizlenir ("+n daha"). Dikey ekranda yukarıdaki kaydırmalı düzen kalır. */
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  html:has(body.panel-mode), body.panel-mode { overflow: hidden; height: 100dvh; }
  body.panel-mode .app { height: 100dvh; padding-top: 0; padding-bottom: 0; overflow: hidden; }
  body.panel-mode .bar { height: 42px; flex: none; }
  body.panel-mode .brand img { height: 22px; }
  body.panel-mode .view { flex: 1; min-height: 0; padding: 0 0 12px; display: block; animation: none; }
  .pn { height: 100%; padding: 0; gap: 12px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 50fr) minmax(0, 50fr);
    grid-template-areas: "ust ust ust ust ust ust ust ust ust ust ust ust" "salon salon salon salon mutfak mutfak mutfak mutfak satis satis satis satis" "kasa kasa kasa kasa kasa kasa hiz hiz hiz hiz hiz hiz"; }
  .pn-cols, .pn-c1, .pn-c2 { display: contents; }
  .pn-not { display: none; }
  .pn .x { display: none; } .pn-daha { display: block; }
  .pn-ust { padding: 0; gap: 8px 28px; align-items: center; }
  .pn-bas h1 { font-size: 26px; } .pn-bas p { margin-top: 3px; font-size: 13px; }
  .pn-bas .pn-chips { margin-top: 6px; }
  .pn-rakam > div { padding: 0 20px; min-width: 0; }
  .pn-rakam span { font-size: 12px; } .pn-rakam b { margin-top: 1px; font-size: 24px; } .pn-rakam > div:first-child b { font-size: 32px; } .pn-rakam small { font-size: 12px; }
  .pn-b { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: 12px 14px; border-radius: 18px; }
  .pn-bh { flex: none; margin-bottom: 8px; } .pn-bh h2 { font-size: 17px; } .pn-bh .mute, .pn-lgs { font-size: 12px; }
  .pn-bh.alt { margin: 8px 0 4px; } .pn-bh h3 { font-size: 13px; }
  /* salon */
  .pn-izgara { flex: 1; min-height: 0; overflow: auto; align-content: start; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; scrollbar-width: thin; }
  .pn-masa { min-height: 76px; padding: 8px 9px; border-radius: 14px; } .pn-masa b { font-size: 26px; } .pn-masa span { margin-top: 3px; font-size: 12px; } .pn-masa em { margin-top: 3px; font-size: 11px; } .pn-masa .pn-t { height: 4px; }
  /* mutfak */
  .pn-mutfak { overflow: auto; scrollbar-width: thin; }
  .pn-fisler { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
  .pn-fis { padding: 9px 10px; border-radius: 13px; } .pn-fis .tl { min-width: 32px; height: 32px; font-size: 16px; border-radius: 9px; } .pn-fis .dk b { font-size: 20px; } .pn-fis .pn-t { margin: 7px 0; height: 4px; } .pn-fis ul { font-size: 12px; gap: 1px; }
  .pn-paketler { gap: 6px; } .pn-paket { padding: 7px 10px; gap: 8px; border-radius: 11px; } .pn-paket .pb b { font-size: 13px; } .pn-paket .pb .mute { font-size: 11px; } .pn-paket .ad { margin-top: 4px; } .pn-paket .pl { padding: 3px 8px; font-size: 11px; } .pn-paket .pt { font-size: 13px; }
  .pn-daha { margin-top: 6px; }
  /* tahsilat kanalları */
  .pn-kasa .pn-nehir { flex: 1; min-height: 0; height: 100%; max-width: none; }
  .pn-saat { flex: none; height: 46px; gap: 3px; } .pn-saat .s small { font-size: 10px; }
  /* en çok satılanlar */
  .pn-sat { gap: 7px; overflow: hidden; } .pn-sat li { grid-template-columns: 16px 36px minmax(0, 1fr) auto; gap: 9px; }
  .pn-sat .no { font-size: 14px; } .pn-sat .im { width: 36px; height: 36px; border-radius: 10px; } .pn-sat .ad b { font-size: 13px; } .pn-sat .ad small { font-size: 11px; } .pn-sat .cb { height: 4px; margin-top: 3px; } .pn-sat .n { font-size: 19px; } .pn-sat .n small { font-size: 10px; margin-top: 1px; }
  /* tahsilat hızı */
  .pn-hiz { overflow: hidden; }
  .pn-hizoz { gap: 4px 24px; margin-bottom: 8px; flex: none; } .pn-hizoz > div { min-width: 0; } .pn-hizoz span { font-size: 11px; } .pn-hizoz b { font-size: 22px; } .pn-hizoz .f { padding: 4px 12px; border-radius: 12px; } .pn-hizoz .f b { font-size: 26px; } .pn-hizoz .f small { display: none; }
  .pn .pn-hizg { flex: 1; min-height: 0; gap: 4px 20px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .pn-hizs h3 { margin-bottom: 4px; font-size: 12px; } .pn-hizs h3:not(:first-child) { margin-top: 8px; }
  .pn-hizs ul { gap: 5px; } .pn-hizs li { grid-template-columns: minmax(84px, 118px) minmax(0, 1fr) minmax(76px, 100px); gap: 8px; } .pn-hizs .hn { font-size: 12px; } .pn-hizs .hb { height: 9px; } .pn-hizs .hv b { font-size: 12px; } .pn-hizs .hv small { display: none; }
  .pn-hizt { gap: 8px; } .pn-hizt .pn-lgs { font-size: 11px; } .pn-bol { gap: 3px; } .pn-bol .bs { font-size: 11px; } .pn-bol .br { height: 14px; } .pn-bol .br i { border-radius: 4px; } .pn-bol .bv b { font-size: 13px; }
  .pn-bos { padding: 12px; } .pn-bos span { font-size: 12px; }
  .pn-ek { display: none; }
  .pn-hizt { gap: 5px; } .pn-bol { gap: 2px; } .pn-bol .bs, .pn-bol .bv b { line-height: 1.1; } .pn-hizoz { margin-bottom: 5px; } .pn-hizoz b { line-height: 1.05; } .pn-hizoz .f b { line-height: 1.05; }
  .pn-lgs { gap: 2px 9px; flex-wrap: nowrap; font-size: 11px; white-space: nowrap; } .pn-lg.bos { display: none; }
  .pn-sat .ad b, .pn-sat .ad small { line-height: 1.2; } .pn-sat { gap: 4px; } .pn-sat .n small { display: none; }
  .pn-paket .pb .mute { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pn-paket .pb { min-width: 0; }
  .pn-bh { flex-wrap: nowrap; align-items: center; } .pn-bh > .mute { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pn-bh .chip, .pn-bh-s .chip { height: 30px; padding: 0 12px; font-size: 13px; border-radius: 9px; } .pn-bh .chips { gap: 4px; flex-wrap: nowrap; } .pn-bh-s { flex-wrap: nowrap; gap: 8px; }
  .pn-fis li:nth-child(n+3) { display: none; }
  .pn-nl { font-size: 14px; }
}

/* yatay tek ekran, ikinci ayar: 10 satırlık satış listesi tüm yüksekliği paylaşır (sağ sütun iki satıra yayılır); tahsilat hızı kapsayıcı genişliğine göre iki ya da tek sütun */
.pn-hiz { container-type: inline-size; }
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  .pn { grid-template-rows: auto minmax(0, 45fr) minmax(0, 55fr);
    grid-template-areas: "ust ust ust ust ust ust ust ust ust ust ust ust" "salon salon salon salon salon mutfak mutfak mutfak mutfak satis satis satis" "kasa kasa kasa kasa kasa hiz hiz hiz hiz satis satis satis"; }
  .pn-satis .pn-bh h2 { font-size: 15px; } .pn-satis .pn-bh .chip { height: 28px; padding: 0 9px; font-size: 12px; }
  .pn-sat { flex: 1; min-height: 0; display: grid; grid-template-rows: repeat(10, minmax(0, 1fr)); gap: 3px; }
  .pn-sat li { min-height: 0; grid-template-columns: 14px auto minmax(0, 1fr) auto; gap: 8px; }
  .pn-sat .no { font-size: 12px; }
  .pn-sat .im { width: auto; height: min(100%, 40px); aspect-ratio: 1; border-radius: 9px; }
  .pn-sat .ad { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: center; min-width: 0; }
  .pn-sat .ad b { grid-column: 1; font-size: 13px; } .pn-sat .ad small { grid-column: 2; font-size: 11px; } .pn-sat .ad .cb { grid-column: 1 / -1; height: 4px; margin-top: 2px; }
  .pn-sat .n { font-size: 17px; }
  .pn-hizoz .ek, .pn-hizt .pn-lgs { display: none; }
}
@container (max-width: 420px) {
  .pn-hizoz { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; align-items: stretch; margin-bottom: 6px; }
  .pn-hizoz span { font-size: 10px; line-height: 1.15; } .pn-hizoz b { font-size: 19px; } .pn-hizoz .f { padding: 3px 8px; } .pn-hizoz .f b { font-size: 21px; }
  .pn .pn-hizg { grid-template-columns: 1fr; gap: 6px; }
  .pn-hizs { display: grid; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 14px; align-items: start; }
  .pn-hizs h3 { margin: 0 0 3px; } .pn-hizs h3:not(:first-child) { margin: 0 0 3px; }
  .pn-hizs ul { gap: 3px; } .pn-hizs li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 1px; }
  .pn-hizs .hb { grid-column: 1 / -1; order: 3; height: 5px; } .pn-hizs .hn { font-size: 11px; } .pn-hizs .hv b { font-size: 11px; }
  .pn-hizt { gap: 4px; } .pn-bol .br { height: 12px; }
}

.pn-gz { display: none; }
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  .pn { grid-template-rows: auto minmax(0, 38fr) minmax(0, 62fr); }
  .pn-daha { display: none; } .pn-gz { display: inline; }
  .pn-masa { min-height: 68px; padding: 7px 9px; } .pn-masa b { font-size: 24px; }
  .pn-fis { padding: 7px 9px; } .pn-fis .tl { min-width: 28px; height: 28px; font-size: 15px; } .pn-fis .dk b { font-size: 18px; } .pn-fis .pn-t { margin: 5px 0; } .pn-fis ul { gap: 0; line-height: 1.25; }
  .pn-paket { padding: 5px 9px; } .pn-paket .ad { margin-top: 3px; }
}

/* üçüncü ayar: kısa ekranlarda (≈700 px) her bölüm kendi kutusuna sığar */
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  .pn-masa { min-height: 62px; padding: 6px 8px; } .pn-masa span { font-size: 11px; margin-top: 2px; line-height: 1.15; } .pn-masa em { font-size: 10px; margin-top: 2px; } .pn-masa .pn-t { height: 3px; }
  .pn-izgara { gap: 6px; }
  .pn-mutfak .pn-bh.alt { display: none; } .pn-paketler { margin-top: 6px; }
  .pn-bol { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 2px; align-items: baseline; }
  .pn-bol .bs { grid-column: 1; grid-row: 1; } .pn-bol .bv { grid-column: 2; grid-row: 1; gap: 10px; justify-content: flex-end; } .pn-bol .br { grid-column: 1 / -1; grid-row: 2; }
  .pn-bol .bv b { font-size: 12px; }
}
@media (min-width: 900px) and (orientation: landscape) and (max-height: 680px) {
  body.panel-mode .bar { height: 36px; } body.panel-mode .view { padding-bottom: 8px; } .pn { gap: 8px; }
  .pn-bas p { display: none; } .pn-bas h1 { font-size: 22px; }
  .pn-rakam b { font-size: 20px; } .pn-rakam > div:first-child b { font-size: 26px; } .pn-rakam small { display: none; }
  .pn-b { padding: 9px 12px; } .pn-bh { margin-bottom: 5px; }
}
@media (min-width: 900px) and (orientation: landscape) and (max-height: 620px) {
  .pn-hizs { display: none; } .pn-hizoz .f small { display: none; }
}

/* dördüncü ayar */
@container (max-width: 420px) { .pn-hiz .pn-bh-s > .mute { display: none; } }
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  .pn-masa { padding: 5px 8px; } .pn-masa b { font-size: 22px; line-height: .95; } .pn-masa span { line-height: 1.1; margin-top: 1px; } .pn-masa em { margin-top: 1px; }
}
@media (min-width: 900px) and (orientation: landscape) and (max-height: 680px) {
  .pn-masa em { display: none; } .pn-masa { min-height: 54px; }
  .pn-fis li:nth-child(n+2) { display: none; } .pn-fis .pn-t { margin: 4px 0; }
}

/* salon planı (demodaki yerleşim): mutfak, kasa, giriş ve üçerli masa sıraları; halka adisyonun açık kalma süresi */
.pn-plan { display: block; width: 100%; height: auto; max-width: 720px; margin: 0 auto; }
.pn-plan .pz { fill: var(--s2); stroke: var(--line-2); stroke-width: 1.5; }
.pn-plan .pd { fill: var(--s1); stroke: var(--line-2); stroke-width: 1.5; } .pn-plan .pd.s { fill: #FFF7E6; stroke: #E09A2B; } .pn-plan .pd.k { fill: #FBE9E7; stroke: #D94841; }
.pn-plan .pe { font: 800 13px "Host Grotesk", system-ui, sans-serif; letter-spacing: .1em; fill: var(--fg); }
.pn-plan .pe.s { font-size: 12px; font-weight: 600; letter-spacing: 0; fill: var(--mute); } .pn-plan .pe.big { font-size: 28px; letter-spacing: -.02em; }
.pn-plan .pg { stroke: var(--bg); stroke-width: 6; }
.pn-plan .pc { fill: var(--s3); stroke: var(--line-2); stroke-width: 1; }
.pn-plan .ph { fill: none; stroke: rgba(17,42,74,.09); stroke-width: 5; }
.pn-plan .pno { font: 800 26px "Host Grotesk", system-ui, sans-serif; letter-spacing: -.02em; text-anchor: middle; dominant-baseline: central; }
.pn-plan .psr { font: 600 11px "Host Grotesk", system-ui, sans-serif; fill: var(--mute); text-anchor: middle; font-variant-numeric: tabular-nums; }
.pn-plan .pm { font: 700 15px "Host Grotesk", system-ui, sans-serif; text-anchor: middle; font-variant-numeric: tabular-nums; }
.pn-plan .pt { cursor: pointer; outline: none; } .pn-plan .pt:focus-visible .ph { stroke: var(--acc); }
.pn-plan .pn-n.on { fill: var(--acc); } .pn-plan .pn-n.off { fill: var(--rd); } .pn-plan .pn-n.yok { fill: transparent; stroke: var(--dim); stroke-width: 1.5; stroke-dasharray: 2 2; }
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  /* sol: salon planı (üstte) + tahsilat kanalları; orta: mutfak + tahsilat hızı; sağ: en çok satılanlar. 20 eşit satırlı ızgara. */
  .pn { grid-template-areas: none; grid-template-rows: auto repeat(20, minmax(0, 1fr)); row-gap: 0; column-gap: 12px; }
  .pn-ust { grid-area: auto; grid-column: 1 / -1; grid-row: 1; margin-bottom: 12px; }
  .pn-salon { grid-area: auto; grid-column: 1 / 6; grid-row: 2 / 14; margin-bottom: 12px; }
  .pn-kasa { grid-area: auto; grid-column: 1 / 6; grid-row: 14 / 22; }
  .pn-mutfak { grid-area: auto; grid-column: 6 / 10; grid-row: 2 / 10; margin-bottom: 12px; }
  .pn-hiz { grid-area: auto; grid-column: 6 / 10; grid-row: 10 / 22; }
  .pn-satis { grid-area: auto; grid-column: 10 / 13; grid-row: 2 / 22; }
  .pn-salon .pn-plan { flex: 1; min-height: 0; height: 100%; max-width: none; }
  .pn-kasa .pn-saat, .pn-kasa .pn-bh.alt { display: none; }
}

/* ---- Hediye (yönetici): TROY'un size hediyesi. Sesli komut, 3 sn onay kartı, 60 sn geri sayım. TROY turkuazı #00ADC1, gövde grisi #485156 (logodan) */
:root { --troy: #00ADC1; --troy-koyu: #007F8E; --troy-gri: #485156; --troy-acik: #E3F6F9; }
.hediye-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 12px; border-radius: 12px; border: 1px solid #BFE6EC; background: var(--troy-acik); color: var(--troy-koyu); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, transform .15s var(--ease); }
.hediye-btn svg { width: 20px; height: 20px; } .hediye-btn:hover { background: #D2F0F5; } .hediye-btn:active { transform: scale(.97); }
.hediye-btn[hidden] { display: none; }
body.panel-mode .hediye-btn { height: 34px; }
.hd { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 12px; background: rgba(30,40,46,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: hd-perde .25s var(--ease) both; }
.hd[hidden] { display: none; }
@keyframes hd-perde { from { opacity: 0; } }
.hd-kart { width: min(500px, 100%); max-height: calc(100dvh - 24px); overflow-y: auto; background: var(--s1); border-radius: 28px; padding: 16px 18px 20px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.55); animation: hd-kart .38s var(--ease) both; }
@keyframes hd-kart { from { opacity: 0; transform: translateY(22px) scale(.97); } }
.hd-ust { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hd-ust img { display: block; width: auto; height: 30px; } .hd-ust b { display: block; font-size: 17px; line-height: 1.1; } .hd-ust small { display: block; font-size: 12px; color: var(--mute); }
.hd-ust > div { flex: 1; min-width: 0; }
.hd-x { width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--s2); display: grid; place-items: center; cursor: pointer; } .hd-x svg { width: 16px; height: 16px; }
.hd-govde { padding-top: 14px; }
/* dinleme */
.hd-mikalan { display: grid; place-items: center; height: 168px; }
.hd-mik { position: relative; width: 96px; height: 96px; border: 0; border-radius: 50%; background: var(--troy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(0,173,193,.8); transition: transform .2s var(--ease); }
.hd-mik span svg { width: 38px; height: 38px; } .hd-mik:active { transform: scale(.95); }
.hd-mik i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--troy); opacity: 0; }
.hd-mik.on i { animation: hd-halka 2s ease-out infinite; } .hd-mik.on i + i { animation-delay: 1s; }
@keyframes hd-halka { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(2); } }
.hd-metin { min-height: 56px; margin: 0; text-align: center; font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: var(--troy-gri); text-wrap: balance; }
.hd-metin.canli::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 4px; vertical-align: -2px; background: var(--troy); animation: hd-imlec 1s steps(1) infinite; }
@keyframes hd-imlec { 50% { opacity: 0; } }
.hd-ipucu, .hd-hata { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--mute); } .hd-ipucu b { color: var(--troy-gri); } .hd-hata { color: var(--rd); font-weight: 600; }
.hd-yazi { display: flex; gap: 8px; margin-top: 16px; } .hd-yazi input { flex: 1; min-width: 0; height: 52px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 0 14px; font: inherit; font-size: 16px; background: var(--s1); } .hd-yazi input:focus { outline: 2px solid var(--troy); outline-offset: 1px; } .hd-yazi .btn { width: auto; height: 52px; padding: 0 20px; background: var(--troy); }
/* onay bileti */
.hd-bilet { position: relative; margin-top: 4px; padding: 18px 20px 16px; border-radius: 20px; background: linear-gradient(160deg, #F2FBFD 0%, #DDF3F7 100%); border: 1.5px solid #B7E3EA; animation: hd-bilet .55s var(--ease) both; }
@keyframes hd-bilet { from { opacity: 0; transform: translateY(14px) rotate(-1.2deg) scale(.96); } }
.hd-bilet::before, .hd-bilet::after { content: ""; position: absolute; top: 58%; width: 22px; height: 22px; border-radius: 50%; background: var(--s1); border: 1.5px solid #B7E3EA; } .hd-bilet::before { left: -12px; clip-path: inset(0 0 0 50%); } .hd-bilet::after { right: -12px; clip-path: inset(0 50% 0 0); }
.hd-bilet-logo { display: block; height: 34px; width: auto; } .hd-bilet-masa { position: absolute; top: 18px; right: 18px; padding: 5px 12px; border-radius: 999px; background: var(--troy-gri); color: #fff; font-weight: 700; font-size: 13px; }
.hd-bilet ul { list-style: none; margin: 16px 0 0; padding: 0 0 14px; border-bottom: 2px dashed #A9DCE4; display: grid; gap: 4px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--troy-gri); } .hd-bilet li b { color: var(--troy-koyu); }
.hd-bilet-not { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 12px 0 0; } .hd-bilet-not b { font-size: 15px; color: var(--troy-koyu); } .hd-bilet-not span { font-size: 14px; color: var(--mute); } .hd-bilet-not s { opacity: .8; } .hd-bilet-not strong { color: var(--troy-koyu); font-size: 16px; }
.hd-geri { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--mute); } .hd-geri-b { flex: 1; height: 6px; border-radius: 3px; background: var(--s3); overflow: hidden; } .hd-geri-b i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--troy); animation: hd-doldur var(--s, 3s) linear forwards; }
@keyframes hd-doldur { to { width: 100%; } }
.hd-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; } .hd-btns .btn { height: 52px; } .hd-btns .btn.pri { background: var(--troy); }
.hd-btns:has(> :only-child) { grid-template-columns: 1fr; }
/* 60 sn geri sayım: 60 çentikli kadran; geçen süre çentik çentik sönük */
.hd-sayac { position: relative; width: 240px; height: 240px; margin: 4px auto 0; }
.hd-sayac svg { width: 100%; height: 100%; overflow: visible; }
.hd-sayac::before { content: ""; position: absolute; inset: 26px; border-radius: 50%; background: radial-gradient(closest-side, #fff 62%, #E9F8FB 100%); box-shadow: inset 0 0 0 1px #CDEEF3; }
.hd-t { stroke: var(--troy); stroke-width: 3.4; stroke-linecap: round; transition: stroke .35s ease, opacity .35s ease; } .hd-t.b { stroke-width: 5; } .hd-t.on { stroke: #D5E0E3; opacity: .85; }
.hd-sayac-ic { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center; }
.hd-sayac-ic img { height: 26px; width: auto; margin-bottom: 2px; } .hd-sayac-ic b { font-size: 68px; line-height: .95; font-weight: 800; letter-spacing: -.05em; color: var(--troy-gri); font-variant-numeric: tabular-nums; } .hd-sayac-ic small { font-size: 13px; font-weight: 600; color: var(--mute); max-width: 110px; line-height: 1.15; }
.hd-sayac.bitti .hd-sayac-ic b { color: var(--troy); }
.hd-durum { margin: 16px 0 0; text-align: center; font-size: 15px; color: var(--troy-gri); } .hd-ozet { margin: 4px 0 0; text-align: center; font-size: 14px; color: var(--mute); }
.hd-okundu { display: table; margin: 12px auto 0; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--s2); color: var(--mute); font-size: 13px; font-weight: 600; transition: background .3s, color .3s; }
.hd-okundu::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--dim); } .hd-okundu.var { background: var(--troy-acik); color: var(--troy-koyu); } .hd-okundu.var::before { background: var(--troy); box-shadow: 0 0 0 4px rgba(0,173,193,.2); }
.hd-bekle { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 36px 0; color: var(--troy-gri); font-weight: 600; } .hd-bekle i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #CDEEF3; border-top-color: var(--troy); animation: hd-don .8s linear infinite; } @keyframes hd-don { to { transform: rotate(360deg); } } .hd-bekle.ok { padding-bottom: 8px; }
/* personel adisyonunda hediye satırı */
.kalem.hediye { background: linear-gradient(90deg, var(--troy-acik), transparent 90%); border-radius: 12px; }
.hd-rozet { display: inline-flex; align-items: center; gap: 6px; color: var(--troy-koyu); font-weight: 600; } .hd-rozet img { display: block; width: auto; height: 12px; }
@media (max-width: 520px) { .hd { align-items: end; padding: 0; } .hd-kart { width: 100%; border-radius: 28px 28px 0 0; } }
@media (prefers-reduced-motion: reduce) { .hd, .hd-kart, .hd-bilet, .hd-mik i { animation: none; } .hd-t { transition: none; } .hd-geri-b i { animation-duration: 3s; } }

/* panel: TROY hediyesi rakamı ve planda hediye işareti */
.pn-rakam .troy span { display: inline-flex; align-items: center; gap: 5px; } .pn-rakam .troy span img { display: block; width: auto; height: 11px; } .pn-rakam .troy b { color: var(--troy-koyu); }
.pn-plan .pgf { animation: pn-hd 1.6s ease-in-out infinite; transform-box: fill-box; } @keyframes pn-hd { 50% { translate: 0 -3px; } }
@media (prefers-reduced-motion: reduce) { .pn-plan .pgf { animation: none; } }
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) { .pn-rakam > div { padding: 0 14px; } }
.hd-kart { scrollbar-gutter: stable; scrollbar-width: thin; }

.hd-okundu.kabul { background: var(--troy); color: #fff; } .hd-okundu.kabul::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.3); }
.hd-not { margin: 8px 0 0; text-align: center; font-size: 12px; color: var(--mute); }
.kalem.hediye .dur.bk { background: var(--troy-acik); color: var(--troy-koyu); }
.slogan-k { align-items: flex-start; } .slogan-satir { display: flex; gap: 10px; margin-top: 10px; }
.slogan-satir input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--s1); color: inherit; font: inherit; font-size: 16px; }
.slogan-satir .btn { flex: none; width: auto; height: 48px; padding: 0 18px; background: var(--ink, #1c1612); color: #fff; }

/* ---- Teslimat (kafenin kendi kuryeleri; docs/kurye.md) */
.tsl-bas { font: 700 18px "Host Grotesk", system-ui; margin: 22px 0 10px; color: var(--fg); }
.tsl-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tsl-ust b { font-size: 17px; }
.tsl-adres { margin: 8px 0 4px; font-size: 18px; font-weight: 700; color: var(--fg); line-height: 1.3; }
.tsl-tutar { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 4px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--mute); }
.tsl-tutar b { font-size: 20px; color: var(--fg); }
.tsl-yer { margin-top: 4px; font-size: 14px; }
.tsl-btns { flex-direction: row; flex-wrap: wrap; }
.tsl-btns .btn { flex: 1 1 140px; }
.tsl-kallist { max-height: 150px; overflow-y: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; }
.tsl-kal { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.tsl-kal:last-child { border-bottom: 0; }
.tsl-kal.on { background: var(--acc-soft, #E4F6EE); }
.tsl-kal .ad { display: flex; flex-direction: column; font-weight: 600; }
.tsl-kal .ad small { font-weight: 400; color: var(--mute); }
.tsl-kal .q { display: inline-flex; align-items: center; gap: 10px; }
.tsl-kal .q b { min-width: 18px; text-align: center; }
.tsl-top { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 4px; font-size: 15px; color: var(--mute); }
.tsl-top b { font-size: 20px; color: var(--fg); }
a.icon-btn { text-decoration: none; color: inherit; }
.field textarea { flex: 1; min-width: 0; width: 100%; background: none; border: 0; outline: 0; color: var(--fg); font: inherit; font-size: 18px; padding: 14px 0; resize: none; }
.field textarea::placeholder { color: var(--dim); }

/* ---- Paket sipariş kartı (platform siparişi: Trendyol, Yemeksepeti, Migros) */
.pk { --a: var(--acc); position: relative; display: grid; gap: 12px; padding: 16px 16px 14px 22px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.pk::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--a); }
.pk.yeni { --a: var(--warn); } .pk.kabul, .pk.hazirlaniyor { --a: var(--fg); } .pk.hazir { --a: var(--acc); }
.pk.simdi { box-shadow: 0 10px 30px rgba(17, 42, 74, .12); }
.pk-ust { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pk-kanal { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--fg); }
.pk-kanal i { width: 24px; height: 24px; border-radius: 7px; background: var(--c); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; }
.pk-test { padding: 3px 8px; border-radius: 6px; background: var(--s3); color: var(--mute); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.pk-test.ileri { background: #E3ECF7; color: var(--fg); }
.pk-zaman { margin-left: auto; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-zaman.gec { color: #8a5a12; font-weight: 700; } .pk-zaman.cok { color: var(--rd); font-weight: 800; }
.pk-baslik { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pk-no b { font-size: 28px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pk-no span { margin-left: 10px; font-size: 13px; color: var(--mute); font-weight: 600; }
.pk-tutar { text-align: right; min-width: 0; }
.pk-tutar b { display: block; font-size: 24px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pk-tutar span { display: block; margin-top: 4px; font-size: 12px; color: var(--mute); overflow-wrap: anywhere; }
.pk-adim { list-style: none; display: flex; gap: 5px; margin: 0; padding: 0; }
.pk-adim li { flex: 1; min-width: 0; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-adim li::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--line-2); margin-bottom: 6px; }
.pk-adim li.tamam { color: var(--mute); } .pk-adim li.tamam::before { background: var(--acc); }
.pk-adim li.simdi { color: var(--fg); } .pk-adim li.simdi::before { background: var(--a); }
.pk-musteri { font-size: 15px; font-weight: 600; color: var(--fg); }
.pk-kalem { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pk-kalem li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px; font-size: 15px; line-height: 1.3; }
.pk-kalem .q { font-weight: 800; color: var(--fg); font-variant-numeric: tabular-nums; }
.pk-kalem .a { overflow-wrap: anywhere; }
.pk-kalem small { display: block; margin-top: 2px; font-size: 13px; color: var(--mute); }
.pk-not { padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); color: #5e3d0d; font-size: 14px; line-height: 1.35; }
.pk-not b { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8a5a12; }
.pk-alt { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--mute); }
.pk-alt .cip { padding: 3px 9px; border-radius: 999px; background: var(--s2); font-weight: 700; }
.pk-alt .cip.on { background: var(--acc-soft); color: #0f7a52; }
.pk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pk-btns .btn:first-child:not(:only-child) { grid-column: 1 / -1; }   /* asıl işlem tam genişlik, ikincil işlemler yan yana */
.pk-btns .btn { width: 100%; height: 46px; padding: 0 10px; font-size: 14px; white-space: normal; line-height: 1.15; }
.pk-btns .btn.ghost { background: transparent; border: 1px solid var(--line-2); color: var(--mute); }
.pk .kurye-sim { margin-top: 0; }

/* ---- Teslimat geçmişi: filtre, özet, kurye dökümü; Panel (tablet) teslimat kutusu */
.tsl-filtre { margin: 0 0 8px; }
.tsl-ozet { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.tsl-stat { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.tsl-stat b { display: block; font-size: 22px; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--fg); }
.tsl-stat span { display: block; margin-top: 3px; font-size: 12px; color: var(--mute); }
.tsl-kd { padding: 6px 16px; margin-bottom: 12px; }
.tsl-kd-s { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tsl-kd-s:last-child { border-bottom: 0; }
.tsl-kd-s span { font-size: 13px; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; }
.tsl-not { font-size: 12px; margin: 10px 0 26px; }

/* ---- Panel: Paket ve teslimat kutusu (platform siparişleri mini kartlar, kendi teslimat özeti, kurye durumu) */
.pp-rakam { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 2px 0 10px; }
.pp-rakam > div { min-width: 0; padding: 7px 8px; border-radius: 12px; background: var(--s2); }
.pp-rakam b { display: block; font-size: 20px; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pp-rakam span { display: block; margin-top: 1px; font-size: 10.5px; letter-spacing: .01em; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-liste { display: grid; grid-auto-rows: max-content; gap: 8px; min-height: 0; }
.pp { --a: var(--acc); position: relative; flex: none; display: grid; gap: 6px; padding: 9px 11px 9px 15px; border-radius: 13px; background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.pp::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--a); }
.pp.yeni { --a: var(--warn); } .pp.kabul, .pp.hazirlaniyor { --a: var(--fg); } .pp.hazir { --a: var(--acc); }
.pp-ust { display: flex; align-items: center; gap: 7px; min-width: 0; }
.pp-kanal { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pp-kanal i { flex: none; width: 18px; height: 18px; border-radius: 5px; background: var(--c); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; }
.pp-test { padding: 1px 6px; border-radius: 5px; background: var(--s3); color: var(--mute); font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.pp-z { margin-left: auto; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-z.gec { color: #8a5a12; font-weight: 700; } .pp-z.cok { color: var(--rd); font-weight: 800; }
.pp-orta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.pp-ad { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--mute); }
.pp-ad b { color: var(--fg); font-size: 15px; }
.pp-t { flex: none; font-size: 16px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pp-alt { display: flex; align-items: center; gap: 10px; }
.pp-adim { flex: 1; display: flex; gap: 3px; }
.pp-adim i { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); } .pp-adim i.on { background: var(--a); }
.pp-d { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--mute); }
.pp-kurye { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); min-width: 0; }
.pp-kurye i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); } .pp-kurye i.on { background: var(--acc); }
.pp-kurye span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  /* sağ sütun: üst yarı Paket ve teslimat, alt yarı En çok satılanlar (5 ürün) */
  .pn-paketb { grid-area: auto; grid-column: 10 / 13; grid-row: 2 / 14; margin-bottom: 12px; }
  .pn-satis { grid-row: 14 / 22; }
  .pn-sat { grid-template-rows: repeat(5, minmax(0, 1fr)); } .pn-sat li:nth-child(n+6) { display: none; }
}
@media (min-width: 900px) and (orientation: landscape) and (max-height: 760px) {
  .pp-kurye { margin-top: 6px; padding-top: 6px; }
}
@media (min-width: 900px) and (orientation: landscape) and (max-height: 620px) {
  
}
.pn-paketb .pn-bh h2 { white-space: nowrap; }
.pn-paketb .pn-bh > .mute { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.pp-git { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--s2); color: var(--fg); font-size: 18px; font-weight: 700; text-decoration: none; line-height: 1; }
.pp-git:hover { background: var(--s3); }
/* dar yatay tablet (≈1024 px): üç sütun eşit (4/4/4) ki sağ sütun kartları ve başlıkları sığdırsın */
@media (min-width: 900px) and (max-width: 1100px) and (orientation: landscape) and (min-height: 500px) {
  .pn-salon, .pn-kasa { grid-column: 1 / 5; }
  .pn-mutfak, .pn-hiz { grid-column: 5 / 9; }
  .pn-paketb, .pn-satis { grid-column: 9 / 13; }
}

/* ======================= Panel kartları (Salon hariç): her bölüm kendi kimliğiyle; dokununca ayrıntı yaprağı ======================= */
.pc { position: relative; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.pc:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -18px rgba(17, 42, 74, .4); }
.pc:active { transform: translateY(0) scale(.995); }
.pc:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.pc-ok { flex: none; width: 22px; height: 22px; margin-left: 8px; border-radius: 50%; display: grid; place-items: center; background: rgba(17, 42, 74, .07); color: var(--mute); font-style: normal; font-size: 16px; line-height: 1; transition: background .16s, color .16s; }
.pc:hover .pc-ok { background: var(--acc); color: #fff; }
.pc-bas { flex: 1 1 auto; display: flex; align-items: center; gap: 9px; min-width: 0; }
.pc-bas h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc .pn-bh > .mute { flex: 0 100 auto; min-width: 0; }
.pc-ic { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--ic) 15%, #fff); color: var(--ic); }
.pc-top { margin-left: 2px; font-size: 15px; color: var(--fg); font-variant-numeric: tabular-nums; }

/* rakam kartları (üst şerit) */
.pc-rakamlar { display: flex; flex-wrap: wrap; gap: 10px; }
.pc-rakam { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 9px 15px 9px 10px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pc-rakam .pr-ik { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--ic) 15%, #fff); color: var(--ic); }
.pc-rakam .pr-ik svg { width: 20px; height: 20px; }
.pc-rakam > div { min-width: 0; }
.pc-rakam span { display: block; font-size: 12px; font-weight: 600; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-rakam b { display: block; margin-top: 1px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pc-rakam:first-child b { font-size: 26px; }
.pc-rakam small { display: block; font-size: 11px; color: var(--mute); white-space: nowrap; }
.pc-rakam.troy { background: var(--troy-acik); border-color: #BFE6EC; } .pc-rakam.troy .pr-ik { background: #fff; }

/* mutfak: koyu "fiş rayı"; fişler raya asılı */
.pn-b.pc-mutfak { background: radial-gradient(120% 100% at 0% 0%, #1c3b66 0%, #112A4A 55%, #0d2240 100%); border-color: #0d2240; color: #EAF0F8; }
.pc-mutfak .pn-bh h2 { color: #fff; }
.pc-mutfak .pn-bh .mute { color: rgba(234, 240, 248, .72); }
.pc-mutfak .pc-ic { background: rgba(240, 162, 59, .2); color: #F7B955; }
.pc-mutfak .pc-ok { background: rgba(255, 255, 255, .14); color: #fff; }
.pc-mutfak .pn-bos { background: rgba(255, 255, 255, .07); border: 1px dashed rgba(255, 255, 255, .28); color: #EAF0F8; }
.pc-mutfak .pn-bos span { color: rgba(234, 240, 248, .72); }
.pc-mutfak .pn-fisler { position: relative; padding-top: 14px; }
.pc-mutfak .pn-fisler::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 5px; border-radius: 3px; background: linear-gradient(180deg, #D9E2EF, #8FA3BF); box-shadow: 0 2px 5px rgba(0, 0, 0, .4); }
.pc-mutfak .pn-fis { color: var(--fg); position: relative; border-radius: 4px 4px 13px 13px; box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .6); }
.pc-mutfak .pn-fis::before { content: ""; position: absolute; top: -10px; left: 50%; width: 14px; height: 12px; margin-left: -7px; border-radius: 3px; background: #B9C6D8; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }

/* paket ve teslimat: istasyon hattı */
.pn-b.pc-paket { background: linear-gradient(180deg, #F6F1FB 0%, var(--s1) 42%); border-color: #E4DAF1; }
.rt { list-style: none; display: flex; align-items: flex-start; margin: 2px 0 10px; padding: 0; position: relative; }
.rt::before { content: ""; position: absolute; left: 10%; right: 10%; top: 13px; height: 3px; border-radius: 2px; background: var(--line-2); }
.rt li { position: relative; z-index: 1; flex: 1; min-width: 0; display: grid; justify-items: center; gap: 4px; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.rt li i { width: 28px; height: 28px; border-radius: 50%; background: var(--s1); border: 2px solid var(--line-2); display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: var(--dim); font-variant-numeric: tabular-nums; }
.rt li.var { color: var(--fg); } .rt li.var i { background: var(--fg); border-color: var(--fg); color: #fff; }
.rt li:first-child.var i { background: var(--warn); border-color: var(--warn); color: #3a2305; }
.rt li:last-child.var i { background: var(--acc); border-color: var(--acc); color: #fff; }

/* tahsilat kanalları: kasa nehri */
.pn-b.pc-kasa { background: linear-gradient(180deg, #ECF8F2 0%, var(--s1) 60%); border-color: #CFEBDD; }

/* tahsilat hızı: düello */
.pn-b.pc-hiz { background: linear-gradient(135deg, #F0FAF5 0%, var(--s1) 48%, #F1F4F9 100%); }
.dl { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 4px 0 10px; }
.dl-t { display: grid; gap: 1px; min-width: 0; } .dl-t.d { text-align: right; }
.dl-t span { font-size: 12px; font-weight: 700; color: var(--mute); }
.dl-t b { font-size: 34px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-t.p b { color: #0f7a52; } .dl-t.d b { color: var(--fg); }
.dl-t small { font-size: 11px; color: var(--mute); }
.dl-vs { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.dl-bar { display: flex; gap: 3px; height: 14px; } .dl-bar i { border-radius: 8px; min-width: 8px; } .dl-bar i.p { background: var(--acc); } .dl-bar i.d { background: var(--fg); }
.dl-not { margin: 8px 0 0; text-align: center; font-size: 13px; font-weight: 700; } .dl-not.iyi { color: #0f7a52; } .dl-not.kotu { color: #8a5a12; }

/* en çok satılanlar: podyum */
.pn-b.pc-satis { background: linear-gradient(180deg, #FFF8EA 0%, var(--s1) 62%); border-color: #F2E2C0; }
.pod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; margin: 2px 0 8px; }
.pod-k { display: grid; justify-items: center; gap: 3px; min-width: 0; text-align: center; }
.pod-im { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--s3); display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 4px 10px -4px rgba(17, 42, 74, .4); font-weight: 800; }
.pod-im img { width: 100%; height: 100%; object-fit: cover; }
.pod-k.r1 .pod-im { width: 58px; height: 58px; border-color: #F0C14B; }
.pod-ad { max-width: 100%; font-size: 12px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-n { font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; } .pod-n small { display: none; }
.pod-blok { display: grid; place-items: center; width: 100%; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #E8C46A, #D9A63A); color: #fff; font-style: normal; font-weight: 800; }
.pod-k.r1 .pod-blok { height: 34px; } .pod-k.r2 .pod-blok { height: 24px; background: linear-gradient(180deg, #CBD3DE, #AEB8C6); } .pod-k.r3 .pod-blok { height: 16px; background: linear-gradient(180deg, #DDA67E, #BF8556); }
.pod-diger { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pod-diger li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 12px; }
.pod-diger span { color: var(--mute); font-weight: 700; } .pod-diger b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; } .pod-diger em { font-style: normal; font-weight: 800; }

/* ayrıntı yaprağı */
.dlg.pc-sheet { width: min(580px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 40px); display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.pcs-ust { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 8px; }
.pcs-ust h2 { margin: 0; font-size: 22px; }
.pcs-kapat { width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--s2); color: var(--fg); font-size: 16px; cursor: pointer; }
.pcs-ic { overflow-y: auto; padding: 4px 20px 22px; }
.pcs-buyuk { margin: 4px 0 12px; font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pcs-buyuk small { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--mute); }
.pcs-s { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.pcs-s b { font-variant-numeric: tabular-nums; } .pcs-s small { grid-column: 1 / -1; color: var(--mute); font-size: 12px; }
a.pcs-s:hover { background: var(--s2); }
.pcs-h3 { margin: 18px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.pcs-k { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 8px 0; }
.pcs-k .ad { display: flex; align-items: center; gap: 8px; font-weight: 600; } .pcs-k .ad i { width: 10px; height: 10px; border-radius: 50%; }
.pcs-k .brs { grid-column: 1 / -1; display: block; height: 6px; padding: 0; border-radius: 4px; background: var(--s3); overflow: hidden; } .pcs-k .brs u { display: block; height: 100%; border-radius: 4px; }
.pcs-k small { grid-column: 1 / -1; color: var(--mute); font-size: 12px; }
.pcs-fis { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; margin-bottom: 8px; border-radius: 14px; background: var(--s2); color: inherit; text-decoration: none; }
.pcs-fis .tl { width: 40px; height: 40px; border-radius: 12px; background: var(--fg); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.pcs-fis.k { background: var(--rd-soft); } .pcs-fis.s { background: var(--warn-soft); } .pcs-fis .ur { font-size: 14px; } .pcs-fis b { font-variant-numeric: tabular-nums; }
.pcs-sat { display: grid; grid-template-columns: 22px 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pcs-sat .im { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: var(--s3); display: grid; place-items: center; font-weight: 800; } .pcs-sat .im img { width: 100%; height: 100%; object-fit: cover; }
.pcs-sat .ad b { display: block; font-size: 15px; } .pcs-sat .ad small { color: var(--mute); font-size: 12px; }
.pcs-sat .cb { display: block; height: 4px; margin-top: 4px; border-radius: 2px; background: var(--s3); overflow: hidden; } .pcs-sat .cb u { display: block; height: 100%; background: var(--acc); }
.pcs-sat .n { font-size: 22px; font-weight: 800; } .pcs-sat .no { color: var(--mute); font-weight: 700; }
.pcs-pp { display: grid; gap: 8px; margin: 10px 0; }
.pcs-git { display: flex; margin-top: 16px; }

/* yatay tek ekran: yeni içerik ölçüleri */
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  .pc-rakam { padding: 6px 12px 6px 8px; gap: 9px; border-radius: 14px; }
  .pc-rakam .pr-ik { width: 30px; height: 30px; border-radius: 10px; } .pc-rakam .pr-ik svg { width: 17px; height: 17px; }
  .pc-rakam b, .pc-rakam:first-child b { font-size: 19px; } .pc-rakam:first-child b { font-size: 22px; }
  .pc-rakam span { font-size: 11px; } .pc-rakam small { font-size: 10px; }
  .pc-rakamlar { gap: 8px; flex-wrap: nowrap; }
  .pc-ic { width: 24px; height: 24px; border-radius: 8px; } .pc-ic svg { width: 15px; height: 15px; }
  .pc-ok { width: 20px; height: 20px; margin-left: 6px; font-size: 14px; }
  .pn-paketb .pp-liste { flex: 1; overflow: hidden; align-content: start; }
  .rt { margin: 0 0 8px; } .rt li i { width: 24px; height: 24px; font-size: 12px; } .rt::before { top: 11px; }
  .dl-t b { font-size: 28px; } .dl-vs { width: 30px; height: 30px; font-size: 10px; } .dl { margin: 2px 0 8px; }
  .pod-im { width: 38px; height: 38px; } .pod-k.r1 .pod-im { width: 48px; height: 48px; }
  .pod-k.r1 .pod-blok { height: 26px; } .pod-k.r2 .pod-blok { height: 18px; } .pod-k.r3 .pod-blok { height: 12px; } .pod-n { font-size: 16px; }
}
@media (min-width: 900px) and (orientation: landscape) and (max-height: 760px) {
  .pc-rakam small { display: none; } .pod-diger { display: none; } .pp-kurye { margin-top: 6px; padding-top: 6px; }
}
@media (min-width: 900px) and (max-width: 1100px) and (orientation: landscape) and (min-height: 500px) {
  .pc-rakam small { display: none; } .pc-rakam { padding-right: 9px; } .pc-rakam .pr-ik { display: none; } .pc-rakam b, .pc-rakam:first-child b { font-size: 17px; } .pc-rakam:first-child b { font-size: 20px; }
}
.dl-ek { display: grid; gap: 6px; margin-top: 10px; }
.dl-ek span { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 10px; border-radius: 10px; background: var(--s2); color: var(--mute); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-ek b { color: var(--fg); } .dl-ek i { flex: none; width: 8px; height: 8px; border-radius: 50%; } .dl-ek i.iyi { background: var(--acc); } .dl-ek i.kotu { background: var(--warn); }
.pc-tog { height: 28px; padding: 0 10px; font-size: 12px; }
@media (min-width: 900px) and (orientation: landscape) and (max-height: 760px) { .dl-ek { display: none; } }

/* kapalı kart: yalnız özet; kalemler ve sipariş kartları ayrıntı yaprağında */
.pc-mutfak .pn-fis ul { display: none; }
.pc-mutfak .pn-fis { padding: 8px 10px; }
.pc-mutfak .pn-fis .pn-t { margin: 6px 0 0; }
.pp-ozet { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 4px; font-size: 14px; color: var(--mute); }
.pp-ozet b { font-size: 26px; line-height: 1; letter-spacing: -.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.pp-ozet span { margin-left: auto; font-size: 12px; font-weight: 700; color: #8a5a12; }
.pc-satis .pc-ok { display: none; } .pc-satis .pc-bas h2 { font-size: 15px; }
.pc-mutfak { position: relative; }
.mf-alt { display: flex; justify-content: space-between; gap: 10px; margin: auto 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; color: rgba(234, 240, 248, .7); }
.mf-alt b { color: #fff; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) and (orientation: landscape) and (max-height: 700px) { .mf-alt { display: none; } }
.dl-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1100px) and (orientation: landscape) and (min-height: 500px) {
  .dl-t b { font-size: 22px; } .dl-vs { width: 26px; height: 26px; font-size: 9px; } .dl { gap: 6px; }
  .pc-kasa .pn-bh > .mute { font-size: 11px; }
}

/* ---- Panel (tablet) — üç sütun: sol Tahsilat hızı + kanalları, orta büyük Salon (ekranın ≥ 1,7/3'ü), sağ Mutfak + Paket + Çok satılanlar */
.kn-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 2px 0 8px; min-width: 0; }
.kn-top b { font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kn-top span { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kn-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; min-width: 0; }
.kn-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; align-items: baseline; }
.kn-liste .ad { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; font-weight: 600; }
.kn-liste .ad i { flex: none; width: 8px; height: 8px; border-radius: 3px; }
.kn-liste .ad em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kn-liste b { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kn-liste u { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: var(--s3); position: relative; overflow: hidden; text-decoration: none; }
.kn-liste u::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--c); }
.kn-daha { margin: 6px 0 0; font-size: 11px; color: var(--mute); }
.kn-ritim { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); min-width: 0; }
.kn-ritim > span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }

.hz { display: grid; gap: 8px; min-width: 0; }
.hz-s { padding: 10px 12px; border-radius: 14px; background: var(--s2); min-width: 0; }
.hz-ust { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 600; min-width: 0; }
.hz-ust span { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hz-ust i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.hz-s.d .hz-ust i { background: var(--warn); }
.hz-ust small { flex: none; color: var(--mute); font-size: 11px; }
.hz-s > b { display: block; margin: 4px 0 6px; font-size: 26px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hz-bar { height: 6px; border-radius: 3px; background: var(--s3); overflow: hidden; }
.hz-bar u { display: block; height: 100%; border-radius: 3px; background: var(--acc); text-decoration: none; }
.hz-s.d .hz-bar u { background: var(--warn); }
.hz-vs { display: flex; align-items: center; gap: 8px; color: var(--dim); }
.hz-vs i { flex: 1; height: 1px; background: var(--line); }
.hz-vs em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.hz-sonuc { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--s2); font-size: 12px; font-weight: 700; text-align: center; color: var(--mute); }
.hz-sonuc.iyi { background: color-mix(in srgb, var(--acc) 14%, transparent); color: var(--acc); }
.hz-sonuc.kotu { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.hz-ek { display: grid; gap: 6px; margin-top: 8px; }
.hz-ek span { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; font-size: 11px; color: var(--mute); min-width: 0; }
.hz-ek i { width: 7px; height: 7px; border-radius: 50%; } .hz-ek i.iyi { background: var(--acc); } .hz-ek i.kotu { background: var(--warn); }
.hz-ek b { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hz-ek em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--fg); }

.sl-alt { flex: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.sl-alt h3 { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.sl-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sl-d { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--s2); color: var(--fg); text-decoration: none; border: 1px solid transparent; min-width: 0; }
.sl-d .tl { font-weight: 800; font-size: 15px; } .sl-d .mt { font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-d b { font-size: 12px; font-variant-numeric: tabular-nums; }
.sl-d.s { border-color: #E09A2B; background: #FFF7E6; } .sl-d.k { border-color: #D94841; background: #FBE9E7; }

@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  .pn { grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr) minmax(0, 1fr); column-gap: 12px; }
  .pn .pn-ust { grid-area: auto; grid-column: 1 / -1; grid-row: 1; }
  .pn .pn-hiz { grid-area: auto; grid-column: 1; grid-row: 2 / 12; margin-bottom: 12px; overflow: hidden; }
  .pn .pn-kasa { grid-area: auto; grid-column: 1; grid-row: 12 / 22; display: flex; flex-direction: column; overflow: hidden; }
  .pn .pn-salon { grid-area: auto; grid-column: 2; grid-row: 2 / 22; margin-bottom: 0; display: flex; flex-direction: column; min-height: 0; }
  .pn .pn-mutfak { grid-area: auto; grid-column: 3; grid-row: 2 / 9; margin-bottom: 12px; }
  .pn .pn-paketb { grid-area: auto; grid-column: 3; grid-row: 9 / 15; margin-bottom: 12px; overflow: hidden; }
  .pn .pn-satis { grid-area: auto; grid-column: 3; grid-row: 15 / 22; overflow: hidden; }
  .pn .pn-salon .pn-plan { flex: 1; min-height: 0; height: 100%; max-width: none; }
  .pn .pn-satis .pn-sat { display: none; }
}
@media (min-width: 900px) and (orientation: landscape) and (max-height: 760px) {
  .kn-liste { gap: 6px; } .kn-top b { font-size: 20px; } .hz-s > b { font-size: 21px; margin: 2px 0 4px; } .hz-s { padding: 7px 10px; }
  .hz-ek, .sl-alt h3 { display: none; } .sl-alt { margin-top: 6px; padding-top: 6px; }
}
@media (min-width: 900px) and (max-width: 1100px) and (orientation: landscape) {
  .kn-top { flex-wrap: wrap; } .kn-top span { display: none; } .hz-ust small { display: none; }
  .sl-d { grid-template-columns: auto minmax(0, 1fr); } .sl-d b { grid-column: 1 / -1; }
}
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  /* dar yan sütunlar: başlık satırı sarılır; ikinci satıra özet, sağda dönem düğmesi */
  .pn .pn-hiz .pn-bh, .pn .pn-kasa .pn-bh, .pn .pn-mutfak .pn-bh, .pn .pn-paketb .pn-bh, .pn .pn-satis .pn-bh { flex-wrap: wrap; gap: 2px 8px; }
  .pn .pn-hiz .pc-bas, .pn .pn-kasa .pc-bas, .pn .pn-mutfak .pc-bas, .pn .pn-paketb .pc-bas, .pn .pn-satis .pc-bas { flex: 1 0 auto; }
  .pn .pn-hiz .pc-bas h2, .pn .pn-kasa .pc-bas h2, .pn .pn-mutfak .pc-bas h2, .pn .pn-paketb .pc-bas h2, .pn .pn-satis .pc-bas h2 { overflow: visible; font-size: 15px; }
  .pn .pn-mutfak .pn-bh > .mute, .pn .pn-kasa .pn-bh > .mute { order: 3; flex: 1 0 100%; font-size: 11px; }
  .pn .pn-mutfak .pn-bh > .mute:empty, .pn .pn-kasa .pn-bh > .mute:empty { display: none; }
  .pn .pn-hiz .pc-ok, .pn .pn-kasa .pc-ok, .pn .pn-mutfak .pc-ok, .pn .pn-paketb .pc-ok { display: none; }
  .pn .pn-mutfak { grid-row: 2 / 10; } .pn .pn-paketb { grid-row: 10 / 15; } .pn .pn-satis { grid-row: 15 / 22; }
}
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  .pn .pn-hiz { grid-row: 2 / 13; } .pn .pn-kasa { grid-row: 13 / 22; } .kn-ritim { display: none; }
  .pn .pn-satis .pc-tog, .pn .pn-satis .pn-bh .chip { flex: none; width: auto; margin-left: auto; }
}
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) { .pn .hz-ek { display: none; } }
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  .pn .pn-mutfak { grid-row: 2 / 9; } .pn .pn-paketb { grid-row: 9 / 15; }
  .pn .mf-alt span:last-child { display: none; } .pn .pod-diger li:nth-child(2) { display: none; }
}
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) {
  .pn .mf-alt { display: none; }
  .pn .pp-ozet { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-size: 12px; }
  .pn .pp-ozet b { font-size: 26px; line-height: 1; } .pn .pp-ozet span { flex-basis: 100%; font-size: 11px; }
}
@media (min-width: 900px) and (max-width: 1100px) and (orientation: landscape) { .pn .rt li span { font-size: 9px; letter-spacing: -.02em; } .pn .pp-kurye { display: none; } }
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) { .pn .pp-kurye { margin-top: 4px; padding-top: 5px; } }
@media (min-width: 900px) and (max-width: 1100px) and (orientation: landscape) { .pn .kn-daha { display: none; } }

/* ---- Akıllı ekranlar (Ekranlar sayfası, kurulum sihirbazı) ---- */
.ek-k { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; cursor: pointer; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: background .2s, border-color .2s; }
.ek-k:hover { background: var(--s2); }
.ek-ik { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--fg); color: #fff; }
.ek-k .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ek-k .t b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ek-k .t small, .ek-pil { color: var(--mute); font-size: 13px; }
.ek-d { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.ek-roller { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ek-rol { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; text-align: left; cursor: pointer; background: var(--s1); border: 1.5px solid var(--line); border-radius: var(--r); transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease); }
.ek-rol:hover { transform: translateY(-2px); }
.ek-rol.on { border-color: var(--acc); background: var(--acc-soft); }
.ek-rol .ek-ik { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 4px; }
.ek-rol.on .ek-ik { background: var(--acc); }
.ek-rol b { font-size: 17px; } .ek-rol small { color: var(--mute); font-size: 13.5px; line-height: 1.35; }
.ek-kat { margin-top: 10px; }
.ek-kat-b { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.ek-hepsi { background: none; border: 0; padding: 4px 2px; cursor: pointer; color: var(--mute); font-size: 13px; text-decoration: underline; }
.ek-kat .chip small { margin-left: 6px; color: inherit; opacity: .7; }
