/* ============================================================================
   Oneteam Vizyon Günleri — tasarım sistemi
   Ürün-UI. Sistem fontu (webfont yok). OKLCH. Mobile-first. Linear/Stripe çıtası.
   ============================================================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:where(button) { cursor: pointer; }

/* --- Tokens --- */
:root {
  /* Nötr yüzeyler (light) — soğuk, krem/bej DEĞİL */
  --bg:       oklch(0.984 0.003 264);
  --surface:  oklch(1 0 0);
  --surface-2:oklch(0.975 0.004 264);
  --panel:    oklch(0.965 0.006 264);
  --line:     oklch(0.916 0.006 264);
  --line-strong: oklch(0.86 0.008 264);

  /* Metin — kontrast doğrulandı (≥4.5:1 body) */
  --ink:   oklch(0.27 0.021 266);
  --ink-2: oklch(0.44 0.02 266);
  --muted: oklch(0.52 0.018 266);
  --faint: oklch(0.62 0.015 266);

  /* Marka: indigo (birincil), zümrüt (pozitif) */
  --accent:      oklch(0.55 0.196 270);
  --accent-ink:  oklch(0.99 0 0);
  --accent-hover:oklch(0.50 0.20 270);
  --accent-soft: oklch(0.55 0.196 270 / 0.10);
  --accent-soft-2: oklch(0.55 0.196 270 / 0.16);

  /* Semantik */
  --pos:  oklch(0.60 0.14 158);
  --pos-soft: oklch(0.60 0.14 158 / 0.12);
  --warn: oklch(0.72 0.15 73);
  --warn-soft: oklch(0.72 0.15 73 / 0.14);
  --neg:  oklch(0.585 0.21 25);
  --neg-soft: oklch(0.585 0.21 25 / 0.12);
  --info: var(--accent);
  --info-soft: var(--accent-soft);

  /* Geometri */
  --r-xs: 6px; --r-sm: 8px; --r-md: 10px; --r-lg: 12px; --r-xl: 16px; --r-pill: 999px;
  --sp: 4px;
  --shadow-sm: 0 1px 2px oklch(0.27 0.02 266 / 0.06);
  --shadow-md: 0 4px 14px oklch(0.27 0.02 266 / 0.10);
  --shadow-lg: 0 12px 34px oklch(0.27 0.02 266 / 0.16);
  --ring: 0 0 0 3px var(--accent-soft-2);

  /* Tipografi (sabit rem, ürün ölçeği ~1.2) */
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --t-xs: 0.75rem; --t-sm: 0.8125rem; --t-base: 0.9375rem; --t-md: 1rem;
  --t-lg: 1.125rem; --t-xl: 1.375rem; --t-2xl: 1.75rem; --t-3xl: 2.125rem;

  /* z-index ölçeği */
  --z-nav: 30; --z-sticky: 40; --z-backdrop: 60; --z-modal: 70; --z-toast: 90;

  --tap: 44px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 180ms;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:       oklch(0.185 0.014 266);
    --surface:  oklch(0.225 0.017 266);
    --surface-2:oklch(0.255 0.018 266);
    --panel:    oklch(0.165 0.013 266);
    --line:     oklch(0.31 0.018 266);
    --line-strong: oklch(0.38 0.02 266);
    --ink:   oklch(0.96 0.008 266);
    --ink-2: oklch(0.82 0.014 266);
    --muted: oklch(0.70 0.016 266);
    --faint: oklch(0.60 0.016 266);
    --accent:      oklch(0.70 0.16 273);
    --accent-ink:  oklch(0.16 0.02 266);
    --accent-hover:oklch(0.76 0.15 273);
    --accent-soft: oklch(0.70 0.16 273 / 0.16);
    --accent-soft-2: oklch(0.70 0.16 273 / 0.24);
    --pos:  oklch(0.74 0.15 160);
    --pos-soft: oklch(0.74 0.15 160 / 0.16);
    --warn: oklch(0.80 0.14 78);
    --warn-soft: oklch(0.80 0.14 78 / 0.18);
    --neg:  oklch(0.68 0.18 25);
    --neg-soft: oklch(0.68 0.18 25 / 0.18);
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 6px 18px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.55);
  }
}

body {
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.011em; font-weight: 650; text-wrap: balance; }
a { color: var(--accent); text-decoration: none; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.hide { display: none !important; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 15px; height: 15px; }

/* ============================================================================
   App shell: sol sidebar (masaüstü) + mobil alt nav
   ============================================================================ */
.app { display: grid; grid-template-columns: 256px 1fr; min-height: 100dvh; }
.sidebar {
  position: sticky; top: 0; align-self: start; height: 100dvh;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--panel); border-right: 1px solid var(--line);
  padding: 16px 12px; z-index: var(--z-nav);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 14px; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  background: linear-gradient(145deg, var(--accent), oklch(0.62 0.17 300));
  display: grid; place-items: center; color: var(--accent-ink); box-shadow: var(--shadow-sm);
}
.brand .mark svg { width: 17px; height: 17px; stroke: currentColor; }
.brand .name { font-weight: 700; font-size: var(--t-md); letter-spacing: -0.01em; line-height: 1.1; }
.brand .sub { font-size: var(--t-xs); color: var(--muted); font-weight: 500; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 9px 11px; border-radius: var(--r-md); border: 0; background: transparent;
  color: var(--ink-2); font-weight: 530; font-size: var(--t-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-item:hover { background: var(--surface-2); color: var(--ink); }
.nav-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.nav-item.active .icon { stroke: var(--accent); }
.nav-item .icon { stroke: var(--muted); }
.nav-item:hover .icon { stroke: var(--ink); }
.sidebar .spacer { flex: 1; }
.who {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface);
}
.who .avatar {
  width: 30px; height: 30px; border-radius: var(--r-pill); flex: 0 0 auto;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: var(--t-sm);
}
.who .meta { min-width: 0; flex: 1; }
.who .meta b { display: block; font-size: var(--t-sm); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who .meta span { font-size: var(--t-xs); color: var(--muted); }

.main { min-width: 0; display: flex; flex-direction: column; }
.main-head {
  position: sticky; top: 0; z-index: var(--z-sticky);
  display: flex; align-items: center; gap: 12px;
  padding: 18px 28px; background: var(--bg); background: oklch(from var(--bg) l c h / 0.82);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.main-head h1 { font-size: var(--t-xl); font-weight: 680; flex: 1; }
.main-head .head-sub { font-size: var(--t-sm); color: var(--muted); font-weight: 500; }
.content { padding: 22px 28px 96px; max-width: 1120px; width: 100%; }

/* Mobil üst bar + alt nav */
.mtop { display: none; }
.bottomnav { display: none; }

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .mtop {
    position: sticky; top: 0; z-index: var(--z-sticky);
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px calc(12px) max(16px, env(safe-area-inset-left));
    background: var(--bg); background: oklch(from var(--bg) l c h / 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .mtop .mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(145deg, var(--accent), oklch(0.62 0.17 300)); display: grid; place-items: center; color: var(--accent-ink); }
  .mtop .mark svg { width: 15px; height: 15px; stroke: currentColor; }
  .mtop h1 { font-size: var(--t-md); font-weight: 700; flex: 1; }
  .main-head { display: none; }
  .content { padding: 16px 16px calc(84px + env(safe-area-inset-bottom)); }
  .bottomnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav);
    display: flex; justify-content: space-around; gap: 2px;
    padding: 8px max(6px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));
    background: var(--panel); background: oklch(from var(--panel) l c h / 0.92); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .bottomnav .nav-item {
    flex-direction: column; gap: 3px; align-items: center; padding: 6px 4px; min-width: 0;
    font-size: 10.5px; font-weight: 600; border-radius: var(--r-sm); min-height: var(--tap);
  }
  .bottomnav .nav-item.active { background: transparent; color: var(--accent); }
  .bottomnav .nav-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 0 14px; height: 38px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font-weight: 560; font-size: var(--t-sm); white-space: nowrap;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 90ms var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--surface-2); border-color: var(--line-strong); }
.btn:active { transform: translateY(0.5px) scale(0.99); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn .icon { stroke: var(--muted); }
.btn-primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary .icon { stroke: currentColor; }
.btn-pos { background: var(--pos); border-color: transparent; color: oklch(0.99 0 0); }
.btn-pos:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-danger { background: transparent; border-color: var(--line-strong); color: var(--neg); }
.btn-danger:hover { background: var(--neg-soft); border-color: var(--neg); }
.btn-sm { height: 32px; padding: 0 10px; font-size: var(--t-xs); border-radius: var(--r-sm); gap: 5px; }
.btn-icon { width: 38px; padding: 0; }
.btn-icon.btn-sm { width: 32px; }
.btn-block { width: 100%; }
.btn[data-loading="1"] { color: transparent !important; position: relative; pointer-events: none; }
.btn[data-loading="1"]::after {
  content: ""; position: absolute; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent; color: var(--accent-ink);
  animation: spin 0.6s linear infinite;
}
.btn-primary[data-loading="1"]::after { color: var(--accent-ink); }
.btn:not(.btn-primary):not(.btn-pos)[data-loading="1"]::after { color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================================
   Forms
   ============================================================================ */
.field { display: block; margin-bottom: 14px; }
.field > .lbl { display: block; font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); margin-bottom: 6px; letter-spacing: 0.005em; }
input[type=text], input[type=tel], input[type=date], input[type=number], input:not([type]), select, textarea {
  width: 100%; height: var(--tap); padding: 0 12px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font-size: var(--t-base); outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
textarea { height: auto; min-height: 84px; padding: 11px 12px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: var(--ring); }
input.err, select.err, textarea.err { border-color: var(--neg); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* checkbox / radio (kapalı kart) */
.choice { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; flex: 1; justify-content: center; font-weight: 540; font-size: var(--t-sm); transition: border-color var(--dur), background var(--dur); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.choice input { width: auto; height: auto; accent-color: var(--accent); }
.kvkk { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.kvkk input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; }
.kvkk span { font-size: var(--t-sm); color: var(--muted); line-height: 1.5; }

/* ============================================================================
   Card / section / panel
   ============================================================================ */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.card + .card { margin-top: 14px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-h h2 { font-size: var(--t-md); font-weight: 640; }
.sectitle { font-size: var(--t-xs); font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 22px 0 10px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }

/* ============================================================================
   Lists (divider satırları — yığılı kart DEĞİL) + data table
   ============================================================================ */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; transition: background var(--dur) var(--ease); }
.li + .li { border-top: 1px solid var(--line); }
.li:hover { background: var(--surface-2); }
.li .grow { min-width: 0; flex: 1; }
.av { width: 34px; height: 34px; border-radius: var(--r-pill); flex: 0 0 auto; display: grid; place-items: center; font-weight: 650; font-size: var(--t-xs); background: var(--accent-soft); color: var(--accent); letter-spacing: 0.02em; }
.li .nm { font-weight: 600; font-size: var(--t-base); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.li .meta { color: var(--muted); font-size: var(--t-sm); margin-top: 2px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.li .acts { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }

.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.tbl thead th {
  position: sticky; top: 0; background: var(--surface-2); z-index: 1;
  text-align: left; font-weight: 600; color: var(--muted); font-size: var(--t-xs);
  text-transform: uppercase; letter-spacing: 0.04em; padding: 11px 14px; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.tbl tbody td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background var(--dur) var(--ease); }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .strong { font-weight: 600; color: var(--ink); }

/* ============================================================================
   Chips / badges
   ============================================================================ */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pill); font-size: var(--t-xs); font-weight: 600; line-height: 1.5; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.guest    { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.chip.partner  { color: oklch(0.55 0.18 300); background: oklch(0.55 0.18 300 / 0.12); border-color: transparent; }
.chip.reserved { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.chip.attended { color: var(--pos); background: var(--pos-soft); border-color: transparent; }
.chip.no_show  { color: var(--neg); background: var(--neg-soft); border-color: transparent; }
.chip.cancelled{ color: var(--faint); }
.chip.follow_up{ color: oklch(0.58 0.13 285); background: oklch(0.58 0.13 285 / 0.12); border-color: transparent; }
.chip.role     { color: var(--ink-2); }
@media (prefers-color-scheme: dark) { .chip.partner { color: oklch(0.78 0.13 300); background: oklch(0.78 0.13 300 / 0.16); } .chip.follow_up { color: oklch(0.78 0.11 285); background: oklch(0.78 0.11 285 / 0.16); } }

/* ============================================================================
   Stat band + progress
   ============================================================================ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 16px 18px; }
.stat .v { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.stat .k { color: var(--muted); font-size: var(--t-xs); font-weight: 560; margin-top: 4px; }
.stat .v.pos { color: var(--pos); }
.progress { height: 7px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.progress > i { display: block; height: 100%; background: var(--accent); border-radius: var(--r-pill); transition: width 500ms var(--ease); }
.progress > i.full { background: var(--pos); }

/* ============================================================================
   Filters
   ============================================================================ */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.filters input, .filters select { height: 38px; font-size: var(--t-sm); }
.search { position: relative; }
.search .icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); stroke: var(--faint); pointer-events: none; }
.search input { padding-left: 34px; }

/* ============================================================================
   Skeleton / empty / toast
   ============================================================================ */
.sk { background: linear-gradient(90deg, var(--surface-2) 25%, var(--line) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--r-sm); height: 14px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.empty { text-align: center; padding: 44px 22px; }
.empty .ec { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.empty .ec .icon { width: 22px; height: 22px; }
.empty h3 { font-size: var(--t-md); font-weight: 640; }
.empty p { color: var(--muted); font-size: var(--t-sm); margin: 5px 0 16px; max-width: 38ch; margin-inline: auto; }

#toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: var(--z-toast); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; background: var(--ink); color: var(--bg); padding: 11px 15px; border-radius: var(--r-md); font-size: var(--t-sm); font-weight: 560; box-shadow: var(--shadow-lg); animation: toastin 0.26s var(--ease); max-width: 92vw; }
.toast .icon { stroke: currentColor; }
.toast.ok { background: var(--pos); color: oklch(0.99 0 0); }
.toast.err { background: var(--neg); color: oklch(0.99 0 0); }
@keyframes toastin { from { opacity: 0; transform: translateY(10px); } }

/* ============================================================================
   Gate (PIN / giriş)
   ============================================================================ */
.gate { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 22px; background: var(--bg); }
.gate::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 0%, var(--accent-soft), transparent 70%); pointer-events: none; }
.gate .box { position: relative; width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 26px; box-shadow: var(--shadow-lg); text-align: center; }
.gate .mark { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 13px; background: linear-gradient(145deg, var(--accent), oklch(0.62 0.17 300)); display: grid; place-items: center; color: var(--accent-ink); box-shadow: var(--shadow-md); }
.gate .mark svg { width: 24px; height: 24px; stroke: currentColor; }
.gate h1 { font-size: var(--t-lg); font-weight: 680; }
.gate .lead { color: var(--muted); font-size: var(--t-sm); margin: 6px 0 20px; }
.gate input.pin { text-align: center; letter-spacing: 0.5em; font-size: var(--t-xl); font-weight: 700; height: 54px; font-variant-numeric: tabular-nums; }
.gate .err { color: var(--neg); font-size: var(--t-sm); min-height: 20px; margin-top: 10px; font-weight: 540; }
.gate .btn { margin-top: 14px; height: 46px; }

/* ============================================================================
   Misc
   ============================================================================ */
.linkfield { display: flex; gap: 6px; align-items: center; }
.linkfield input { height: 36px; font-size: var(--t-xs); font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); }
.hint { background: var(--accent-soft); border-radius: var(--r-md); padding: 12px 14px; font-size: var(--t-sm); color: var(--ink-2); }
.hint b { color: var(--ink); }

/* Public sayfalar (check-in / bilet) */
.pubwrap { min-height: 100dvh; display: grid; place-items: start center; padding: 28px 18px calc(40px + env(safe-area-inset-bottom)); }
.pubcard { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 24px; box-shadow: var(--shadow-md); text-align: center; }
.pubmark { width: 52px; height: 52px; margin: 2px auto 14px; border-radius: 14px; background: linear-gradient(145deg, var(--accent), oklch(0.62 0.17 300)); display: grid; place-items: center; color: var(--accent-ink); box-shadow: var(--shadow-md); }
.pubmark svg { width: 27px; height: 27px; stroke: currentColor; }
.pubmark.ok { background: linear-gradient(145deg, var(--pos), oklch(0.55 0.14 158)); }
.pubmark.warn { background: linear-gradient(145deg, var(--warn), oklch(0.66 0.15 60)); }
.pub-name { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 7px 15px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: var(--t-md); }
.qrbox { background: #fff; border-radius: var(--r-lg); padding: 14px; display: inline-block; margin: 6px auto 4px; border: 1px solid var(--line); }
.qrbox img, .qrbox svg { width: 216px; height: 216px; display: block; }
.minfo { color: var(--muted); font-size: var(--t-sm); margin-top: 12px; line-height: 1.7; }
.minfo b { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
