@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) */

/* ---- 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); }

/* ---- 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; }

/* Ekran ekle: kod kutusu dar ekranda taşmaz (yer tutucu küçük ve ortalı, yazılan kod ölçeklenir) */
.field input.ek-kod { font-size: clamp(20px, 7vw, 26px); letter-spacing: .14em; text-align: center; font-weight: 700; padding: 14px 0; }
.field input.ek-kod::placeholder { letter-spacing: .3em; font-weight: 500; }

/* paket kartı: restoranın kuryesi (ad, adım çubuğu) */
.pk-kurye { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--s2); }
.pk-kav { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: #fff; font-weight: 800; font-size: 16px; }
.pk-kad { min-width: 0; display: grid; } .pk-kad b { font-size: 15px; } .pk-kad small { font-size: 13px; color: var(--mute); }
.pk-yol { list-style: none; display: flex; gap: 5px; margin: -4px 0 0; padding: 0; }
.pk-yol 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-yol li::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--line-2); margin-bottom: 6px; }
.pk-yol li.tamam { color: var(--mute); } .pk-yol li.tamam::before { background: var(--acc); }
.pk-yol li.simdi { color: var(--fg); } .pk-yol li.simdi::before { background: var(--acc); animation: ka-nabiz 1.4s ease-in-out infinite; }

/* kurye atama ekranı */
.dlg.ka { max-width: 480px; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 14px; }
.ka-ust { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; }
.ka-ust .ka-tutar { margin-left: auto; font-weight: 700; }
.ka-alt { margin-top: 2px; }
.ka-rota { display: flex; align-items: center; gap: 6px; margin: 14px 0 12px; }
.ka-dugum { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--s2); color: var(--mute); border: 2px solid var(--line-2); font-weight: 800; font-size: 18px; transition: background .25s, color .25s, border-color .25s; }
.ka-rota.var .ka-dugum { color: var(--fg); border-color: var(--fg); } .ka-rota.var .ka-dugum.kur { background: var(--acc); border-color: var(--acc); color: #fff; }
.ka-yol { position: relative; flex: 1; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); overflow: visible; }
.ka-yol i { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--acc); opacity: 0; }
.ka-rota.var .ka-yol i { opacity: 1; animation: ka-git 1.8s var(--ease) infinite; } .ka-rota.var .ka-yol:last-of-type i { animation-delay: .9s; }
.ka-liste { display: grid; gap: 8px; margin-top: 4px; }
@media (min-width: 560px) { .ka-liste { grid-template-columns: 1fr 1fr; } }
.ka-k { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; text-align: left; padding: 12px; border-radius: 16px; border: 2px solid var(--line); background: var(--s1); cursor: pointer; min-height: 72px; transition: border-color .15s, background .15s, transform .15s var(--ease); }
.ka-k:active { transform: scale(.98); }
.ka-k.on { border-color: var(--acc); background: var(--acc-soft); }
.ka-av { grid-row: span 2; position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: #fff; font-weight: 800; font-size: 18px; }
.ka-av i { position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--s1); background: var(--acc); }
.ka-k.y1 .ka-av i { background: var(--warn); } .ka-k.y2 .ka-av i { background: var(--rd); }
.ka-ad { display: grid; min-width: 0; } .ka-ad b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ka-ad small { font-size: 13px; font-weight: 600; color: var(--acc); }
.ka-k.y1 .ka-ad small { color: #8a5a12; } .ka-k.y2 .ka-ad small { color: var(--rd); }
.ka-yer { grid-column: 2; font-size: 12.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ka-et { position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 11px; font-weight: 800; font-style: normal; letter-spacing: .05em; text-transform: uppercase; }
.ka-et.mevcut { background: var(--fg); }
.ka-adr textarea { width: 100%; border: 0; background: none; font: inherit; color: var(--fg); resize: none; padding: 12px 0; outline: 0; }
.ka .err { min-height: 0; color: var(--rd); font-size: 14px; margin-top: 8px; } .ka .err:empty { display: none; }
.ka .dlg-btns { flex-direction: column; margin-top: 14px; } .ka .dlg-btns .btn { width: 100%; }
.ka .dlg-btns .btn.ghost { height: auto; min-height: 44px; padding: 8px 12px; white-space: normal; line-height: 1.2; font-size: 14px; background: transparent; border: 1px solid var(--line-2); color: var(--mute); }
.ka-bos { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 18px 8px 6px; } .ka-bos b { font-size: 17px; }
.ka-radar { position: relative; width: 96px; height: 96px; display: grid; place-items: center; margin-bottom: 8px; color: var(--mute); }
.ka-radar span { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--s2); border: 2px solid var(--line-2); }
.ka-radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--acc); opacity: 0; animation: ka-radar 2.6s ease-out infinite; } .ka-radar i:nth-child(2) { animation-delay: .85s; } .ka-radar i:nth-child(3) { animation-delay: 1.7s; }
.ka-bitti { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 14px 0 10px; color: var(--acc); }
.ka-bitti h2, .ka-bitti p { color: var(--fg); } .ka-bitti p { color: var(--mute); }
.ka-bitti .ka-c { stroke-dasharray: 145; stroke-dashoffset: 145; animation: ka-ciz .6s ease-out forwards; } .ka-bitti .ka-t { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ka-ciz .4s .45s ease-out forwards; }
@keyframes ka-git { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes ka-radar { 0% { transform: scale(.45); opacity: .7; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes ka-ciz { to { stroke-dashoffset: 0; } }
@keyframes ka-nabiz { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ka-yol i, .ka-radar i, .pk-yol li.simdi::before { animation: none; } .ka-rota.var .ka-yol i { left: 50%; } .ka-bitti .ka-c, .ka-bitti .ka-t { animation: none; stroke-dashoffset: 0; } .ka-k { transition: none; } }
/* ara geçiş sahneleri personel uygulamasında nane vurgulu */
.view .sh { --kiremit: var(--acc); --line2: var(--line-2); }

/* ═════ ROL KABUĞU: Servis (garson) ≠ Yönetim (sahip / yönetici) ═════ */
html[data-mod="servis"] { --rol: #B8432F; --rol-koyu: #8E2F1F; --rol-soft: #F7E3DE; --bg: #FBF5EA; }
html[data-mod="yonetim"] { --rol: #112A4A; --rol-koyu: #0A1B30; --rol-soft: #E6ECF4; }
html[data-mod] body { position: relative; }
html[data-mod] #kabuk-bant { position: absolute; top: 0; left: 0; right: 0; height: calc(60px + env(safe-area-inset-top)); background: var(--rol); z-index: 3; }
html[data-mod="servis"] #kabuk-bant { background: linear-gradient(100deg, #C9573A, #8E2F1F); }
html[data-mod] #kabuk-bant[hidden], .kn[hidden], .mod-cip[hidden] { display: none; }
html[data-mod] .bar { position: relative; z-index: 4; justify-content: flex-start; }
/* telefon/dar ekran: üst çubuk kaydırınca yerinde kalır (renkli bant sabit, çubuk üstünde yapışık) */
html[data-mod] body:not(.panel-mode) #kabuk-bant { position: fixed; }
html[data-mod] body:not(.panel-mode) .app > .bar { position: sticky; top: env(safe-area-inset-top); z-index: 40; }
.sube-sec { margin: 4px 0 10px; } .sube-sec .chip { text-decoration: none; }
html[data-mod] .bar-right { margin-left: auto; }
html[data-mod] .bar .icon-btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); color: #fff; }
html[data-mod] .bar .icon-btn:hover { background: rgba(255,255,255,.24); }
html[data-mod] #teslimat-bag { display: none; }
html[data-mod="servis"] .hediye-btn, html[data-mod="servis"] #hediye-ac { display: none !important; }
.mod-cip { display: inline-flex; align-items: center; gap: 7px; margin-left: 12px; height: 30px; padding: 0 10px 0 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.13); color: #fff; font-family: inherit; font-weight: 800; font-size: 11px; line-height: 1; letter-spacing: .16em; cursor: pointer; }
.mod-cip:disabled { cursor: default; } .mod-cip i { width: 7px; height: 7px; border-radius: 50%; background: #FFC857; box-shadow: 0 0 0 3px rgba(255,200,87,.25); }
html[data-mod="yonetim"] .mod-cip i { background: #19B77C; box-shadow: 0 0 0 3px rgba(25,183,124,.3); }

html[data-mod] .bar .brand img { height: 22px; }

/* yönetim: üst sekmeler */
.kn-ust { display: flex; gap: 6px; margin: 12px 0 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.kn-ust::-webkit-scrollbar { display: none; }
.kn-ust a { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 12px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--mute); background: transparent; border: 1px solid transparent; text-decoration: none; }
.kn-ust a .ik { display: inline-grid; position: relative; } .kn-ust a svg { width: 19px; height: 19px; }
.kn-ust a:hover { background: var(--rol-soft); color: var(--rol); }
.kn-ust a.on { background: var(--rol); color: #fff; box-shadow: 0 8px 16px -10px rgba(17,42,74,.7); }
body.panel-mode .kn-ust { margin: 6px 0 0; flex: none; } body.panel-mode .kn-ust a { height: 32px; font-size: 13px; padding: 0 12px 0 10px; }
html[data-mod="yonetim"] .btn.pri { background: var(--rol); color: #fff; }
html[data-mod="yonetim"] .sect h2 { letter-spacing: -.01em; }

/* servis: alt sekmeler, sıcak ve büyük */
.kn-alt { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px 10px max(10px, env(safe-area-inset-bottom)); background: rgba(255,252,246,.96); backdrop-filter: blur(10px); border-top: 1px solid #EBDCC6; box-shadow: 0 -14px 30px -22px rgba(142,47,31,.55); }
.kn-alt a { display: grid; justify-items: center; gap: 3px; padding: 6px 0 4px; border-radius: 16px; color: #8C7D6B; text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .02em; position: relative; }
.kn-alt a .ik { position: relative; display: grid; place-items: center; width: 54px; height: 32px; border-radius: 16px; transition: background .2s; } .kn-alt a svg { width: 24px; height: 24px; }
.kn-alt a.on { color: var(--rol); } .kn-alt a.on .ik { background: var(--rol-soft); }
.kn-alt a em { position: absolute; top: -4px; right: 6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--rol); color: #fff; font: 800 11px/19px inherit; font-style: normal; text-align: center; box-shadow: 0 0 0 2px #FFFCF6; }
html[data-mod="servis"] .view { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
html[data-mod="servis"] .btn.pri { background: var(--rol); color: #fff; }
html[data-mod="servis"] .sect h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--rol); font-weight: 800; }
html[data-mod="servis"] .gorev { border-radius: 22px; border: 2px solid #EBDCC6; border-left: 9px solid var(--rol); background: #fff; }
html[data-mod="servis"] .gorev.alarm { border-left-color: var(--rd); } html[data-mod="servis"] .gorev.tahsil { border-left-color: var(--warn); }
html[data-mod="servis"] .gorev.simdi { box-shadow: 0 16px 30px -20px rgba(142,47,31,.6); }
html[data-mod="servis"] .sakin { border-radius: 22px; background: #fff; border: 2px dashed #E4D3BA; }
.sv-hero { position: relative; overflow: hidden; margin: 6px 0 16px; padding: 18px 18px 16px; border-radius: 26px; color: #fff; background: linear-gradient(150deg, #CC5A3C, #8E2F1F 85%); box-shadow: 0 22px 40px -24px rgba(142,47,31,.8); }
.sv-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,.07) 50%, transparent 0), linear-gradient(0deg, rgba(255,255,255,.07) 50%, transparent 0); background-size: 38px 38px; }
.sv-hero > * { position: relative; }
.sv-sel span { display: block; font-size: 13px; font-weight: 700; opacity: .8; } .sv-sel b { display: block; margin-top: 1px; font-size: 24px; letter-spacing: -.02em; } .sv-sel em { font-style: normal; font-size: 13px; opacity: .75; }
.sv-say { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; } .sv-say b { font-size: 68px; line-height: .86; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; } .sv-say span { font-size: 16px; font-weight: 700; }
.sv-nb { align-self: center; width: 12px; height: 12px; border-radius: 50%; background: #9BE7C8; box-shadow: 0 0 0 4px rgba(155,231,200,.3); } .sv-hero.var .sv-nb { background: #FFC857; box-shadow: 0 0 0 4px rgba(255,200,87,.3); animation: sv-nb 1.3s ease-in-out infinite; }
@keyframes sv-nb { 50% { box-shadow: 0 0 0 9px rgba(255,200,87,0); } }
.sv-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 18px; } .sv-mini div { padding: 9px 4px 8px; border-radius: 14px; background: rgba(255,255,255,.14); text-align: center; } .sv-mini div.var { background: rgba(255,255,255,.26); }
.sv-mini b { display: block; font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; } .sv-mini span { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; opacity: .85; }
.sv-lej { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 12px; } .sv-lej span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; border: 1px solid #EBDCC6; color: #6f6150; }
.sv-lej span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: #D9CDB8; } .sv-lej .dolu::before { background: var(--acc); } .sv-lej .cag::before { background: var(--warn); } .sv-lej .tah::before { background: var(--rol); }
.sv-salon { grid-template-columns: repeat(3, 1fr); gap: 10px; } .sv-salon .masa-k { min-height: 108px; border-radius: 22px; border-width: 2px; } .sv-salon .masa-k b { font-size: 34px; }
@media (prefers-reduced-motion: reduce) { .sv-hero.var .sv-nb { animation: none; } }
@media (max-width: 520px) {
  html[data-mod] .hediye-btn { width: 42px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  html[data-mod] #mode { display: none; }
  .mod-cip { margin-left: 10px; }
  .kn-ust { gap: 4px; } .kn-ust a { flex: 1 0 auto; justify-content: center; gap: 6px; padding: 0 10px 0 9px; font-size: 13px; } .kn-ust a svg { width: 18px; height: 18px; }
}
@media (max-width: 440px) {
  html[data-mod] .bar { gap: 0; } html[data-mod] .bar .brand img { height: 19px; }
  html[data-mod] .mod-cip { margin-left: 8px; height: 28px; padding: 0 7px 0 8px; gap: 5px; font-size: 10px; letter-spacing: .09em; }
  html[data-mod] .mod-cip svg { display: none; }
  html[data-mod] .bar-right { gap: 6px; } html[data-mod] .bar .icon-btn, html[data-mod] .hediye-btn { width: 38px; height: 38px; }
  .kn-ust { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 4px; }
  .kn-ust a { flex-direction: column; justify-content: center; gap: 2px; height: 52px; padding: 0; font-size: 12px; }
  body.panel-mode .kn-ust a { height: 46px; }
}
/* servis alt sekmesi: mesajlar (toast) ve sabit eylem çubuğu sekmenin ÜSTÜNDE durur */
html[data-mod="servis"] .toast { bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 40; }
html[data-mod="servis"] .eylem-cubuk { bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 31; padding-bottom: 10px; }

/* ═════ BİLDİRİMLER (toast): servis = tezgâh fişi, yönetim = konsol kartı ═════ */
#mj-yigin { position: fixed; z-index: 90; left: 0; right: 0; top: calc(env(safe-area-inset-top) + 72px); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 14px; pointer-events: none; }
body.panel-mode #mj-yigin { top: 54px; }
.mj { --c: #19B77C; pointer-events: auto; cursor: pointer; position: relative; width: min(100%, 420px); display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px 15px 12px; border-radius: 16px; color: #fff; background: rgba(14,34,64,.97); box-shadow: 0 18px 36px -16px rgba(10,27,48,.75), inset 0 0 0 1px rgba(255,255,255,.09); overflow: hidden; animation: mj-in .55s cubic-bezier(.2,1.25,.4,1) both; }
.mj-hata { --c: #FF7A6E; } .mj-uyari { --c: #FFC857; }
.mj-ik { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: rgba(255,255,255,.1); } .mj-ik svg { width: 20px; height: 20px; }
.mj-m b { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.mj-m span { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.mj-iz { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--c); transform-origin: left; animation: mj-iz var(--sure) linear forwards; }
.mj.cik { animation: mj-out .45s ease-in forwards; }
/* servis: adisyon fişi */
html[data-mod="servis"] #mj-yigin { filter: drop-shadow(0 12px 10px rgba(142,47,31,.3)); gap: 16px; }
html[data-mod="servis"] .mj { --c: #0E8F62; color: #1F1A15; background: #FFFDF7; border-radius: 3px 3px 0 0; box-shadow: none; overflow: visible; padding: 15px 16px 26px 14px; border-top: 5px solid var(--c);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  animation: mj-bas .6s steps(12, end) both; transform: rotate(-.7deg); }
html[data-mod="servis"] .mj:nth-child(even) { transform: rotate(.8deg); }
html[data-mod="servis"] .mj-hata { --c: #B8432F; } html[data-mod="servis"] .mj-uyari { --c: #B97309; }
html[data-mod="servis"] .mj-ik { width: 46px; height: 46px; border-radius: 10px; background: transparent; border: 3px solid var(--c); box-shadow: inset 0 0 0 2px #FFFDF7, inset 0 0 0 3.5px var(--c); transform: rotate(-9deg); } html[data-mod="servis"] .mj-ik svg { width: 24px; height: 24px; stroke-width: 3; }
html[data-mod="servis"] .mj-m b { letter-spacing: .24em; font-size: 12px; } html[data-mod="servis"] .mj-m span { font-size: 16px; font-weight: 700; }
html[data-mod="servis"] .mj-iz { left: 16px; right: 16px; width: auto; bottom: 14px; height: 2px; background: repeating-linear-gradient(90deg, var(--c) 0 6px, transparent 6px 11px); }
html[data-mod="servis"] .mj.cik { animation: mj-yirt .5s cubic-bezier(.5,0,.9,.5) forwards; }
@keyframes mj-in { from { opacity: 0; transform: translateY(-140%) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes mj-out { to { opacity: 0; transform: translateY(-70%) scale(.97); } }
@keyframes mj-iz { to { transform: scaleX(0); } }
@keyframes mj-bas { from { clip-path: inset(0 0 100% 0); transform: translateY(-12px) rotate(-.7deg); } to { clip-path: inset(0 0 0 0); } }
@keyframes mj-yirt { 0% { opacity: 1; } 30% { transform: translate(5px, 3px) rotate(2deg); } 100% { opacity: 0; transform: translate(70px, -46px) rotate(15deg); } }
@media (prefers-reduced-motion: reduce) { .mj, .mj.cik, html[data-mod] .mj, html[data-mod] .mj.cik { animation: none; } .mj-iz { animation: none; } }

/* gezinme iki kabukta da altta sabit; yönetim lacivert tonlu */
html[data-mod="yonetim"] .kn-alt { grid-template-columns: repeat(4, 1fr); background: rgba(247,249,252,.97); border-top-color: #D6DEE9; box-shadow: 0 -14px 30px -22px rgba(17,42,74,.55); }
html[data-mod="yonetim"] .kn-alt a { color: #6B7A8E; } html[data-mod="yonetim"] .kn-alt a.on { color: var(--rol); } html[data-mod="yonetim"] .kn-alt a em { box-shadow: 0 0 0 2px #F7F9FC; }
html[data-mod] body:not(.panel-mode) .view { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
body.panel-mode .app { padding-bottom: 72px; }
body.panel-mode .kn-alt { padding-top: 4px; } body.panel-mode .kn-alt a { padding: 2px 0; } body.panel-mode .kn-alt a .ik { height: 26px; }
html[data-mod] .toast, html[data-mod] .eylem-cubuk { }
html[data-mod="yonetim"] .eylem-cubuk { bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 31; padding-bottom: 10px; }
/* başlık düğmeleri her genişlikte tam görünür: logo ve rozet küçülebilir, düğmeler küçülmez */
html[data-mod] .bar { gap: 8px; min-width: 0; } html[data-mod] .bar .brand { flex: 0 1 auto; min-width: 0; } html[data-mod] .bar .brand img { max-width: 100%; }
html[data-mod] .bar-right { flex: none; } html[data-mod] .bar .icon-btn, html[data-mod] .hediye-btn { flex: none; }
@media (max-width: 440px) { html[data-mod] .mod-cip { margin-left: 4px; } html[data-mod] .bar .brand img { height: 18px; } }
/* üst bant yalnız yatay tabletteki sıkışık başlıkta 42 px; telefonda 60 px (düğmeler bandın dışına taşmaz) */
@media (min-width: 900px) and (orientation: landscape) and (min-height: 500px) { body.panel-mode #kabuk-bant { height: 42px; } }
/* telefonda Panel rakam kartları dengeli ızgara: ilk kart tam genişlik, kalanlar ikili */
@media (max-width: 700px) {
  .pc-rakamlar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .pc-rakamlar > :first-child, .pc-rakamlar > :last-child:nth-child(even) { grid-column: 1 / -1; }
  .pc-rakamlar > .pc-rakam { min-width: 0; }
}
/* Google ile devam et */
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 4px; font-weight: 700; }
.ya-da { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; color: var(--mute); font-size: 13px; } .ya-da::before, .ya-da::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gbtn svg { color: var(--fg); flex: none; }   /* Google "G" tek renk, uygulamanın lacivertiyle */
.gy-adim { margin: 8px 0 8px; padding-left: 20px; font-size: 14px; color: var(--fg); } .gy-adim li { margin: 3px 0; }
.fy-foto { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.fy-foto .on-izle { flex: none; width: 88px; height: 88px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: #f3efe6; border: 1px solid rgba(17,42,74,.12); }
.fy-foto .on-izle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fy-foto-d { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.fy-foto-d .btn { min-height: 44px; padding: 0 16px; }
.fy-foto-d small { font-size: 12.5px; color: var(--mute, #7A6E62); line-height: 1.35; }
.fy-foto-kaldir { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--bad, #D94841); cursor: pointer; }
.fo-liste { display: flex; flex-direction: column; gap: 8px; }
.fo-satir { display: flex; align-items: stretch; gap: 8px; }
.fo-satir.yok { align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; background: #f3efe6; opacity: .85; }
.fo-satir.yok .fo-th { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; flex: none; }
.fo-satir .t { flex: 1; min-width: 0; text-align: left; }
.fo-satir .t b { display: block; font-size: 15px; } .fo-satir .t small { display: block; font-size: 12px; color: var(--mute, #7A6E62); overflow-wrap: anywhere; }
.fo-sec { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1.5px solid rgba(17,42,74,.14); background: #fff; font: inherit; color: inherit; cursor: pointer; position: relative; }
.fo-sec .fo-th { width: 72px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: #eee; }
.fo-sec.on { border-color: #19B77C; box-shadow: 0 0 0 2px rgba(25,183,124,.25); }
.fo-tik { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(17,42,74,.25); flex: none; }
.fo-sec.on .fo-tik { background: #19B77C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4.5 4.5L19 7'/%3E%3C/svg%3E") center/70% no-repeat; border-color: #19B77C; }
.fo-diger { flex: none; width: 64px; border-radius: 14px; border: 1.5px solid rgba(17,42,74,.14); background: #f3efe6; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
/* menü sayfası: kategori çipleri tek satırda yana kayar; eylem çubuğu tek satır (liste ekranın çoğunu alır) */
.kat-cip { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-left: -16px; margin-right: -16px; padding: 6px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kat-cip::-webkit-scrollbar { display: none; }
.kat-cip .chip { flex: none; white-space: nowrap; }
.eylem-cubuk.satir { flex-direction: row; gap: 8px; align-items: stretch; }
.eylem-cubuk.satir .btn { min-height: 48px; }
.eylem-cubuk.satir .btn.pri { flex: 1.6; } .eylem-cubuk.satir .btn.sec { flex: 1; }
.rozet-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 11px; background: #F0A23B; color: #1F1A15; font-size: 12px; font-weight: 700; }

/* arama sahnesi: fotoğraf aranırken stüdyo masası (polaroid çerçeveler, vizör, deklanşör flaşı) */
.as-perde { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(17,42,74,.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: as-gir .25s ease-out; color: #fff; }
.as-perde.bitti { opacity: 0; transition: opacity .26s; }
@keyframes as-gir { from { opacity: 0; } to { opacity: 1; } }
.as-kutu { width: min(92vw, 420px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.as-sahne { position: relative; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; border-radius: 22px; background: #F4F2EC; box-shadow: 0 24px 60px -20px rgba(0,0,0,.55), inset 0 0 0 1.5px rgba(17,42,74,.12); overflow: hidden; }
.as-kare { background: #fff; padding: 7px 7px 0; border-radius: 6px; box-shadow: 0 6px 14px -6px rgba(17,42,74,.4), 0 1px 2px rgba(17,42,74,.18); transform: rotate(var(--r)); display: flex; flex-direction: column; }
.as-foto { aspect-ratio: 1; background: #E9E4D8; border-radius: 3px; overflow: hidden; display: grid; place-items: center; }
.as-foto:empty { background: linear-gradient(100deg, #E9E4D8 30%, #F5F1E8 50%, #E9E4D8 70%) 0 0 / 200% 100%; animation: as-par 1.4s linear infinite; }
@keyframes as-par { to { background-position: -200% 0; } }
.as-foto svg { width: 86%; height: 86%; }
.as-yazi { min-height: 26px; padding: 5px 2px 6px; font: italic 600 11.5px/1.15 Georgia, "Times New Roman", serif; color: #1F1A15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.as-kare.gel { animation: as-dus .55s cubic-bezier(.3,1.5,.5,1); }
.as-kare.gel .as-foto svg { animation: as-gel 1.2s ease-out both; }
.as-kare.gel .as-foto svg .buhar { animation: as-buhar 2.4s ease-in-out infinite; }
.as-kare.gel .as-yazi { animation: as-yaz .6s .45s both; }
@keyframes as-dus { 0% { transform: rotate(var(--r)) scale(.9) translateY(-8px); } 100% { transform: rotate(var(--r)) scale(1); } }
@keyframes as-gel { 0% { filter: blur(12px) grayscale(1) brightness(1.7); opacity: .2; transform: scale(.88); } 55% { filter: blur(3px) grayscale(.5) brightness(1.2); opacity: .9; } 100% { filter: none; opacity: 1; transform: none; } }
@keyframes as-yaz { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes as-buhar { 0%, 100% { opacity: .2; transform: translateY(2px); } 50% { opacity: .9; transform: translateY(-3px); } }
.as-vizor { position: absolute; left: 0; top: 0; width: var(--w, 90px); aspect-ratio: 1; transform: translate(calc(var(--x, 50%) - 50%), calc(var(--y, 50%) - 50%)); transition: transform .65s cubic-bezier(.2,.85,.2,1), width .3s; pointer-events: none; }
.as-vizor i { position: absolute; width: 18px; height: 18px; border: 0 solid #19B77C; }
.as-vizor i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; border-top-left-radius: 5px; } .as-vizor i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; border-top-right-radius: 5px; }
.as-vizor i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 5px; } .as-vizor i:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 5px; }
.as-vizor b { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #19B77C; animation: as-odak 1s ease-in-out infinite; }
@keyframes as-odak { 0%, 100% { transform: scale(.6); opacity: .6; } 50% { transform: scale(1.6); opacity: 1; } }
.as-flas { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.as-flas.at { animation: as-flas .38s ease-out; }
@keyframes as-flas { 0% { opacity: .8; } 100% { opacity: 0; } }
.as-baslik { margin: 6px 0 0; font: 800 24px/1.1 "Host Grotesk", system-ui, sans-serif; letter-spacing: -.01em; }
.as-alt { margin: 0; min-height: 22px; font-size: 15px; opacity: .85; overflow-wrap: anywhere; }
.as-kaynak { display: flex; gap: 8px; }
.as-kaynak span { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.12); color: rgba(255,255,255,.75); transition: background .3s, color .3s; }
.as-kaynak span.on { background: #19B77C; color: #fff; }
.as-perde .as-vazgec { margin-top: 6px; min-height: 44px; padding: 0 22px; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .as-perde, .as-foto:empty, .as-kare.gel, .as-kare.gel .as-foto svg, .as-kare.gel .as-foto svg .buhar, .as-kare.gel .as-yazi, .as-vizor b, .as-flas.at { animation: none; } .as-vizor { transition: none; } }

/* fotoğraf stüdyosu: tam ekran fotoğraf seçici */
body.fs-acik { overflow: hidden; }
.fs-perde { position: fixed; inset: 0; z-index: 60; background: #0C1E36; color: #fff; overflow-y: auto; overscroll-behavior: contain; animation: as-gir .22s ease-out; padding: env(safe-area-inset-top) 0 0; }
.fs-perde.bitti { opacity: 0; transition: opacity .22s; }
.fs-kutu { width: 100%; max-width: 560px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 0 16px; }
.fs-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; }
.fs-kapat { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.fs-kapat svg { width: 20px; height: 20px; }
.fs-sira { font-size: 14px; opacity: .8; } .fs-sira b { font-size: 18px; opacity: 1; }
.fs-bitir { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 0; background: #19B77C; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.fs-bitir:disabled { opacity: .6; }
.fs-ad { display: flex; align-items: center; gap: 8px; }
.fs-ad h2 { flex: 1; margin: 0; text-align: center; font: 800 24px/1.1 "Host Grotesk", system-ui, sans-serif; letter-spacing: -.01em; overflow-wrap: anywhere; }
.fs-ok-i { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 8px; border-radius: 50%; background: #19B77C; font-size: 14px; font-style: normal; vertical-align: 3px; }
.fs-gez { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 24px; cursor: pointer; flex: none; }
.fs-gez:disabled { opacity: .25; cursor: default; }
.fs-sahne { position: relative; border-radius: 22px; overflow: hidden; background: #08162A; box-shadow: 0 20px 50px -22px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08); }
.fs-seridi { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; -webkit-overflow-scrolling: touch; }
.fs-seridi::-webkit-scrollbar { display: none; }
.fs-slayt { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; position: relative; }
.fs-slayt img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.fs-slayt.bos, .fs-slayt.yuk { display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; text-align: center; color: rgba(255,255,255,.8); }
.fs-slayt.bos .fs-harf { width: 84px; height: 84px; border-radius: 20px; overflow: hidden; display: block; } .fs-slayt.bos p { margin: 4px 0 0; font-size: 16px; } .fs-slayt.bos small { opacity: .65; }
.fs-par { width: 100%; height: 100%; position: absolute; inset: 0; background: linear-gradient(100deg, #0F2440 30%, #1B3A63 50%, #0F2440 70%) 0 0 / 200% 100%; animation: as-par 1.3s linear infinite; }
.fs-slayt.yuk p { position: relative; z-index: 1; margin: 0; font-weight: 600; }
.fs-yon { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(8,22,42,.55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; backdrop-filter: blur(4px); }
.fs-yon.sol { left: 10px; } .fs-yon.sag { right: 10px; }
@media (hover: none) { .fs-yon { display: none; } }
.fs-bilgi { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 28px 14px 10px; background: linear-gradient(to top, rgba(8,22,42,.85), transparent); font-size: 12px; pointer-events: none; }
.fs-say { font-weight: 700; font-size: 13px; white-space: nowrap; } .fs-kredi { text-align: right; opacity: .85; overflow-wrap: anywhere; }
.fs-damga { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(25,183,124,.0); pointer-events: none; opacity: 0; }
.fs-damga svg { width: 96px; height: 96px; padding: 22px; border-radius: 50%; background: #19B77C; stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.fs-sahne.damga .fs-damga { animation: fs-damga .62s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes fs-damga { 0% { opacity: 0; transform: scale(.4) rotate(-14deg); background: rgba(25,183,124,.0); } 35% { opacity: 1; transform: scale(1.08) rotate(0); background: rgba(25,183,124,.28); } 100% { opacity: 0; transform: scale(1); background: rgba(25,183,124,.0); } }
.fs-film { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; }
.fs-film::-webkit-scrollbar { display: none; }
.fs-kare { flex: none; width: 68px; height: 52px; padding: 0; border-radius: 10px; border: 2px solid transparent; overflow: hidden; background: #08162A; cursor: pointer; opacity: .6; position: relative; transition: opacity .15s, transform .15s; }
.fs-kare img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-kare.on { opacity: 1; border-color: #fff; transform: translateY(-2px); }
.fs-kare.sec { border-color: #19B77C; opacity: 1; }
.fs-kare.sec::after { content: "✓"; position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #19B77C; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.fs-ara { display: flex; flex-direction: column; gap: 10px; }
.fs-girdi { display: flex; gap: 8px; }
.fs-girdi input { flex: 1; min-width: 0; min-height: 48px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; padding: 0 14px; font: inherit; font-size: 16px; }
.fs-girdi input::placeholder { color: rgba(255,255,255,.45); }
.fs-girdi input:focus { outline: 2px solid #19B77C; outline-offset: 1px; }
.fs-git { min-height: 48px; padding: 0 22px; }
.fs-dil { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.07); }
.fs-dil button { min-height: 40px; border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,.75); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fs-dil button.on { background: #fff; color: #0C1E36; }
.fs-oner { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 6px; }
.fs-terim, .fs-daha { min-height: 36px; padding: 0 14px; border-radius: 18px; border: 1.5px dashed rgba(255,255,255,.35); background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.fs-terim { border-color: rgba(240,162,59,.7); color: #F6C37A; }
.fs-not { font-size: 13px; color: #F6C37A; }
.fs-tepsi { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px; scrollbar-width: none; }
.fs-tp { flex: none; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 2px solid #19B77C; overflow: hidden; background: #08162A; cursor: pointer; }
.fs-tp.on { box-shadow: 0 0 0 3px rgba(255,255,255,.7); }
.fs-tp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-alt { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 14px 0 max(14px, env(safe-area-inset-bottom)); margin-top: auto; background: linear-gradient(to top, #0C1E36 70%, transparent); }
.fs-alt .btn { min-height: 52px; font-size: 16px; }
.fs-perde .btn.sec { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); box-shadow: none; }
.fs-perde .btn.pri.secili { background: #19B77C; }
.fs-perde .btn:disabled { opacity: .45; }
.fs-kayit { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(8,22,42,.9); animation: as-gir .2s; }
.fs-kayit-i { width: min(86vw, 340px); text-align: center; display: flex; flex-direction: column; gap: 10px; }
.fs-kayit-i b { font: 800 22px/1.15 "Host Grotesk", system-ui, sans-serif; } .fs-ksay { opacity: .8; font-variant-numeric: tabular-nums; }
.fs-cubuk { height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; } .fs-cubuk i { display: block; height: 100%; width: 0; background: #19B77C; transition: width .3s; }
@media (min-width: 700px) { .fs-seridi { aspect-ratio: 16 / 10; } .fs-kare { width: 84px; height: 62px; } }
@media (prefers-reduced-motion: reduce) { .fs-perde, .fs-sahne.damga .fs-damga, .fs-par, .fs-kayit { animation: none; } .fs-seridi { scroll-behavior: auto; } }
.fs-girdi .btn.fs-git { width: auto; flex: none; }
.fs-girdi input { flex: 1 1 auto; }
.fs-perde .btn.pri { background: #19B77C; color: #fff; border-color: #19B77C; box-shadow: none; }
.fs-perde .btn.pri:disabled { background: rgba(255,255,255,.14); border-color: transparent; }

/* fotoğraf yuvası: bantlı polaroid önizleme + çek / galeri / internette ara */
.fy-foto2 { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.fy-polaroid { position: relative; flex: none; width: 104px; padding: 7px 7px 0; background: #fff; border-radius: 4px; box-shadow: 0 8px 18px -8px rgba(17,42,74,.45), 0 1px 3px rgba(17,42,74,.18); transform: rotate(-3.5deg); transition: transform .25s; }
.fy-polaroid.dolu { transform: rotate(2.5deg); }
.fy-polaroid .on-izle { display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: #EFE9DC; }
.fy-polaroid .on-izle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fy-polaroid .on-izle .harf-k { width: 100%; height: 100%; opacity: .9; }
.fy-pyazi { display: block; padding: 5px 0 7px; text-align: center; font: italic 600 11px/1 Georgia, "Times New Roman", serif; color: #7A6E62; }
.fy-bant { position: absolute; left: 50%; top: -9px; width: 46px; height: 16px; margin-left: -23px; transform: rotate(-4deg); background: rgba(240,162,59,.55); border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.fy-dock { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.fy-dk { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line-2, rgba(17,42,74,.16)); background: var(--s1, #fff); color: inherit; font: inherit; cursor: pointer; text-align: left; transition: transform .12s, border-color .15s, background .15s; }
.fy-dk:active { transform: scale(.98); }
.fy-dk svg { width: 22px; height: 22px; flex: none; }
.fy-dk b { font-size: 15px; font-weight: 650; } .fy-dk small { display: block; font-size: 12px; color: var(--mute, #7A6E62); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.fy-dk.web { min-height: 54px; border-color: #19B77C; background: color-mix(in srgb, #19B77C 9%, var(--s1, #fff)); }
.fy-dk.web svg { color: #0B6B48; }
.fy-dk:disabled { opacity: .55; }
.fy-kaldir { align-self: flex-start; background: none; border: 0; padding: 2px 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--bad, #D94841); cursor: pointer; }
.fs-perde.tek { z-index: 80; }
.fs-perde.tek .fs-gez, .fs-perde.tek .fs-atla, .fs-perde.tek .fs-tepsi { display: none; }
.fs-perde.tek .fs-alt { grid-template-columns: 1fr; }

/* adisyon taşı · birleştir · böl */
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: var(--s2, #F3ECE0); margin-bottom: 10px; }
.seg2 button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.seg2 button.on { background: var(--s1, #fff); box-shadow: 0 1px 3px rgba(17,42,74,.18); }
.seg2 button:disabled { opacity: .45; cursor: default; }
.ts-satir { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid transparent; background: var(--s2, #F3ECE0); margin-bottom: 6px; }
.ts-satir.on { border-color: #19B77C; background: color-mix(in srgb, #19B77C 10%, var(--s1, #fff)); }
.ts-ad { min-width: 0; font-weight: 600; font-size: 15px; } .ts-ad small { display: block; font-weight: 500; font-size: 12px; color: var(--mute, #7A6E62); }
.ts-adet { display: flex; align-items: center; gap: 8px; flex: none; } .ts-adet b { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.ts-adet button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-2, rgba(17,42,74,.2)); background: var(--s1, #fff); font-size: 20px; line-height: 1; cursor: pointer; color: inherit; }
.ts-ozet { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--fg2, #4A4038); min-height: 20px; }

/* rezervasyon */
.rz-cip { margin: 4px 0 12px; } .rz-cip .chip small { opacity: .6; margin-left: 2px; }
.rz-liste { display: flex; flex-direction: column; gap: 10px; }
.rz { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: start; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line, rgba(17,42,74,.12)); background: var(--s1, #fff); }
.rz.bekliyor { border-color: #F0A23B; background: color-mix(in srgb, #F0A23B 7%, var(--s1, #fff)); }
.rz.gelmedi, .rz.iptal { opacity: .6; }
.rz-saat { text-align: center; min-width: 56px; } .rz-saat b { display: block; font: 800 24px/1 "Host Grotesk", system-ui, sans-serif; font-variant-numeric: tabular-nums; } .rz-saat small { font-size: 12px; color: var(--mute, #7A6E62); }
.rz-t { min-width: 0; } .rz-t b { display: block; font-size: 16px; } .rz-t span { display: block; font-size: 13.5px; color: var(--mute, #7A6E62); } .rz-t em { display: block; font-size: 13px; font-style: normal; margin-top: 2px; }
.rz-tel { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--acc, #0B6B48); text-decoration: none; }
.rz-islem { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; } .rz-islem .btn { min-height: 42px; padding: 0 16px; width: auto; flex: 1 1 auto; }
.rz-baglanti { display: flex; gap: 8px; margin-top: 10px; } .rz-baglanti input { flex: 1; min-width: 0; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2, rgba(17,42,74,.16)); background: var(--s2, #F3ECE0); padding: 0 12px; font: inherit; font-size: 13px; color: inherit; } .rz-baglanti .btn { width: auto; flex: none; min-height: 44px; }

/* kampanya */
.kp-liste { display: flex; flex-direction: column; gap: 10px; }
.kp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1.5px solid var(--line, rgba(17,42,74,.12)); background: var(--s1, #fff); }
.kp.pasif { opacity: .6; }
.kp-ac { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.kp-ac b { display: block; font-size: 16px; } .kp-ac span { display: block; margin-top: 2px; font-size: 13px; color: var(--mute, #7A6E62); line-height: 1.35; }
.kp-cift { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .kp-cift input { flex: 1; min-width: 0; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line-2, rgba(17,42,74,.16)); background: var(--s1, #fff); padding: 0 12px; font: inherit; font-size: 16px; color: inherit; }

/* sadakat */
.sd-ist { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* şubeler */
.sb-toplam { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 14px; }
.sb-toplam > div { padding: 12px; border-radius: 16px; background: var(--s2, #F3ECE0); text-align: center; } .sb-toplam span { display: block; font-size: 12px; color: var(--mute, #7A6E62); } .sb-toplam b { display: block; margin-top: 2px; font-size: 17px; font-variant-numeric: tabular-nums; }
.sb-liste { display: flex; flex-direction: column; gap: 12px; }
.sb { padding: 14px; border-radius: 20px; border: 1.5px solid var(--line, rgba(17,42,74,.12)); background: var(--s1, #fff); }
.sb-ust { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; } .sb-ust b { font-size: 17px; } .sb-ust span { display: block; font-size: 13px; color: var(--mute, #7A6E62); } .sb-tutar { font: 800 22px/1.1 "Host Grotesk", system-ui, sans-serif !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-bar { height: 8px; border-radius: 4px; background: var(--s2, #F3ECE0); margin: 10px 0; overflow: hidden; } .sb-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #19B77C, #0B6B48); }
.sb-alt { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--fg2, #4A4038); } .sb-cihaz.on { color: #0B6B48; font-weight: 700; } .sb-cihaz.kismi { color: #8F5610; font-weight: 700; } .sb-cihaz.off { color: #D94841; font-weight: 700; }
.sb-islem { display: flex; gap: 8px; margin-top: 12px; } .sb-islem .btn { min-height: 44px; flex: 1; width: auto; }

/* İade ve denetim (yonet-iade.js) */
.ia-donem { margin: 4px 0 12px; } .ia-liste { display: flex; flex-direction: column; gap: 8px; }
.ia-sat { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; border: 1.5px solid var(--line, rgba(17,42,74,.12)); background: var(--s1, #fff); }
.ia-sat .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ia-sat .t small { font-size: 13px; color: var(--mute); overflow-wrap: anywhere; }
.ia-b { flex: 0 0 auto; min-height: 44px; padding: 0 16px; } .ia-ist { margin-bottom: 8px; }
.ia-sat .dur { flex: 0 0 auto; font-style: normal; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(25,183,124,.14); color: #0d7a52; } .ia-sat .dur.bk { background: rgba(240,162,59,.18); color: #8a5a10; } .ia-sat .dur.hata { background: rgba(217,72,65,.14); color: #a3231d; }
/* Gün sonu (yonet-gunsonu.js) */
.gs-saat { display: flex; align-items: flex-end; gap: 4px; height: 110px; padding: 10px 12px 6px; border-radius: 16px; border: 1.5px solid var(--line, rgba(17,42,74,.12)); background: var(--s1, #fff); overflow-x: auto; }
.gs-s { flex: 1 0 18px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; } .gs-s i { width: 100%; max-width: 26px; border-radius: 6px 6px 2px 2px; background: #19B77C; display: block; } .gs-s b { font-size: 11px; color: var(--mute); font-weight: 600; }
/* Besin değeri alanları (ürün yaprağı) */
.besin-satir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .besin-satir .field { min-width: 0; } .besin-satir input { min-width: 0; width: 100%; }
/* Kullanım sayacı (yonet-kullanim.js) */
.ku-cubuk { height: 12px; border-radius: 6px; background: var(--s2, #F3ECE0); overflow: hidden; margin: 4px 0 2px; } .ku-cubuk i { display: block; height: 100%; background: #19B77C; border-radius: 6px; transition: width .4s; }
.ku-cizili { margin-left: 6px; font-size: .78em; font-weight: 500; color: var(--mute, #6B7480); text-decoration-thickness: 2px; text-decoration-color: #C4572B; }
.ku-ciro { margin: 14px 0 4px; } .ku-ciro-s { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--mute); } .ku-ciro-s b { color: var(--ink, #112A4A); font-variant-numeric: tabular-nums; }
.ku-serit { position: relative; height: 22px; margin-top: 6px; border-radius: 6px; background: #112A4A; } .ku-serit i { position: absolute; right: 0; top: 0; bottom: 0; background: #19B77C; border-radius: 0 6px 6px 0; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #19B77C; } .ku-ciro p { margin: 8px 0 0; font-size: 14px; }

/* özet kutucukları (İade, Gün sonu, Stok, Kullanım): telefonda iki sütun, geniş ekranda sığdığı kadar */
.kvs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.kvs .kv { padding: 12px 14px; border-radius: 14px; background: var(--s2, #F3ECE0); border: 1.5px solid var(--line, #E7DFD0); min-width: 0; }
.kvs .kv b { overflow-wrap: anywhere; }

/* bağlantı bandı: satır içi display:flex [hidden] özniteliğini yeniyordu; bant gizliyken bile üst çubuğun üstünde boş bir lacivert şerit kalıyordu */
#bag-bant[hidden] { display: none !important; }

/* üst çubuk şube seçici */
.sube-cip { display: inline-flex; align-items: center; gap: 6px; max-width: 34vw; min-height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: #fff; font-family: inherit; font-weight: 700; font-size: 12px; line-height: 1; cursor: pointer; margin-left: 8px; } .sube-cip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sube-cip[hidden] { display: none; }

/* ---- şube şeridi: üst çubuğun altında yapışık; renkli bant ikisini birlikte taşır, altı asılı bayrak gibi yuvarlak */
html[data-mod] body:not(.panel-mode) #kabuk-bant { height: calc(100px + env(safe-area-inset-top)); border-radius: 0 0 24px 24px; box-shadow: 0 10px 26px -14px rgba(10, 20, 40, .55); }
html[data-mod] body:not(.panel-mode) .app > .bar { margin-bottom: 0; }
#sube-seridi { position: sticky; top: calc(env(safe-area-inset-top) + 56px); z-index: 39; height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; }
#sube-seridi[hidden] { display: none; }
#sube-seridi .ss-sube { all: unset; box-sizing: border-box; flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 10px; border-radius: 12px; background: rgba(255, 255, 255, .13); cursor: pointer; }
#sube-seridi .ss-sube:disabled { cursor: default; background: rgba(255, 255, 255, .08); }
#sube-seridi .ss-sube small { font-family: inherit; font-weight: 800; font-size: 9.5px; line-height: 1; letter-spacing: .16em; opacity: .7; }
#sube-seridi .ss-sube b { flex: 1; min-width: 0; font-family: inherit; font-weight: 750; font-size: 15px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
#sube-seridi .ss-sube:focus-visible, #sube-seridi .ss-mod:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#sube-seridi .ss-mod { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 12px; color: #fff; text-decoration: none; font-family: inherit; font-weight: 800; font-size: 11px; line-height: 1; letter-spacing: .1em; background: rgba(0, 0, 0, .2); }
#sube-seridi .ss-mod i { width: 7px; height: 7px; border-radius: 50%; background: #FFC857; box-shadow: 0 0 0 3px rgba(255, 200, 87, .3); }
html[data-mod="yonetim"] #sube-seridi .ss-mod i { background: #19B77C; box-shadow: 0 0 0 3px rgba(25, 183, 124, .3); }
body.panel-mode #sube-seridi { display: none; }
@media (max-width: 380px) { #sube-seridi .ss-sube small { display: none; } }
/* Hesap > çalışma ekranı seçimi */
.ekran-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ek-sec { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line, #E7DFD0); background: var(--s1, #fff); }
.ek-sec b { font-size: 17px; } .ek-sec small { color: var(--mute, #7A6E62); font-size: 12.5px; line-height: 1.3; }
.ek-sec.on { border-color: var(--rol, #112A4A); box-shadow: 0 0 0 3px var(--rol-soft, rgba(17, 42, 74, .12)); }
.ek-sec:focus-visible { outline: 3px solid var(--rol, #112A4A); outline-offset: 2px; }

/* ---- masa atölyesi ve alan grupları */
.ma-ekle { flex-direction: column; gap: 2px; margin: 4px 0 12px; } .ma-ekle small { font-weight: 500; opacity: .75; font-size: 12.5px; }
.ma-alan-b { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; }
.ma-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ma-say { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ma-say input { width: 72px; min-height: 48px; text-align: center; font-size: 20px; font-weight: 700; border-radius: 14px; border: 1.5px solid var(--line-2, #D8CDB9); background: var(--s1, #fff); }
.ma-b { all: unset; box-sizing: border-box; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; border: 1.5px solid var(--line-2, #D8CDB9); font-size: 24px; font-weight: 700; cursor: pointer; background: var(--s1, #fff); }
.ma-b:active { transform: scale(.94); } .ma-b:focus-visible { outline: 3px solid var(--rol, #112A4A); outline-offset: 2px; }
.ma-hizli { display: inline-flex; gap: 6px; margin-left: 4px; }
.ma-onizle { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; max-height: 220px; overflow: auto; padding: 10px; border-radius: 16px; background: var(--s2, #F3ECE0); border: 1.5px solid var(--line, #E7DFD0); }
.ma-onizle.izgara { grid-template-columns: repeat(var(--ma-kol, 6), minmax(0, 1fr)); }
.ma-m { display: grid; place-items: center; height: 38px; border-radius: 10px; background: var(--s1, #fff); border: 1.5px solid var(--rol, #112A4A); font-weight: 750; font-size: 14px; animation: maGir .25s ease both; }
.ma-m.var { opacity: .4; border-style: dashed; text-decoration: line-through; } .ma-m.bozuk { border-color: #B3261E; color: #B3261E; }
@keyframes maGir { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ma-m { animation: none; } }

/* şube seçimi üst şeritte tek yerde: sayfa içindeki yinelenen şube çipleri (tablet Panel düzeni hariç) gizlenir */
body:not(.panel-mode) .pn-bas .pn-chips, body:not(.panel-mode) .hero > .pn-chips, .sube-sec { display: none; }
.ma-ekle .ma-ust { display: inline-flex; align-items: center; gap: 8px; }

/* ---- cihaz kurulum hattı */
.kur-grup { margin-top: 16px; } .kur-gb { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.kur-gt { all: unset; cursor: pointer; font: 700 12.5px/1 inherit; color: var(--acc); padding: 8px 4px; } .kur-gt:focus-visible { outline: 2px solid var(--acc); border-radius: 6px; }
.chip.kur-t:not(.on) { background: var(--s2); color: var(--mute); box-shadow: inset 0 0 0 1.5px var(--line); }
.chip.kur-dolu { display: inline-flex; align-items: center; gap: 6px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--dim); cursor: default; } .chip.kur-dolu small { color: #19B77C; font-size: 14px; }
.kur-devam { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-s); background: var(--warn-soft, #FFF3DD); } .kur-devam .btn { width: auto; flex: none; }
.kur-wifi summary { cursor: pointer; display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; } .kur-wifi summary .mute { font-size: 13px; }
.kur-hat { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; } .kur-hat::-webkit-scrollbar { display: none; }
.kur-n { flex: none; min-width: 44px; height: 38px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; padding: 0 12px; border-radius: 12px; background: var(--s3); color: var(--mute); font: 700 15px/1 inherit; }
.kur-n.done { background: #19B77C; color: #fff; } .kur-n.done::after { content: " ✓"; margin-left: 4px; }
.kur-n.now { background: var(--fg); color: var(--bg); box-shadow: 0 0 0 3px var(--acc-soft, rgba(25, 183, 124, .25)); }
.kur-adimlar { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.kur-adimlar li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.kur-adimlar p { margin: 4px 0 10px; color: var(--mute); font-size: 15px; line-height: 1.4; }
.kur-no { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--bg); font: 800 15px/1 inherit; }
.kur-kopya { width: 100%; justify-content: center; gap: 8px; } .kur-ipucu { color: var(--acc); font-weight: 700; font-size: 14px; text-decoration: none; }
.kur-kucuk { font-size: 13px !important; margin: 10px 0 0 !important; }
.kur-kod { display: flex; gap: 8px; margin-top: 10px; } .kur-kod input { flex: 1; min-width: 0; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); padding: 0 14px; font: 700 17px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; } .kur-kod input::placeholder { letter-spacing: 0; text-transform: none; font: 500 14px system-ui; color: var(--dim); } .kur-kod .btn { width: auto; flex: none; padding: 0 18px; }
.kur-alt { padding-top: 14px; } .kur-canli { margin-top: 12px; }

.kur-wifi { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; } .kur-wifi .btn { width: auto; flex: none; padding: 0 18px; }
.kur-gonder { display: flex; width: 100%; justify-content: center; gap: 8px; text-decoration: none; } .kur-kopya2 { all: unset; cursor: pointer; display: inline-block; margin-top: 10px; }

.kur-bekle { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--s2); color: var(--fg); font-size: 14px; margin: 4px 0 8px; } .kur-bekle .nokta { margin-top: 6px; flex: none; animation: kur-nabiz 1.6s ease-in-out infinite; }
@keyframes kur-nabiz { 50% { box-shadow: 0 0 0 6px rgba(25, 183, 124, 0); } } @media (prefers-reduced-motion: reduce) { .kur-bekle .nokta { animation: none; } }

/* Cihaz Wi-Fi'ı: kart düğmesi satırı daraltmasın; cihazların bulduğu ağlar */
.ayar-k > .btn { width: auto; flex: none; padding: 0 18px; }
.kur-ag { display: flex; flex-direction: column; gap: 6px; max-height: 210px; overflow-y: auto; }
.kur-agb { appearance: none; border: 1px solid var(--line); background: var(--s1); border-radius: 14px; padding: 10px 14px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.kur-agb b { font-size: 15px; overflow-wrap: anywhere; } .kur-agb i { font-style: normal; font-size: 12px; color: var(--mute); flex: none; }
.kur-agb.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }

/* Panel kartları: başlıklar eşit boyda, dönem düğmesi (Bugün ⇄) dar telefonda satıra bölünmez */
.pn-b.pc .pc-bas h2 { font-size: 17px; line-height: 1.2; }
.pc-tog { flex: none; white-space: nowrap; display: inline-flex; align-items: center; }

/* Hotspot kurulum şeridi (cihazlar ağa alınmayı bekliyor) */
.kur-hot { border-color: var(--acc); background: linear-gradient(135deg, #F0FAF5 0%, var(--s1) 60%); padding: 16px; margin-bottom: 14px; }
.kur-hot b { font-size: 17px; } .kur-hot p { margin: 8px 0 0; font-size: 14px; line-height: 1.4; } .kur-hot .mute { font-size: 13px; }
.kur-hot-n { margin-top: 4px; font-size: 14px; color: var(--mute); } .kur-hot-n span { font-size: 22px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.kur-hot.tamam { border-color: var(--line); background: var(--s1); } .kur-hot.tamam p { display: none; }

/* Masa yaprağı: cihaz QR tarama önizlemesi */
.fy-cam { width: 100%; max-height: 220px; margin-top: 10px; border-radius: 14px; background: #000; object-fit: cover; }

/* İşletme grubu sayfası */
.grup-m, .grup-link { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; text-decoration: none; color: inherit; } .grup-m b, .grup-link b { font-size: 16px; }
.grup-c { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; } .grup-c-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .grup-c-t b { font-size: 15px; }
.grup-c .btn { width: auto; flex: none; padding: 0 18px; height: 44px; }
.grup-konum { font-size: 13px; font-weight: 700; color: var(--mute); } .grup-konum.var { color: var(--acc); }

/* Kurulum hattı: adım içeriği kutudan taşmasın (düğme ve kod satırı dar telefonda sığar) */
.kur-adimlar li > div { flex: 1 1 0; min-width: 0; }
.kur-kod .btn { width: auto; flex: none; padding: 0 16px; }

/* Hotspot kurulum şeridi: ağsız cihazları getir */
.kur-getir { margin-top: 12px; } .kur-getir .btn { width: 100%; } .kur-getir p { margin: 8px 0 0; font-size: 13px; }

/* Yönetim sayfası: gruplar, arama, dikkat şeridi */
.ara-satir { margin: 14px 0 6px; } .ara-satir input { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--s1); padding: 0 16px; font: inherit; font-size: 16px; color: var(--fg); }
.mk-dikkat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 12px; border-radius: 16px; background: var(--rd-soft, #FDEDEA); } .mk-dikkat > b { font-size: 13px; color: var(--rd, #C0392B); margin-right: 2px; }
.mk-dikkat .chip.uy { height: auto; min-height: 34px; padding: 4px 12px; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.15; } .mk-dikkat .chip.uy small { font-size: 11px; opacity: .75; }
.mk-grup { margin-top: 14px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.mk-grup > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 60px; }
.mk-grup > summary::-webkit-details-marker { display: none; }
.mk-grup > summary .ik { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--s3); } .mk-grup > summary .ik svg { width: 20px; height: 20px; }
.mk-grup > summary b { flex: 1; font-size: 16px; }
.mk-g-n { font-size: 12px; font-weight: 700; color: var(--mute); background: var(--s3); border-radius: 999px; padding: 2px 9px; font-variant-numeric: tabular-nums; }
.mk-g-uy { width: 9px; height: 9px; border-radius: 50%; background: var(--rd, #C0392B); box-shadow: 0 0 0 3px var(--rd-soft, #FDEDEA); }
.mk-g-ok { flex: none; width: 22px; height: 22px; display: grid; place-items: center; color: var(--mute); transition: transform .2s var(--ease); } .mk-g-ok svg { width: 16px; height: 16px; }
.mk-grup[open] > summary .mk-g-ok { transform: rotate(90deg); }
.mk-grup > .kapilar, .mk-grup > .mk-ayarlar { margin: 0; padding: 0 12px 12px; }
.mk-grup > .mk-ayarlar { display: flex; flex-direction: column; gap: 10px; }
.mk-grup .kapi-k { box-shadow: none; background: var(--bg); }
.mk-grup .ayar-k { box-shadow: none; background: var(--bg); }
.mk-bos { text-align: center; margin-top: 18px; }
.mk-fazla { align-items: center; justify-content: center; text-align: center; } .mk-fazla b { font-size: 22px; }
.gy-nasil { margin: 8px 0; } .gy-nasil > summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--acc); padding: 6px 0; }
/* Geri bağlantısı: düğme değil, başlığın üstünde küçük kırıntı */
.kirinti { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 8px 0 0; margin: -4px 0 -6px; font-size: 14px; font-weight: 600; color: var(--mute); text-decoration: none; }
.kirinti svg { width: 18px; height: 18px; flex: none; } .kirinti:active { color: var(--fg); }

/* Gruplardaki kapılar daha sıkı: sayfa kısa kalsın */
.mk-grup .kapilar { gap: 8px; } .mk-grup .kapi-k { min-height: 78px; padding: 12px; border-radius: 14px; } .mk-grup .kapi-k b { font-size: 15px; }
.mk-grup .kapi-k .alt { font-size: 12px; line-height: 1.3; }
.kur-hot .kur-nasil { margin: 8px 0 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Yapılacaklar şeridi: kurulum sırası ilk çip (yeşil), uyarılar kırmızı */
.mk-dikkat { background: var(--s2, #EEF1F5); } .mk-dikkat > b { color: var(--mute); }
.mk-dikkat .chip.sira { background: var(--acc-soft, #E3F6EE); color: #0f7a52; height: auto; min-height: 34px; padding: 4px 12px; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.15; } .mk-dikkat .chip.sira small { font-size: 11px; opacity: .8; }

/* Uzun alt sayfalar: katlanan bölümler, kısa listeler */
.sg-gruplar { display: flex; flex-direction: column; gap: 0; } .sg-grup { margin-top: 12px; }
.sg-grup > summary { min-height: 56px; } .sg-govde { padding: 0 12px 12px; }
.sg-govde .sect { display: none; }
.sg-govde .ia-liste.kisa:not(.acik):not(.aramada) > .ia-sat:nth-child(n+7) { display: none; }
.sg-govde .sg-daha { margin-top: 8px; width: 100%; }
.sg-govde .ia-liste.aramada + .sg-daha { display: none; }
.sg-govde .eylem-cubuk { position: static; margin-top: 10px; }

/* Liste satırlarındaki küçük düğme satırın tamamını almasın (Stok/Personel satırları dikey uzuyordu) */
.ia-sat .ia-b, .ia-sat .btn.ia-b { width: auto; }
