/* FoxTekno arayüz stilleri */

:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --surface-2: #fbfaf8;
  --line: #e6e1da;
  --line-strong: #d4cdc3;
  --text: #1d1b18;
  --muted: #6d675f;
  --faint: #9a938a;

  --brand: #e2571b;
  --brand-hover: #c4461a;
  --brand-soft: #fdefe6;

  --ok: #2b7a4b;
  --ok-soft: #e8f4ec;
  --warn: #a15c07;
  --warn-soft: #fdf3e2;
  --bad: #b42318;
  --bad-soft: #fcecea;
  --info: #2c5282;
  --info-soft: #eaf1f9;

  --radius: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sidebar: 228px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--mono); font-size: .88em; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; }
.right { text-align: right; }

/* ─── İkonlar ─────────────────────────────── */
.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -3px;
}
.icon.sm { width: 15px; height: 15px; vertical-align: -2px; }

/* ─── Butonlar ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .5rem .95rem;
  font: inherit; font-size: .92rem; font-weight: 550;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .12s, border-color .12s;
}
.btn:hover { background: var(--surface-2); border-color: var(--faint); text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.danger { color: var(--bad); border-color: #eab4ae; }
.btn.danger:hover { background: var(--bad-soft); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.sm { padding: .3rem .6rem; font-size: .85rem; }
.btn.block { width: 100%; }

/* ─── Formlar ─────────────────────────────── */
label { display: block; font-size: .88rem; font-weight: 550; margin-bottom: .3rem; }
.field { margin-bottom: 1rem; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=time],
input[type=search], input[type=url], input[type=tel], select, textarea {
  width: 100%;
  padding: .52rem .7rem;
  font: inherit; font-size: .94rem; color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus, .btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent);
  outline-offset: 1px; border-color: var(--brand);
}
.check { display: flex; align-items: center; gap: .5rem; font-weight: 450; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.trap { position: absolute; left: -9999px; }

/* ─── Kartlar, tablolar ───────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card + .card { margin-top: 1rem; }
:is(.grid-3, .two-col, .stats) > .card + .card { margin-top: 0; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-head h2, .card-head h3 { margin: 0; }
.section-title { font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 1.75rem 0 .6rem; }

.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th {
  text-align: left; font-weight: 600; font-size: .8rem; color: var(--muted);
  padding: .55rem .75rem; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.table td { padding: .65rem .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .right { text-align: right; }
.table tr.link-row { cursor: pointer; }
.table tr.link-row:hover td { background: var(--surface-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.stat .label { font-size: .82rem; color: var(--muted); }
.stat .value { font-size: 1.55rem; font-weight: 650; margin-top: .15rem; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: .82rem; color: var(--faint); }

/* ─── Rozetler, uyarılar ──────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .12rem .5rem; font-size: .78rem; font-weight: 600;
  border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.badge.info { background: var(--info-soft); color: var(--info); border-color: transparent; }
.badge.accent { background: var(--brand-soft); color: var(--brand); border-color: transparent; }

.notice {
  display: flex; gap: .65rem; align-items: flex-start;
  padding: .75rem 1rem; border-radius: var(--radius);
  font-size: .92rem; border: 1px solid transparent;
}
.notice .icon { margin-top: 2px; }
.notice.info { background: var(--info-soft); color: var(--info); }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.notice a { color: inherit; text-decoration: underline; }

.meter { height: 8px; background: #eee9e2; border-radius: 999px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--brand); }
.meter.full > span { background: var(--bad); }

.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty h3 { color: var(--text); }

/* ─── Panel düzeni ────────────────────────── */
.panel { min-height: 100vh; }
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar); z-index: 30; overflow-y: auto;
  display: flex; flex-direction: column;
  background: var(--surface); border-right: 1px solid var(--line);
  padding: 1rem .75rem;
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.05rem; color: var(--text); padding: .25rem .5rem 1rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: .65rem;
  padding: .48rem .6rem; border-radius: var(--radius);
  color: var(--muted); font-weight: 520; font-size: .93rem;
}
.nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav a.active { background: var(--brand-soft); color: var(--brand); }
.nav-count { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; text-align: center; line-height: 20px; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.tabs a { padding: .5rem .8rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--text); border-color: var(--brand); font-weight: 600; }
.tabs a:hover { text-decoration: none; color: var(--text); }
.setup { max-width: 820px; }
.setup-step h2 { display: flex; align-items: center; gap: .6rem; }
.step-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); font-size: .85rem; }
.setup-step.done .step-no { background: var(--ok); border-color: var(--ok); color: #fff; }
.qr-inline svg { width: 180px; height: 180px; }
.tag-list { display: flex; gap: .25rem; flex-wrap: wrap; margin-top: .3rem; }
.reply-box { display: flex; gap: .5rem; margin-top: .75rem; align-items: flex-end; }
.reply-box textarea { min-height: 46px; height: 46px; resize: vertical; }
.reply-box { position: relative; }
.canned-menu { position: absolute; left: 0; bottom: calc(100% + 4px); width: min(420px, 100%); max-height: 260px; overflow-y: auto;
  margin: 0; padding: .25rem; list-style: none; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 20; }
.canned-menu li { padding: .45rem .6rem; border-radius: 4px; cursor: pointer; display: flex; flex-direction: column; gap: .1rem; }
.canned-menu li span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.canned-menu li.active, .canned-menu li:hover { background: var(--brand-soft); }
.nav .sep { height: 1px; background: var(--line); margin: .6rem .4rem; }
.sidebar-foot { margin-top: auto; padding: .75rem .5rem 0; border-top: 1px solid var(--line); font-size: .85rem; }
.sidebar-foot .who { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.main { min-width: 0; margin-left: var(--sidebar); }
.impersonation + .panel .sidebar { top: 38px; }
.topbar {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 2rem; border-bottom: 1px solid var(--line); background: var(--surface);
}
.topbar h1 { font-size: 1.15rem; margin: 0; }
.menu-btn { display: none; }
.content { padding: 1.75rem 2rem 3rem; max-width: 1180px; }
.banners { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.banners:not(:has(*)) { display: none; }
.impersonation { background: var(--text); color: #fff; padding: .5rem 2rem; font-size: .88rem; display: flex; gap: 1rem; align-items: center; }
.impersonation .btn { color: #fff; background: transparent; border-color: #6b6660; }

.two-col { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* Kurulum adımları */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: .75rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps .dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: #fff; flex: none; }
.steps li.done .dot { background: var(--ok); border-color: var(--ok); }
.steps li.done .title { color: var(--muted); text-decoration: line-through; }

/* Kanal kartları */
.channel-card { display: flex; flex-direction: column; gap: .75rem; }
.channel-card .head { display: flex; align-items: center; gap: .7rem; }
.channel-logo { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.channel-logo .icon { width: 20px; height: 20px; }
.logo-whatsapp { background: #1f9d55; }
.logo-telegram { background: #2a8bd0; }
.logo-facebook { background: #3a5ea8; }
.logo-instagram { background: #b3407d; }
.logo-website { background: #3d4451; }
.snippet { width: 100%; min-height: 120px; font-family: var(--mono); font-size: .78rem; background: var(--surface-2); }
.qr-box { display: grid; place-items: center; min-height: 240px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface-2); }
.qr-box img { width: 232px; height: 232px; image-rendering: pixelated; }
.page-list { display: flex; flex-direction: column; gap: .5rem; }
.page-list button { justify-content: space-between; }

/* Konuşma görünümü */
.thread { display: flex; flex-direction: column; gap: .6rem; padding: 1rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); max-height: 68vh; overflow-y: auto; }
.bubble { max-width: 72%; padding: .55rem .8rem; border-radius: 10px; font-size: .93rem; overflow-wrap: anywhere; }
.bubble .text { display: block; white-space: pre-wrap; }
.bubble .meta { display: block; font-size: .74rem; color: var(--faint); margin-top: .25rem; }
.bubble.user { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
.bubble.assistant { align-self: flex-end; background: var(--brand-soft); }
.bubble.agent { align-self: flex-end; background: #eef2ea; }
.bubble .attachment { display: block; margin-bottom: .35rem; }
.bubble img { display: block; max-width: 100%; max-height: 320px; border-radius: 8px; cursor: zoom-in; }
.bubble audio, .bubble video { max-width: 100%; }
.bubble video { max-height: 320px; border-radius: 8px; }
.bubble .attachment.file { display: inline-flex; align-items: center; gap: .35rem; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.lightbox img { display: block; max-width: 94vw; max-height: 90vh; border-radius: 8px; cursor: zoom-out; }
.lightbox-close { position: fixed; top: .8rem; right: 1rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255, 255, 255, .3); }
.who-tag { display: block; font-size: .72rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.test-chat { display: flex; flex-direction: column; height: 460px; }
.test-chat .thread { flex: 1; max-height: none; }
.test-chat form { display: flex; gap: .5rem; margin-top: .6rem; }

.hours-row { display: grid; grid-template-columns: 110px 90px 1fr 1fr; gap: .6rem; align-items: center; margin-bottom: .4rem; }

.bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: .5rem; border-bottom: 1px solid var(--line); }
.bars .bar { flex: 1; background: #f0b999; border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.bars .bar:hover { background: var(--brand); }
.bars-x { display: flex; justify-content: space-between; font-size: .75rem; color: var(--faint); margin-top: .3rem; }

.pagination { display: flex; gap: .4rem; align-items: center; justify-content: flex-end; margin-top: 1rem; font-size: .88rem; }

.toolbar { display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.toolbar input[type=search] { max-width: 280px; }
.toolbar select { width: auto; }

/* ─── Toast ───────────────────────────────── */
.toasts { position: fixed; right: 1.25rem; bottom: 1.25rem; display: flex; flex-direction: column; gap: .5rem; z-index: 50; }
.toast {
  min-width: 260px; max-width: 380px; padding: .7rem .9rem;
  background: var(--text); color: #fff; border-radius: var(--radius);
  font-size: .9rem; box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.toast.error { background: var(--bad); }
.toast.ok { background: var(--ok); }

/* ─── Herkese açık sayfalar ───────────────── */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .inner, .site-footer .inner, .wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.site-header .inner { display: flex; align-items: center; height: 64px; gap: 1.5rem; }
.site-header nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; font-size: .93rem; }
.site-header nav a { color: var(--muted); }
.site-header nav a.btn { color: var(--text); }
.site-header nav a.btn.primary { color: #fff; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 4.5rem 0 3.5rem; }
.hero h1 { font-size: 2.45rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 34rem; }
.hero .row { margin-top: 1.5rem; }

.phone {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(60, 40, 20, .25);
}
.phone .phone-head { display: flex; align-items: center; gap: .6rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: .75rem; font-size: .9rem; }
.phone .avatar { width: 32px; height: 32px; border-radius: 50%; background: #ece6de; display: grid; place-items: center; font-weight: 700; color: var(--muted); font-size: .85rem; }
.phone .thread { background: transparent; border: 0; padding: 0; max-height: none; }

.band { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.band.alt { background: var(--surface); }
.band h2 { font-size: 1.55rem; margin-bottom: .4rem; }
.band .intro { color: var(--muted); max-width: 38rem; margin-bottom: 2rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.feature h3 { display: flex; gap: .5rem; align-items: center; }
.feature h3 .icon { color: var(--brand); }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.how div::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }
.how p { color: var(--muted); font-size: .95rem; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--brand); }
.price-card .price { font-size: 1.9rem; font-weight: 700; margin: .4rem 0 1rem; }
.price-card .price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.price-card li { display: flex; gap: .5rem; padding: .3rem 0; font-size: .93rem; }
.price-card li .icon { color: var(--ok); margin-top: 3px; }
.ai-pay { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.ai-pay .price-card ul { margin-bottom: 0; }
.booking-form .bf-step { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.booking-form .bf-step:first-child { padding-top: 0; }
.bf-step-head { display: flex; align-items: center; gap: .5rem; font-weight: 600; margin-bottom: .6rem; }
.slot-groups { display: grid; gap: .6rem; }
.slot-group-label { font-size: .78rem; color: var(--muted); margin-bottom: .3rem; }
.slot-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.slot-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: .35rem .6rem; font: inherit; font-size: .88rem; cursor: pointer; min-width: 4.2rem; }
.slot-btn small { display: block; font-size: .7rem; color: var(--muted); }
.slot-btn:hover { border-color: var(--brand); }
.slot-btn.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.slot-btn.selected small { color: #fff; }
.bf-manual { margin-top: .6rem; }
.bf-summary { margin: .9rem 0 .6rem; padding: .6rem .8rem; border-radius: 8px; background: var(--brand-soft); font-size: .9rem; }

.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: .6rem 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; font-size: .88rem; color: var(--muted); }
.site-footer .inner { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 1.25rem; margin-left: auto; }
.site-footer a { color: var(--muted); }

.auth-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 2.5rem 1rem; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 1.4rem; }
.auth-card .foot { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); text-align: center; }

.prose { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.prose h1 { font-size: 1.9rem; }
.prose h2 { font-size: 1.15rem; margin-top: 2rem; }
.prose li { margin-bottom: .35rem; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }

/* ─── Mobil ───────────────────────────────── */
@media (max-width: 900px) {
  .main { margin-left: 0; }
  .sidebar { z-index: 40; width: 260px; transform: translateX(-100%); transition: transform .18s; }
  .sidebar.open { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.15); }
  .hide-sm { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar, .content { padding-left: 1rem; padding-right: 1rem; }
  .two-col, .grid-3, .features, .how, .pricing, .ai-pay, .hero, .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; gap: 2rem; }
  .hero h1 { font-size: 1.9rem; }
  .site-header nav a:not(.btn) { display: none; }
  .hours-row { grid-template-columns: 1fr 1fr; }
  .bubble { max-width: 88%; }
}

/* ─── Ana sayfa sohbet balonu ─────────────── */
.site-chat { --wa: #25d366; --wa-dark: #128c7e; position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.site-chat-bubble { width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: transform .15s; }
.site-chat-bubble:hover { transform: scale(1.06); }
.site-chat-bubble svg { width: 30px; height: 30px; }
.site-chat.open .site-chat-bubble { background: var(--wa-dark); }
.site-chat-card { width: min(340px, calc(100vw - 40px)); background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.site-chat-card[hidden] { display: none; }
.site-chat-head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: var(--wa-dark); color: #fff; }
.site-chat-head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.site-chat-head div { flex: 1; line-height: 1.25; }
.site-chat-head span { display: block; font-size: .8rem; opacity: .85; }
.site-chat-close { border: 0; background: none; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 .25rem; }
.site-chat-body { padding: 1.1rem 1rem; background: #e5ddd5; }
.site-chat-msg { position: relative; max-width: 90%; padding: .6rem .8rem; background: #fff; border-radius: 0 8px 8px 8px; font-size: .92rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); white-space: pre-line; }
.site-chat-start { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .8rem; padding: .7rem 1rem; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 600; text-decoration: none; }
.site-chat-start:hover { background: var(--wa-dark); color: #fff; text-decoration: none; }
.site-chat-start svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .site-chat { right: 14px; bottom: 14px; } }

.install-steps { margin: .5rem 0 0; padding-left: 1.1rem; }
.install-steps li { margin-bottom: .45rem; }

/* ─── Giriş/kayıt yardımcıları ────────────── */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 4.6rem; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .82rem; padding: .3rem .55rem; border-radius: var(--radius); cursor: pointer; }
.pw-toggle:hover { color: var(--text); background: var(--surface-2); }
.caps-warn { color: var(--warn) !important; }
.pw-meter { margin-top: .4rem; }
.pw-meter .bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pw-meter .bar span { display: block; height: 100%; width: 0; background: var(--bad); transition: width .15s, background .15s; }
.pw-meter[data-level="2"] .bar span { background: var(--warn); }
.pw-meter[data-level="3"] .bar span, .pw-meter[data-level="4"] .bar span { background: var(--ok); }
.form-error { margin-bottom: 1rem; }
.email-suggest a { font-weight: 550; }
.check.consent { align-items: flex-start; font-size: .86rem; margin-bottom: .7rem; }
.check.consent input { margin-top: 3px; flex: none; }
.auth-split { grid-template-columns: minmax(0, 400px) minmax(0, 460px); gap: 3.5rem; justify-content: center; align-items: center; }
.auth-split .auth-card { max-width: 460px; }
.auth-pitch h2 { font-size: 1.5rem; line-height: 1.3; margin: 0 0 1.2rem; }
.auth-pitch ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .75rem; }
.auth-pitch li { display: flex; gap: .55rem; align-items: flex-start; }
.auth-pitch li .icon { color: var(--brand); flex: none; margin-top: 3px; }
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .auth-pitch { order: 2; max-width: 460px; }
  .auth-pitch h2 { font-size: 1.2rem; }
}
.google-btn { gap: .6rem; font-weight: 550; margin: .4rem 0 0; }
.or-divider { display: flex; align-items: center; gap: .75rem; margin: 1.1rem 0; color: var(--faint); font-size: .82rem; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.site-footer nav { flex-wrap: wrap; gap: .4rem 1.25rem; }
@media (max-width: 900px) { .site-footer nav { margin-left: 0; } }
.session-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.session-list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: var(--radius); }
.check.remember { font-size: .88rem; margin-bottom: 1rem; }
