/* Kafe yönetim paneli (dilim 9).
   Görsel dil prototiple aynı (prototypes/admin-panel/styles.css, ARAYUZ-STANDARTLARI.md): Poppins, hap butonlar, yumuşak kartlar.
   §11 gereği gradyan, ışıltılı gölge, bulanıklık, baş harf dairesi ve renkli ikon kutusu yok.
   İçerik güvenliği politikası satır içi stile izin vermez: bütün biçim bu dosyadadır, sayfalarda style="" yoktur. */

@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F6F4F1;
  --surface: #FFFFFF;
  --surface-muted: #FAF9F7;
  --text: #1C1B1A;
  --muted: #6B6762;
  --line: #ECE8E3;
  --accent: #F9A23B;
  --accent-soft: #FEF0DD;
  --accent-ink: #9A5A0E;
  /* "-ink" tonları yazı içindir: açık zemin üstünde 4,5:1 kontrastı tutar. Dolgu için ana ton kullanılır. */
  --success: #2E9E5B; --success-soft: #E6F4EC; --success-ink: #1D7340;
  --danger: #D93A2F; --danger-soft: #FCEAE8; --danger-ink: #B3271D;
  --info: #3B6FD8; --info-soft: #E9EFFC; --info-ink: #2A56B4;
  --warning-ink: #7A4B00; --warning-soft: #FFF4DA;
  --radius: 16px;
  --shadow: 0 4px 16px rgba(30, 20, 10, .05);
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
/* Kaydırma çubuğunun yeri hep ayrılır: kısa ve uzun sayfalar arasında geçerken içerik yana kaymaz. */
html { height: 100%; scrollbar-gutter: stable; }
body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.icon { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.wrap { white-space: normal; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
/* Klavye odağı her etkileşimli öğede görünür. */
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.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; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mb-16 { margin-bottom: 16px; }

/* ---------- Kabuk ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
/* Marka alanı yalnızca işletme adı: baş harf dairesi kullanılmaz (§11). */
.brand { padding: 4px 10px 20px; }
.brand strong { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.brand span { font-size: 11px; color: var(--muted); }
.nav-group { margin-bottom: 14px; }
.nav-group-title { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; padding: 0 10px 6px; }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; font-size: 13px; font-weight: 500; color: var(--text); }
.nav-link .icon { color: var(--muted); }
.nav-link:hover { background: var(--surface-muted); }
.nav-link.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.nav-link.is-active .icon { color: var(--accent-ink); }

.main { min-width: 0; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
/* Başlık tek satırda kalır: uzun başlık üst çubuğun yüksekliğini sayfadan sayfaya değiştirmesin. */
.topbar h1 { font-size: 18px; font-weight: 600; margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.user-chip small { display: block; }
.icon-button { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; padding: 0; }
.menu-toggle { display: none; }
.menu-backdrop { display: none; }
.content { padding: 24px 28px 48px; max-width: 1240px; }

/* ---------- Bileşenler ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.grid > .card { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head > div:first-child { min-width: 0; }
.card-head h2 { font-size: 15px; font-weight: 600; margin: 0; }
.card-head p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-main-side { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.stack > * + * { margin-top: 16px; }
.section-gap { margin-top: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; background: var(--text); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn .icon { width: 16px; height: 16px; }
.btn-accent { background: var(--accent); color: #1A1A1A; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-danger { background: var(--surface); color: var(--danger-ink); border-color: var(--line); }
.btn-small { height: 32px; padding: 0 12px; font-size: 12px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form { display: inline; margin: 0; }

.kpi { padding: 18px 20px; }
.kpi .label { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kpi .value { font-size: 26px; font-weight: 700; margin-top: 6px; }
.kpi .delta { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Alt köşeler kartın yuvarlağını izler (kart 16 px, çerçeve 1 px). */
.table-wrap { overflow-x: auto; margin: 0 -20px -20px; border-radius: 0 0 15px 15px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; padding: 10px 20px; border-bottom: 1px solid var(--line); background: var(--surface-muted); white-space: nowrap; }
td { padding: 12px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.right, th.right { text-align: right; }
td.wrap { white-space: normal; }
.row-link { font-weight: 600; text-decoration: none; }
.row-link:hover { text-decoration: underline; }
.amount-negative { color: var(--danger-ink); }

.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--surface-muted); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge.is-success { background: var(--success-soft); color: var(--success-ink); border-color: transparent; }
.badge.is-accent { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.badge.is-danger { background: var(--danger-soft); color: var(--danger-ink); border-color: transparent; }
.badge.is-info { background: var(--info-soft); color: var(--info-ink); border-color: transparent; }

.toolbar { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .field { min-width: 150px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 500; text-decoration: none; }
.chip.is-active { background: var(--text); color: #fff; border-color: var(--text); }

/* Form */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.is-wide { grid-column: 1 / -1; }
.field label, .field-label { font-size: 12px; font-weight: 500; }
.field .hint { font-size: 11px; color: var(--muted); }
.input, .field select, .field textarea { height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--surface); font-size: 13px; outline: 0; width: 100%; }
.field textarea { height: 110px; padding: 10px 12px; resize: vertical; }
.field textarea.is-tall { height: 220px; }
.input:focus, .field select:focus, .field textarea:focus { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.input[readonly] { background: var(--surface-muted); color: var(--muted); }
.input.is-short { max-width: 200px; }
.input-suffix { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.input-suffix:focus-within { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.input-suffix input { border: 0; height: 38px; padding: 0 12px; flex: 1; min-width: 0; outline: 0; background: var(--surface); }
.input-suffix span { flex: none; padding: 0 12px; color: var(--muted); font-size: 12px; background: var(--surface-muted); height: 38px; display: grid; place-items: center; border-left: 1px solid var(--line); }
.input-suffix.is-short { max-width: 200px; }
/* Alan hatası alanın hemen altında. */
.field-error { font-size: 12px; color: var(--danger-ink); }
.field-error:empty { display: none; }
.input-validation-error, .input-suffix:has(.input-validation-error) { border-color: var(--danger); }
.form-actions { margin-top: 18px; }
.check-list { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--text); }

.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: 0; }
.setting-row strong { font-size: 13px; font-weight: 500; display: block; }
.setting-row .desc { font-size: 12px; color: var(--muted); }
.setting-row > div:first-child { min-width: 0; }
.setting-row > .control { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

.switch { position: relative; width: 38px; height: 22px; flex: none; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #D9D6D1; cursor: pointer; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + span { background: var(--success); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }

/* Seçenek grubu: radyo düğmeleri hap görünümünde (betik gerekmez). */
.segmented { display: inline-flex; flex-wrap: wrap; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; max-width: 100%; }
.segmented label { position: relative; border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 500; cursor: pointer; color: var(--muted); white-space: nowrap; }
.segmented input { position: absolute; opacity: 0; width: 0; height: 0; }
.segmented label:has(input:checked) { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 1px; }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 12px; line-height: 18px; background: var(--warning-soft); color: var(--warning-ink); }
.notice .icon { width: 16px; height: 16px; margin-top: 1px; }
.notice.is-info { background: var(--info-soft); color: var(--info-ink); }
.notice.is-success { background: var(--success-soft); color: var(--success-ink); }
.notice.is-danger { background: var(--danger-soft); color: var(--danger-ink); }
.notice > span, .notice > div { min-width: 0; overflow-wrap: anywhere; }
.notice + .notice, .notice + .card, .card + .notice { margin-top: 12px; }
.validation-summary-errors ul, .validation-summary-valid ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }
.form-errors { margin-bottom: 14px; }

.empty { text-align: center; padding: 28px; color: var(--muted); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.kv:last-child { border-bottom: 0; }
.kv > span:last-child { text-align: right; overflow-wrap: anywhere; }
/* Tutar ve sayı hücresi bölünmez ("0" ile "₺" ayrı satıra düşmesin); dar kartta etiket kısalır, değer bütün kalır. */
.kv > strong { flex: none; white-space: nowrap; }
.kv > span:first-child { min-width: 0; }
.code-display { font-size: 32px; font-weight: 700; letter-spacing: 6px; font-variant-numeric: tabular-nums; }
.key-display { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row .input { flex: 1; min-width: 0; }
.copy-row .btn { flex: none; }

.compliance { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; margin-top: 12px; }
.compliance:has(input:checked) { border-color: var(--success-ink); background: var(--success-soft); }
.compliance label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 13px; line-height: 20px; font-weight: 500; }
.compliance input { width: 20px; height: 20px; margin: 0; accent-color: var(--success-ink); flex: none; }
.compliance .meta { font-size: 11px; color: var(--muted); margin: 8px 0 0 32px; }

.summary-line { font-size: 13px; padding: 8px 0; border-bottom: 1px dashed var(--line); overflow-wrap: anywhere; }
.summary-line:last-child { border-bottom: 0; }
.sub-title { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 12px; font-size: 12px; }
.tier-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-bottom: 10px; }
.tier-head { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }

/* Kısa bildirim (işlem sonrası). */
.flash { margin-bottom: 16px; }

/* Giriş sayfaları: tek kart, ortada (kahraman düzeni değil; form tek iş). */
.auth { min-height: 100vh; display: grid; place-items: start center; padding: 72px 16px; }
.auth-card { width: min(420px, 100%); }
.auth-card h1 { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.auth-card .lead { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.auth-card .btn { width: 100%; height: 44px; }
.auth-links { margin-top: 16px; font-size: 12px; text-align: center; }

/* ---------- İçerik (dilim 10): görseller, slayt / duyuru, detay sayfası düzenleyicisi, görünüm ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.media-tile { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.media-tile img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-muted); }
.media-tile figcaption { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.media-tile.is-selectable { cursor: pointer; }
.media-tile.is-selectable:has(input:checked) img { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.cover-preview { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-muted); }
.file-input { height: auto; padding: 8px 12px; }
.item-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; min-width: 0; }
.item-row legend { padding: 0 6px; }
/* Vurgu rengi örnekleri: değerler ARAYUZ-STANDARTLARI §2 (satır içi stil yasak olduğu için sınıfla). */
.swatches { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.swatch-option { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.swatch-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--text); }
.swatch { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); flex: none; }
.swatch-amber { background: #F9A23B; }
.swatch-ocean { background: #1F6FB2; }
.swatch-berry { background: #B4235A; }
.swatch-espresso { background: #6F4328; }
.swatch-lemon { background: #FFE14D; }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  /* Kapalıyken "visibility: hidden": ekran dışındaki bağlantılar klavye sırasına girmesin. */
  .sidebar { position: fixed; top: 0; left: 0; z-index: 15; width: 260px; transform: translateX(-100%); visibility: hidden; transition: transform .25s, visibility .25s; box-shadow: 10px 0 30px rgba(0,0,0,.1); }
  .shell.is-menu-open .sidebar { transform: none; visibility: visible; }
  .shell.is-menu-open .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 14; background: rgba(20, 15, 10, .3); }
  .menu-toggle { display: grid; }
  .topbar { padding: 12px 16px; }
  .content { padding: 16px; }
  .grid-3, .grid-2, .grid-main-side, .form-grid, .form-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  /* Dar ekranda yalnızca rol gizlenir; kim olduğu görünür kalır. */
  .user-chip small { display: none; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .card-head, .setting-row { flex-wrap: wrap; }
  .setting-row > .control { align-items: flex-start; }
  .tier-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Dilim 12: anket soruları ve düz liste (yazı cevapları). */
.question-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.plain-list { margin: 0; padding-left: 18px; font-size: 13px; }
.plain-list li { padding: 4px 0; overflow-wrap: anywhere; }

/* Telefon, uygulamanın renk paletini kullanır; önizleme panelin eylem renklerini değiştirmez. */
.preview-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.preview-editor { min-width: 0; }
.preview-editor > .grid-main-side { grid-template-columns: minmax(0, 1fr); }
.app-preview { position: sticky; top: 88px; min-width: 0; }
.app-preview > h2 { margin: 0; font-size: 16px; }
.app-preview > .hint { margin: 4px 0 12px; }
.app-preview-figure { margin: 0; }
.app-preview-figure figcaption { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.app-phone { --app-primary: #F9A23B; --app-on-primary: #1A1A1A; --app-ink: #9A5A0C; --app-soft: #FEF1E2; width: 100%; max-width: 330px; margin: 0 auto; border: 5px solid #292725; border-radius: 34px; overflow: hidden; background: #FBF3EA; color: #1E1E1E; font-size: 12px; line-height: 1.5; }
.app-phone[data-preview-theme="ocean"] { --app-primary: #1F6FB2; --app-on-primary: #FFFFFF; --app-ink: #1F6BAB; --app-soft: #DDE9F3; }
.app-phone[data-preview-theme="berry"] { --app-primary: #B4235A; --app-on-primary: #FFFFFF; --app-ink: #B4235A; --app-soft: #F4DEE6; }
.app-phone[data-preview-theme="espresso"] { --app-primary: #6F4328; --app-on-primary: #FFFFFF; --app-ink: #6F4328; --app-soft: #E9E3DF; }
.app-phone[data-preview-theme="lemon"] { --app-primary: #FFE14D; --app-on-primary: #1A1A1A; --app-ink: #786C31; --app-soft: #FFFBE4; }
.app-status { display: flex; justify-content: space-between; padding: 12px 18px 4px; font-weight: 600; font-size: 11px; }
.app-status .icon { width: 15px; height: 15px; }
.app-screen { padding: 12px 16px 20px; height: min(510px, calc(100dvh - 280px)); min-height: 280px; overflow-y: auto; scrollbar-width: thin; }
.app-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.app-phone small { display: block; font-size: 10px; color: #706A64; }
.app-phone p { margin: 6px 0 10px; font-size: 11px; overflow-wrap: anywhere; }
.app-phone strong, .app-phone h3 { overflow-wrap: anywhere; }
.app-phone h3 { font-size: 15px; margin: 8px 0; }
.app-context { opacity: .42; }
.app-focus { outline: 1px solid var(--app-ink); outline-offset: 3px; }
.app-section-title.app-focus, .app-dots.app-focus { outline: 0; }
.app-card { padding: 16px; margin-bottom: 20px; background: #FFFFFF; border-radius: 20px; }
.app-points, .app-slider { background: var(--app-soft); }
.app-number { display: block; font-size: 30px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.app-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--app-primary); color: var(--app-on-primary); border-radius: 100px; padding: 7px 12px; font-size: 10px; font-weight: 600; margin-top: 8px; }
.app-pill .icon { width: 14px; height: 14px; }
.app-media { background: #F4F2EF; display: grid; place-items: center; min-height: 94px; border-radius: 16px; overflow: hidden; }
.app-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.app-media > span { color: #8A8A8A; padding: 24px; }
.app-card-body { padding-top: 12px; }
.app-slider strong { font-size: 17px; }
.app-dots { display: flex; justify-content: center; gap: 4px; margin: -8px 0 20px; }
.app-dots i { width: 5px; height: 5px; border-radius: 8px; background: #D4CEC6; }
.app-dots i:first-child { width: 16px; background: var(--app-primary); }
.app-section-title { font-size: 13px !important; margin: 16px 0 10px !important; }
.app-stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.app-stamp { aspect-ratio: 1; display: grid; place-items: center; border: 1px dashed #D5CEC4; border-radius: 50%; }
.app-stamp.is-filled { background: var(--app-primary); color: var(--app-on-primary); border: 0; }
.app-stamp:last-child:not(.is-filled) { border: 1px solid var(--app-ink); color: var(--app-ink); }
.app-progress { appearance: none; width: 100%; height: 8px; margin: 12px 0 6px; border: 0; border-radius: 10px; overflow: hidden; background: var(--app-soft); }
.app-progress::-webkit-progress-bar { background: var(--app-soft); }
.app-progress::-webkit-progress-value { background: var(--app-primary); }
.app-progress::-moz-progress-bar { background: var(--app-primary); }
.app-tier + .app-tier { border-top: 1px solid #ECE6DE; margin-top: 10px; padding-top: 10px; }
.app-coupon { display: flex; padding: 0; overflow: hidden; min-height: 100px; }
.app-coupon-value { display: grid; place-items: center; width: 72px; flex: none; background: var(--app-soft); border-right: 1px dashed #CEC6BC; color: var(--app-ink); font-size: 16px; }
.app-coupon > div { padding: 14px 12px; }
.app-detail, .app-detail-block { margin: 0 0 18px; padding: 12px; border-radius: 16px; background: #FFFFFF; }
.app-detail-block .app-card { margin: 8px 0; border: 1px solid #ECE6DE; }
.app-gallery { display: flex; gap: 8px; overflow-x: auto; }
.app-gallery img { width: 100%; object-fit: cover; aspect-ratio: 16 / 9; border-radius: 12px; flex: none; }
.app-lines { white-space: pre-line; overflow-wrap: anywhere; }
.app-scratch { background: #E5DFD6; padding: 32px 12px; text-align: center; border-radius: 12px; font-size: 18px; font-weight: 600; }
/* Uygulamadaki alt menüyle aynı: beş eşit yuva, ikon arkasında hap; QR menünün içinde dolu ana renk hap. */
.app-tabbar { display: flex; background: #FFFFFF; border-top: 1px solid #ECE6DE; padding: 6px 2px 8px; }
.app-tabbar > span { flex: 1; display: flex; align-items: center; flex-direction: column; gap: 3px; font-size: 8px; color: #6F6F6F; white-space: nowrap; }
.app-tabbar > span > .icon { width: 34px; height: 20px; padding: 3px 0; border-radius: 999px; }
.app-tabbar .app-tab-active { color: #1E1E1E; font-weight: 600; }
.app-tabbar .app-tab-active > .icon { background: var(--app-soft); color: var(--app-ink); }
.app-tabbar .app-tab-qr { color: #1E1E1E; }
.app-tabbar .app-tab-qr > .icon { background: var(--app-primary); color: var(--app-on-primary); }
@media (max-width: 1180px) {
  .preview-layout { grid-template-columns: minmax(0, 1fr); }
  .app-preview { position: static; max-width: 360px; width: 100%; }
  .app-screen { height: 510px; }
}
@media (max-width: 520px) {
  .preview-layout { gap: 20px; }
  .app-phone { max-width: 310px; }
}
