/* =========================================================================
   hotelwebby transfer — tasarım sistemi (HotelWebby Management System ile ortak dil)
   Temiz/açık SaaS görünümü: beyaz yan menü, açık gri zemin, beyaz kartlar,
   mavi ana renk, sarı vurgu, mono sayılar. Koyu tema destekli.
   ========================================================================= */

:root {
  --font-ui: "IBM Plex Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  /* v1.5k: my./survey.hotelwebby.com ile aynı aile — logo da IBM Plex Sans (Josefin kaldırıldı) */
  --font-logo: var(--font-ui);

  /* Marka */
  --brand: #00167b;          /* logo zemini — koyu lacivert */
  --brand-2: #0a2aa8;
  --blue: #1f62d9;           /* ana renk */
  --blue-2: #1750b8;
  --blue-soft: #ebf1fd;      /* aktif menü zemini */
  --blue-text: #1e4fa8;
  --yellow: #f5c518;         /* sarı vurgu (aktif çip, alt çizgi) */
  --yellow-text: #5a4300;
  --gold: #f5c518;           /* v1.5k: kardeş sitelerde vurgu tek sarı; eski altın (#e0b34a) kalktı */
  --hero: #0a1a5c;           /* kardeş sitelerle ortak hero bandı */
  --hero-2: #050f45;
  --head: #0b1540;           /* sarı düğme üstündeki lacivert yazı */
  --orange: #e0a34a;

  /* Yüzeyler */
  --bg: #eef0f4;
  --surface: #ffffff;
  --surface-2: #f6f7fa;
  --border: #e4e7ec;
  --border-2: #d3d8e0;

  /* Metin */
  --text: #10131a;
  --text-2: #3f4753;
  --muted: #6b7280;
  --label: #8a919e;

  /* Durum */
  --green: #1e8a4a; --green-bg: #e6f5ec;
  --red: #c8322b;   --red-bg: #fdeceb;
  --info: #1e4fa8;  --info-bg: #ebf1fd;
  --amber: #8a5a00; --amber-bg: #fff4e0;

  /* Roller */
  --role-user: #1f62d9;
  --role-admin: #b7791f;
  --role-superadmin: #8b2c5a;
  --role-group: #0f8a6a;
  --role-hw_admin: #0a2aa8;
  --role-hotel: #1f62d9;
  --role-transfer_admin: #b7791f;
  --role-driver: #0f8a6a;
  --role-guest: #6b3fc7;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(16, 19, 26, .08), 0 1px 2px rgba(16, 19, 26, .04);
  --shadow-sm: 0 1px 2px rgba(16, 19, 26, .04);
  --sidebar-w: 236px;
}

:root[data-theme="dark"] {
  --blue-soft: rgba(59, 111, 224, .18);
  --blue-text: #9dbcf7;
  --yellow-text: #2a2000;

  --bg: #0e1220;
  --surface: #151a2a;
  --surface-2: #1b2133;
  --border: #252c3f;
  --border-2: #323b52;

  --text: #e7e9ef;
  --text-2: #b8bfcc;
  --muted: #8b93a5;
  --label: #7d8596;

  --green: #7fd3a1; --green-bg: #17301f;
  --red: #f19a94;   --red-bg: #3a1d1c;
  --info: #9dbcf7;  --info-bg: #182640;
  --amber: #f0c274; --amber-bg: #33270f;

  --role-user: #8fb3f3;
  --role-admin: #e3c06a;
  --role-superadmin: #ec9ec3;
  --role-group: #5fd1b0;
  --role-hw_admin: #a9b8ff;
  --role-hotel: #8fb3f3;
  --role-transfer_admin: #e3c06a;
  --role-driver: #5fd1b0;
  --role-guest: #c3a6ff;

  --shadow: 0 12px 30px rgba(0, 0, 0, .45), 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
}

/* ---------- Sıfırlama ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-ui); font-size: 14px; line-height: 1.5;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.005em; color: var(--text); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Logo / kelime markası ---------- */
.wordmark { display: inline-flex; align-items: baseline; font-size: 20px; letter-spacing: -0.01em; color: var(--brand); line-height: 1; }
.wordmark .w1 { font-weight: 400; position: relative; padding-bottom: 3px; }
.wordmark .w1::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--yellow); }
.wordmark .w2 { font-weight: 700; }
:root[data-theme="dark"] .wordmark { color: #f2f4f8; }

.wordmark-hero { font-family: var(--font-logo); font-weight: 400; font-size: clamp(34px, 4.2vw, 52px); color: #fff; letter-spacing: -0.01em; line-height: 1; display: inline-flex; align-items: baseline; }
.wordmark-hero .w1 { position: relative; padding-bottom: 6px; }
.wordmark-hero .w1::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px; background: var(--yellow); }
.wordmark-hero .w2 { font-weight: 700; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 14px; transition: background .15s ease, box-shadow .15s ease, transform .06s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(31, 98, 217, .28); }
.btn-primary:hover { background: var(--blue-2); }
/* v1.5k: kardeş sitelerin sarı çağrı düğmesi ve koyu zemin üstündeki şeffaf düğme */
.btn-yellow { background: var(--yellow); color: var(--head); }
.btn-yellow:hover { background: #ffd23a; box-shadow: 0 10px 26px -12px rgba(245, 197, 24, .7); }
.btn-cam { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-cam:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.btn-ghost { background: var(--surface); color: var(--text-2); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 11px; font-size: 13px; }

/* ---------- Form ---------- */
.input {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border-2);
  background: var(--surface); color: var(--text); font: inherit; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: var(--muted); }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 98, 217, .18); }
.input[aria-invalid="true"] { border-color: var(--red); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field .error { font-size: 12.5px; color: var(--red); }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checkbox { width: 15px; height: 15px; accent-color: var(--blue); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 44px; }
.eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 7px; border: 0; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.eye:hover { background: var(--surface-2); color: var(--text); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 10px 13px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 14px; border: 1px solid transparent; }
.alert-error   { background: var(--red-bg);   color: var(--red);   border-color: color-mix(in srgb, var(--red) 25%, transparent); }
.alert-success { background: var(--green-bg); color: var(--green); border-color: color-mix(in srgb, var(--green) 25%, transparent); }
.alert-info    { background: var(--info-bg);  color: var(--info);  border-color: color-mix(in srgb, var(--info) 25%, transparent); }
.alert-warning { background: var(--amber-bg); color: var(--amber); border-color: color-mix(in srgb, var(--amber) 30%, transparent); }
.alert svg { flex: none; margin-top: 2px; }
/* Kapatılabilir uyarı (11 Eyl): düğme app.js tarafından eklenir; anahtar içerik değişince uyarı geri gelir */
.alert[data-dismiss] { position: relative; padding-right: 38px; transition: opacity .2s, transform .2s; }
.alert[data-dismiss].is-leaving { opacity: 0; transform: translateY(-4px); }
.alert-close {
  position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; line-height: 1;
  border: 0; border-radius: 8px; background: transparent; color: inherit; opacity: .55;
  font-size: 19px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.alert-close:hover { opacity: 1; background: color-mix(in srgb, currentColor 14%, transparent); }

/* ---------- Rozetler / çipler ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border: 1px solid currentColor; line-height: 1.5; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-user { color: var(--role-user); }
.badge-admin { color: var(--role-admin); }
.badge-group_manager { color: var(--role-group, #0f8a6a); }
.badge-superadmin { color: var(--role-superadmin); }
.badge-hw_admin { color: var(--role-hw_admin); }
.badge-hotel { color: var(--role-hotel); }
.badge-transfer_admin { color: var(--role-transfer_admin); }
.badge-driver { color: var(--role-driver); }
.badge-guest { color: var(--role-guest); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border-2); }
.chip.active { background: var(--yellow); color: var(--yellow-text); border-color: var(--yellow); }
.chip.on-dark { color: #eef1ff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.chip.on-dark::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.pill-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pill-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { color: var(--green); background: var(--green-bg); }
.pill-off { color: var(--muted); background: var(--surface-2); }
.pill-warn { color: var(--yellow-text); background: #fff3c4; }
.pill-err { color: var(--red); background: var(--red-bg); }
:root[data-theme="dark"] .pill-warn { color: #f5c518; background: #3a3000; }

.delta { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 6px; }
.delta-up { color: var(--green); background: var(--green-bg); }
.delta-down { color: var(--red); background: var(--red-bg); }
.delta-flat { color: var(--muted); background: var(--surface-2); }

.theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; }
.theme-toggle:hover { color: var(--blue); border-color: var(--blue); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

/* =========================================================================
   LOGIN
   ========================================================================= */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }

.auth-hero {
  position: relative; overflow: hidden; padding: 44px 52px; color: #eef1ff;
  background:
    radial-gradient(800px 420px at 0% 0%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(720px 440px at 78% 18%, rgba(31, 98, 217, .6), transparent 65%),
    radial-gradient(560px 380px at 6% 92%, rgba(245, 197, 24, .13), transparent 70%),
    linear-gradient(180deg, var(--hero-2) 0%, var(--hero) 70%);   /* v1.5k: kardeş sitelerin hero'su */
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(75% 75% at 50% 50%, #000 30%, transparent 100%);
}
.auth-hero > * { position: relative; z-index: 1; }
.hero-body { max-width: 520px; margin: 40px 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.hero-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; color: #fff; margin: 14px 0 14px; font-weight: 600; letter-spacing: -0.01em; }
.hero-title em { font-style: normal; color: var(--yellow); }
.hero-text { color: rgba(238, 241, 255, .78); font-size: 15px; max-width: 460px; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: rgba(238, 241, 255, .55); }

.auth-side { display: flex; flex-direction: column; padding: 24px; }
.auth-topbar { display: flex; justify-content: flex-end; }
.auth-card-wrap { flex: 1; display: grid; place-items: center; padding: 12px 0; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 24px; margin-bottom: 6px; }
.auth-card .lead { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.auth-foot { font-size: 12px; color: var(--muted); text-align: center; margin-top: 16px; }
.auth-foot a { color: var(--text-2); font-weight: 600; }

@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth-hero { padding: 26px 22px; }
  .hero-body { margin: 20px 0; }
  .hero-foot { display: none; }
  .hero-text { font-size: 14px; }
  .auth-side { padding: 18px; }
  .auth-card { padding: 24px; }
}

/* =========================================================================
   PANEL DÜZENİ
   ========================================================================= */
.shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }

.sidebar {
  background: var(--surface); border-right: 1px solid var(--border); padding: 16px 12px;
  display: flex; flex-direction: column; gap: 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.sidebar-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 2px 4px 4px; }
.collapse {
  border: 1px solid transparent; background: transparent; color: var(--muted); line-height: 0; padding: 6px;
  border-radius: 9px; cursor: pointer; flex: none; transition: background .12s, color .12s, border-color .12s;
}
.collapse:hover { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.collapse svg { transition: transform .18s ease; }
.sidebar-section { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--label); padding: 0 10px; margin-bottom: 6px; font-weight: 600; }
.nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.nav a {
  position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px;
  color: var(--text-2); font-size: 13.5px; font-weight: 500; white-space: nowrap;
  transition: background .12s ease, color .12s ease;
}
.nav a svg { flex: none; color: var(--muted); transition: color .12s ease; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a:hover svg { color: var(--text-2); }
.nav a.active { background: var(--blue-soft); color: var(--blue-text); font-weight: 600; }
.nav a.active svg { color: var(--blue); }
.nav a.active::before {                        /* aktif öğede sol vurgu çubuğu */
  content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: var(--blue);
}
.nav-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nav .soon { margin-left: auto; font-size: 9px; padding: 1px 5px; border-radius: 4px; background: var(--surface-2); color: var(--muted); font-weight: 600; letter-spacing: .02em; border: 1px solid var(--border); flex: none; }
.sf-avatar {
  display: none; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
}
.sidebar-foot { margin-top: auto; padding: 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.sidebar-foot strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
a.sidebar-foot { display: block; text-decoration: none; transition: border-color .12s, background .12s; }
a.sidebar-foot:hover, a.sidebar-foot.active { border-color: var(--blue); background: var(--blue-soft); }

/* Ana alan EKRANI DOLDURUR (Harun, 25 Eyl 2026).
   Önceden 1560px'te kesilip ortalanıyordu; geniş ekranda sağda ve solda boş şerit kalıyordu.
   Okunabilirlik kaygısı yerinde ama çözümü içeriği daraltmak değil: tablolar zaten
   `table-layout: fixed` ve sütun genişlikleri tanımlı, yani orantılı genişliyor. Uzun METİN
   taşıyan yerler (formlar, yardım) kendi `.content-narrow` sınırını koruyor — sınır, metnin
   olduğu yerde. */
.main { display: flex; flex-direction: column; min-width: 0; padding: 14px 18px 24px; gap: 14px;
        width: 100%; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 14px 10px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.topbar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar h1 { font-size: 16px; font-weight: 600; white-space: nowrap; }
.status-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.status-dot b { color: var(--text-2); font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.select-like { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 13px; color: var(--text); max-width: 260px; }
.select-like span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-like svg { color: var(--muted); flex: none; }
.scope-form { display: inline-flex; }
.scope-select { position: relative; padding-right: 10px; }
.scope-select select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--text); padding: 0 4px 0 0; max-width: 220px; cursor: pointer; outline: none; }
.scope-select select option { font-weight: 500; color: initial; }
:root[data-theme="dark"] .scope-select select option { color: #10131a; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; flex: none; }
.user-menu { display: flex; align-items: center; gap: 10px; }
.user-menu .who { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.user-menu .who span { font-size: 13px; font-weight: 600; white-space: nowrap; }
.user-menu .who small { font-size: 11px; color: var(--muted); }
.user-menu a.who, .user-menu a.avatar { text-decoration: none; color: inherit; }
.user-menu a.avatar { color: #fff; }
.user-menu a.avatar:hover { filter: brightness(1.08); }
.user-menu a.who:hover span { color: var(--blue-text); }
/* Profil sayfası */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.menu-btn { display: none; }
/* ---- Yan menü dar kipi (11 Eyl): simge şeridi. Açma/kapama .collapse düğmesiyle, seçim hatırlanır. ---- */
:root.nav-rail { --sidebar-w: 76px; }
.shell { transition: grid-template-columns .18s ease; }
:root.nav-rail .sidebar { padding: 16px 10px; align-items: stretch; }
:root.nav-rail .sidebar-head { justify-content: center; }
:root.nav-rail .wordmark .w1, :root.nav-rail .wordmark .w2 { display: none; }
:root.nav-rail .wordmark::before {              /* dar kipte yalnızca marka harfi */
  content: "hw"; font-weight: 800; font-size: 15px; letter-spacing: -.03em; color: var(--blue);
}
:root.nav-rail .sidebar-head { flex-direction: column; gap: 6px; }
:root.nav-rail .collapse svg { transform: rotate(180deg); }
:root.nav-rail .sidebar-section { height: 1px; padding: 0; margin: 4px 10px 8px; background: var(--border); overflow: hidden; color: transparent; }
:root.nav-rail .nav a { justify-content: center; padding: 11px 0; gap: 0; }
:root.nav-rail .nav a::before { left: -10px; }
:root.nav-rail .nav-label, :root.nav-rail .nav .soon { display: none; }
:root.nav-rail .nav-count {                     /* rozet simgenin sağ üst köşesine iner */
  position: absolute; top: 3px; right: 6px; margin: 0; min-width: 15px; padding: 0 4px;
  font-size: 9.5px; line-height: 15px; box-shadow: 0 0 0 2px var(--surface);
}
:root.nav-rail .sidebar-foot { padding: 8px; display: flex; justify-content: center; }
:root.nav-rail .sidebar-foot strong, :root.nav-rail .sidebar-foot div, :root.nav-rail .sidebar-foot .badge { display: none; }
:root.nav-rail .sf-avatar { display: grid; }
@media (max-width: 860px) { :root.nav-rail { --sidebar-w: 236px; } }   /* çekmece kipinde dar kip yok */
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.filters .spacer { flex: 1; }
.content { display: grid; gap: 14px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.card.accent-blue { border-top: 3px solid var(--blue); }
.card.accent-orange { border-top: 3px solid var(--orange); }
.card.accent-red { border-top: 3px solid var(--red); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h2 { font-size: 15px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--label); padding: 2px 4px; }
.section-title a { color: var(--blue); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }

.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-top { display: flex; align-items: center; gap: 10px; }
.stat-icon { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.stat-icon.yellow { background: #fff3c4; color: #8a6400; }
.stat-icon.green { background: var(--green-bg); color: var(--green); }
.stat-icon.purple { background: #efe8fb; color: #6b3fc7; }
.stat-icon.red { background: var(--red-bg); color: var(--red); }
:root[data-theme="dark"] .stat-icon.yellow { background: #3a3000; color: #f5c518; }
:root[data-theme="dark"] .stat-icon.purple { background: #2a1f4a; color: #c3a6ff; }
.stat .label { font-size: 11.5px; color: var(--label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stat .value { font-family: var(--font-mono); font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat .value small { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.stat .value.dim { color: var(--muted); font-weight: 600; }
.stat .value.blue { color: var(--blue); }
.stat .value.red { color: var(--red); }
.stat .sub { font-size: 12px; color: var(--muted); }

.empty { border: 1px dashed var(--border-2); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--muted); background: var(--surface-2); }
.empty strong { display: block; color: var(--text-2); font-weight: 600; margin-bottom: 4px; }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--label); padding: 8px 10px; border-bottom: 1px solid var(--border); font-weight: 700; }
.table td { padding: 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: start; }
.messages { display: grid; gap: 8px; }

.fab { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; border: 0; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(31, 98, 217, .35); }

@media (max-width: 1080px) { .two-col { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(84vw, 290px); transform: translateX(-100%); transition: transform .2s ease; z-index: 20; }
  .sidebar.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.45); }
  .menu-btn { display: inline-flex; }
  .main { padding: 10px 12px 20px; }
  .status-dot { display: none; }
  .user-menu .who { display: none; }
  .select-like { max-width: 150px; }
}


.muted-sm { font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.hint { font-size: 12px; color: var(--muted); }
.eyebrow { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--label); font-weight: 700; margin-bottom: 4px; }

/* =========================================================================
   TRANSFER — v0.1 eklemeleri
   ========================================================================= */

/* Kelime markası: "transfer" etiketi */
/* v1.5k: survey.hotelwebby.com'daki "SURVEY" rozetiyle aynı — çerçeveli, zeminsiz, rengi yazıdan alır */
.wordmark .wm-tag { align-self: center; margin-left: 7px; padding: 3px 6px; border: 1px solid; border-radius: 6px; font-size: .52em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
:root.nav-rail .wordmark .wm-tag { display: none; }
.brand-row { display: flex; align-items: flex-end; gap: 12px; }
.brand-tag { font-family: var(--font-logo); font-size: 14px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); padding-bottom: 6px; }

/* Login: akış şeridi */

/* Login: giriş yöntemi seçici (aynı ekran, iki sekme) */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.seg-btn { border: 0; background: transparent; color: var(--text-2); font-weight: 600; font-size: 13px; padding: 8px 10px; border-radius: 7px; }
.seg-btn:hover { color: var(--text); }
.seg-btn.active { background: var(--surface); color: var(--blue-text); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.input-code { font-family: var(--font-mono); font-size: 20px; letter-spacing: .18em; text-transform: uppercase; text-align: center; }

/* Menüde henüz açılmamış sayfalar */
.nav a.is-soon { cursor: default; opacity: .62; }
.nav a.is-soon:hover { background: transparent; color: var(--text-2); }

/* Süper admin önizleme bandı */
.preview-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: var(--radius); background: var(--blue-soft); color: var(--blue-text); border: 1px solid color-mix(in srgb, var(--blue) 30%, transparent); font-size: 13px; }
.preview-bar span { flex: 1; min-width: 220px; }

/* KPI ızgarası */
.grid-kpi { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Karşılama kartı */
.hello { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 3px solid var(--yellow); }
.hello h2 { font-size: 20px; margin-bottom: 4px; }
.hello p { color: var(--text-2); max-width: 560px; }
.hello-kv { padding: 10px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }

/* Transfer akışı */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.flow-step { position: relative; display: flex; gap: 12px; padding: 9px 10px; border-radius: 10px; opacity: .55; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 38px; bottom: -8px; width: 2px; background: var(--border); }
.flow-step.on { opacity: 1; background: var(--blue-soft); }
.flow-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text-2); position: relative; z-index: 1; }
.flow-step.on .flow-n { background: var(--blue); border-color: var(--blue); color: #fff; }
.flow-step strong { display: block; font-size: 13.5px; }
.flow-step p { font-size: 12.5px; color: var(--muted); }

/* Yol haritası listesi */
.soon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.soon-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); padding: 9px 11px; border: 1px dashed var(--border-2); border-radius: 9px; }
.soon-list svg { flex: none; color: var(--muted); margin-top: 2px; }

/* Süper admin: panel kartları */
.panel-card { display: flex; flex-direction: column; gap: 8px; transition: border-color .12s, box-shadow .12s, transform .12s; }
.panel-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-1px); }
.panel-card-head { display: flex; align-items: center; gap: 10px; }
.panel-card-head strong { font-size: 15px; }
.panel-card-head .badge { margin-left: auto; }
.panel-card p { font-size: 13px; color: var(--muted); flex: 1; }
.panel-card-go { font-size: 13px; font-weight: 600; color: var(--blue); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Misafir paneli (mobil öncelikli) */
.guest-wrap { max-width: 720px; width: 100%; margin: 0 auto; }
.guest-card h2 { font-size: 22px; margin-bottom: 2px; }
.guest-status { margin: 18px 0; padding: 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); display: grid; gap: 8px; justify-items: start; color: var(--text-2); }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.track-step { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); text-align: center; }
.track-step span { width: 100%; height: 6px; border-radius: 3px; background: var(--border); }
.track-step.done span { background: var(--blue); }
.code-box { margin-top: 18px; display: grid; justify-items: center; gap: 2px; padding: 14px; border-radius: 10px; border: 1px dashed var(--border-2); }
.code-box b { font-size: 24px; letter-spacing: .14em; }

/* Hata sayfaları */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.error-page .auth-card { text-align: center; }

@media (max-width: 860px) {
  .hello-kv { width: 100%; }
}
@media (max-width: 560px) {
  .grid-kpi { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid-kpi .stat .value { font-size: 24px; }
  .grid-kpi .stat .label { font-size: 10.5px; }
  .track-step { font-size: 10.5px; }
  .topbar h1 { font-size: 15px; }
  .topbar-right .select-like { display: none; }
}

/* =========================================================================
   YÖNETİM (v0.2) — kurumlar, kullanıcılar, profil
   ========================================================================= */
.input-sm { padding: 7px 11px; font-size: 13px; }
.filters .input { width: auto; }
.filters input[type=search] { min-width: 220px; }
.chip-sep { width: 1px; align-self: stretch; margin: 2px 4px; background: var(--border-2); }
.filters .chip .mono { font-size: 11.5px; opacity: .8; margin-left: 2px; }
a.chip:hover { border-color: var(--blue); color: var(--blue-text); }
a.chip.active:hover { color: var(--yellow-text); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .field { margin-bottom: 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid [data-org-field] .field { margin-bottom: 14px; }
select.input { appearance: auto; }
.input:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.req { color: var(--red); }
.hint ul { margin: 4px 0 0; padding-left: 18px; }
.form-note { margin: 2px 0 14px; }
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.form-actions form { display: inline; }
.back-link { font-size: 13px; font-weight: 600; color: var(--blue-text); padding: 0 4px; justify-self: start; }
.back-link:hover { text-decoration: underline; }

.btn-danger { background: var(--surface); color: var(--red); border-color: color-mix(in srgb, var(--red) 45%, transparent); }
.btn-danger:hover { background: var(--red-bg); }
.danger-zone { border-top: 3px solid color-mix(in srgb, var(--red) 55%, transparent); }
.danger-zone p { margin-bottom: 12px; font-size: 13px; }

.table .num { text-align: right; }
.table tbody tr:hover td { background: var(--surface-2); }
.row-off td, li.row-off { opacity: .55; }
.row-title { font-weight: 600; color: var(--text); }
.row-title:hover { color: var(--blue-text); }
.who-cell { display: flex; align-items: center; gap: 10px; }
.avatar.sm { width: 30px; height: 30px; font-size: 11.5px; }
.kind { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.kind::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--role-hotel); }
.kind-transfer::before { background: var(--role-transfer_admin); }

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.people li { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--border); }
.people li:last-child { border-bottom: 0; }
.people li > div { flex: 1; min-width: 0; }
.people strong { font-size: 13.5px; }

.copy-row { display: flex; gap: 6px; }
.copy-row .input { flex: 1; min-width: 0; }
.btn.is-done { color: var(--green); border-color: var(--green); }

.content > *, .two-col > *, .grid > * { min-width: 0; }
.nowrap { white-space: nowrap; }
@media (max-width: 720px) {
  .col-opt { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .filters input[type=search] { min-width: 0; flex: 1; }
}

/* =========================================================================
   TRANSFER TALEPLERİ (v0.3)
   ========================================================================= */
/* Durum rozeti */
.st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-warn { color: var(--yellow-text); background: #fff3c4; }
.st-info { color: var(--info); background: var(--info-bg); }
.st-go   { color: #fff; background: var(--blue); }
.st-go::before { animation: pulse 1.4s ease-in-out infinite; }
.st-ok   { color: var(--green); background: var(--green-bg); }
.st-off  { color: var(--muted); background: var(--surface-2); }
:root[data-theme="dark"] .st-warn { color: #f5c518; background: #3a3000; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .st-go::before { animation: none; } }

/* Tablolar */
.clickable { cursor: pointer; }
.when { display: flex; flex-direction: column; line-height: 1.25; }
.when b { font-size: 15px; }
/* Sabit 360px sınırı, hücre genişken bile metni kırpıyordu. Artık hücre kadar
   yayılır; ancak gerçekten daralınca kırpılır. */
.route { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2);
         min-width: 180px; }
/* min-width:0 olmadan flex kutular içeriklerinden küçülmez ve sütun sıkışıp
   kalır; tablo taşar, Durum sütunu ekran dışına düşerdi. */
.route span:not(.route-arrow) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.route-arrow { color: var(--muted); flex: none; }
.link-sm { font-size: 13px; font-weight: 600; color: var(--blue-text); }
.link-sm:hover { text-decoration: underline; }
.empty a { color: var(--blue-text); font-weight: 600; }

/* KPI kartı bağlantı */
a.stat-link { transition: border-color .12s, box-shadow .12s; }
a.stat-link:hover { border-color: var(--blue); box-shadow: var(--shadow); }

/* Panel: yeni talep çağrısı */
.cta { display: flex; align-items: center; gap: 14px; border-top: 3px solid var(--yellow); }
.cta:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.cta div { flex: 1; }
.cta p { font-size: 13px; color: var(--muted); }

/* Yeni talep formu */
.seg-3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 4px; }
.seg label.seg-btn { display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer; border: 1px solid transparent; }
.seg label.seg-btn input { position: absolute; opacity: 0; pointer-events: none; }
.seg label.seg-btn:has(input:checked) { background: var(--surface); color: var(--blue-text); box-shadow: var(--shadow-sm); border-color: var(--border); }
.seg label.seg-btn:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 1px; }
/* v2.2.4 — komisyon türü: yalnız seçilen türün alanı görünür (JS'siz; :has desteklenmezse ikisi de görünür) */
form:has(select[name=commission_kind] option[value=""]:checked) [data-kom],
form:has(select[name=commission_kind] option[value=percent]:checked) [data-kom=fixed],
form:has(select[name=commission_kind] option[value=fixed]:checked) [data-kom=percent],
form:has(input[name=default_commission_kind][value=percent]:checked) [data-kom=fixed],
form:has(input[name=default_commission_kind][value=fixed]:checked) [data-kom=percent] { display: none; }
.form-grid-4 { grid-template-columns: repeat(4, 1fr); }
.transfer-form .card .field:last-child { margin-bottom: 0; }

/* Detay başlığı + ilerleme */
.tr-head { border-top: 3px solid var(--blue); }
.tr-head-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tr-head h2 { font-size: 22px; margin: 2px 0 4px; }
.tr-when { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; color: var(--text-2); font-size: 14px; }
.tr-when b, .flight { white-space: nowrap; }
.flight { font-weight: 600; }
.track { margin-top: 16px; }
.track-8 { grid-template-columns: repeat(8, 1fr); }
.track-step.now { color: var(--blue-text); font-weight: 700; }

/* Güzergâh (dikey) */
.route-v { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; position: relative; }
.route-v::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 16px; width: 2px; background: var(--border-2); }
.route-v li { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.route-v .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--blue); background: var(--blue); }
.route-v .dot.b { background: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); }
.route-v small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--label); font-weight: 700; }
.route-v strong { font-size: 14.5px; }
.facts { padding-top: 12px; border-top: 1px solid var(--border); }
.note-box { margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; }
.note-box small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--label); font-weight: 700; margin-bottom: 2px; }
.card-head .btn svg { margin-right: -2px; }

/* Eylemler */
.actions-card { border-top: 3px solid var(--yellow); display: grid; gap: 10px; }
.actions-card .card-head { margin-bottom: 2px; }
.action-block .field { margin-bottom: 10px; }
.action-block .form-grid .field { margin-bottom: 10px; }
details.action-block summary { list-style: none; cursor: pointer; }
details.action-block summary::-webkit-details-marker { display: none; }
details.action-block[open] summary { margin-bottom: 10px; opacity: .7; }
.btn-lg { padding: 15px 18px; font-size: 16px; border-radius: 12px; }
.driver-actions .btn-primary { min-height: 54px; }

/* Zaman çizelgesi */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 0; width: 2px; background: var(--border); }
.tl-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.timeline li:last-child .tl-dot { background: var(--yellow); box-shadow: 0 0 0 3px #fff3c4; }
.tl-cancelled .tl-dot, .tl-rejected .tl-dot { background: var(--red) !important; box-shadow: 0 0 0 3px var(--red-bg) !important; }
.tl-completed .tl-dot { background: var(--green) !important; box-shadow: 0 0 0 3px var(--green-bg) !important; }
.timeline strong { font-size: 13.5px; margin-right: 6px; }
.timeline p { font-size: 13px; color: var(--text-2); margin-top: 1px; }

/* Misafir takip */
.guest-now { margin: 16px 0 6px; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.guest-now-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.guest-time { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; color: var(--text-2); }
.guest-time b { font-size: 30px; color: var(--text); letter-spacing: -.02em; }
.guest-now .route-v { margin-bottom: 0; }
.guest-now .route-v::before { display: none; }
.driver-card { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); }
.driver-card > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.muted-av { background: var(--surface-2); color: var(--muted); }

@media (max-width: 720px) {
  .form-grid-4 { grid-template-columns: 1fr 1fr; }
  .track-8 { grid-template-columns: repeat(4, 1fr); row-gap: 10px; }
  .tr-head h2 { font-size: 19px; }
  .seg-3 .seg-btn { font-size: 12px; padding: 8px 4px; }
}

/* =========================================================================
   BİLDİRİMLER (v0.4)
   ========================================================================= */
.bell { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; }
.bell:hover, .bell.active { color: var(--blue); border-color: var(--blue); }
.bell.has-unread svg { animation: ring 2.4s ease-in-out 1; transform-origin: 50% 10%; }
.bell-count { position: absolute; top: -5px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--surface); }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-14deg); } 50% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .bell.has-unread svg { animation: none; } }

.notif-wrap { max-width: 860px; width: 100%; }
.notifs { list-style: none; margin: 0; padding: 0; }
.notifs li + li { border-top: 1px solid var(--border); }
.notifs a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 6px; border-radius: 8px; }
.notifs a:hover { background: var(--surface-2); }
.notifs a > div { flex: 1; min-width: 0; }
.notifs strong { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.notifs p { font-size: 13px; color: var(--muted); margin-top: 1px; }
.notifs li.unread strong { font-weight: 700; color: var(--text); }
.notifs time { white-space: nowrap; }
.notif-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; background: var(--border-2); }
.unread .notif-dot { background: var(--blue); }
.unread .notif-dot.tone-red { background: var(--red); }
.unread .notif-dot.tone-green { background: var(--green); }
.unread .notif-dot.tone-yellow { background: var(--yellow); }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; padding-top: 12px; }

/* Anlık uyarı (sağ alt) */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 8px; width: min(360px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--blue); box-shadow: var(--shadow); animation: toast-in .25s ease-out; }
.toast.tone-red { border-left-color: var(--red); }
.toast.tone-green { border-left-color: var(--green); }
.toast.tone-yellow { border-left-color: var(--yellow); }
.toast a { flex: 1; min-width: 0; }
.toast strong { display: block; font-size: 13.5px; }
.toast p { font-size: 12.5px; color: var(--muted); }
.toast button { border: 0; background: transparent; color: var(--muted); font-size: 18px; line-height: 1; padding: 0 2px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 560px) { .toasts { right: 16px; bottom: 16px; } }

/* =========================================================================
   CANLI KONUM (v0.5)
   ========================================================================= */
.map { height: 320px; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; background: var(--surface-2); position: relative; z-index: 0; }
.map-lg { height: calc(100vh - 230px); min-height: 420px; }
.map-foot { margin-top: 8px; }
.map-card { border-top: 3px solid var(--blue); }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.live-state { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.live-state.ok { color: var(--green); }
.live-state.ok .live-dot { background: var(--green); animation: pulse 1.4s ease-in-out infinite; }
.live-state.wait .live-dot { background: var(--yellow); }
.live-state.bad { color: var(--red); }
.live-state.bad .live-dot { background: var(--red); }

/* Şoför üst çubuğundaki konum göstergesi */
.tracker { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 14px; border-radius: var(--radius); font: inherit; font-size: 13px; font-weight: 700; border: 1px solid var(--border-2); background: var(--surface); color: var(--muted); cursor: pointer; text-align: left; }
.tracker-code { margin-left: auto; font-size: 12px; opacity: .8; }
.tracker.ok { color: var(--green); border-color: color-mix(in srgb, var(--green) 45%, transparent); background: var(--green-bg); }
.tracker.ok .live-dot { background: var(--green); animation: pulse 1.4s ease-in-out infinite; }
.tracker.wait .live-dot { background: var(--yellow); }
.tracker.bad { color: var(--red); border-color: color-mix(in srgb, var(--red) 45%, transparent); background: var(--red-bg); }
.tracker.bad .live-dot { background: var(--red); }
@media (prefers-reduced-motion: reduce) { .tracker.ok .live-dot, .live-state.ok .live-dot { animation: none; } }

.st-bad { color: #fff; background: var(--red); }

/* Canlı takip sayfası */
.live-layout { display: grid; grid-template-columns: 1fr 320px; gap: 12px; align-items: start; }
.live-list { list-style: none; margin: 0; padding: 0; max-height: calc(100vh - 230px); overflow: auto; }
.live-list li { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--border); }
.live-list li:last-child { border-bottom: 0; }
.live-list li a { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.live-list li a:hover strong { color: var(--blue-text); }
.live-list .empty-li { display: block; border: 0; }
.leaflet-container { font-family: var(--font-ui); }

@media (max-width: 1080px) { .live-layout { grid-template-columns: 1fr; } .map-lg { height: 60vh; } }
@media (max-width: 560px) { .map { height: 260px; } .topbar h1 { overflow: hidden; text-overflow: ellipsis; min-width: 0; } .topbar-left { flex: 1; } }

/* =========================================================================
   BÖLGE VE FİYAT (v0.7)
   ========================================================================= */
.chip-air { padding: 1px 7px; font-size: 11px; background: var(--blue-soft); color: var(--blue-text); border-color: transparent; }
.route-miss { display: inline-block; padding: 1px 7px; margin: 2px 4px 0 0; border-radius: 999px; background: color-mix(in srgb, currentColor 12%, transparent); font-size: 12px; }
.quotes { display: grid; gap: 6px; margin-bottom: 12px; }
.quotes-head { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--label); font-weight: 700; }
.quote { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--border-2); background: var(--surface); font: inherit; font-size: 13px; text-align: left; }
.quote b { font-family: var(--font-mono); white-space: nowrap; }
.quote:hover { border-color: var(--blue); color: var(--blue-text); }
.quote.is-picked { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-text); }
.quote.no-price { color: var(--muted); }
.quote.no-price b { font-family: var(--font-ui); font-weight: 600; font-size: 12px; }

/* v0.8 — puanlanmış firma önerileri */
.cands { display: grid; gap: 6px; margin-bottom: 12px; }
.cands-cfg { float: right; font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--blue-text); }
.cand { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 11px; border-radius: 9px;
        border: 1px solid var(--border-2); background: var(--surface); font: inherit; font-size: 13px; text-align: left; }
.cand:hover:not(:disabled) { border-color: var(--blue); }
.cand.is-picked { border-color: var(--blue); background: var(--blue-soft); }
.cand.best { border-color: var(--blue); }
.cand.blocked { opacity: .55; cursor: not-allowed; }
.cand-score { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
              background: var(--blue-soft); color: var(--blue-text); font-family: var(--font-mono); font-weight: 700; font-size: 13px; }
.cand.blocked .cand-score { background: var(--surface-2); color: var(--muted); }
.cand-main { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; }
.cand-main b { font-weight: 650; }
.cand-main small { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.cand-price { flex: 0 0 auto; font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.cand-price.no-price { font-family: var(--font-ui); color: var(--muted); font-size: 11.5px; }
.tag-best { font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
            color: var(--blue-text); background: var(--blue-soft); border-radius: 5px; padding: 1px 5px; margin-left: 4px; }

.score-pill { display: inline-grid; place-items: center; min-width: 28px; height: 20px; padding: 0 6px; margin-left: 6px;
              border-radius: 6px; background: var(--blue-soft); color: var(--blue-text);
              font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; }

/* Küçük durum rozeti. ADI ÖNEMLİ: .chip filtre çipidir (yukarıda), karıştırılmamalı. */
.tag { display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); color: var(--muted);
       font-size: 11px; font-weight: 600; }
.tag-auto { background: var(--blue-soft); color: var(--blue-text); }
.tag-accepted { background: var(--green-bg); color: var(--green); }
.tag-rejected { background: var(--red-bg); color: var(--red); }
.tag-pending { background: var(--amber-bg); color: var(--amber); }
.tag-withdrawn { background: var(--surface-2); color: var(--muted); }

.code-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px;
             border: 1px solid var(--border-2); background: var(--surface); color: var(--text);
             font: inherit; font-size: 12px; cursor: pointer; }
.code-chip .mono { font-family: var(--font-mono); letter-spacing: .04em; }
.code-chip svg { width: 13px; height: 13px; color: var(--muted); }
.code-chip:hover { border-color: var(--blue); }
.code-chip.is-done { border-color: var(--green); background: var(--green-bg); color: var(--green); }
.code-chip.is-done svg { color: inherit; }

.push-state { font-size: 12px; color: var(--muted); margin: 8px 0 10px; }
.push-state.on { color: var(--green); font-weight: 600; }
.push-state.off { color: var(--muted); }

/* Uygulama olarak ekle şeridi (v1.2) */
.install { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 14px;
           border-radius: var(--radius); border: 1px solid var(--border-2); background: var(--surface);
           box-shadow: var(--shadow-sm); }
.install[hidden] { display: none; }
.install-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
                background: var(--blue-soft); color: var(--blue-text); }
.install-body { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.install-body b { font-size: 13.5px; font-weight: 650; }
.install-body span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.install-prompt, .install-ios { display: none; }
.install[data-mode="prompt"] .install-prompt { display: block; }
.install[data-mode="ios"] .install-ios { display: block; }
.install[data-mode="ios"] .install-go { display: none; }
.install-close { flex: none; width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent;
                 color: var(--muted); display: grid; place-items: center; }
.install-close:hover { background: var(--surface-2); color: var(--text); }
@media (max-width: 620px) { .install { flex-wrap: wrap; } .install-body { flex-basis: 100%; order: 3; }
  /* Gövde alt satıra inince kapat düğmesi ikonun dibinde kalmasın */
  .install-close { margin-left: auto; } }

/* Raporlar (v1.1) — gün gün çubuk şeridi */
.spark { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: 3px;
         height: 120px; overflow-x: auto; }
.spark li { flex: 1 0 14px; display: flex; flex-direction: column; align-items: center;
            justify-content: flex-end; height: 100%; gap: 4px; }
.spark-bar { width: 100%; min-height: 3px; border-radius: 3px 3px 0 0; background: var(--blue);
             opacity: .85; }
.spark li:hover .spark-bar { opacity: 1; }
.spark-lbl { font-size: 9.5px; color: var(--muted); font-family: var(--font-mono); }

/* Yardım (v0.9) */
.faq { border-bottom: 1px solid var(--border); }
.faq:last-of-type { border-bottom: 0; }
.faq > summary { list-style: none; cursor: pointer; padding: 11px 26px 11px 0; font-size: 13.5px; font-weight: 600; position: relative; }
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
                        font-size: 17px; font-weight: 400; color: var(--muted); line-height: 1; }
.faq[open] > summary::after { content: "–"; }
.faq > summary:hover { color: var(--blue-text); }
.faq p { margin: 0 0 12px; color: var(--text-2); font-size: 13px; line-height: 1.6; }

.howto { list-style: none; margin: 0; padding: 0; counter-reset: howto; display: grid; gap: 10px; }
.howto li { display: grid; gap: 1px; padding-left: 30px; position: relative; }
.howto li::before { counter-increment: howto; content: counter(howto); position: absolute; left: 0; top: 1px;
                    width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center;
                    background: var(--blue-soft); color: var(--blue-text); font-size: 11.5px; font-weight: 700; }
.howto b { font-size: 13px; font-weight: 650; }
.howto span { color: var(--muted); font-size: 12px; line-height: 1.45; }

/* Takvim (v0.9) */
.cal-head { display: grid; gap: 12px; }
.cal-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-title { display: grid; line-height: 1.25; margin-right: 4px; }
.cal-title b { font-size: 15px; }
.cal-sum { font-size: 12px; color: var(--muted); font-weight: 600; }
.btn.is-disabled { opacity: .4; pointer-events: none; }

.cal-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-day { display: grid; gap: 1px; justify-items: center; padding: 8px 4px; border-radius: 9px;
           border: 1px solid var(--border-2); background: var(--surface); text-align: center; }
.cal-day:hover { border-color: var(--blue); }
.cal-day.selected { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-text); }
.cal-day.today .cal-dn { text-decoration: underline; text-underline-offset: 3px; }
.cal-day.is-bos { color: var(--muted); }
.cal-wd { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--label); }
.cal-day.selected .cal-wd { color: inherit; }
.cal-dn { font-family: var(--font-mono); font-size: 17px; font-weight: 700; }
.cal-ct { font-size: 10.5px; color: var(--muted); }
.cal-day.selected .cal-ct { color: inherit; }

.cal-list { padding: 4px 0 0; }
.cal-list .table td { padding-top: 9px; padding-bottom: 9px; }
.cal-list .table tbody:first-child .cal-hour-row th { border-top: 0; }
/* Saat başlığı artık ayrı kart değil, tablonun içinde bir ayraç satırı */
.cal-hour-row th { text-align: left; text-transform: none; letter-spacing: 0; font-weight: 600;
  padding: 12px 10px 6px; border-bottom: 1px solid var(--border); border-top: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-2); }
.cal-hour-row b { font-size: 13.5px; margin-right: 8px; }
/* Geniş tablolar sabit düzende. Serbest düzende (table-layout:auto) bir hücre
   içeriğinin en dar halinden daha fazla küçülemez; bu yüzden uzun güzergâh
   metni tabloyu taşırıyor ve Durum sütununu ekran dışına atıyordu. Sabit
   düzende sütun genişliğini başlık belirler, taşan metin kırpılır. */
.table-fixed { table-layout: fixed; }
.table-fixed th, .table-fixed td { overflow: hidden; text-overflow: ellipsis; }
.col-when   { width: 92px; }
.col-main   { width: 208px; }
.col-org    { width: 150px; }
.col-driver { width: 124px; }
/* En uzun durum rozeti "Firmaya iletildi" = 135px; hücre dolgusuyla 164px
   yeterli. Dar verilirse rozet kırpılıyordu. */
.col-status { width: 164px; text-align: right; }
.route-cell { width: auto; }            /* kalan boşluğun tamamını alır */
/* Panelin dar yan sütununda duran tablo: sabit genişlikler oraya sığmıyor ve durum
   rozetini kenardan taşırıyordu. Orada serbest düzen daha iyi dağıtıyor. */
.table-narrow { table-layout: auto; }
.table-narrow .col-when, .table-narrow .col-main, .table-narrow .col-status { width: auto; }
.table-narrow .col-main .row-title, .table-narrow .col-main .muted-sm { white-space: normal; }
.col-main .row-title, .col-main .muted-sm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col-org, .col-driver, .col-status { white-space: nowrap; }
/* Sütunlar kademeli düşer. Durum sütunu asla düşmez: bir talebin nerede
   olduğu, otelinin adından her zaman daha önemli. */
@media (max-width: 1180px) { .col-org { display: none; } }
/* Güzergâh önce düşer: kalan yerde 100px'e sıkışmış bir adres okunmaz,
   oysa şoför adı o genişliğe rahat sığar. */
@media (max-width: 960px)  { .route-cell { display: none; } }
@media (max-width: 800px)  { .col-driver { display: none; } }
@media (max-width: 620px) {
  .cal-strip { grid-template-columns: repeat(4, 1fr); }
  /* Dar ekranda sabit düzen isimleri kırpıyordu; burada sütun sayısı zaten
     üçe indiği için serbest düzen daha iyi dağıtıyor. */
  .table-fixed { table-layout: auto; }
  .col-when, .col-main, .col-status { width: auto; }
  .col-main .row-title, .col-main .muted-sm { white-space: normal; }
  .col-status { white-space: nowrap; }
}

.pw-rules { margin: 10px 0 16px; padding-left: 18px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }

.tr-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.tr-head-side .btn { gap: 6px; }

.attempts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.attempts li { display: flex; gap: 9px; align-items: flex-start; }
.attempts .score-pill { margin: 1px 0 0; flex: none; }
.at-main { display: grid; gap: 2px; min-width: 0; }
.at-main b { font-weight: 650; font-size: 13px; }
.at-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.at-main small { color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.at-note { font-style: italic; }

/* Eşleştirme ayarları sayfası */
.match-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-items: start; }
.weights { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.weight { display: grid; gap: 3px; }
.weight label { font-size: 12px; font-weight: 650; }
.weight small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.weight input { width: 100%; }
.check span { display: grid; gap: 1px; }
.check span small { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
@media (max-width: 900px) { .match-grid, .weights { grid-template-columns: 1fr; } }

/* Modül yetkileri ekranı (v1.3b) */
.mod-row { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.mod-row:last-of-type { border-bottom: 0; }
.mod-role { flex: none; width: 190px; display: grid; gap: 2px; align-content: start; }
.mod-role strong { font-size: 14.5px; }
.mod-list { flex: 1; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.check-inline { margin: 0; }
@media (max-width: 720px) { .mod-row { flex-direction: column; gap: 10px; } .mod-role { width: auto; } }

/* "Şimdi ne yapmalıyım" listesi (v1.3b) */
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.todo a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text);
  transition: border-color .12s, transform .12s; }
.todo a:hover { border-color: var(--blue); transform: translateX(2px); }
.todo-n { flex: none; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px;
  display: grid; place-items: center; font-size: 17px; font-weight: 700; }
.todo-n.tone-warn { background: var(--amber-bg); color: var(--amber); }
.todo-n.tone-err { background: var(--red-bg); color: var(--red); }
.todo-n.tone-info { background: var(--blue-soft); color: var(--blue-text); }
.todo-text { flex: 1; font-size: 14px; line-height: 1.4; }
.todo-go { flex: none; color: var(--muted); font-size: 18px; }
.todo-clear { display: flex; align-items: center; gap: 10px; padding: 18px 4px; color: var(--muted); font-size: 14px; }
.todo-clear svg { color: var(--green); }

/* ===========================================================================
   Vitrin (v1.3c) — girişsiz rezervasyon sayfası. Panel kabuğu yok: yan menü,
   üst çubuk ve rol rozetleri burada anlamsız; gelen kişi müşteri, personel değil.
   =========================================================================== */
.shop { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
/* Üst çubuk: dil seçici (v1.5d) eklenince dar ekranda taşıyordu. `flex-wrap` ile ikinci
   satıra iniyor, `min-width:0` marka yazısının küçülmesine izin veriyor — ikisi birlikte
   olmazsa satır yine taşar. */
.shop-top { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding: 16px 24px; border-bottom: 1px solid var(--border);
  background: var(--surface); }
.shop-top > .wordmark { min-width: 0; }
.shop-top-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  justify-content: flex-end; }
.shop-main { flex: 1; width: 100%; max-width: 940px; margin-inline: auto;
  padding: 32px 20px 48px; display: grid; gap: 20px; align-content: start; }
.shop-hero { display: grid; gap: 10px; }
.shop-hero h1 { font-size: 30px; line-height: 1.2; font-weight: 700; }
.shop-hero p { font-size: 15px; color: var(--muted); max-width: 620px; line-height: 1.55; }
.shop-form, .shop-book { display: grid; gap: 14px; }
.shop-row { display: flex; flex-wrap: wrap; gap: 14px; }
.shop-row .field { flex: 1 1 150px; min-width: 0; }
.shop-row .field-wide { flex: 2 1 260px; }

/* Araç seçenekleri: fiyat en sağda, göz tek sütunda karşılaştırsın */
.shop-cars { display: grid; gap: 10px; }
.shop-car { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.shop-car:hover { border-color: var(--blue); }
.shop-car input { accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
/* `min-width: 0` olmadan esnek çocuk içeriğinden dar olamaz: Rusça "Легковой автомобиль"
   ya da Almanca "Reisebus" gibi uzun araç adları kartı telefon ekranından geniş yapıyordu. */
.shop-car-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.shop-car-body b { font-size: 15px; overflow-wrap: anywhere; }
.shop-car-body small { font-size: 12.5px; color: var(--muted); }
.shop-car-price { font-size: 19px; font-weight: 700; white-space: nowrap; }
.shop-car:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }

.shop-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 4px; }
.shop-why div { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--border);
  border-radius: 12px; background: var(--surface); }
.shop-why b { font-size: 14px; }
.shop-why span { font-size: 13px; color: var(--muted); line-height: 1.5; }

.shop-done { display: grid; gap: 14px; justify-items: start; }
.shop-done h1 { font-size: 26px; font-weight: 700; }
.shop-done .kv, .shop-done .alert, .shop-done .copy-row, .shop-done .btn-block { width: 100%; }
.copy-row { display: flex; gap: 8px; }
.copy-row .input { flex: 1; min-width: 0; font-size: 12.5px; }

.shop-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.shop-foot a { color: var(--muted); }

@media (max-width: 720px) {
  .shop-why { grid-template-columns: 1fr; }
  .shop-hero h1 { font-size: 25px; }
  .shop-main { padding: 22px 16px 36px; }
  .shop-top { padding: 12px 16px; }
  .shop-supply { gap: 12px; }
  .shop-supply .btn { width: 100%; }
}

/* Izgara çocukları varsayılan olarak `min-width:auto` alır: içeriği kolondan genişse
   kolonu iter ve sayfa yatay kayar. Vitrinde 320 px'te tam olarak bu oluyordu. Uzun
   kelimeleri de bölüyoruz — Rusçada tek kelime bir telefon ekranından geniş olabiliyor. */
.shop-main > *, .shop-hero > *, .wdg > * { min-width: 0; }
.shop-hero h1, .shop-hero p, .shop-why span, .shop-supply span { overflow-wrap: anywhere; }

/* Telefon: dil seçici ve giriş düğmesi aynı satıra sığmıyor — marka tek başına üstte,
   denetimler altında. Yan yana sıkıştırmak ikisini de okunmaz yapardı. */
@media (max-width: 460px) {
  .shop-top { justify-content: center; }
  .shop-top-right { width: 100%; justify-content: space-between; }
  .lang-opt { padding: 4px 7px; }
}

/* Çok dar ekran (eski iPhone SE, küçük Android): iki kolonlu form satırı ve araç kartı
   yan yana sığmıyor. Sıkıştırmak yerine alt alta alıyoruz — çeviri metinleri Türkçeden
   uzun olabiliyor ve tasarımın buna dayanması gerekiyor. */
@media (max-width: 380px) {
  .shop-row { flex-direction: column; }
  .shop-row .field, .shop-row .field-wide { flex: 1 1 auto; width: 100%; }
  .shop-car { flex-wrap: wrap; gap: 8px 12px; }
  .shop-car-price { font-size: 17px; }
}

/* ---- Puan ve yorum (v1.5a) ------------------------------------------------ */
/* Tek kolonlu form sayfaları: geniş ekranda satırlar okunamayacak kadar uzamasın. */
.content-narrow { max-width: 620px; }

/* Yıldız seçimi. Radio'lar görünmez ama odaklanabilir kalır: klavyeyle de seçilebilir.
   Seçim "seçilenin solundaki hepsi dolu" değil; her seçenek kendi yıldız sayısını
   gösteriyor — 5'ten 1'e sıralı, soldaki en iyi. Böylece yanlışlıkla 1 vermek zor. */
.star-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.star-opt { display: grid; justify-items: center; gap: 2px; min-width: 52px; padding: 8px 6px;
  border: 1px solid var(--border); border-radius: 10px; cursor: pointer; background: var(--surface);
  transition: border-color .12s, background .12s; }
.star-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-opt span { font-size: 20px; line-height: 1; color: var(--border-2); }
.star-opt small { font-size: 11.5px; color: var(--muted); }
.star-opt:hover { border-color: var(--blue); }
.star-opt:has(input:checked) { border-color: var(--yellow); background: var(--amber-bg); }
.star-opt:has(input:checked) span { color: var(--yellow); }
.star-opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Verilmiş puanın gösterimi */
.stars { display: inline-flex; gap: 1px; }
.stars .star { color: var(--border-2); font-size: 14px; line-height: 1; }
.stars .star.on { color: var(--yellow); }
.stars-lg .star { font-size: 17px; }
.rev-text { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 0; }
.rev-card, .rev-invite { display: grid; gap: 10px; }
.rev-invite p { margin: 0; }

/* Firma adının yanındaki ortalama puan */
.rate-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-left: 6px;
  border-radius: 999px; background: var(--amber-bg); color: var(--amber);
  border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.rate-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rate-avg { font-size: 30px; font-weight: 700; line-height: 1; }
.rev-list { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.rev-list li { display: grid; gap: 4px; padding: 11px 13px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--surface-2); }
.rev-list p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }

/* ---- Belgeler ve başvurular (v1.5b) --------------------------------------- */
.doc-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.doc-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
/* Eksik zorunlu belgeyi soldaki şeritle işaretliyoruz: listede gözle taranabilsin. */
.doc-row.st-missing { border-left: 3px solid var(--border-2); }
.doc-row.st-pending { border-left: 3px solid var(--yellow); }
.doc-row.st-approved { border-left: 3px solid var(--green); }
.doc-row.st-rejected { border-left: 3px solid var(--red); }
.doc-main { display: grid; gap: 3px; min-width: 0; }
.doc-main b { font-size: 13.5px; }
.doc-main small { font-size: 12px; color: var(--muted); }
.doc-note { font-style: italic; color: var(--red) !important; }
.doc-side { display: flex; align-items: center; gap: 10px; flex: none; }
.doc-row .req { color: var(--red); font-weight: 700; }

.app-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.app-row { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); }
.app-row:hover { border-color: var(--blue); }
.app-main { display: grid; gap: 3px; min-width: 0; }
.app-main b { font-size: 14px; }
.app-main small { font-size: 12px; color: var(--muted); }
.app-side { display: flex; align-items: center; gap: 10px; flex: none; }
.decide-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Vitrinin arz tarafı çağrısı: talep formundan sonra, ayırt edilebilir ama baskın değil. */
.shop-supply { display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; }
.shop-supply div { display: grid; gap: 4px; max-width: 560px; }
.shop-supply b { font-size: 14.5px; }
.shop-supply span { font-size: 13px; color: var(--muted); line-height: 1.55; }
.shop-foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* Dinamik fiyat notu araç kartında: tutarın altında küçük, tutarı bastırmadan. */
.shop-car-price { display: grid; justify-items: end; gap: 2px; }
.price-note { font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; }

/* ---- Dil seçici (v1.5d) --------------------------------------------------- */
/* Bayrak kullanmıyoruz: bayrak ülkeyi anlatır, dili değil — Almanca konuşan Avusturyalı
   Alman bayrağında kendini bulmaz. İki harfli kod her yerde anlaşılıyor. */
.lang-pick { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px;
  border: 1px solid var(--border-2); background: var(--surface); }
.lang-opt { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .3px; color: var(--muted);
  text-decoration: none; }
.lang-opt:hover { color: var(--text); background: var(--surface-2); }
.lang-opt.is-on { color: var(--yellow-text); background: var(--yellow); }

/* ---- Widget (v1.5e) ------------------------------------------------------- */
/* Ortağın sitesindeki iframe'in içi. Kendi arka planı YOK: ortağın sayfası neyse
   üstüne oturuyor. Kenar boşluğu küçük — iframe'in kendi genişliği zaten sınır. */
.widget-body { background: transparent; margin: 0; }
.wdg { display: grid; gap: 12px; padding: 4px; max-width: 720px; }
.wdg-form { display: grid; gap: 12px; }
.wdg-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.wdg-row .field-wide { grid-column: span 2; }
.wdg-done { display: grid; gap: 12px; }
.wdg-done h1 { font-size: 21px; font-weight: 700; }
@media (max-width: 520px) {
  .wdg-row { grid-template-columns: 1fr 1fr; }
  .wdg-row .field-wide { grid-column: span 2; }
}

/* ---- Entegrasyon durumu (v1.5f) ------------------------------------------- */
.integ-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.integ-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); border-left: 3px solid var(--border-2); }
.integ-row.is-on { border-left-color: var(--green); }
.integ-main { display: grid; gap: 3px; min-width: 0; }
.integ-main b { font-size: 14px; }
.integ-main small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.integ-warn { color: var(--amber) !important; }
.integ-side { flex: none; }

/* Devre dışı düğme devre dışı GÖRÜNMELİ. Mavi ve basılabilir duran bir düğmenin
   tıklandığında hiçbir şey yapmaması, kullanıcıya yalan söylemektir. */
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.btn:disabled:hover, .btn[disabled]:hover { filter: grayscale(.4); }

/* ==========================================================================
   Panel ana sayfası (v1.5g) — "daha şık ve dolu" (Harun, 25 Eyl 2026)
   12 kolonluk ızgara: 1920'de üç sütun gerçekten dolu; 1200 altında ikiye,
   760 altında teke iner. Grafik kütüphanesi yok — çubuklar CSS.
   Renkler: sıralı veri (aşamalar, tamamlanan/diğer) TEK TONUN adımları;
   dataviz doğrulayıcısından açık ve koyu yüzeyde ayrı ayrı geçti.
   ========================================================================== */
:root {
  --viz-done: #1f62d9;  --viz-rest: #86b6ef;
  --viz-1: #86b6ef; --viz-2: #5598e7; --viz-3: #2a78d6; --viz-4: #184f95;
}
:root[data-theme="dark"] {
  --viz-done: #5598e7;  --viz-rest: #1c5cab;
  --viz-1: #1c5cab; --viz-2: #2a78d6; --viz-3: #5598e7; --viz-4: #9ec5f4;
}

.dash { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.dash > * { min-width: 0; display: flex; flex-direction: column; }
.dash > * > .card { flex: 1; }
.dash .stack { gap: 14px; }
.dash .stack > .card:last-child { flex: 1; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
/* 1280'de (içerik ~1040px) üç kart hâlâ yan yana sığıyor; 1100 altında ikişer, üçüncü
   kart (role özel) tam genişlik — yarım satırda yalnız kalmasın. Dar ekranda "Şimdi ne
   yapmalıyım" grafiğin ÜSTÜNE çıkar: telefonda önce iş, sonra eğilim. */
@media (max-width: 1100px) {
  .span-8, .span-7, .span-5 { grid-column: span 12; }
  .span-4 { grid-column: span 6; }
  .dash > .stack { grid-column: span 12; order: -1; }
  .dash > .span-4:nth-child(5) { grid-column: span 12; }
}
@media (max-width: 760px) { .dash > * { grid-column: span 12 !important; } }


/* KPI — büyük kart, tonuna göre sol şerit */
.kpi-lg { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.kpi-lg .stat { position: relative; padding: 18px 20px 16px; gap: 10px; overflow: hidden; }
.kpi-lg .stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--blue); }
.kpi-lg .stat.tone-yellow::before { background: var(--yellow); }
.kpi-lg .stat.tone-green::before { background: var(--green); }
.kpi-lg .stat.tone-purple::before { background: #6b3fc7; }
.kpi-lg .stat.tone-red::before { background: var(--red); }
.kpi-lg .stat-icon { width: 34px; height: 34px; border-radius: 9px; }
.kpi-lg .stat .value { font-size: 34px; }
@media (min-width: 1600px) { .kpi-lg .stat .value { font-size: 40px; } }
.kpi-delta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }

/* 30 gün */
.trend-sum { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.trend-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; }
.trend-big > b { font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.trend-big > span { color: var(--muted); font-size: 14px; }
.trend-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.trend-facts dt { font-size: 11px; color: var(--label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.trend-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
.legend { display: inline-flex; gap: 14px; font-size: 12px; color: var(--text-2); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg-done { background: var(--viz-done); } .lg-rest { background: var(--viz-rest); }

.bars-wrap { position: relative; padding-top: 10px; }
.bars-max { position: absolute; top: -4px; left: 0; font-size: 10px; color: var(--muted); }
.bars-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; border-top: 1px dashed var(--border); }
.bars { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 3px; height: 190px; }
@media (min-width: 1600px) { .bars { height: 230px; } }
.bars li { flex: 1 1 0; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) 20px;
  position: relative; border-radius: 4px; outline: none; }
.bars .slot { position: relative; display: block; }
.bars .slot > .bar { position: absolute; left: 0; right: 0; bottom: 0; }
.bars li.we { background: var(--surface-2); }
.bars .bar { display: flex; flex-direction: column; justify-content: flex-end; min-height: 2px; border-radius: 4px 4px 0 0;
  background: var(--viz-rest); overflow: hidden; margin: 0 1px; }
.bars .bar-done { display: block; width: 100%; background: var(--viz-done); border-top: 2px solid var(--surface); }
.bars .bar-done[style="height:100%"] { border-top: 0; }
.bars .bar-lbl { height: 16px; margin-top: 4px; display: block; font-size: 10px; color: var(--muted); text-align: center; white-space: nowrap; }
.bars li.today .bar-lbl { color: var(--text); font-weight: 700; }
.bars li:hover .bar, .bars li:focus-visible .bar { filter: brightness(1.08); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--viz-done); }
.bars li[data-tip]:hover::after, .bars li[data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--text); color: var(--surface); font-size: 11.5px; padding: 5px 8px; border-radius: 6px;
  white-space: nowrap; z-index: 5; pointer-events: none; box-shadow: var(--shadow); }
.bars li:first-child[data-tip]::after, .bars li:nth-child(2)[data-tip]::after { left: 0; transform: none; }
.bars li:last-child[data-tip]::after, .bars li:nth-last-child(2)[data-tip]::after { left: auto; right: 0; transform: none; }
.trend-table { margin-top: 10px; font-size: 12.5px; }
.trend-table summary { cursor: pointer; color: var(--blue-text); }
.trend-table .table-wrap { max-height: 240px; overflow: auto; margin-top: 8px; }

/* Bu ay */
.month { display: flex; flex-direction: column; gap: 14px; }
.month .label, .score .label { font-size: 11px; color: var(--label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.month-money { display: grid; gap: 6px; }
.month-money > b { font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.month-money > b small { font-size: 14px; color: var(--muted); font-weight: 600; }
.month-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.month-row .label { flex-basis: 100%; }
.month-row > b { font-size: 22px; font-weight: 700; }
.month .link-sm { margin-top: auto; }
.dim { color: var(--muted) !important; }

/* Huni */
.fn-bar { display: flex; gap: 2px; height: 14px; border-radius: 4px; overflow: hidden; margin-bottom: 12px; background: var(--surface-2); }
.fn-seg { flex-basis: 0; min-width: 6px; }
.fn-0 { background: var(--border); }   /* v1.6: misafir onayı bekleyen ön rezervasyon — nötr */
.fn-1 { background: var(--viz-1); } .fn-2 { background: var(--viz-2); } .fn-3 { background: var(--viz-3); } .fn-4 { background: var(--viz-4); }
.fn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fn-list a, .fn-list .fn-row { display: grid; grid-template-columns: 12px 1fr auto 44px 12px; align-items: center; gap: 10px;
  padding: 9px 6px; border-radius: 8px; color: var(--text); text-decoration: none; }
.fn-list a:hover { background: var(--surface-2); }
.fn-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.fn-label { font-size: 13.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fn-list b { font-size: 16px; }
.fn-pct { font-size: 12px; color: var(--muted); text-align: right; }

/* Son hareketler */
.act-list { list-style: none; margin: 0; padding: 0; }
.act-list a { display: grid; grid-template-columns: 88px auto 1fr auto; align-items: center; gap: 10px;
  padding: 9px 4px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.act-list li:last-child a { border-bottom: 0; }
.act-list a:hover { background: var(--surface-2); }
.act-time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.act-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.act-main b { font-size: 12px; margin-right: 4px; }
.act-who { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .act-list a { grid-template-columns: 1fr auto; } .act-time, .act-who { display: none; } }

/* Ağ / firma / otel kartları */
.net-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.net-stats > * { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2);
  color: var(--text); text-decoration: none; min-width: 0; }
.net-stats > a:hover { background: var(--blue-soft); }
.net-stats b { font-size: 22px; font-weight: 700; line-height: 1.1; }
.net-stats span { font-size: 12px; color: var(--text-2); }
.net-stats small { font-size: 11px; color: var(--muted); }
.net-stats .net-alert { background: #fff3c4; }
:root[data-theme="dark"] .net-stats .net-alert { background: #3a3000; }
.mini-title { font-size: 11px; color: var(--label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rank li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13px; }
.rank.plain li { grid-template-columns: minmax(0, 1fr) auto; padding: 6px 0; border-bottom: 1px solid var(--border); }
.rank.plain li:last-child { border-bottom: 0; }
.rank-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.rank-bar i { display: block; height: 100%; background: var(--viz-3); border-radius: 0 4px 4px 0; }

.score-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px; }
.score { display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: 10px; background: var(--surface-2); }
.score > b { font-size: 28px; font-weight: 700; line-height: 1.1; }
.score small { font-size: 11.5px; color: var(--muted); }
.meter { display: block; height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--viz-done); }
.company .hint { margin: 0 0 12px; }

/* Süper admin panel kartları — geniş ekranda altı yan yana */
.grid-panels { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 460px) { .score-row, .net-stats { grid-template-columns: 1fr; } }

/* ==========================================================================
   Vitrin (v1.5g) — iki sütunlu kahraman bandı
   Bant ekranın tamamını kaplar (lacivert marka zemini); içerik 1280'de ortalanır.
   Okuma genişliği için sınır içerikte, zeminde değil — 1920'de kenarlar "boş" değil,
   bandın devamı.
   ========================================================================== */
.shop-band { background: radial-gradient(1200px 500px at 85% -10%, rgba(245,197,24,.18), transparent 60%),
  linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 55%, #1b47c4 100%); color: #fff; }
.shop-hero-grid { max-width: 1280px; margin-inline: auto; padding: 56px 28px 64px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 480px); gap: 48px; align-items: center; }
.shop-pitch { display: grid; gap: 16px; align-content: center; min-width: 0; }
.shop-eyebrow { justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.12); color: #ffe27a; }
.shop-pitch h1 { font-size: 44px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; color: #fff; }
.shop-pitch p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 560px; overflow-wrap: anywhere; }
.shop-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.shop-steps li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: rgba(255,255,255,.92); min-width: 0; }
.shop-steps li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.step-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; background: var(--yellow); color: #2a2000; }

.shop-form-lg { padding: 24px; gap: 12px; box-shadow: 0 24px 60px rgba(0, 8, 60, .35); color: var(--text); }
.shop-form-title { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.shop-form-lg .shop-row { gap: 12px; }
.shop-form-lg .shop-row-3 .field { flex: 1 1 90px; }
.shop-form-lg .btn-lg { margin-top: 4px; }

/* Fiyat görüldükten sonra bant kısalır ve form TEK SATIRLIK arama çubuğuna döner:
   araç seçenekleri ilk ekrana gelsin, adresi değiştirmek isteyen de formu kaybetmesin. */
.shop-band.is-quoted .shop-hero-grid { grid-template-columns: 1fr; gap: 14px; padding: 26px 28px 30px; }
.shop-band.is-quoted .shop-steps, .shop-band.is-quoted .shop-pitch p,
.shop-band.is-quoted .shop-eyebrow, .shop-band.is-quoted .shop-form-title { display: none; }
.shop-band.is-quoted .shop-pitch h1 { font-size: 24px; }
.shop-band.is-quoted .shop-form-lg { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 2.2fr) auto;
  align-items: end; gap: 12px; padding: 16px 18px; }
.shop-band.is-quoted .shop-form-lg > .alert { grid-column: 1 / -1; }
.shop-band.is-quoted .shop-form-lg .shop-row { flex-wrap: nowrap; }
.shop-band.is-quoted .shop-form-lg .shop-row-3 .field { flex: 1 1 0; min-width: 0; }
.shop-band.is-quoted .shop-form-lg .btn-lg { width: auto; margin: 0; padding: 12px 20px; font-size: 15px; }
@media (max-width: 1100px) {
  .shop-band.is-quoted .shop-form-lg { grid-template-columns: 1fr 1fr; }
  .shop-band.is-quoted .shop-form-lg .btn-lg { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 560px) { .shop-band.is-quoted .shop-form-lg { grid-template-columns: 1fr; } }
.shop-car:has(input:checked) .shop-car-icon { background: var(--surface); }

.shop-main.is-wide { max-width: 1280px; padding: 32px 28px 56px; gap: 24px; }

/* Araç kartları: geniş ekranda yan yana, ikonlu; fiyat altta büyük */
.shop-main.is-wide .shop-cars { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.shop-main.is-wide .shop-car { display: grid; grid-template-columns: auto 1fr; grid-template-areas:
  "radio icon" "body body" "price price"; align-items: center; gap: 10px 12px; padding: 16px 18px;
  transition: border-color .15s, box-shadow .15s; }
.shop-main.is-wide .shop-car input { grid-area: radio; }
.shop-car-icon { grid-area: icon; justify-self: end; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.shop-main.is-wide .shop-car-body { grid-area: body; }
.shop-main.is-wide .shop-car-body b { font-size: 16px; }
.shop-main.is-wide .shop-car-price { grid-area: price; justify-items: start; font-size: 24px;
  padding-top: 10px; border-top: 1px solid var(--border); }
.shop-main.is-wide .shop-car:has(input:checked) { box-shadow: 0 0 0 2px var(--blue) inset; }

.shop-main.is-wide .shop-why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-why div { align-content: start; }
.why-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 6px; }

@media (max-width: 1100px) {
  .shop-hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px 40px; }
  .shop-pitch h1 { font-size: 34px; }
  .shop-steps { display: none; }
  .shop-main.is-wide .shop-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .shop-hero-grid, .shop-band.is-quoted .shop-hero-grid { padding: 24px 16px 28px; gap: 20px; }
  .shop-pitch h1, .shop-band.is-quoted .shop-pitch h1 { font-size: 26px; }
  .shop-pitch p { font-size: 15px; }
  .shop-steps { display: none; }
  .shop-form-lg { padding: 18px; }
  .shop-main.is-wide { padding: 22px 16px 36px; }
  .shop-main.is-wide .shop-why { grid-template-columns: 1fr; }
}

/* Dar ekran (v1.5g) — temel kurallardan SONRA durmalı, yoksa ezilir. */
@media (max-width: 760px) {
  .kpi-lg { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi-lg .stat { padding: 13px 14px 12px; gap: 6px; }
  .kpi-lg .stat .value { font-size: 26px; }
  .kpi-lg .stat-icon { width: 28px; height: 28px; }
  .kpi-delta > span:last-child { display: none; }
  .bars { height: 150px; gap: 2px; }
  .bars li .bar-lbl { visibility: hidden; }
  .bars li.mon .bar-lbl, .bars li.today .bar-lbl { visibility: visible; }
  .trend-big > b { font-size: 30px; }
}
/* ==========================================================================
   Vitrin v1.5k — my./survey.hotelwebby.com ile aynı hero + canlı fiyat + harita
   Bant: kardeş sitelerin hero'su (koyu→lacivert, sağ üstte mavi ışık, ince ızgara).
   Üst çubuk bandın İÇİNDE ve şeffaf. Form solda, harita sağda.
   ========================================================================== */
.shop-band.vt { position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(720px 440px at 78% 18%, rgba(31, 98, 217, .6), transparent 65%),
    radial-gradient(560px 380px at 6% 92%, rgba(245, 197, 24, .13), transparent 70%),
    linear-gradient(180deg, var(--hero-2) 0%, var(--hero) 70%); }
.shop-band.vt::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 65% at 65% 35%, #000 20%, transparent 100%); }
.shop-band.vt > * { position: relative; }

.vt .vt-top { background: transparent; border-bottom: 1px solid rgba(255,255,255,.1);
  max-width: 1280px; margin-inline: auto; padding: 16px 28px; }
.vt .vt-top .wordmark { color: #fff; }
.vt .lang-pick { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.vt .lang-opt { color: rgba(255,255,255,.75); }
.vt .lang-opt:hover { color: #fff; background: rgba(255,255,255,.12); }
.vt .lang-opt.is-on { color: var(--head); background: var(--yellow); }
.vt .theme-toggle { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }

.vt-grid { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); align-items: stretch; padding-top: 36px; }
.vt-sol { display: grid; gap: 24px; align-content: start; min-width: 0; }
.vt .shop-eyebrow { background: transparent; padding: 0; color: var(--yellow); letter-spacing: .02em;
  text-transform: none; font-size: 14px; font-weight: 600; }
.vt .shop-pitch h1 { font-size: clamp(32px, 4vw, 48px); }
.vt-tik { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 14px; color: rgba(255,255,255,.72); }
.vt-tik li { display: inline-flex; align-items: center; gap: 8px; }
.vt-tik li::before { content: ""; width: 13px; height: 7px; border-left: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow); transform: rotate(-45deg) translateY(-2px); }
.vt .shop-form-lg { border-radius: 12px; border: 0; box-shadow: 0 24px 60px rgba(5, 15, 69, .45); }

/* Bölge çipleri: haritadaki pinlerin kısayolu (JS doldurur) */
.vt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.vt-chip { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-2);
  background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 600; }
.vt-chip:hover { border-color: var(--blue); color: var(--blue); }
.vt-chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Canlı fiyat önizlemesi */
.vt-live { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.vt-cars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.vt-car { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface-2); animation: vtGir .3s ease-out; }
.vt-car b { font-size: 13.5px; }
.vt-car small { font-size: 12px; color: var(--muted); }
.vt-car .mono { font-size: 15px; font-weight: 600; color: var(--blue-2); }
:root[data-theme="dark"] .vt-car .mono { color: var(--blue-text); }
.vt-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vt-total-label { font-size: 12.5px; color: var(--muted); }
.vt-total b { font-size: 30px; font-weight: 600; color: var(--head); line-height: 1.1; white-space: nowrap; }
:root[data-theme="dark"] .vt-total b { color: #f2f4f8; }
.vt-live.is-busy { opacity: .6; }
@keyframes vtGir { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Harita kartı */
.vt-harita { position: relative; min-height: 520px; border-radius: 12px; overflow: hidden;
  background: #e9edf5; box-shadow: 0 24px 60px rgba(5, 15, 69, .45); }
.vt-map { position: absolute; inset: 0; }
.vt-rota { position: absolute; left: 16px; bottom: 16px; z-index: 500; display: grid; gap: 2px;
  max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 10px; background: #fff; color: #121826;
  box-shadow: 0 8px 24px rgba(18,24,38,.18); animation: vtGir .3s ease-out; }
.vt-rota span { font-size: 12px; color: #667085; }
.vt-rota b { font-size: 15px; overflow-wrap: anywhere; }
.vt-map-not { position: absolute; right: 10px; top: 10px; z-index: 500; font-size: 11px; color: #3d4757;
  background: rgba(255,255,255,.88); padding: 3px 8px; border-radius: 6px; }
/* Leaflet etiketleri: kardeş sitelerin çipi gibi */
.vt-pin.leaflet-tooltip { border: 0; border-radius: 999px; padding: 4px 10px; font: 600 12.5px var(--font-ui);
  color: #0b1540; box-shadow: 0 2px 8px rgba(18,24,38,.2); cursor: pointer; }
.vt-pin.leaflet-tooltip::before { display: none; }
.vt-pin.is-on { background: var(--yellow); }
.vt-pin.is-air { background: #00167b; color: #fff; }

/* Fiyat görüldükten sonra (sunucu listesi aşağıda): harita ve önizleme çekilir */
.shop-band.vt.is-quoted .vt-harita, .shop-band.vt.is-quoted .vt-live,
.shop-band.vt.is-quoted .vt-chips, .shop-band.vt.is-quoted .vt-tik { display: none; }
.shop-band.vt.is-quoted .vt-grid { grid-template-columns: 1fr; }

@media (max-width: 1100px) {
  .vt-grid { grid-template-columns: 1fr; }
  .vt-harita { min-height: 320px; }
}
@media (max-width: 720px) {
  .vt .vt-top { padding: 12px 16px; }
  .vt-harita { min-height: 260px; }
  .vt-total b { font-size: 26px; }
}

/* ==========================================================================
   İş panosu (v1.5k) — durum sütunları, sürüklenebilir kartlar
   ========================================================================== */
.pano-kolonlar { display: grid; grid-template-columns: repeat(6, minmax(176px, 1fr)); gap: 10px;
  overflow-x: auto; padding-bottom: 6px; align-items: start; }
.pano-kolon { display: flex; flex-direction: column; gap: 8px; min-height: 240px; padding: 10px;
  border-radius: 12px; background: var(--surface-2); border: 2px dashed transparent; transition: background .15s, border-color .15s, opacity .15s; }
.pano-kolon-bas { display: flex; align-items: center; gap: 8px; padding: 2px 4px 4px; }
.pano-kolon-bas h2 { font-size: 13.5px; font-weight: 700; flex: 1; min-width: 0; }
.pano-sayi { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 11px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; background: var(--surface); border: 1px solid var(--border); }
.pano-nokta { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pano-nokta-yeni { background: #8a94a6; } .pano-nokta-firmada { background: var(--yellow); }
.pano-nokta-kabul { background: var(--blue); } .pano-nokta-sofor { background: #6b3fc7; }
.pano-nokta-yolda { background: var(--blue-2); } .pano-nokta-tamam { background: var(--green); }
.pano-kartlar { display: grid; gap: 8px; }
.pano-kart { display: grid; gap: 4px; padding: 11px 12px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); min-width: 0; }
.pano-kart.is-tasinir { cursor: grab; }
.pano-kart.is-tasinir:hover { border-color: var(--border-2); }
.pano-kart.is-tasiniyor { opacity: .45; }
.pano-kart.is-acil { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.pano-kart-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pano-saat { font-size: 15px; }
.pano-saat small { font-size: 11px; color: var(--muted); font-weight: 500; }
.pano-misafir { font-weight: 700; font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.pano-misafir:hover { color: var(--blue); }
.pano-rota { font-size: 12.5px; color: var(--text-2); overflow-wrap: anywhere; line-height: 1.4; }
.pano-atama { font-size: 12px; font-weight: 600; color: var(--blue-text); overflow-wrap: anywhere; }
.pano-alt-durum { justify-self: start; font-size: 11px; padding: 2px 8px; }
.pano-acil { justify-self: start; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px;
  color: var(--red); background: var(--red-bg); }
.pano-ileri { margin-top: 4px; }
.pano-bos { font-size: 12.5px; color: var(--muted); text-align: center; padding: 18px 6px; }
.pano-fazla { font-size: 12.5px; font-weight: 600; color: var(--blue-text); text-align: center; padding: 6px; }
.pano-acil-say { color: var(--red); }
/* Sürüklerken: bırakılabilir sütun yanar, bırakılamayan soluklaşır */
.pano-kolonlar.is-surukle .pano-kolon.is-hedef { border-color: var(--blue); background: var(--blue-soft); }
.pano-kolonlar.is-surukle .pano-kolon.is-ustunde { border-style: solid; }
.pano-kolonlar.is-surukle .pano-kolon.is-kapali { opacity: .45; }

.pano-pencere { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0;
  border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 30px 60px rgba(11,16,34,.35); }
.pano-pencere::backdrop { background: rgba(11, 16, 34, .45); }
.pano-pencere form { display: grid; gap: 12px; padding: 22px; }
.pano-pencere-bas { display: grid; gap: 2px; }
.pano-pencere-bas h2 { font-size: 20px; font-weight: 700; }
.pano-pencere .form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
@media (max-width: 720px) {
  .pano-kolonlar { grid-template-columns: repeat(6, minmax(78vw, 1fr)); scroll-snap-type: x mandatory; }
  .pano-kolon { scroll-snap-align: start; }
  .pano-ipucu { display: none; }
}

/* ==========================================================================
   Şoför çizelgesi (v1.5k) — takvimin ikinci görünümü
   ========================================================================== */
.cz-firma { display: inline-flex; }
.cz-uyari-say { color: var(--red); }
.cz-tepsi .card-head { flex-wrap: wrap; gap: 6px 12px; }
.cz-bekleyenler { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; }
.cz-is { flex: 0 0 220px; display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.cz-is.is-tasinir { cursor: grab; }
.cz-is.is-tasiniyor, .cz-blok.is-tasiniyor { opacity: .45; }
.cz-is-ust { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cz-is-ad { font-size: 13px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.cz-is-ad:hover { color: var(--blue); }
.cz-is .btn { justify-self: start; }
.cz-bos { font-size: 13px; color: var(--muted); padding: 8px 2px; }

.cz-tablo { padding: 0; overflow: hidden; }
.cz-kaydir { overflow-x: auto; }
.cz-izgara { min-width: 900px; }
.cz-baslik, .cz-satir { display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.cz-baslik { height: 34px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.cz-ad-sutun { display: grid; align-content: center; gap: 1px; padding: 0 14px; border-right: 1px solid var(--border); min-width: 0; }
.cz-ad-sutun b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cz-zaman { position: relative; margin-right: 18px; }
.cz-saat { position: absolute; top: 9px; transform: translateX(-50%); font-size: 11px; color: var(--muted); }
.cz-satir { height: 64px; border-bottom: 1px solid var(--border); transition: background .15s; }
.cz-satir:last-child { border-bottom: 0; }
.cz-cizgi { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--border); }
.cz-simdi { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--red); z-index: 2; }
.cz-blok { position: absolute; top: 10px; height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 8px;
  border-radius: 8px; font-size: 12px; overflow: hidden; white-space: nowrap; color: #fff; background: var(--blue);
  box-shadow: 0 1px 2px rgba(16,19,26,.15); z-index: 1; }
.cz-blok span { overflow: hidden; text-overflow: ellipsis; }
.cz-blok:hover { filter: brightness(1.08); z-index: 3; }
.cz-blok.is-tasinir { cursor: grab; }
.cz-blok-go { background: var(--blue-2); }
.cz-blok-ok { background: var(--green); opacity: .75; }
.cz-blok-info { background: var(--blue); }
.cz-blok.is-cakisma { background: var(--red); box-shadow: 0 0 0 2px #fff inset, 0 0 0 1px var(--red); }
/* Sürüklerken: uygun satır yeşil, çakışacak satır kırmızımsı, kendi satırı soluk */
.cz.is-surukle .cz-satir.is-uygun { background: var(--green-bg); }
.cz.is-surukle .cz-satir.is-cakisir { background: var(--red-bg); }
.cz.is-surukle .cz-satir.is-kapali { opacity: .5; }
.cz.is-surukle .cz-satir.is-ustunde { box-shadow: 0 0 0 2px var(--blue) inset; }
@media (max-width: 720px) {
  .cz-baslik, .cz-satir { grid-template-columns: 130px minmax(0, 1fr); }
}

/* ==========================================================================
   Vitrin tarih/saat seçici (v1.5k) — 14 günlük kart şeridi + saat/dakika çipleri
   ========================================================================== */
.vt-dt-gizli { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vt-zaman { display: grid; gap: 10px; min-width: 0; }
.vt-gunler { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x proximity; }
.vt-gun { flex: 0 0 auto; min-width: 72px; display: grid; gap: 2px; justify-items: center; padding: 9px 10px;
  border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text);
  scroll-snap-align: start; transition: border-color .15s, background .15s, transform .06s; }
.vt-gun b { font-size: 13px; font-weight: 700; text-transform: capitalize; }
.vt-gun small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.vt-gun:hover { border-color: var(--blue); }
.vt-gun:active { transform: translateY(1px); }
.vt-gun.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.vt-gun.is-on small { color: rgba(255,255,255,.85); }
.vt-gun-diger { border-style: dashed; color: var(--blue-text); }
.vt-saat-satir { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 8px; }
.vt-saat-etiket { font-size: 12px; font-weight: 600; color: var(--text-2); }
.vt-cipler { display: flex; gap: 6px; flex-wrap: wrap; }
.vt-cipler.vt-kaydir { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scroll-behavior: smooth; }
.vt-cip { flex: 0 0 auto; min-width: 44px; height: 36px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--border-2); background: var(--surface); color: var(--text);
  font-family: var(--font-mono); font-size: 14px; font-weight: 600; }
.vt-cip:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.vt-cip.is-on, .vt-cip.is-on:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; }
.vt-cip:disabled { opacity: .35; cursor: not-allowed; }
.vt-zaman-ozet { font-size: 13px; color: var(--muted); }
.vt-zaman-ozet.is-tamam { color: var(--text); font-weight: 600; }
.vt-zaman-ozet.is-tamam::first-letter { text-transform: uppercase; }
@media (max-width: 720px) { .vt-saat-satir { grid-template-columns: 1fr; gap: 4px; } }

/* ==========================================================================
   Vitrin konum (v1.5l) — yazarken öneri, "Bölge: …" satırı, bölgesini seçin
   ========================================================================== */
.vt-ac-kap { position: relative; }
.vt-ac { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60; margin: 0; padding: 4px;
  list-style: none; max-height: 300px; overflow-y: auto; background: var(--surface); color: var(--text);
  border: 1px solid var(--border-2); border-radius: 10px; box-shadow: 0 16px 40px rgba(5, 15, 69, .22); }
.vt-ac li { display: grid; gap: 1px; padding: 8px 10px; border-radius: 7px; cursor: pointer; }
.vt-ac li b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.vt-ac li small { font-size: 12px; color: var(--muted); }
.vt-ac li:hover, .vt-ac li.is-aktif { background: var(--surface-2); }
.vt-ac li.is-aktif b { color: var(--blue); }
:root[data-theme="dark"] .vt-ac li.is-aktif b { color: var(--blue-text); }
/* v1.5n: OpenStreetMap atfı (ODbL) — listede OSM'den gelen ad varsa en altta, seçilemez */
.vt-ac li.vt-ac-atif { display: block; padding: 6px 10px 4px; cursor: default; font-size: 11px; color: var(--muted);
  text-align: right; border-top: 1px solid var(--border); border-radius: 0; margin-top: 2px; }
.vt-ac li.vt-ac-atif:hover { background: none; }
.vt-ac li.vt-ac-atif a { color: inherit; text-decoration: underline; }
/* v1.5n: Google önerileri — ayrı grup, en altta Google'ın istediği biçimde "Google Maps" atfı
   (Roboto/sans-serif, 400, 12px+, gri #5E5E5E; koyu temada beyaz) */
.vt-ac li.vt-ac-g { border-left: 3px solid var(--border-2); }
.vt-ac li.vt-ac-google { font-family: Roboto, Arial, sans-serif; font-weight: 400; font-size: 12px; color: #5E5E5E; text-align: left;
  position: sticky; bottom: -4px; background: var(--surface); }
:root[data-theme="dark"] .vt-ac li.vt-ac-google { color: #FFFFFF; }
.vt-tanindi { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--green); }
.vt-tanindi::before { content: ""; flex: none; width: 10px; height: 5px; border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.vt-yer { flex-wrap: wrap; }
.vt-bolge-sec { flex: 1 1 100%; display: grid; gap: 8px; min-width: 0; padding: 10px 12px; border-radius: 10px;
  background: var(--amber-bg); border: 1px dashed var(--amber); }
.vt-bolge-not { font-size: 13px; font-weight: 600; color: var(--text); }
.vt-bolge-cipler { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-bolge-cipler .vt-chip { height: 30px; font-size: 12.5px; }
/* Kısa formda (fiyat listesi ekranda) bölge seçimi kendi satırına iner, boş hücreleri diğerleri doldurur */
.shop-band.is-quoted .shop-form-lg { grid-auto-flow: row dense; }
.shop-band.is-quoted .shop-form-lg .vt-yer { display: contents; }
.shop-band.is-quoted .shop-form-lg .vt-bolge-sec { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 320px); align-items: center; }
.wdg-row .vt-bolge-sec { grid-column: 1 / -1; }
@media (max-width: 720px) { .shop-band.is-quoted .shop-form-lg .vt-bolge-sec { grid-template-columns: 1fr; } }

/* v1.5m — karşılama kodu, tahsilat, elle hakediş */
.tahsil-kart { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 16px 18px; }
.tahsil-kart.is-nakit { border-color: var(--yellow); box-shadow: inset 4px 0 0 var(--yellow); }
.tahsil-etiket { width: 100%; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.tahsil-tutar { font-size: 28px; line-height: 1.1; font-weight: 700; color: var(--text); }
.pin-box { display: grid; gap: 2px; margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px dashed var(--border-2); }
.pin-box b { font-size: 26px; letter-spacing: .28em; color: var(--text); }
.pin-input { font-family: var(--font-mono, ui-monospace, monospace); font-size: 22px; letter-spacing: .3em; text-align: center; max-width: 220px; }
.pin-block .field { margin-bottom: 10px; }
.tahsil-sec { display: grid; gap: 8px; margin: 0 0 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; }
.tahsil-sec legend { padding: 0 4px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.hakedis-oneri { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 6px; font-size: 13px; color: var(--text-2); }
.hakedis-oneri .chip { cursor: pointer; }
.hakedis-oneri .chip:hover { border-color: var(--blue); color: var(--blue-text); }
@media (max-width: 640px) {
  .tahsil-tutar { font-size: 24px; }
  .pin-input { max-width: none; }
}

/* v1.6 — form içi alt başlık (Kurumum › Kârınız) */
.sub-h { margin: 18px 0 8px; font-size: 14px; font-weight: 700; color: var(--text); }
/* v1.6 Faz 2 — bilgi tonlu durum hapı (teklif "açıldı"), seçilen satır, ön rezervasyon bandı */
.pill-info { color: var(--blue-text); background: var(--blue-soft); }
.table tr.row-on td { background: var(--blue-soft); }
.pre-band { display: flex; gap: 12px; align-items: flex-start; }
.pre-band .btn { margin-left: auto; white-space: nowrap; }
@media (max-width: 640px) { .pre-band { flex-wrap: wrap; } .pre-band .btn { margin-left: 0; width: 100%; } }
/* v1.6 Faz 3 — araç özellikleri ve ekstralar */
.ozellikler { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ozellikler em { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.ekstra-kutu { border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px 12px; margin: 14px 0; }
.ekstra-kutu legend { font-weight: 600; padding: 0 6px; }
.ekstra-liste { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ekstra-satir { display: grid; grid-template-columns: 1fr 70px; grid-template-rows: auto auto; align-items: center; gap: 2px 10px; font-size: 13.5px; }
.ekstra-satir input { width: 70px; grid-row: 1 / span 2; grid-column: 2; }
.ekstra-satir small { color: var(--muted); }
.ekstra-satir.is-yok span, .ekstra-satir.is-yok small { opacity: .55; }
.ekstra-toplam { margin: 10px 0 0; font-size: 15px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 14px; margin: 4px 0 6px; }

/* ---------- v1.6 Faz 4: talep içi yazışma ---------- */
.nav-count { margin-left: auto; flex: none; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; }
.btn .nav-count { margin-left: 4px; }
.msg-list { list-style: none; margin: 0 0 12px; padding: 0 2px 0 0; display: grid; gap: 8px; max-height: 460px; overflow-y: auto; }
.msg { padding: 9px 11px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); margin-right: 28px; }
.msg-mine { background: var(--blue-soft); border-color: transparent; margin-right: 0; margin-left: 28px; }
.msg-new { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.msg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.msg-meta b { font-weight: 600; }
.msg p { margin: 4px 0 0; font-size: 13.5px; overflow-wrap: anywhere; }
.tag-aud { font-size: 10.5px; }
.tag-aud-hotel, .tag-aud-company { background: var(--amber-bg); color: var(--amber); }
.tag-new { background: var(--blue); color: #fff; font-size: 10.5px; }
.msg-form { display: grid; gap: 8px; }
.msg-form textarea { width: 100%; resize: vertical; min-height: 72px; }
.msg-form-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.msg-to { display: inline-flex; align-items: center; gap: 6px; }
.msg-pill { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-text); font-size: 11.5px; font-weight: 700; vertical-align: middle; }
.msg-pill svg { width: 13px; height: 13px; }
.msg-unread-n { color: var(--blue-text); }
@media (max-width: 640px) { .msg, .msg-mine { margin-left: 0; margin-right: 0; } }
/* v2.0 misafir hattı: hazır mesaj çipleri (tek dokunuş) ve taraf renkleri */
.msg-hazir { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.msg-hazir form { margin: 0; }
.msg-hazir .chip { cursor: pointer; min-height: 36px; }
.msg-hazir .chip:hover { border-color: var(--blue); color: var(--blue-text); }
.chip-acil { border-color: var(--red, #c0392b); color: var(--red, #c0392b); }
.chip-acil:hover { background: color-mix(in srgb, var(--red, #c0392b) 10%, transparent); }
.msg-guest { border-left: 3px solid var(--gold, var(--blue)); }
.msg-driver { border-left: 3px solid var(--blue); }
.tag-aud-guest { background: var(--gold-soft, var(--blue-soft)); color: var(--gold-text, var(--blue-text)); }

/* ---------- v1.6 Faz 5: sözleşme metni ---------- */
.sozlesme-metin { max-height: 60vh; overflow-y: auto; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); font-size: 13.5px; line-height: 1.6; }
.sozlesme-metin p { margin: 0 0 10px; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }

/* ---------- v1.6 Faz 6: firma API belgesi ---------- */
.api-belge p, .api-belge li { font-size: 13.5px; line-height: 1.6; }
.api-belge ul { margin: 6px 0 10px; padding-left: 20px; }
.api-belge code, .kod-blok { font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 12.5px; }
.api-belge code { background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
.kod-blok { margin: 8px 0 12px; padding: 10px 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); overflow-x: auto; white-space: pre; }

/* =========================================================================
   v1.6 Tasarım — derinlik, katman, vurgu (3 Eki 2026)
   Harun: "derinlik, katmanlı yapı, vurgulu renk ve yazı; en zor kullanıcı bile kullanabilmeli" —
   BÜTÜN sistem. Yazı tipi aynı (IBM Plex, kardeş sitelerle ortak); vurgu kalınlık, boyut, lacivert + sarı.
   Katmanlar: 0 zemin · 1 lacivert üst bant · 2 kartlar (e1) bandın üstüne biner · 3 öne çıkan iş (e2) · 4 yüzen (e3).
   ========================================================================= */
:root {
  --e1: 0 1px 2px rgba(10, 20, 60, .06), 0 6px 16px -6px rgba(10, 20, 60, .10);
  --e2: 0 2px 4px rgba(10, 20, 60, .06), 0 18px 36px -12px rgba(10, 20, 60, .22);
  --e3: 0 30px 60px -18px rgba(0, 22, 123, .38);
  --bant: radial-gradient(110% 170% at 100% 0%, #1b3bb8 0%, transparent 55%), linear-gradient(135deg, var(--hero) 0%, var(--hero-2) 100%);
}
:root[data-theme="dark"] {
  --e1: 0 1px 2px rgba(0, 0, 0, .40), 0 8px 18px -8px rgba(0, 0, 0, .55);
  --e2: 0 2px 4px rgba(0, 0, 0, .40), 0 20px 40px -12px rgba(0, 0, 0, .70);
  --e3: 0 30px 60px -18px rgba(0, 0, 0, .80);
}

/* ---- Yazı: kalın başlık ---- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.015em; }
.card-head h2 { font-size: 16.5px; }

/* ---- 1. katman: lacivert üst bant (panels/_layout.html) ---- */
.kat-bant { position: relative; overflow: hidden; border-radius: 18px; padding: 6px 6px 66px; margin-bottom: -62px; color: #fff;
  background: var(--bant); box-shadow: var(--e2); }
.kat-bant::after { content: ""; position: absolute; right: -70px; top: -96px; width: 290px; height: 290px; border-radius: 50%;
  border: 44px solid rgba(245, 197, 24, .10); pointer-events: none; }
.kat-bant > * { position: relative; z-index: 1; }
.kat-bant ~ * { position: relative; z-index: 1; }          /* 2. katman: bandın üstüne biner */
.kat-bant .topbar { background: transparent; border: 0; box-shadow: none; padding: 10px 12px; }
.kat-bant .topbar h1 { color: #fff; font-size: 23px; letter-spacing: -0.02em; }
.kat-bant .status-dot { color: #b9c6ff; }
.kat-bant .status-dot b { color: #fff; }
.kat-bant .select-like { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .22); color: #fff; }
.kat-bant .select-like svg { color: #c9d3ff; }
.kat-bant .bell, .kat-bant .theme-toggle { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .22); color: #fff; }
.kat-bant .bell:hover, .kat-bant .theme-toggle:hover, .kat-bant .bell.active { background: rgba(255, 255, 255, .20); color: #fff; }
.kat-bant .bell-count { box-shadow: 0 0 0 2px var(--hero); }
.kat-bant .user-menu .who span { color: #fff; }
.kat-bant .user-menu .who small { color: #b9c6ff; }
.kat-bant .user-menu a.who:hover span { color: var(--yellow); }
.kat-bant .avatar, .kat-bant .user-menu a.avatar { background: var(--yellow); color: var(--head); }
.kat-bant .btn-ghost { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .22); color: #fff; box-shadow: none; }
.kat-bant .btn-ghost:hover { background: rgba(255, 255, 255, .20); color: #fff; }
.bant-ek { padding: 0 14px 4px; }
.bant-ek p { color: #c9d3ff; max-width: 700px; font-size: 14.5px; }
.bant-ek p b { color: #fff; }
/* Bandın üstündeki geri bağlantısı: cam düğme */
.kat-bant ~ .content > .back-link:first-child { display: inline-flex; align-items: center; gap: 4px; margin-left: 12px; padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); color: #fff; backdrop-filter: blur(6px); }
.kat-bant ~ .content > .back-link:first-child:hover { background: rgba(255, 255, 255, .22); text-decoration: none; }

/* ---- Yan menü: aktif sayfa lacivert + sarı ---- */
.sidebar { box-shadow: 8px 0 24px -18px rgba(10, 20, 60, .25); }
.nav a { font-size: 14px; padding: 10px 12px; }
.nav a.active { background: var(--hero); color: #fff; font-weight: 700; box-shadow: var(--e1); }
.nav a.active svg { color: var(--yellow); }
.nav a.active::before { background: var(--yellow); width: 4px; }
:root[data-theme="dark"] .nav a.active { background: #1b3bb8; }

/* ---- 2. katman: kartlar, araç çubuğu ---- */
.card { box-shadow: var(--e1); border-color: color-mix(in srgb, var(--border) 55%, transparent); border-radius: 14px; }
.filters { box-shadow: var(--e1); border-color: color-mix(in srgb, var(--border) 55%, transparent); border-radius: 14px; }
.topbar { box-shadow: var(--e1); }
@media (prefers-reduced-motion: no-preference) {
  .stat-link, .panel-card { transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
  .stat-link:hover, .panel-card:hover { transform: translateY(-3px); box-shadow: var(--e2); }
}
.panel-card:hover { border-color: var(--yellow); }
.panel-card-go { color: var(--blue-text); }
.panel-card:hover .panel-card-go { color: var(--head); background: var(--yellow); border-radius: 999px; padding: 2px 10px; align-self: flex-start; }
:root[data-theme="dark"] .panel-card:hover .panel-card-go { color: #10131a; }
.kpi-lg .stat .value { letter-spacing: -0.03em; }
.kpi-lg .stat-icon { width: 38px; height: 38px; border-radius: 11px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .05); }

/* ---- Düğmeler: büyük, belirgin ---- */
.btn { min-height: 40px; }
.btn-sm { min-height: 34px; }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 18px -6px rgba(31, 98, 217, .55); }
.btn-ghost { box-shadow: 0 1px 2px rgba(10, 20, 60, .06); }
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover:not(:disabled), .btn-yellow:hover:not(:disabled) { transform: translateY(-1px); }
  .btn-primary:hover:not(:disabled) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 26px -8px rgba(31, 98, 217, .6); }
}
.btn:disabled { box-shadow: none; transform: none; }   /* soluk görünüm v1.5 kuralından gelir */

/* ---- Form: büyük kutular, koyu etiketler ---- */
.input { min-height: 44px; border-width: 1.5px; border-radius: 10px; }
textarea.input { min-height: 0; }
.input-sm { min-height: 36px; }
.input:focus { box-shadow: 0 0 0 4px rgba(31, 98, 217, .18); }
.field label { font-size: 13.5px; font-weight: 700; color: var(--text); }
.field label .req { color: var(--red); }
.check { font-size: 13.5px; }

/* ---- Süzgeç çipleri ---- */
.chip { padding: 7px 13px; font-size: 13.5px; box-shadow: 0 1px 2px rgba(10, 20, 60, .05); }
.chip.active { box-shadow: 0 6px 14px -6px rgba(245, 197, 24, .85); }

/* ---- Tablolar: ferah satır, belirgin üzerine gelme ---- */
.table th { background: var(--surface-2); }
.table td { padding: 12px 10px; }
.table tbody tr.clickable:hover td { background: color-mix(in srgb, var(--blue) 6%, transparent); }
.row-title { font-weight: 700; }

/* ---- Durum, uyarı, boş durum ---- */
.pill-status { font-size: 12.5px; padding: 4px 10px; }
.alert { border-left-width: 4px; border-left-color: currentColor; box-shadow: var(--e1); font-size: 13.5px; }
.empty { padding: 34px 20px; border-radius: 14px; }
.empty strong { font-size: 15.5px; }

/* ---- Rehber sayfası bileşenleri (adım adım ekranlar) ---- */
.durum-cubugu { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.durum-buyuk { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); font-weight: 700; font-size: 14px; color: #fff; }
.durum-buyuk i { width: 11px; height: 11px; border-radius: 50%; background: #ff8a80; box-shadow: 0 0 0 4px rgba(255, 138, 128, .22); }
.durum-buyuk.ok i { background: #6fe3a0; box-shadow: 0 0 0 4px rgba(111, 227, 160, .25); }
.durum-buyuk.yarim i { background: var(--yellow); box-shadow: 0 0 0 4px rgba(245, 197, 24, .25); }
.ilerleme { display: flex; align-items: center; gap: 10px; color: #c9d3ff; font-size: 13px; }
.ilerleme-cizgi { width: 160px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.ilerleme-cizgi b { display: block; height: 100%; border-radius: 99px; background: var(--yellow); }

.adimlar { display: grid; gap: 14px; }
.adim { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; padding: 18px 20px;
  border-radius: 14px; background: var(--surface); box-shadow: var(--e1); border: 1px solid transparent; }
.adim-n { grid-row: 1 / span 4; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 19px; font-weight: 700; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.adim h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adim p { color: var(--text-2); font-size: 14px; max-width: 580px; }
.adim .eylem { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.adim .eylem .input { flex: 1 1 260px; max-width: 440px; }
.adim .error { display: block; margin-top: 6px; font-size: 13px; color: var(--red); font-weight: 600; }
.adim-durum { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .01em; }
.adim-durum.sira { background: var(--yellow); color: var(--head); }
.adim-durum.tamam { background: var(--green-bg); color: var(--green); }
.adim-durum.bekler { background: var(--surface-2); color: var(--muted); }
.adim-durum.secmeli { background: var(--info-bg); color: var(--info); }
.teknik { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.adim.simdi { box-shadow: var(--e2), 0 0 0 2px var(--blue); }
.adim.simdi .adim-n { background: var(--yellow); color: var(--head); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(245, 197, 24, .9); }
.adim.simdi::before { content: "Şimdi bunu yapın"; position: absolute; top: -11px; left: 20px; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; background: var(--blue); color: #fff; box-shadow: var(--e1); }
.adim.tamam .adim-n { background: var(--green-bg); color: var(--green); border-color: transparent; }
.adim.sonra { background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: none; border: 1px dashed var(--border-2); }
.adim.sonra h3, .adim.sonra p { opacity: .65; }
.sir-kutu { display: grid; gap: 6px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--amber-bg);
  border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent); }
.sir-kutu b { color: var(--amber); font-size: 13.5px; }
.sir-kutu .copy-row { display: flex; gap: 8px; }
.sir-kutu .input { font-family: var(--font-mono); font-size: 13px; }

/* Büyük aç/kapa düğmesi (onay kutusu) */
.ac-kapa { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--text); }
.ac-kapa input { appearance: none; -webkit-appearance: none; margin: 0; flex: none; width: 58px; height: 32px; border-radius: 99px;
  background: var(--border-2); position: relative; cursor: pointer; transition: background .2s; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .12); }
.ac-kapa input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: left .2s; }
.ac-kapa input:checked { background: var(--green); }
.ac-kapa input:checked::after { left: 29px; }
.ac-kapa input:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent); outline-offset: 2px; }
.ac-kapa .acik-yazi { display: none; }
.ac-kapa input:checked ~ .acik-yazi { display: inline; color: var(--green); }
.ac-kapa input:checked ~ .kapali-yazi { display: none; }
.ac-kapa.is-busy { opacity: .6; pointer-events: none; }
.ac-kapa:has(input:disabled) { cursor: not-allowed; opacity: .55; }
.ac-kapa input:disabled { cursor: not-allowed; }

/* Bağlantı ışıkları */
.isiklar { display: grid; gap: 10px; }
.isik { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.isik-top { grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--border);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .08); }
.isik-top::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--label); }
.isik.ok .isik-top { background: var(--green-bg); }
.isik.ok .isik-top::after { background: var(--green); box-shadow: 0 0 10px var(--green); }
.isik.hata .isik-top { background: var(--red-bg); }
.isik.hata .isik-top::after { background: var(--red); box-shadow: 0 0 10px var(--red); }
.isik b { font-size: 14px; }
.isik span { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }

/* Gelişmiş ayarlar (katlanır) */
.gelismis { border-radius: 14px; background: var(--surface); box-shadow: var(--e1); }
.gelismis > summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 15px; }
.gelismis > summary::-webkit-details-marker { display: none; }
.gelismis > summary small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.gelismis > summary::after { content: "›"; font-size: 22px; line-height: 1; color: var(--muted); transform: rotate(90deg); transition: transform .15s; }
.gelismis[open] > summary::after { transform: rotate(-90deg); }
.gelismis-ic { padding: 0 20px 18px; display: grid; gap: 4px; }
.yardim-kart { background: linear-gradient(160deg, color-mix(in srgb, var(--yellow) 14%, var(--surface)) 0%, var(--surface) 70%); }
.yardim-kart p { font-size: 14px; color: var(--text-2); }

@media (max-width: 860px) {
  .kat-bant { border-radius: 14px; padding-bottom: 58px; margin-bottom: -54px; }
  .kat-bant .topbar h1 { font-size: 19px; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 560px) {
  .kat-bant .topbar h1 { font-size: 17px; }
  .bant-ek p { font-size: 13.5px; }
  .ilerleme-cizgi { width: 110px; }
  .adim { grid-template-columns: 40px minmax(0, 1fr); padding: 16px; }
  .adim-n { width: 36px; height: 36px; font-size: 16px; }
}

/* ---- "Sıradaki adım" kartları (talep, fatura, mutabakat): şimdi yapılacak iş öne çıkar ---- */
.actions-card { box-shadow: var(--e2), 0 0 0 2px var(--blue); position: relative; margin-top: 6px; }
.actions-card::before { content: "Şimdi bunu yapın"; position: absolute; top: -11px; left: 18px; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; background: var(--blue); color: #fff; box-shadow: var(--e1); }

/* ---- Telefon: talep tabloları kart satırına döner (saat solda, bilgiler alt alta, durum tam görünür) ---- */
@media (max-width: 640px) {
  .table-fixed:has(td.col-when) thead { display: none; }
  .table-fixed:has(td.col-when), .table-fixed:has(td.col-when) tbody { display: block; width: 100%; }
  .table-fixed:has(td.col-when) tr { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 12px; padding: 12px 2px;
    border-bottom: 1px solid var(--border); }
  .table-fixed:has(td.col-when) tr:last-child { border-bottom: 0; }
  .table-fixed:has(td.col-when) td { display: block; width: auto; padding: 0; border: 0; }
  .table-fixed:has(td.col-when) td.col-when { grid-row: 1 / span 4; }
  .table-fixed:has(td.col-when) td:not(.col-when) { grid-column: 2; }
  .table-fixed:has(td.col-when) td.col-opt { display: none; }
  .table-fixed:has(td.col-when) td.col-status { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .filters input[type=search] { flex: 1 1 100%; }
  /* Üst bant: düğmeler üst satırda, sayfa başlığı altta tam genişlik */
  .kat-bant .topbar { flex-wrap: wrap; row-gap: 6px; }
  .kat-bant .topbar-left { display: contents; }
  .kat-bant .topbar-right { margin-left: auto; }
  .kat-bant .topbar h1 { order: 3; flex: 1 1 100%; white-space: normal; font-size: 21px; line-height: 1.2; }
}

/* =========================================================================
   v1.7 Vitrin — kurumsal, dolu, katmanlı (4 Eki 2026, Harun: "daha kurumsal, daha dolu, daha şık")
   Lacivert hero (kardeş sitelerle aynı dil) → bandın altına binen rakam şeridi → beyaz / gri
   dönüşümlü bölümler → lacivert alt bilgi. Bölümler yalnız açılış sayfasında (fiyat listelenince gizli).
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) { html:has(.vx-nav) { scroll-behavior: smooth; } }
.vx-nav { display: flex; align-items: center; gap: 0; margin-left: 10px; margin-right: auto; }
.vx-nav a { color: rgba(255, 255, 255, .82); font-size: 13.5px; font-weight: 600; padding: 7px 10px; border-radius: 999px; white-space: nowrap; }
.vt .vt-top .shop-top-right { margin-left: auto; }        /* sığmazsa ikinci satırda sağa yaslı */
.vx-nav a:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.vt .shop-pitch h1 { font-size: 48px; letter-spacing: -.03em; }
.vt .shop-pitch h1 em { font-style: normal; color: var(--yellow); }
.vt-tik.vx-guven { gap: 10px; }
.vx-guven li { padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.vx-guven li.vx-puan::before { display: none; }
.vx-guven li.vx-puan b { color: var(--yellow); }
.vt .shop-form-lg { border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); }
.vt .vt-harita { border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }

/* Rakam şeridi: bandın altına biner */
.vx-serit { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: -46px auto 0; padding: 0 28px; }
.vx-serit-ic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border-radius: 18px; box-shadow: var(--e2); overflow: hidden; }
.vx-serit-ic > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 20px 22px; border-right: 1px solid var(--border); }
.vx-serit-ic > div:last-child { border-right: 0; }
.vx-serit i { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.vx-serit b { font-size: 19px; letter-spacing: -.01em; }
.vx-serit span { font-size: 13px; color: var(--muted); }

/* Bölüm iskeleti */
.vx-bolum { width: 100%; max-width: 1280px; margin: 0 auto; padding: 84px 28px 0; scroll-margin-top: 16px; }
.vx-bolum.gri { max-width: none; padding: 84px 0; margin: 84px 0 0; background: var(--surface-2); }
.vx-bolum.gri > .vx-ic { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.vx-baslik { display: grid; gap: 10px; margin-bottom: 34px; max-width: 700px; }
.vx-baslik.orta { margin-inline: auto; text-align: center; justify-items: center; }
.vx-ust { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text); }
.vx-ust::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--yellow); }
.vx-baslik h2 { font-size: 36px; line-height: 1.15; letter-spacing: -.025em; }
.vx-baslik p { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.vx-dipnot { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* Nasıl çalışır */
.vx-adimlar { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: vx; }
.vx-adimlar::before { content: ""; position: absolute; left: 12%; right: 12%; top: 31px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-2) 0 8px, transparent 8px 16px); }
.vx-adim { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 0 8px; }
.vx-adim::before { counter-increment: vx; content: counter(vx); position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 22px; font-weight: 700; background: var(--surface); color: var(--hero); border: 2px solid var(--yellow);
  box-shadow: 0 0 0 8px var(--bg), var(--e1); }
:root[data-theme="dark"] .vx-adim::before { color: var(--yellow); }
.vx-adim b { font-size: 16.5px; }
.vx-adim span { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Araçlar */
.vx-araclar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vx-arac { position: relative; display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--e1); }
@media (prefers-reduced-motion: no-preference) {
  .vx-arac, .vx-rota { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  .vx-arac:hover { transform: translateY(-4px); box-shadow: var(--e2); }
  .vx-rota:hover { transform: translateY(-2px); }
}
.vx-arac-gorsel { height: 110px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, var(--blue-soft), var(--surface-2)); }
.vx-arac-gorsel svg { width: 150px; height: auto; color: var(--hero); }
:root[data-theme="dark"] .vx-arac-gorsel svg { color: var(--blue-text); }
.vx-arac h3 { font-size: 18px; }
.vx-arac ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vx-arac li { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.vx-arac p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.vx-arac p a { color: var(--blue-text); font-weight: 600; overflow-wrap: anywhere; }
.vx-arac.vip { background: var(--bant); color: #fff; box-shadow: var(--e2); }
.vx-arac.vip h3 { color: #fff; }
.vx-arac.vip li { background: rgba(255, 255, 255, .12); color: #fff; }
.vx-arac.vip p { color: #c9d3ff; }
.vx-arac.vip .vx-arac-gorsel { background: linear-gradient(160deg, rgba(245, 197, 24, .20), rgba(255, 255, 255, .04)); }
.vx-arac.vip .vx-arac-gorsel svg { color: var(--yellow); }
.vx-arac.vip .vx-arac-gorsel svg [fill="var(--surface)"] { fill: #0a1a5c; }
.vx-etiket { position: absolute; top: 14px; right: 14px; z-index: 1; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--yellow); color: var(--head); }

/* Güzergâhlar */
.vx-rotalar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vx-rota { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 18px 20px; border-radius: 16px;
  background: var(--surface); box-shadow: var(--e1); border: 1px solid transparent; color: inherit; text-decoration: none; }
.vx-rota:hover { border-color: var(--yellow); box-shadow: var(--e2); }
.vx-rota small { font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-rota b { font-size: 17px; }
.vx-rota .fiyat { grid-row: 1 / span 2; grid-column: 2; text-align: right; }
.vx-rota .fiyat em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); }
.vx-rota .fiyat strong { font-family: var(--font-mono); font-size: 20px; color: var(--hero); white-space: nowrap; }
:root[data-theme="dark"] .vx-rota .fiyat strong { color: var(--yellow); }

/* Neden + yorum */
.vx-neden { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.vx-neden-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vx-neden-liste > div { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 16px; background: var(--surface); box-shadow: var(--e1); }
.vx-neden-liste i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff3c4; color: #8a6400; }
:root[data-theme="dark"] .vx-neden-liste i { background: #3a3000; color: #f5c518; }
.vx-neden-liste b { font-size: 15.5px; }
.vx-neden-liste span { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.vx-alinti { position: relative; overflow: hidden; margin: 0; padding: 34px; border-radius: 22px; color: #fff; background: var(--bant); box-shadow: var(--e3); }
.vx-alinti::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(245, 197, 24, .12); pointer-events: none; }
.vx-alinti .yildiz { color: var(--yellow); font-size: 20px; letter-spacing: 3px; }
.vx-alinti blockquote { margin: 14px 0 18px; font-size: 19px; line-height: 1.55; font-weight: 500; overflow-wrap: anywhere; }
.vx-alinti figcaption { color: #c9d3ff; font-size: 14px; }
.vx-diger-yorum { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 10px; font-size: 13.5px; color: #dfe5ff; }
.vx-diger-yorum span { color: var(--yellow); margin-right: 4px; }
.vx-cagri { display: grid; gap: 12px; align-content: start; }
.vx-cagri .vx-ust { color: #fde58a; }
.vx-cagri h3 { color: #fff; font-size: 26px; line-height: 1.2; }
.vx-cagri p { color: #c9d3ff; font-size: 15px; line-height: 1.6; }
.vx-cagri .btn { justify-self: start; position: relative; z-index: 1; }

/* SSS */
.vx-sss { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; align-items: start; }
.vx-sss details { border-bottom: 1px solid var(--border); }
.vx-sss summary { list-style: none; position: relative; padding: 18px 34px 18px 0; cursor: pointer; font-size: 15.5px; font-weight: 700; }
.vx-sss summary::-webkit-details-marker { display: none; }
.vx-sss summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 700; }
.vx-sss details[open] summary::after { content: "–"; background: var(--yellow); color: var(--head); }
.vx-sss p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.vx-sss p a { color: var(--blue-text); font-weight: 600; }

/* Kurumsal */
.vx-kurum { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vx-kurum > div { position: relative; overflow: hidden; display: grid; gap: 12px; align-content: start; padding: 32px; border-radius: 20px; background: var(--surface); box-shadow: var(--e1); }
.vx-kurum > div.koyu { background: var(--bant); color: #fff; box-shadow: var(--e2); }
.vx-kurum h3 { font-size: 22px; line-height: 1.25; }
.vx-kurum .koyu h3 { color: #fff; }
.vx-kurum .koyu .vx-ust { color: #fde58a; }
.vx-kurum p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.vx-kurum .koyu p { color: #c9d3ff; }
.vx-kurum ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.vx-kurum li::before { content: "✓"; margin-right: 8px; font-weight: 700; color: var(--green); }
.vx-kurum .koyu li::before { color: var(--yellow); }
.vx-kurum .btn { justify-self: start; margin-top: 6px; }

/* Alt bilgi */
.vx-foot { margin-top: 96px; background: #050f45; color: #c9d3ff; }
.shop-main + .vx-foot { margin-top: 48px; }
.vx-foot-ic { max-width: 1280px; margin: 0 auto; padding: 56px 28px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.vx-foot .wordmark { color: #fff; font-size: 22px; }
.vx-foot p { max-width: 320px; margin-top: 12px; font-size: 13.5px; line-height: 1.6; }
.vx-foot h4 { margin-bottom: 12px; color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.vx-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.vx-foot a { color: #c9d3ff; overflow-wrap: anywhere; }
.vx-foot a:hover { color: var(--yellow); }
.vx-foot-alt { max-width: 1280px; margin: 0 auto; padding: 18px 28px 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; }

@media (max-width: 1100px) { .vx-nav { display: none; } }
@media (max-width: 1000px) {
  .vx-serit-ic, .vx-araclar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vx-serit-ic > div:nth-child(2) { border-right: 0; }
  .vx-serit-ic > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .vx-rotalar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vx-neden, .vx-kurum, .vx-sss { grid-template-columns: 1fr; }
  .vx-foot-ic { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .vt .shop-pitch h1 { font-size: 32px; }
  .vx-bul { display: none; }
  .vx-serit { padding: 0 14px; }
  .vx-serit-ic > div { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .vx-serit i { display: none; }
  .vx-serit b { font-size: 16px; }
  .vx-bolum { padding: 60px 16px 0; }
  .vx-bolum.gri { padding: 60px 0; margin: 60px 0 0; }
  .vx-bolum.gri > .vx-ic { padding: 0 16px; }
  .vx-baslik h2 { font-size: 27px; }
  .vx-adimlar, .vx-araclar, .vx-rotalar, .vx-neden-liste { grid-template-columns: 1fr; }
  .vx-adimlar::before { display: none; }
  .vx-alinti, .vx-kurum > div { padding: 24px; }
  .vx-foot-ic { grid-template-columns: 1fr; padding: 40px 16px 20px; }
  .vx-foot-alt { padding: 16px; }
}

/* =========================================================================
   v1.8 Apple katmanı (9 Eki 2026) — Harun: "bu skili (apple-design) kullanarak sistemin tasarımını
   yeniden oluştur". Kimlik aynı (lacivert + sarı, IBM Plex); eklenen: anında tepki, cam malzeme,
   boyuta göre harf aralığı, yaylı hareket (static/js/hareket.js), cihaz erişilebilirlik ayarları.
   Kurallar:
     · Tepki BASINCA gelir (bırakınca değil): :active küçülme, 60 ms.
     · Malzeme hiyerarşisi: yapı (yan menü) ağır/koyu, etkileşim (çubuk, bildirim) hafif cam.
       Hafif cam asla hafif camın üstüne binmez. Sert çizgi yerine kenarda yumuşak solma.
     · Harf aralığı boyuta özgü: büyük başlık sıkı (−), gövde 0, küçük yazı hafif (+).
     · Giren yoldan çıkar: bildirim sağdan girer sağa gider, çubuk üstten iner üste çıkar.
   ========================================================================= */
:root {
  --cam-bg: rgba(255, 255, 255, .74);
  --cam-kenar: rgba(255, 255, 255, .65);
  --cam-cizgi: rgba(10, 20, 60, .08);
  --cam-blur: saturate(180%) blur(20px);
  --cam-golge: 0 10px 30px -14px rgba(10, 20, 60, .28);
  --agir-bg: rgba(255, 255, 255, .9);
  --perde: rgba(6, 12, 40, .42);
  --egri-yay: cubic-bezier(.25, .8, .25, 1);      /* yaylanmasız yerleşme (sönüm 1.0'a yakın) */
}
:root[data-theme="dark"] {
  --cam-bg: rgba(21, 26, 42, .72);
  --cam-kenar: rgba(255, 255, 255, .10);
  --cam-cizgi: rgba(255, 255, 255, .06);
  --cam-golge: 0 12px 34px -14px rgba(0, 0, 0, .7);
  --agir-bg: rgba(16, 20, 34, .88);
  --perde: rgba(0, 0, 0, .55);
}

/* ---- Yazı: kullanıcının yazı boyutu ayarına saygı + boyuta göre aralık ---- */
html { font-size: 100%; }
body { font-size: .875rem; font-optical-sizing: auto; font-kerning: normal; text-rendering: optimizeLegibility; }
h1 { letter-spacing: -0.022em; line-height: 1.15; }
h2 { letter-spacing: -0.018em; line-height: 1.2; }
h3 { letter-spacing: -0.012em; line-height: 1.25; }
h4 { letter-spacing: -0.006em; line-height: 1.3; }
.kat-bant .topbar h1 { letter-spacing: -0.026em; }
.vt .shop-pitch h1 { letter-spacing: -0.034em; line-height: 1.05; }
.vx-baslik h2 { letter-spacing: -0.03em; line-height: 1.1; }
.vx-baslik p, .vx-sss p, .adim p { letter-spacing: 0; }
.muted-sm, .hint, .stat .sub, .toast p, .isik span, .vx-dipnot, .field .error { letter-spacing: .006em; line-height: 1.45; }

/* ---- Anında tepki: basınca küçülür, bırakınca yaylanmadan yerine oturur ---- */
.btn, .chip, .seg-btn, .nav a, .bell, .theme-toggle, .collapse, .cam-btn, .panel-card, a.stat-link,
.vx-rota, .vx-arac, .lang-opt, .tracker, .alert-close, .toast, .adim .btn {
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn { transition: background .15s ease, box-shadow .15s ease, transform .22s var(--egri-yay); }
.chip, .seg-btn, .bell, .theme-toggle, .collapse, .cam-btn, .lang-opt, .tracker { transition: background .15s ease, color .15s ease, border-color .15s ease, transform .22s var(--egri-yay); }
@media (prefers-reduced-motion: no-preference) {
  .btn:active:not(:disabled), .chip:active, .seg-btn:active, .bell:active, .theme-toggle:active,
  .collapse:active, .cam-btn:active, .lang-opt:active, .alert-close:active { transform: scale(.95); transition-duration: 60ms; }
  .nav a:active, .vx-rota:active, .panel-card:active, a.stat-link:active, .vx-arac:active, .tracker:active {
    transform: scale(.98); transition: transform 70ms ease-out; }
  .nav a { transition: background .12s ease, color .12s ease, transform .22s var(--egri-yay); }
}

/* ---- Cam üst çubuk (panel + vitrin): bant görünmez olunca iner ---- */
.cam-bar {
  position: fixed; z-index: 30; top: 0; left: var(--sidebar-w); right: 0;
  display: flex; align-items: center; gap: 10px; padding: 10px 18px 22px;
  background: var(--cam-bg); -webkit-backdrop-filter: var(--cam-blur); backdrop-filter: var(--cam-blur);
  /* kenarda sert çizgi yok: camın alt 14 px'i içeriğe doğru solar */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent);
  opacity: 0; transform: translateY(-10px) scale(.985); transform-origin: 50% 0; pointer-events: none;
  transition: opacity .2s ease, transform .32s var(--egri-yay), left .18s ease;
}
:root.cam-acik .cam-bar { opacity: 1; transform: none; pointer-events: auto; }
html .cam-bar[data-cam-bar] { position: fixed; }     /* ".vt > *", ".kat-bant ~ *" gibi göreli konum kuralları ezmesin */
.cam-baslik { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 15.5px; letter-spacing: -0.012em; color: var(--text); }
.cam-bosluk { flex: 1; }
.cam-btn { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--cam-cizgi); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text-2); }
.cam-btn:hover { color: var(--blue); }
.cam-btn .bell-count { box-shadow: 0 0 0 2px var(--surface); }
.cam-avatar { background: var(--hero); color: #fff; border-color: transparent; font-size: 12.5px; font-weight: 700; }
:root[data-theme="dark"] .cam-avatar { background: var(--yellow); color: var(--head); }
.cam-bar .menu-btn { display: none; }
/* Vitrin: tam genişlik, ortalanmış içerik; .vt içinden gelen beyaz yazıyı geri alır */
.cam-vitrin { left: 0; padding-inline: max(18px, calc((100vw - 1280px) / 2 + 28px)); gap: 14px; }
.cam-vitrin .wordmark { color: var(--brand); font-size: 19px; }
:root[data-theme="dark"] .cam-vitrin .wordmark { color: #f2f4f8; }
.cam-vitrin .vx-nav { margin-left: 8px; }
.cam-vitrin > .btn { margin-left: auto; }
.cam-vitrin .vx-nav a { color: var(--text-2); }
.cam-vitrin .vx-nav a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }
.vx-bolum { scroll-margin-top: 72px; }
.shop-form-lg { scroll-margin-top: 80px; }

/* ---- Köşe bildirimleri: hafif cam, ışığı yakalayan üst kenar ---- */
.toast { background: var(--cam-bg); -webkit-backdrop-filter: var(--cam-blur); backdrop-filter: var(--cam-blur);
  border-color: var(--cam-kenar); border-top-color: rgba(255, 255, 255, .8); box-shadow: var(--cam-golge); border-radius: 14px; will-change: transform; }
:root[data-theme="dark"] .toast { border-top-color: rgba(255, 255, 255, .14); }
.toast.yayli { animation: none; cursor: grab; }
.toast a, .sidebar a { -webkit-user-drag: none; }
.toast.is-cekiliyor { cursor: grabbing; }

/* ---- Mobil yan menü: ağır malzeme + perde (perde opaklığı çekmeceyi izler) ---- */
.perde { display: none; }
@media (max-width: 860px) {
  .cam-bar { left: 0; padding-inline: 12px; }
  .cam-bar .menu-btn { display: inline-grid; }
  .perde { display: block; position: fixed; inset: 0; z-index: 19; background: var(--perde); opacity: 0; pointer-events: none; touch-action: none; }
  :root.cekmece-acik .perde { pointer-events: auto; }
  :root.js-cekmece .sidebar { transition: none; touch-action: pan-y; will-change: transform; }
  :root.js-cekmece .sidebar.open { box-shadow: var(--e3); }
  .sidebar { background: var(--agir-bg); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
    border-right-color: var(--cam-cizgi); border-radius: 0 18px 18px 0; }
}

/* ---- Pencereler: tıklanan yerden "malzeme gibi" belirir (ölçek + bulanıklık birlikte) ---- */
.pano-pencere { box-shadow: var(--e3); border-radius: 18px; }
.pano-pencere::backdrop { background: var(--perde); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) {
  .pano-pencere[open] { animation: cam-belir .34s var(--egri-yay); }
  .pano-pencere[open]::backdrop { animation: perde-in .25s ease; }
}
@keyframes cam-belir { from { opacity: 0; transform: scale(.92); filter: blur(6px); } }
@keyframes perde-in { from { opacity: 0; } }

/* ---- Açık ↔ koyu tema: ani parlaklık sıçraması yerine kısa geçiş (app.js) ---- */
:root.tema-gecis, :root.tema-gecis *, :root.tema-gecis *::before, :root.tema-gecis *::after {
  transition: background-color .32s ease, color .32s ease, border-color .32s ease, fill .32s ease !important;
}

/* ---- Cihaz ayarları: hareketi / saydamlığı azalt, yüksek kontrast ---- */
@media (prefers-reduced-motion: reduce) {
  /* Kayma ve yay yerine kısa solma; anlama yardım eden renk geçişleri kalır */
  .cam-bar { transform: none; transition: opacity .2s ease; }
  .sidebar.open { animation: rm-sol .2s ease; }
  .perde { transition: opacity .2s ease; }
  .toast.yayli { animation: rm-sol .2s ease; }
  .tracker.ok .live-dot, .bell.has-unread svg { animation: none; }
  .vx-arac:hover, .vx-rota:hover, .stat-link:hover, .panel-card:hover, .btn:hover { transform: none; }
}
@keyframes rm-sol { from { opacity: 0; } }
@media (prefers-reduced-transparency: reduce) {
  .cam-bar, .toast { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sidebar { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pano-pencere::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .kat-bant .btn-ghost, .kat-bant .select-like, .kat-bant .bell, .kat-bant .theme-toggle { background: rgba(255, 255, 255, .18); }
}
@media (prefers-contrast: more) {
  :root { --border: #9aa3b2; --border-2: #7b8494; --muted: #4a5160; --label: #4a5160; --cam-bg: #fff; }
  :root[data-theme="dark"] { --border: #5a6478; --border-2: #75809a; --muted: #c2c8d4; --label: #c2c8d4; --cam-bg: #151a2a; }
  .cam-bar, .toast { -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--border-2); -webkit-mask-image: none; mask-image: none; }
  .card, .filters, .adim, .gelismis { border: 1px solid var(--border-2); }
  .btn-ghost, .chip, .input { border-color: var(--border-2); }
}

/* ---- v1.8b Faz B · Yeni talep: 3 adım (sihirbaz.js). JS yoksa adımlar alt alta. ---- */
/* Form her ekran genişliğinde içerik alanının tamamını kullanır (sabit genişlik yok) */
.sihirbaz { display: grid; gap: 14px; width: 100%; }
.sihirbaz-ana { display: grid; gap: 14px; min-width: 0; }
/* Geniş ekran: adımlar solda, canlı talep özeti sağda (sabit) */
.sihirbaz-yan { display: none; }
@media (min-width: 1200px) {
  .sihirbaz.js-sihirbaz { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 20px; align-items: start; }
  .js-sihirbaz .sihirbaz-yan:not([hidden]) { display: block; position: sticky; top: 84px; }
  .js-sihirbaz [data-ozet] { display: none; }
  .sihirbaz-yan .card-head h2 { font-size: 16px; }
  .sihirbaz-yan .ozet > div { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .sihirbaz-yan .ozet dt { grid-column: 1 / -1; }
}
.sihirbaz .card-head h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; outline: none; }
.adim-no { width: 30px; height: 30px; border-radius: 10px; display: inline-grid; place-items: center; flex: none;
  font-family: var(--font-mono); font-size: 15px; background: var(--yellow); color: var(--head); }
.sihirbaz-yol { list-style: none; margin: 0; padding: 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  border-radius: 16px; background: var(--surface); box-shadow: var(--e1); }
.sihirbaz-yol button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 0; border-radius: 11px;
  background: transparent; color: var(--muted); font-weight: 600; font-size: 13.5px; text-align: left; transition: background .15s, color .15s, transform .22s var(--egri-yay); }
.sihirbaz-yol button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sihirbaz-yol b { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12.5px;
  background: var(--surface-2); border: 1px solid var(--border); }
.sihirbaz-yol button:not(:disabled):hover { background: var(--surface-2); color: var(--text); }
.sihirbaz-yol button:disabled { cursor: default; opacity: .6; }
.sihirbaz-yol .simdi button { background: var(--hero); color: #fff; box-shadow: var(--e1); }
.sihirbaz-yol .simdi b { background: var(--yellow); color: var(--head); border-color: transparent; }
.sihirbaz-yol .tamam b { background: var(--green-bg); color: var(--green); border-color: transparent; }
:root[data-theme="dark"] .sihirbaz-yol .simdi button { background: #1b3bb8; }
.sihirbaz-eylem { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.sihirbaz-eylem .btn-primary { min-width: 140px; min-height: 46px; font-size: 15px; }
.sihirbaz-gonder .form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sihirbaz-gonder .btn-primary { min-height: 48px; padding-inline: 24px; font-size: 15.5px; }
.sihirbaz-gonder [data-geri] { margin-right: auto; }
.js-sihirbaz .sihirbaz-adim-ek > .card { margin: 0; }
/* Yön: büyük kartlar */
.yon-kartlar { padding: 5px; border-radius: 14px; }
.yon-kartlar label.seg-btn { min-height: 52px; font-size: 14.5px; border-radius: 10px; transition: background .15s, color .15s, transform .22s var(--egri-yay); }
.yon-kartlar label.seg-btn:has(input:checked) { background: var(--hero); color: #fff; border-color: transparent; box-shadow: var(--e1); }
:root[data-theme="dark"] .yon-kartlar label.seg-btn:has(input:checked) { background: #1b3bb8; }
@media (prefers-reduced-motion: no-preference) { .yon-kartlar label.seg-btn:active { transform: scale(.97); transition-duration: 60ms; } }
/* −/+ sayaçlar */
.sayac-kutu { display: flex; align-items: stretch; gap: 6px; }
.sayac-kutu .input { text-align: center; font-family: var(--font-mono); font-weight: 700; font-size: 16px; min-width: 0; padding-inline: 4px;
  -moz-appearance: textfield; }
.sayac-kutu .input::-webkit-outer-spin-button, .sayac-kutu .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sayac-btn { flex: none; width: 42px; border-radius: 10px; border: 1.5px solid var(--border-2); background: var(--surface); color: var(--text);
  font-size: 20px; font-weight: 600; line-height: 1; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .22s var(--egri-yay), background .15s; }
.sayac-btn:hover { background: var(--surface-2); }
@media (prefers-reduced-motion: no-preference) { .sayac-btn:active { transform: scale(.92); transition-duration: 60ms; } }
.daha-fazla { margin-top: 6px; box-shadow: none; border: 1px solid var(--border); }
/* Özet */
.ozet { margin: 0 0 16px; display: grid; gap: 0; border-radius: 12px; background: var(--surface-2); padding: 4px 14px; }
.ozet > div { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--border); }
.ozet > div:last-child { border-bottom: 0; }
.ozet dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--label); }
.ozet dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ozet-duzenle { border: 0; background: transparent; color: var(--blue-text); font-weight: 600; font-size: 13px; padding: 2px 4px; border-radius: 6px; }
.ozet-duzenle:hover { background: var(--blue-soft); }
/* Adım geçişi: ileri sağdan, geri soldan */
@media (prefers-reduced-motion: no-preference) {
  .sihirbaz-adim.gir-ileri { animation: adim-sag .34s var(--egri-yay); }
  .sihirbaz-adim.gir-geri { animation: adim-sol .34s var(--egri-yay); }
}
@keyframes adim-sag { from { opacity: 0; transform: translateX(28px); } }
@keyframes adim-sol { from { opacity: 0; transform: translateX(-28px); } }
@media (max-width: 560px) {
  .sihirbaz-yol span { display: none; }
  .sihirbaz-yol .simdi span { display: inline; }
  .sihirbaz-yol { grid-template-columns: auto auto auto; justify-content: start; }
  .sihirbaz-yol .simdi { flex: 1; }
  .ozet > div { grid-template-columns: minmax(0, 1fr) auto; }
  .ozet dt { grid-column: 1 / -1; }
  .sayaclar.form-grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ---- v1.8b Faz B · Panel ana sayfası (otel, firma): iş öne, raporlar katlı ---- */
.ana-cta { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px;
  background: var(--bant); color: #fff; box-shadow: var(--e2); text-decoration: none; transition: transform .22s var(--egri-yay), box-shadow .18s ease; }
.ana-cta::after { content: ""; position: absolute; right: -50px; top: -70px; width: 200px; height: 200px; border-radius: 50%; border: 34px solid rgba(245, 197, 24, .10); pointer-events: none; }
.ana-cta > * { position: relative; z-index: 1; }
.ana-cta-simge { width: 52px; height: 52px; border-radius: 15px; flex: none; display: grid; place-items: center; background: var(--yellow); color: var(--head); }
.ana-cta-simge svg { width: 24px; height: 24px; }
.ana-cta-yazi { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ana-cta-yazi strong { font-size: 19px; letter-spacing: -0.015em; }
.ana-cta-yazi span { color: #c9d3ff; font-size: 14px; }
.ana-cta .btn { flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .ana-cta:hover { transform: translateY(-2px); box-shadow: var(--e3); }
  .ana-cta:active { transform: scale(.985); transition-duration: 70ms; }
}
.rapor-kat > summary { font-size: 15.5px; }
.rapor-kat[open] > .dash { padding: 0 16px 16px; }
.rapor-kat > .dash { padding: 0 16px 16px; }
@media (max-width: 560px) {
  .ana-cta { flex-wrap: wrap; padding: 18px; gap: 12px 14px; }
  .ana-cta .btn { width: 100%; }
  .rapor-kat > .dash { padding: 0 10px 10px; }
}

/* ---- v1.8b Faz B · Şoför: şimdiki iş kartı, 4 adım, altta sabit eylem ---- */
.simdiki-is { display: grid; gap: 14px; padding: 20px; border-radius: 18px; box-shadow: var(--e2), 0 0 0 2px var(--blue); }
.simdiki-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.simdiki-ust .eyebrow { margin: 0; color: var(--blue-text); }
.simdiki-saat { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.simdiki-saat b { font-size: 44px; line-height: 1; letter-spacing: -0.03em; }
.simdiki-saat span { color: var(--muted); font-weight: 600; }
.simdiki-rota { list-style: none; margin: 0; padding: 0 0 0 22px; display: grid; gap: 12px; position: relative; }
.simdiki-rota::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--border-2); border-radius: 2px; }
.simdiki-rota li { position: relative; display: grid; gap: 1px; }
.simdiki-rota li::before { content: ""; position: absolute; left: -22px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--border-2); }
.simdiki-rota li.hedef::before { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.simdiki-rota small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.simdiki-rota b { font-size: 16.5px; line-height: 1.3; }
.simdiki-misafir { color: var(--text-2); }
.simdiki-tahsil { padding: 10px 12px; border-radius: 12px; background: var(--amber-bg); color: var(--amber); font-weight: 600; }
.simdiki-tahsil b { font-size: 17px; }
.simdiki-araclar { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.simdiki-araclar .btn { min-height: 50px; font-size: 15px; }
.simdiki-dugme { min-height: 58px; font-size: 17px; }
.simdiki-detay { justify-self: center; color: var(--blue-text); font-weight: 600; font-size: 14px; padding: 4px 8px; }
.track-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .track-4 { grid-template-columns: repeat(4, 1fr); } }
/* İş sayfası: eylem kartı ekranın altında, cam üstünde; içerik altından kayar */
.driver-actions { position: sticky; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 6; margin-top: 4px;
  background: var(--cam-bg); -webkit-backdrop-filter: var(--cam-blur); backdrop-filter: var(--cam-blur); box-shadow: var(--e3), 0 0 0 2px var(--blue); }
.driver-actions .card-head { margin-bottom: 8px; }
.driver-actions .card-head h2 { font-size: 14px; color: var(--muted); }
.driver-actions .btn-primary, .driver-actions .btn-lg { min-height: 56px; font-size: 17px; }
@media (prefers-reduced-transparency: reduce) { .driver-actions { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }
