/* Fuar ekranları. Görünüş Profil Ajans sitesinden: tek renkli, kırık beyaz zemin, Archivo başlık, Inter metin,
   siyah buton. Site yalnızca açık temada; ekranlar da bilinçli olarak tek (açık) temada.
   Yerleşim: telefon öncelikli tek sütun; geniş ekranda (stand tableti) ortada 560 px. */
:root {
  color-scheme: light;
  --bg: #f9f9f9;
  --surface: #ffffff;
  --ink: #1a1c1c;
  --ink-strong: #171717;
  --muted: #737373;
  --muted-2: #525252;
  --faint: #a3a3a3;
  --line: #e5e5e5;
  --line-strong: #d4d4d4;
  --soft: #f5f5f5;
  --ok: #15803d;
  --ok-soft: #f0fdf4;
  --bad: #b91c1c;
  --warn: #92400e;
  --warn-soft: #fffbeb;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
.d { font-family: var(--font-display); font-weight: 800; font-stretch: 92%; letter-spacing: -.025em; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.shell { max-width: 560px; margin: 0 auto; padding-inline: 16px; padding-block: calc(12px + env(safe-area-inset-top, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 20px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.top a { display: inline-flex; align-items: center; min-height: 44px; }  /* iPad: en az 44px dokunma alanı */
.top img { height: 28px; width: auto; display: block; }
.top .eyebrow { font-size: 11px; text-align: right; }
.fake-note { font-size: 13px; background: var(--warn-soft); color: var(--warn); border-radius: var(--radius); padding: 8px 12px; }
.page-title { font-size: clamp(28px, 7vw, 34px); line-height: 1.08; }
.lead { color: var(--muted-2); line-height: 1.6; }
.stack { display: grid; gap: 18px; }
.fine { font-size: 13px; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); }
.err { font-size: 13px; color: var(--bad); font-weight: 500; }

/* form */
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .lbl { font-size: 14px; font-weight: 600; padding: 0; }
.input { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px; min-height: 48px; color: var(--ink); width: 100%; font: inherit; }
/* iOS Safari 16px altı yazı boyutlu kutuya odaklanınca sayfayı yakınlaştırır: kutular en az 16px */
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { font-size: max(16px, 1em); }
.input::placeholder { color: var(--faint); }
.input:focus { outline: 2px solid var(--ink-strong); outline-offset: 1px; border-color: var(--ink-strong); }
.input[aria-invalid="true"] { border-color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 15px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; min-height: 44px; color: var(--muted-2); background: var(--surface); cursor: pointer; }
.chip:hover { border-color: var(--ink-strong); color: var(--ink); }
.chip:focus-visible { outline: 2px solid var(--ink-strong); outline-offset: 2px; }
.locs { display: grid; gap: 8px; }
.locin { position: relative; display: grid; gap: 4px; }
.locin .input { padding-right: 120px; }
.locin .kind { position: absolute; right: 12px; top: 24px; transform: translateY(-50%); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); pointer-events: none; max-width: 108px; text-align: right; line-height: 1.2; }
.locin .kind.unk { color: var(--warn); }
.plats { display: grid; gap: 8px; }
.plat { position: relative; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px 14px; min-height: 52px; cursor: pointer; font-weight: 400; }
.plat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plat .box { width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; background: var(--surface); color: #fff; font-size: 12px; }
.plat:has(input:checked) { border: 1.5px solid var(--ink-strong); }
.plat:has(input:checked) .box { background: var(--ink-strong); border-color: var(--ink-strong); }
.plat:has(input:checked) .box::after { content: "✓"; }
.plat:has(input:focus-visible) { outline: 2px solid var(--ink-strong); outline-offset: 2px; }
.plat.off { color: var(--faint); border-style: dashed; background: var(--soft); cursor: not-allowed; }
.plat b { font-weight: 600; }
.plat small { margin-left: auto; font-size: 12px; text-align: right; }
.btn { display: block; width: 100%; text-align: center; text-decoration: none; background: var(--ink-strong); color: #fff; font: inherit; font-weight: 600; border: 0; border-radius: var(--radius); padding: 15px; min-height: 52px; cursor: pointer; }
.btn:hover { background: #404040; }
.btn:focus-visible { outline: 2px solid var(--ink-strong); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink-strong); }

/* ilerleme çubukları */
.track { height: 6px; background: var(--line); overflow: hidden; border-radius: 3px; }
.track i { display: block; height: 100%; background: var(--ink-strong); border-radius: 3px; transition: width .9s ease; }

/* 2. ekran — ölçüm sürerken */
.wait-head { display: grid; gap: 4px; }
.big-progress { display: grid; gap: 8px; }
.big-progress .num { font-family: var(--font-display); font-weight: 800; font-stretch: 92%; font-size: 48px; line-height: 1; font-variant-numeric: tabular-nums; }
.big-progress .num small { font-family: var(--font-body); font-size: 16px; color: var(--muted); font-weight: 500; }
.bars { display: grid; gap: 10px; }
.prow { display: grid; grid-template-columns: 84px 1fr 64px; align-items: center; gap: 10px; font-size: 14px; font-variant-numeric: tabular-nums; }
.prow > span:last-child { text-align: right; color: var(--muted-2); }
.prow.done > span:last-child { color: var(--ok); font-weight: 600; }
.asking { font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 6px; }
.asking .qnow { font-weight: 600; line-height: 1.4; }
.asked { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 13px; color: var(--faint); }
.fresh { animation: fresh .6s ease; }
@keyframes fresh { from { opacity: .15; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.checklist { display: grid; gap: 8px; font-size: 15px; list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 10px; align-items: center; }
.checklist .dot { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 10px; }
.checklist .done .dot { background: var(--ink-strong); color: #fff; }
.checklist .done .dot::after { content: "✓"; }
.checklist .now .dot { border: 3px solid var(--ink-strong); animation: pulse 1.2s ease-in-out infinite; }
.checklist .todo .dot { border: 1.5px solid var(--line-strong); }
.checklist .todo { color: var(--muted); }
@keyframes pulse { 50% { opacity: .35; } }

/* 3. ekran — sonuç */
.hero { background: var(--ink-strong); color: #fff; border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 14px; }
.hero .co { font-size: 24px; line-height: 1.1; }
.hero .meta { font-size: 13px; color: #d4d4d4; }
.hero .eyebrow { color: #a3a3a3; }
.ring-row { display: flex; gap: 18px; align-items: center; }
.ring { width: 120px; height: 120px; flex: none; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .val b { font-family: var(--font-display); font-weight: 800; font-stretch: 92%; font-size: 44px; line-height: 1; display: block; }
.ring .val small { font-size: 12px; color: #a3a3a3; }
.ring-side { display: grid; gap: 6px; font-size: 14px; flex: 1; min-width: 0; }
.ppill { display: flex; justify-content: space-between; gap: 12px; background: rgba(255, 255, 255, .14); border-radius: 6px; padding: 7px 10px; font-variant-numeric: tabular-nums; }
.hnote { font-size: 13px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 8px 10px; color: #f5f5f5; }
.sec { display: grid; gap: 12px; }
.sec h2 { font-size: 23px; line-height: 1.15; }
.sub { font-size: 13px; color: var(--muted); }
.diag { display: grid; list-style: none; padding: 0; margin: 0; }
.diag li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; font-size: 15px; padding: 12px 0; border-top: 1px solid var(--line); }
.diag li > span:first-child { font-family: var(--font-display); font-weight: 800; font-stretch: 92%; color: var(--muted); }
.brk { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.brk .row, .loccard .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.brk .row span { font-weight: 600; font-size: 15px; line-height: 1.35; }
.brk .row b { font-weight: 600; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.brk .track, .loccard .track { height: 5px; }
.brk p, .loccard p { font-size: 14px; color: var(--muted-2); line-height: 1.45; }
.locgrid { display: grid; gap: 8px; }
.loccard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.loccard .row span { font-weight: 600; }
.loccard .row b { font-family: var(--font-display); font-weight: 800; font-stretch: 92%; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.found-places { font-size: 14px; color: var(--muted-2); }
.cl { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; align-items: baseline; }
.cl:last-child { border-bottom: 0; }
.cl .nm { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; min-width: 0; }
.cl .tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cl .track { grid-column: 1 / -1; height: 4px; }
.cl .track i { background: var(--faint); }
.cl.me { background: var(--surface); border: 1.5px solid var(--ink-strong); border-radius: 10px; padding: 10px 12px; margin-block: 4px; font-weight: 600; }
.cl.me:last-child { border-bottom: 1.5px solid var(--ink-strong); }
.cl.me .track i { background: var(--ink-strong); }
.cl .you { font-weight: 700; }
.cmp { font-size: 15px; color: var(--muted-2); line-height: 1.45; margin-top: 4px; }
.cmp strong { color: var(--ink-strong); font-weight: 700; }
.mail { border: 1.5px solid var(--ink-strong); border-radius: var(--radius-lg); padding: 18px; display: grid; gap: 12px; font-size: 15px; scroll-margin-top: 16px; }
.mail h2 { font-size: 21px; line-height: 1.15; }
.report > summary { list-style: none; }
.report > summary::-webkit-details-marker { display: none; }
.report[open] > summary { display: none; }
.mail:has(.report[open]) > p { display: none; }  /* form açıkken üstteki tanıtım cümlesi tekrar olmasın */
.contact h3 { font-size: 21px; line-height: 1.15; }
.consent { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; line-height: 1.45; font-weight: 400 !important; cursor: pointer; min-height: 44px; padding-block: 6px; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink-strong); }
.consent a { font-weight: 600; text-underline-offset: 3px; }
.consent em { font-style: normal; color: var(--muted); }
.done-box { background: var(--ok-soft); color: var(--ok); border-radius: 10px; padding: 14px; font-size: 15px; display: grid; gap: 2px; }
.done-box b { font-weight: 700; }

/* Belirsiz konum seçenekleri ("Giresun / Merkez", "Balıkesir / Edremit") */
.loc-options { display: grid; gap: 6px; margin-top: 6px; }
.opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); font-weight: 500; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--ink-strong); box-shadow: inset 0 0 0 1px var(--ink-strong); }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink-strong); }

/* Stand ekleri: yeni ziyaretçi, telefona al, sonuç güncellendi, sıra, hizmet yok, yedek mod, boşta uyarısı */
.visitor-bar { display: flex; }
.visitor-bar .btn { width: auto; margin-left: auto; padding: 10px 18px; min-height: 44px; }
.upd-note { display: flex; gap: 10px 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--warn-soft); color: var(--warn); border-radius: var(--radius); padding: 10px 12px; font-size: 14px; }
.upd-note .btn { width: auto; padding: 8px 14px; min-height: 44px; font-size: 14px; }
.phone-share { grid-template-columns: 132px 1fr; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; }
.phone-share h2 { font-size: 21px; margin-bottom: 4px; }
.phone-share p { font-size: 14px; color: var(--muted-2); line-height: 1.45; }
.qr svg { display: block; width: 132px; height: 132px; }
.scope { font-size: 14px; color: var(--muted-2); margin-top: -10px; }
.queue-ahead { font-size: clamp(30px, 8vw, 40px); line-height: 1.1; }
.offline-note, .sample-banner { display: grid; gap: 6px; font-size: 14px; background: var(--warn-soft); color: var(--warn); border-radius: var(--radius); padding: 12px 14px; }
.sample-banner { font-size: 15px; border: 1.5px solid var(--warn); }
.idle-warning { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 16px; background: rgba(23, 23, 23, .72); }
.idle-warning > div { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; max-width: 360px; width: 100%; display: grid; gap: 12px; text-align: center; }
.idle-warning h2 { font-size: 24px; }

@media (prefers-reduced-motion: reduce) {
  .fresh, .checklist .now .dot { animation: none; }
  .track i { transition: none; }
}
