/* Nuki Mağaza — tasarım sistemi v2 (docs/tasarim). Krem zemin, beyaz kartlar, altın/bal vurgu, siyah yan menü.
   Dokunmatik kasa (1920×1080) önceliklidir: dokunma hedefi ≥ 48 px, hover'a bağlı işlev yok. */
:root {
    --bg: #f6f2ea;
    --bg-2: #efe8db;
    --surface: #ffffff;
    --surface-2: #fbf8f2;
    --surface-3: #f3ede2;
    --border: #ebe4d7;
    --border-strong: #dcd2c0;
    --ink: #121212;
    --ink-2: #1d1d1f;
    --ink-3: #2b2b2e;
    --text: #17161a;
    --text-2: #4b4740;
    --muted: #8c857a;
    --gold-1: #f6d28e;
    --gold-2: #eab558;
    --gold-3: #c98f2a;
    --gold-ink: #5b3d06;
    --gold-soft: #fbefd6;
    --gold-soft-2: #fdf6e8;
    --gold-grad: linear-gradient(135deg, #f8dba0 0%, #f6d28e 30%, #eab558 100%);
    --gold-grad-soft: linear-gradient(135deg, #fdf3df 0%, #f9e4bb 100%);
    --green: #1f4a3a;
    --success: #1c7a43; --success-bg: #e5f4ea; --success-line: #c7e6d2;
    --warning: #b4650a; --warning-bg: #fdf1dd; --warning-line: #f4d7a6;
    --danger: #c7352b;  --danger-bg: #fdeae7;  --danger-line: #f6c9c3;
    --info: #2d5bc4;    --info-bg: #eaf0fc;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 18px;
    --shadow: 0 1px 2px rgba(60, 44, 20, .04), 0 4px 14px rgba(60, 44, 20, .05);
    --shadow-md: 0 2px 4px rgba(60, 44, 20, .05), 0 10px 28px rgba(60, 44, 20, .08);
    --shadow-lg: 0 18px 50px rgba(30, 22, 10, .18), 0 4px 12px rgba(30, 22, 10, .08);
    --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --touch: 48px;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 15px/1.5 var(--font); font-feature-settings: "tnum" 1, "lnum" 1; font-variant-numeric: tabular-nums; }
a { color: var(--ink); text-decoration: none; font-weight: 700; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; margin: 0; line-height: 1.15; }
h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
h2 .ti { color: var(--gold-3); font-size: 21px; }
h3 { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.ti { font-size: 19px; line-height: 1; vertical-align: -3px; }
::selection { background: var(--gold-1); color: var(--ink); }
button { font-family: var(--font); touch-action: manipulation; }

/* ---------- Kabuk ---------- */
.app { display: grid; grid-template-columns: 258px minmax(0, 1fr); min-height: 100vh; }
.side { background: #0e0e0f; color: #c9c6bf; padding: 24px 14px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }
.side .logo { padding: 2px 12px 18px; }
.side .logo img { height: 30px; display: block; }
.side .store { display: flex; gap: 12px; align-items: center; padding: 0 12px 18px; margin-bottom: 6px; border-bottom: 1px solid #26252a; color: #a9a59d; font-size: 12.5px; line-height: 1.35; }
.side .store .ti { font-size: 22px; color: #fff; }
.side .store b { color: #fff; font-weight: 700; display: block; font-size: 14px; }
.side .group { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #77736b; padding: 16px 14px 8px; }
.side .sep { height: 1px; background: #26252a; margin: 10px 8px 2px; }
.side a { color: #e6e3dc; display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 0 14px; margin-bottom: 2px; border-radius: 12px; font-size: 15px; font-weight: 600; transition: background .15s, color .15s; text-decoration: none; }
.side a .ti { font-size: 22px; color: #d9d5cc; flex: none; }
.side a:hover { background: #1c1c1f; color: #fff; text-decoration: none; }
.side a.on { background: var(--gold-grad); color: #1a1408; font-weight: 800; box-shadow: 0 6px 18px rgba(234, 181, 88, .22); }
.side a.on .ti { color: #1a1408; }
.side a .count { margin-left: auto; background: #2c2b30; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.side a.on .count { background: rgba(26, 20, 8, .85); color: var(--gold-1); }
.side .sub { margin: 0 0 4px 26px; padding-left: 12px; border-left: 1px solid #2c2b30; }
.side .sub a { min-height: 42px; font-size: 14px; font-weight: 500; color: #bdb9b0; }
.side .sub a .ti { font-size: 19px; }
.side .me { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 16px 8px 4px; border-top: 1px solid #26252a; }
.side .me .av { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.side .me .who { flex: 1; min-width: 0; line-height: 1.3; }
.side .me .who b { color: #fff; font-size: 14.5px; font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side .me .who span { font-size: 12.5px; color: #8f8b83; }
.side .me form { margin: 0; }
.side .me button { all: unset; cursor: pointer; color: #c9c6bf; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.side .me button .ti { font-size: 22px; }
.side .me button:hover { color: #fff; background: #1c1c1f; }

.content { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 32px; background: rgba(246, 242, 234, .9); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.topbar .crumb { color: var(--text-2); font-size: 14px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.topbar .crumb a { color: var(--text-2); display: grid; place-items: center; }
.topbar .crumb .ti { font-size: 20px; }
.topbar .crumb .ti-chevron-right { font-size: 15px; color: var(--muted); }
.topbar .crumb b { color: var(--text); font-weight: 800; }
.topbar .meta { display: flex; align-items: center; gap: 22px; color: var(--text-2); font-size: 14px; font-weight: 500; }
.topbar .meta .net { color: var(--success); font-weight: 600; display: inline-flex; align-items: center; }
.topbar .meta .net.off { color: var(--danger); }
.topbar .meta .vr { width: 1px; height: 22px; background: var(--border-strong); }
.topbar .meta .clock { font-weight: 800; color: var(--text); font-size: 16px; }
.main { padding: 22px 32px 40px; min-width: 0; }

/* Sayfa başlığı: ikon karosu + başlık + açıklama */
.head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.head > div:first-child { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; min-width: 0; }
.head > div:first-child > :not(.ph-ic) { grid-column: 2; }
.head > div:first-child > .ph-ic { grid-row: 1 / span 3; }
.head h1 + p, .head p { margin: 4px 0 0; color: var(--muted); font-size: 16px; font-weight: 500; }
.head .row { flex-wrap: wrap; }
.ph-ic { width: 66px; height: 66px; border-radius: 18px; background: var(--gold-grad-soft); color: #8a5a12; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px rgba(234, 181, 88, .25); }
.ph-ic .ti { font-size: 32px; }

/* ---------- Bileşenler ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 20px 22px; box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; }
.card.flush table.t th:first-child, .card.flush table.t td:first-child { padding-left: 22px; }
.card.flush table.t th:last-child, .card.flush table.t td:last-child { padding-right: 22px; }
.card.soft { background: var(--surface-2); }
.card.gold { background: var(--gold-grad-soft); border-color: #f1dcb2; }
.card.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h2 { margin: 0; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ic-tile { width: 46px; height: 46px; border-radius: 14px; background: var(--gold-soft); color: #8a5a12; display: grid; place-items: center; flex: none; }
.ic-tile .ti { font-size: 24px; }
.ic-tile.lg { width: 56px; height: 56px; border-radius: 16px; }
.ic-tile.lg .ti { font-size: 28px; }
.ic-tile.dark { background: #262629; color: var(--gold-1); }
.ic-tile.green { background: var(--success-bg); color: var(--success); }

/* Gösterge kartı: ikon, etiket, büyük değer, düne göre değişim */
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 18px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; min-width: 0; }
.stat .l { color: var(--text); font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.stat .l .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: #8a5a12; display: grid; place-items: center; flex: none; }
.stat .l .ic .ti { font-size: 22px; }
.stat .n { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-top: 10px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .n small { font-size: 16px; font-weight: 700; color: var(--muted); margin-left: 2px; }
.stat .d { margin-top: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.stat.dark { background: linear-gradient(160deg, #1c1c1e 0%, #0b0b0c 100%); border-color: #0b0b0c; color: #fff; box-shadow: var(--shadow-md); }
.stat.dark .l { color: #e9e6df; }
.stat.dark .d { color: #a8a49b; }
.stat.dark .l .ic { background: #2a2a2d; color: var(--gold-1); }
.stat.warm::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 160px; height: 120px; background: radial-gradient(closest-side, rgba(246, 210, 142, .45), transparent); }
.stat .ex { position: absolute; right: 14px; top: 14px; bottom: 14px; width: 88px; border-radius: 14px; background: var(--gold-grad-soft); display: grid; place-items: center; color: #b07a1c; }
.stat .ex .ti { font-size: 44px; }
.delta { font-weight: 800; font-size: 14px; margin-right: 8px; display: inline-flex; align-items: center; gap: 3px; }
.delta::before { content: ""; border-left: 6px solid transparent; border-right: 6px solid transparent; }
.delta.up { color: var(--success); }
.delta.up::before { border-bottom: 9px solid currentColor; }
.delta.down { color: var(--danger); }
.delta.down::before { border-top: 9px solid currentColor; }
.stat.dark .delta.up { color: #4fd28a; }
.stat.dark .delta.down { color: #ff8f84; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--touch); height: var(--touch); padding: 0 18px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: var(--radius); font: 700 15px/1 var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .06s, box-shadow .15s; text-decoration: none !important; user-select: none; }
.btn .ti { font-size: 20px; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(234, 181, 88, .45); }
.btn.pri, .btn.gold { background: var(--gold-grad); border-color: #e3ad55; color: #241804; box-shadow: 0 4px 14px rgba(234, 181, 88, .28); }
.btn.pri:hover, .btn.gold:hover { filter: brightness(1.03); background: var(--gold-grad); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--ink-3); }
.btn.danger { color: var(--danger); border-color: var(--danger-line); background: #fff; }
.btn.danger:hover { background: var(--danger-bg); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface-3); }
.btn.sm { min-height: 40px; height: 40px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn.lg { min-height: 58px; height: 58px; padding: 0 24px; font-size: 17px; border-radius: 14px; }
.btn.icon { width: var(--touch); padding: 0; }
.btn.sm.icon { width: 40px; }
.btn.sel { background: var(--gold-grad-soft); border-color: var(--gold-2); color: #3a2706; box-shadow: inset 0 0 0 1px var(--gold-2); }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn.block { width: 100%; }

/* Form */
input, select, textarea { font: 600 15px var(--font); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 0 14px; height: var(--touch); background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s; font-variant-numeric: tabular-nums; }
textarea { padding: 12px 14px; height: auto; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
input[type=checkbox], input[type=radio] { width: 22px; height: 22px; accent-color: var(--gold-3); padding: 0; flex: none; }
input[type=file] { padding: 10px 12px; height: auto; }
input[type=color] { padding: 4px; width: 60px; }
input::placeholder, textarea::placeholder { color: #aaa293; font-weight: 500; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(234, 181, 88, .2); }
input[readonly] { background: var(--surface-2); }
label { display: block; font-size: 14px; font-weight: 700; color: var(--text-2); margin-bottom: 7px; }
.field { margin-bottom: 16px; }
.row { display: flex; gap: 10px; align-items: center; }
.row > * { min-width: 0; }
.check { display: flex; gap: 12px; align-items: center; color: var(--text); font-size: 15px; font-weight: 600; margin-bottom: 10px; min-height: 40px; cursor: pointer; }
.check input { width: 22px; flex: none; }
.inp-ic { position: relative; }
.inp-ic > .ti { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-2); font-size: 21px; pointer-events: none; }
.inp-ic input, .inp-ic select { padding-left: 46px; }
[data-numpad] { cursor: pointer; }

/* Tablo */
table.t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
table.t th { text-align: left; font-weight: 800; color: var(--text); font-size: 14.5px; padding: 14px 12px; background: var(--surface-3); white-space: nowrap; }
table.t th:first-child { border-radius: 12px 0 0 12px; }
table.t th:last-child { border-radius: 0 12px 12px 0; }
.card.flush table.t th { border-radius: 0; }
table.t td { padding: 14px 12px; border-bottom: 1px solid #f0ebe1; vertical-align: middle; }
table.t tr:last-child td { border-bottom: none; }
table.t tr:hover td { background: #fdfbf7; }
table.t .r { text-align: right; white-space: nowrap; }
table.t .c { text-align: center; }
table.t td .ti { color: var(--text-2); }
.tbl-ic { display: inline-flex; align-items: center; gap: 10px; }
.code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: var(--muted); }

.mut { color: var(--muted); }
.small { font-size: 13.5px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 20px; background: var(--surface-3); color: var(--text-2); white-space: nowrap; line-height: 1.3; border: 1px solid transparent; }
.pill .ti { font-size: 15px; color: inherit !important; }
.pill.ok { background: var(--success-bg); color: var(--success); border-color: var(--success-line); }
.pill.warn { background: var(--warning-bg); color: var(--warning); border-color: var(--warning-line); }
.pill.bad { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-line); }
.pill.info { background: var(--info-bg); color: var(--info); }
.pill.gold { background: var(--gold-soft); color: #7a4f0b; border-color: #f2d9a8; }
.pill.dark { background: var(--ink); color: #fff; }
.flash { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; background: var(--success-bg); color: var(--success); font-weight: 700; border: 1px solid var(--success-line); }
.flash .ti { font-size: 22px; }
.flash.err { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-line); }
.flash.warn { background: var(--warning-bg); color: var(--warning); border-color: var(--warning-line); }

/* Bölüm seçici (segment) */
.tabs, .seg-l { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-bottom: 18px; background: var(--surface-3); padding: 5px; border-radius: 14px; }
.tabs .btn, .seg-l .btn { height: 44px; min-height: 44px; border-color: transparent; background: transparent; font-size: 15px; border-radius: 11px; color: var(--text-2); box-shadow: none; }
.tabs .btn:hover, .seg-l .btn:hover { background: rgba(255, 255, 255, .6); }
.tabs .btn.sel, .seg-l .btn.sel { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 3px 10px rgba(60, 44, 20, .08); }
.tabs .btn.pri { background: var(--gold-grad); color: #241804; }
.seg-l.full { display: flex; }
.seg-l.full .btn { flex: 1; }

/* Sayfalama */
.pager { display: flex; gap: 8px; margin-top: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pager .pages { display: flex; gap: 6px; align-items: center; }
.pager .pages a, .pager .pages span.cur, .pager .pages span.gap { min-width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: var(--text-2); padding: 0 6px; }
.pager .pages a { border: 1px solid transparent; }
.pager .pages a:hover { background: var(--surface-3); text-decoration: none; }
.pager .pages a.nav { border-color: var(--border-strong); background: #fff; }
.pager .pages span.cur { background: var(--gold-grad-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold-2); }
.card.flush .pager { padding: 6px 22px 18px; }

.empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.empty .ti { font-size: 40px; display: grid; place-items: center; margin: 0 auto 14px; color: #b89a64; width: 76px; height: 76px; border-radius: 22px; background: var(--gold-soft-2); }
.empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.hidden { display: none !important; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gold-soft); color: #6b470b; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22a55b; margin-right: 8px; box-shadow: 0 0 0 3px rgba(34, 165, 91, .15); }
.dot.off { background: var(--danger); box-shadow: 0 0 0 3px rgba(199, 53, 43, .15); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0; font-size: 15px; margin: 0; }
.kv dt, .kv dd { padding: 10px 0; border-bottom: 1px solid #f0ebe1; }
.kv dt { color: var(--text-2); font-weight: 500; }
.kv dd { margin: 0; font-weight: 800; text-align: right; }
.kv dt:last-of-type, .kv dd:last-of-type { border-bottom: none; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0ebe1; min-height: 52px; }
.list-row:last-child { border-bottom: none; }
.bar-track { height: 8px; background: var(--surface-3); border-radius: 8px; overflow: hidden; margin-top: 7px; }
.bar-track span { display: block; height: 100%; background: var(--gold-grad); border-radius: 8px; }
.chart-box { position: relative; height: 260px; }
.upload { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-xl); background: var(--surface); }
.upload .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); color: #8a5a12; display: grid; place-items: center; flex: none; }
.upload .ic .ti { font-size: 26px; }
details > summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; gap: 8px; font-weight: 700; }
details > summary::-webkit-details-marker { display: none; }
hr { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

/* Ayarlar: ikonlu gruplar */
.set-sec { margin-bottom: 18px; }
.set-sec > .card-head .ic-tile { margin-right: 4px; }
.set-sec .card-head h2 { font-size: 18px; }
.set-sec .card-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.set-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.set-nav a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-weight: 700; font-size: 14px; color: var(--text-2); }
.set-nav a .ti { color: var(--gold-3); }

/* ---------- Pencere ---------- */
.modal { position: fixed; inset: 0; background: rgba(20, 16, 10, .45); backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center; padding-top: 7vh; z-index: 50; }
.modal .box { background: #fff; border-radius: 22px; padding: 24px 26px; width: min(720px, 94vw); max-height: 84vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal .box h2 { font-size: 20px; }
.modal .box .mclose { float: right; }

/* ---------- Ekran numaratörü (numpad.js) ---------- */
.np-wrap { position: fixed; inset: 0; z-index: 90; background: rgba(20, 16, 10, .35); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; }
.np { width: 420px; max-width: 96vw; background: #fff; border-radius: 26px; padding: 20px; box-shadow: var(--shadow-lg); user-select: none; }
.np .np-title { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 16px; color: var(--text-2); margin-bottom: 10px; }
.np .np-title button { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--muted); }
.np .np-title button .ti { font-size: 24px; }
.np .np-disp { height: 72px; border-radius: 16px; background: var(--surface-3); display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 0 20px; font-size: 34px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; overflow: hidden; white-space: nowrap; }
.np .np-disp .pre { color: var(--muted); font-weight: 700; margin-right: auto; font-size: 26px; }
.np .np-disp .ph { color: #c2b9a8; }
.np .np-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--surface-3); padding: 5px; border-radius: 14px; margin-bottom: 12px; }
.np .np-mode button { height: 48px; border: none; border-radius: 11px; background: transparent; font: 800 18px var(--font); color: var(--text-2); cursor: pointer; }
.np .np-mode button.sel { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(60, 44, 20, .12); }
.np .np-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.np .np-keys button { height: 72px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); font: 800 28px var(--font); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.np .np-keys button:active { background: var(--gold-soft); transform: scale(.97); }
.np .np-keys button .ti { font-size: 28px; }
.np .np-keys button.fn { background: var(--surface-3); font-size: 18px; color: var(--text-2); }
.np .np-act { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 12px; }
.np .np-act button { height: 64px; border-radius: 16px; font: 800 19px var(--font); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.np .np-act .clr { background: #fff; border: 1px solid var(--border-strong); color: var(--text-2); }
.np .np-act .ok { background: var(--gold-grad); border: 1px solid #e3ad55; color: #241804; box-shadow: 0 6px 18px rgba(234, 181, 88, .35); }
.np .np-act .ti { font-size: 24px; }
.np .np-quick { display: flex; gap: 8px; margin-bottom: 12px; }
.np .np-quick button { flex: 1; height: 48px; border-radius: 12px; border: 1px solid var(--border-strong); background: #fff; font: 800 16px var(--font); cursor: pointer; }

/* ---------- Kasa (kasa.webp) ---------- */
.main.pos-main { padding: 18px 24px 18px; }
.pos { display: grid; grid-template-columns: minmax(0, 1fr) 520px; grid-template-rows: auto minmax(0, 1fr); gap: 16px 18px; height: calc(100vh - 56px - 36px); }
.pos .kpis { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr 1.15fr; gap: 16px; }
.pos .kpi { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 84px; }
.pos .kpi .ic-tile { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-3); color: var(--ink); }
.pos .kpi .ic-tile .ti { font-size: 26px; }
.pos .kpi .l { font-size: 14px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.pos .kpi .n { font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; display: flex; align-items: baseline; gap: 10px; }
.pos .kpi .n .delta { font-size: 14px; }
.pos .kpi.dark { background: linear-gradient(160deg, #222224 0%, #0b0b0c 100%); border-color: #0b0b0c; color: #fff; }
.pos .kpi.dark .l { color: #d9d5cc; }
.pos .kpi.dark .ic-tile { background: #2c2b2f; color: var(--gold-1); }
.pos .kpi.dark .delta.up { color: #4fd28a; }
.pos .left { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.pos .scanbar { display: flex; gap: 12px; }
.pos .scanwrap { position: relative; flex: 1; }
.pos .scanwrap > .ti { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--text-2); }
.pos .scan { height: 58px; font-size: 18px; font-weight: 600; padding-left: 58px; border-radius: 14px; border: 1.5px solid #b9ae9a; background: #fff; }
.pos .scanbar .btn { height: 58px; min-width: 58px; border-radius: 14px; padding: 0 16px; }
.pos .scanbar .btn .ti { font-size: 24px; }
.pos .pricewarn { display: flex; align-items: center; gap: 16px; background: linear-gradient(90deg, #fdf0d6, #fdf6e8); border: 1px solid #f3d9a4; border-radius: 14px; padding: 8px 10px 8px 18px; min-height: 58px; }
.pos .pricewarn > .ti { font-size: 28px; color: #e59a12; }
.pos .pricewarn b { color: #c2410c; font-size: 17px; white-space: nowrap; }
.pos .pricewarn .txt { flex: 1; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos .pricewarn .txt .new { color: #c2410c; font-weight: 700; }
.pos .pricewarn .btn { background: transparent; border-color: #8a6a35; }
.pos .cart { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; }
.pos .lines { flex: 1; overflow: auto; padding: 0 14px; overscroll-behavior: contain; }
.pos .line { display: grid; grid-template-columns: 68px minmax(0, 1fr) 118px 132px 150px 116px 50px; gap: 12px; align-items: center; padding: 8px 6px; border-bottom: 1px solid #f0ebe1; min-height: 72px; }
.pos .line.headrow { position: sticky; top: 0; background: #fff; z-index: 2; min-height: 48px; padding: 12px 6px 8px; font-size: 14px; font-weight: 800; color: var(--text); }
.pos .line.headrow span { text-align: center; }
.pos .line.headrow span:nth-child(2) { text-align: left; }
.pos .line.headrow span:nth-child(6) { text-align: right; }
.pos .line.pending { background: linear-gradient(90deg, #fdf3e3, #fef9f0); border-radius: 12px; }
.pos .line.ret { background: var(--warning-bg); border-radius: 12px; }
.pos .line .thumb { width: 64px; height: 56px; border-radius: 12px; background: var(--surface-3); display: grid; place-items: center; color: #6b5a3e; }
.pos .line .thumb .ti { font-size: 30px; }
.pos .line .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.pos .line .thumb.free { background: var(--gold-soft); color: #9a6a16; }
.pos .line .nm { font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.pos .line .nm .ti-refresh { color: #e8742a; font-size: 18px; }
.pos .line .meta { color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos .line .meta i { font-style: normal; color: #c9bfae; margin: 0 6px; }
.pos .line .unit { text-align: right; font-weight: 800; font-size: 16px; line-height: 1.2; }
.pos .line .unit s, .pos .line .amt s { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.pos .line .unit small { display: block; color: #c2410c; font-size: 12px; font-weight: 700; }
.pos .stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border-strong); border-radius: 12px; height: 48px; background: #fff; }
.pos .stepper button { all: unset; cursor: pointer; width: 44px; height: 46px; display: grid; place-items: center; color: var(--ink); }
.pos .stepper button .ti { font-size: 20px; }
.pos .stepper button:active { background: var(--surface-3); border-radius: 10px; }
.pos .stepper span { font-weight: 800; font-size: 18px; min-width: 30px; text-align: center; cursor: pointer; }
.pos .chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 22px; font-weight: 800; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; background: none; font-family: var(--font); max-width: 100%; }
.pos .chip.disc { background: var(--success-bg); color: var(--success); border-color: var(--success-line); }
.pos .chip.camp { background: var(--gold-soft); color: #8a4c06; border-color: #f2d6a0; }
.pos .chip.free { background: var(--success-bg); color: var(--success); }
.pos .chip.add { border: 1.5px dashed var(--border-strong); color: var(--muted); font-weight: 700; }
.pos .chip.bedava { border: 1.5px solid var(--border-strong); color: var(--text-2); background: #fff; }
.pos .chip.bedava.sel { background: var(--success-bg); color: var(--success); border-color: var(--success-line); }
.pos .chip.ret { background: var(--warning-bg); color: var(--warning); border-color: var(--warning-line); }
.pos .line .disc-cell { display: flex; justify-content: center; }
.pos .line .amt { text-align: right; font-weight: 800; font-size: 17px; line-height: 1.2; }
.pos .line .trash { all: unset; cursor: pointer; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: var(--text); }
.pos .line .trash .ti { font-size: 24px; }
.pos .line .trash:active { background: var(--danger-bg); color: var(--danger); }
.pos .line.gift { grid-template-columns: 68px minmax(0, 1fr) 150px 116px 50px; min-height: 58px; background: var(--surface-2); border-radius: 12px; margin: 0 0 4px 74px; padding: 6px 10px 6px 6px; border-bottom: none; }
.pos .line.gift .thumb { width: 52px; height: 42px; }
.pos .line.gift .thumb .ti { font-size: 22px; }
.pos .line.gift .nm { font-size: 14px; }
.pos .line.gift .meta { font-size: 12px; }
.pos .cart-foot { display: flex; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--border); background: #fff; align-items: center; }
.pos .camp-sel { flex: 0 0 300px; display: flex; align-items: center; gap: 12px; height: 56px; border: 1px solid var(--border); border-radius: 14px; padding: 0 14px 0 8px; box-shadow: var(--shadow); font-weight: 800; position: relative; }
.pos .camp-sel select { position: absolute; inset: 0; opacity: 0; cursor: pointer; height: 100%; }
.pos .camp-sel .ti-chevron-down { margin-left: auto; }
.pos .camp-sel .ic-tile, .pos .gdisc .ic-tile { width: 40px; height: 40px; border-radius: 50%; }
.pos .camp-sel .ic-tile .ti, .pos .gdisc .ic-tile .ti { font-size: 21px; }
.pos .gdisc { flex: 1; display: flex; align-items: center; gap: 10px; height: 56px; border: 1px solid var(--border); border-radius: 14px; padding: 0 8px; box-shadow: var(--shadow); font-weight: 800; }
.pos .gdisc .lbl { margin-right: auto; white-space: nowrap; }
.pos .gdisc .btn { height: 42px; min-height: 42px; min-width: 62px; padding: 0 12px; border-radius: 11px; font-size: 15px; }
.pos .gdisc .btn.sel { background: var(--green); border-color: var(--green); color: #fff; box-shadow: none; }
.pos .quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pos .quick .btn { height: 62px; border-radius: 14px; border-color: var(--border); box-shadow: var(--shadow); font-size: 15.5px; justify-content: center; gap: 12px; line-height: 1.2; }
.pos .quick .btn .ti { font-size: 24px; }
.pos .quick .btn span small { display: block; font-weight: 600; font-size: 14px; color: var(--text-2); }
.pos .quick .btn span { text-align: left; }
.pos .right { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 2px; }
.pos .custcard { padding: 14px 16px; }
.pos .custcard .found { display: flex; align-items: center; gap: 14px; }
.pos .custcard .found .ic-tile { width: 54px; height: 54px; border-radius: 50%; background: var(--surface-3); color: var(--ink); }
.pos .custcard .found .ic-tile .ti { font-size: 30px; }
.pos .custcard .who { flex: 1; min-width: 0; }
.pos .custcard .who b { display: block; font-size: 18px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; }
.pos .custcard .who span { color: var(--text-2); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.pos .custcard .yr { border-left: 1px solid var(--border-strong); padding-left: 18px; }
.pos .custcard .yr span { display: block; font-size: 13.5px; color: var(--text-2); font-weight: 600; }
.pos .custcard .yr b { font-size: 21px; font-weight: 800; white-space: nowrap; }
.pos .custcard .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pos .custcard .tags .pill { padding: 4px 10px; font-size: 12.5px; }
.pos .custcard .tools { display: flex; gap: 8px; margin-top: 10px; }
.pos .custcard .tools .btn { flex: 1; }
.pos .paycard { background: linear-gradient(170deg, #1b1b1d 0%, #0d0d0e 100%); border-color: #0d0d0e; color: #fff; border-radius: 22px; padding: 18px 18px 16px; box-shadow: var(--shadow-md); }
.pos .paycard label, .pos .paycard .lbl { color: #e2ded6; font-size: 14px; font-weight: 600; margin: 12px 0 6px; display: block; }
.pos .sum-rows { font-size: 16px; }
.pos .sum-rows div { display: flex; justify-content: space-between; padding: 3px 4px; color: #eceae4; }
.pos .sum-rows div b { font-weight: 700; }
.pos .sum-rows div.g b, .pos .sum-rows div.g span em { color: #5fd38f; font-style: normal; }
.pos .sum-rows div.r b { color: #ff9e93; }
.pos .due { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px solid #2e2e32; margin-top: 10px; padding-top: 12px; }
.pos .due .lbl2 { font-size: 16px; font-weight: 600; color: #eceae4; }
.pos .total { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; }
.pos .savebadge { background: linear-gradient(160deg, #1f7a45, #15603a); border-radius: 14px; padding: 8px 14px; display: flex; gap: 10px; align-items: center; color: #fff; font-size: 13.5px; line-height: 1.25; }
.pos .savebadge .ti { font-size: 24px; }
.pos .savebadge b { display: block; font-size: 17px; }
.pos .seg { display: grid; gap: 4px; background: #2a2a2d; padding: 4px; border-radius: 14px; }
.pos .seg.two { grid-template-columns: 1fr 1fr; }
.pos .seg.four { grid-template-columns: repeat(4, 1fr); }
.pos .seg .btn { background: transparent; border: none; color: #e0ddd5; height: 50px; min-height: 50px; border-radius: 11px; font-size: 16px; box-shadow: none; padding: 0 8px; }
.pos .seg .btn .ti { font-size: 22px; }
.pos .seg .btn:hover { background: #333336; }
.pos .seg .btn.sel { background: #fff; color: var(--ink); }
.pos .seg.slim .btn { height: 40px; min-height: 40px; font-size: 14.5px; }
.pos .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pos .opts .btn, .pos .banks .btn { height: 54px; min-height: 54px; background: #2a2a2d; border: 1px solid #39393d; color: #f1eee8; font-size: 16px; border-radius: 12px; position: relative; }
.pos .opts .btn.sel, .pos .banks .btn.sel { background: #fdf3df; color: var(--ink); border: 2px solid var(--gold-2); box-shadow: none; }
.pos .opts .btn.sel::after, .pos .banks .btn.sel::after { content: ""; position: absolute; right: 6px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center no-repeat; }
.pos .banks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pos .banks .btn { background: #fff; color: var(--ink); border-color: #fff; font-weight: 800; padding: 0 6px; font-size: 15px; }
.pos .paycard input, .pos .paycard select { background: #232326; border-color: #3a3a3e; color: #fff; height: 52px; font-size: 18px; }
.pos .paycard input:focus { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(234, 181, 88, .25); }
.pos .paycard .info { color: #bdb9b0; font-size: 13px; margin-top: 8px; }
.pos .paycard .extras { display: flex; gap: 8px; margin-top: 12px; }
.pos .paycard .extras .btn { flex: 1; height: 46px; min-height: 46px; background: transparent; border: 1px dashed #4a4a4f; color: #e0ddd5; font-size: 14.5px; }
.pos .paycard .extras .btn.sel { border: 1px solid var(--gold-2); color: var(--gold-1); background: rgba(234, 181, 88, .08); box-shadow: none; }
.pos .eftiban { background: #232326; border-radius: 12px; padding: 12px 14px; }
.pos .eftiban b { font-size: 18px; letter-spacing: .5px; display: block; }
.pos .paycard .check { color: #fff; }
.pos .earn { display: flex; align-items: center; gap: 16px; background: var(--gold-grad); color: #241804; border-radius: 16px; padding: 12px 16px; margin-top: 14px; }
.pos .earn .coin { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe7a8, #e3a63c 60%, #b97c1c); display: grid; place-items: center; color: #7a4f0b; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 4px 10px rgba(120, 80, 10, .3); flex: none; }
.pos .earn .coin .ti { font-size: 30px; }
.pos .earn .tx { border-left: 1px solid rgba(80, 50, 6, .25); padding-left: 16px; }
.pos .earn b { font-size: 21px; font-weight: 800; display: block; line-height: 1.2; }
.pos .earn span { font-size: 15px; font-weight: 600; }
.pos .finish { width: 100%; height: 64px; margin-top: 14px; background: var(--gold-grad); color: #241804; border: none; font-size: 20px; font-weight: 800; border-radius: 16px; box-shadow: 0 8px 22px rgba(234, 181, 88, .3); }
.pos .finish .ti { font-size: 26px; }
.pos .finish:hover { filter: brightness(1.03); background: var(--gold-grad); }
.pos .msg { margin-top: 10px; font-size: 14px; font-weight: 700; min-height: 20px; }
.pos .reg { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; font-weight: 700; z-index: 95; box-shadow: var(--shadow-lg); max-width: 80vw; }

/* ---------- Satışlar (satislar.webp) ---------- */
.filterbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1.8fr auto; gap: 16px; align-items: end; }
.filterbar label { margin-bottom: 6px; padding-left: 4px; }
.filterbar .dates { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.filterbar .btn { height: 52px; padding: 0 26px; }
.filterbar input { height: 52px; }
.side-stats .card { padding: 18px 20px; }
.side-stats .big-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14.5px; }
.side-stats .big-row b { font-size: 19px; font-weight: 800; }
.side-stats .pct { background: var(--gold-soft); color: #6b470b; font-weight: 800; font-size: 17px; padding: 6px 14px; border-radius: 12px; }
.side-stats .bigv { font-size: 24px; font-weight: 800; }

/* ---------- Hediye kartı (hediye-karti.webp) ---------- */
.gc-visual { aspect-ratio: 1.6; max-width: 440px; margin: 10px auto 18px; border-radius: 22px; background: linear-gradient(140deg, #fbf3e3 0%, #f3e0bb 55%, #e9cd96 100%); position: relative; overflow: hidden; box-shadow: 0 24px 40px rgba(120, 85, 25, .22), inset 0 0 0 1px rgba(255, 255, 255, .6); transform: rotate(-3deg); }
.gc-visual img { position: absolute; left: 10%; top: 40%; height: 13%; filter: brightness(0); }
.gc-visual .gc-t { position: absolute; right: 9%; bottom: 22%; font-style: italic; font-size: 24px; color: #6d5126; font-weight: 500; }
.gc-visual .gc-amt { position: absolute; left: 10%; bottom: 14%; font-size: 22px; font-weight: 800; color: #3b2a0c; }
.gc-visual .bow { position: absolute; right: -4%; top: -8%; width: 46%; height: 70%; }
.gc-visual .dots { position: absolute; left: -6%; bottom: -14%; width: 40%; height: 50%; background: radial-gradient(circle, rgba(219, 176, 104, .35) 30%, transparent 32%) 0 0/36px 36px; }
.gc-visual.birthday { background: linear-gradient(140deg, #fdf0f0 0%, #f6d9cf 55%, #edc0a8 100%); }
.theme-btn { justify-content: flex-start !important; padding: 0 20px !important; height: 58px !important; }
.theme-btn .ti-check { margin-left: auto; color: var(--gold-3); visibility: hidden; }
.theme-btn.sel .ti-check { visibility: visible; }

/* ---------- Giriş ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--bg); }
.auth .brand { background: #0e0e0f; color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth .brand img { height: 38px; align-self: flex-start; position: relative; z-index: 1; }
.auth .brand h2 { font-size: 42px; line-height: 1.12; letter-spacing: -.03em; font-weight: 800; display: block; margin: 0 0 14px; max-width: 480px; }
.auth .brand h2 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth .brand p { color: #a9a59d; max-width: 400px; margin: 0; font-size: 17px; }
.auth .brand > div { position: relative; z-index: 1; }
.auth .brand .foot { color: #77736b; font-size: 14px; position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.auth .brand::after { content: ""; position: absolute; right: -160px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(234, 181, 88, .28), transparent); }
.auth .form { display: grid; place-items: center; padding: 40px; }
.auth form { width: min(420px, 100%); background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 34px 32px; box-shadow: var(--shadow-md); }
.auth form h1 { margin-bottom: 6px; }
.auth form .btn { width: 100%; height: 58px; margin-top: 8px; font-size: 17px; }

/* ---------- Telefon sayfaları (mobil, hesabım, kart) ---------- */
.phone { max-width: 560px; margin: 0 auto; padding: 0 16px 40px; }
.phone-top { background: #0e0e0f; color: #fff; padding: 18px 18px 22px; border-radius: 0 0 26px 26px; margin: 0 -16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.phone-top img { height: 24px; display: block; }
.phone-top .t { font-size: 13px; color: #a9a59d; }
.phone-top .t b { display: block; color: #fff; font-size: 16px; }
.phone-top a, .phone-top button { color: #fff; }
.tile-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile-nav a { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px 18px; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); color: var(--ink); font-size: 17px; font-weight: 800; text-decoration: none; }
.tile-nav a span { font-size: 13px; color: var(--muted); font-weight: 500; }

@media (max-width: 1500px) {
    .pos { grid-template-columns: minmax(0, 1fr) 460px; }
    .pos .line { grid-template-columns: 60px minmax(0, 1fr) 100px 124px 130px 104px 48px; gap: 8px; }
    .pos .kpi .n { font-size: 21px; }
    .pos .camp-sel { flex-basis: 230px; }
}
@media (max-width: 1240px) {
    .pos { grid-template-columns: 1fr; height: auto; }
    .pos .kpis { grid-template-columns: repeat(3, 1fr); }
    .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filterbar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .app { grid-template-columns: 1fr; }
    .side { position: static; height: auto; }
    .auth { grid-template-columns: 1fr; }
    .auth .brand { display: none; }
    .g2, .g3 { grid-template-columns: 1fr; }
    .main { padding: 18px 14px 32px; }
    .topbar { padding: 0 14px; }
    .topbar .meta .date { display: none; }
    h1 { font-size: 24px; }
    .ph-ic { width: 52px; height: 52px; border-radius: 15px; }
    .ph-ic .ti { font-size: 26px; }
}
.side .sub a.cur { color: #fff; background: #1c1c1f; font-weight: 700; }
.side .sub a.cur .ti { color: var(--gold-1); }
.pos .paycard label.check { display: flex; margin: 8px 0 0; font-size: 15px; color: #fff; }
/* Kasa sağ sütun: 1080 px yüksekliğe sığsın */
.pos .custcard .tools { margin-top: 8px; gap: 6px; }
.pos .custcard .tools .btn { height: 40px; min-height: 40px; font-size: 13.5px; padding: 0 10px; }
.pos .custcard .tags { margin-top: 8px; }
.pos .paycard { padding: 14px 16px 12px; }
.pos .paycard .seg.slim { margin-bottom: 8px !important; }
.pos .sum-rows { font-size: 15px; }
.pos .sum-rows div { padding: 1px 4px; }
.pos .due { margin-top: 6px; padding-top: 8px; }
.pos .total { font-size: 38px; }
.pos .paycard .seg.four { margin-top: 10px !important; }
.pos .paycard label, .pos .paycard .lbl { margin: 8px 0 5px; }
.pos .opts .btn, .pos .banks .btn { height: 50px; min-height: 50px; }
.pos .paycard .extras { margin-top: 10px; }
.pos .earn { padding: 8px 14px; margin-top: 10px; }
.pos .earn .coin { width: 48px; height: 48px; }
.pos .earn .coin .ti { font-size: 26px; }
.pos .earn b { font-size: 19px; }
.pos .finish { height: 60px; margin-top: 10px; }
.pos .msg { margin-top: 6px; min-height: 0; }
.side-stats .big-row { display: grid; grid-template-columns: 1fr auto 64px; }
.side-stats .big-row > :last-child { text-align: right; justify-content: flex-end; font-size: 13px; }
.stat .l { line-height: 1.25; }
/* Başlık sağındaki form/araç satırı tek satırda kalsın; satırdaki düğmeler ezilmesin */
.head > form, .head > .row, .head > div:not(:first-child) { display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; }
.head > form input, .head > form select, .head .row input, .head .row select, .head > div:not(:first-child) input, .head > div:not(:first-child) select { width: auto; min-width: 170px; flex: 1 1 auto; }
.head > form label, .head > div:not(:first-child) label { margin: 0; white-space: nowrap; }
.row > .btn, .row > a.btn, .row > form { flex: none; min-width: max-content; }
.card > .row, form.row { flex-wrap: wrap; }
.row > input, .row > select { flex: 1 1 160px; width: auto; }
