/* Satış sitesi + giriş ekranları + müşteri paneli. --brand yönetim panelinden değiştirilebilir. */
:root {
  --brand: #111111;
  --brand-2: color-mix(in srgb, var(--brand) 70%, #6b6b6b);
  --brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
  --ink: #111111;
  --ink-2: #373737;
  --gold: #B89A54;
  --line: #e6e6e6;
  --line-2: #f0f0f0;
  --soft: #f7f7f7;
  --bg: #f4f4f4;
  --muted: #646464;
  --ok: #167a4a; --ok-soft: #e7f6ee;
  --warn: #9a6400; --warn-soft: #fff4dc;
  --fail: #a3203a; --fail-soft: #fbe9ec;
  --info: #2b4a9b; --info-soft: #eaf0fd;
  --r: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #151515; background: #fff; font-size: 15px; line-height: 1.55; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.error { color: var(--fail); }
.nowrap { white-space: nowrap; }
.inline { display: inline; margin: 0; }
.grow { flex: 1; min-width: 0; }
.hp { position: absolute; left: -9999px; }
code { background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; font-size: 12.5px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Butonlar ve form ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); background: #fff; color: #151515; border-radius: 10px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none !important; line-height: 1.2; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { background: var(--soft); border-color: #d1d1d1; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 85%, #000); border-color: transparent; }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-danger { color: var(--fail); }
.btn-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); color: #fff; border: 0; padding: 11px 18px; }
.btn-ig .ico { stroke: #fff; }
.btn-sm { padding: 6px 11px; font-size: 13px; }
.btn-lg { padding: 13px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.link-btn { border: 0; background: none; color: var(--brand); cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; padding: 0; }
.link-btn.danger { color: var(--fail); }
.icon-btn { border: 0; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; color: var(--muted); padding: 5px 8px; border-radius: 8px; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 14px; color: #151515; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; min-height: 40px; }
select { padding-right: 30px; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form label, label.field { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink-2); margin-bottom: 14px; }
.form label > input, .form label > select, .form label > textarea, label.field > input, label.field > select, label.field > textarea { margin-top: 6px; font-weight: 400; }
.field { margin-bottom: 14px; }
.field-label { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.check input { margin-top: 4px; width: auto; min-height: 0; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.row > .field { flex: none; }
.row > .field.grow { flex: 1; }
.row-tight { display: flex; gap: 8px; align-items: center; }
.w-md { max-width: 280px; }
.inline-input { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; }
.inline-input input { width: 100px; }
.help { color: var(--muted); font-size: 13px; margin: 2px 0 10px; }

.toggle { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; font-weight: 400 !important; margin: 0 !important; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-ui { width: 40px; height: 23px; background: #d2d2d2; border-radius: 23px; position: relative; transition: background .15s; flex: none; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.toggle input:checked + .toggle-ui { background: var(--brand); }
.toggle input:checked + .toggle-ui::after { transform: translateX(17px); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--gold); }
.switch { border: 0; padding: 0; cursor: pointer; display: inline-block; width: 40px; height: 23px; background: #d2d2d2; border-radius: 23px; position: relative; }
.switch span { position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; background: #fff; border-radius: 50%; transition: transform .15s; }
.switch.on { background: var(--brand); }
.switch.on span { transform: translateX(17px); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg label { cursor: pointer; margin: 0; font-weight: 600; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 6px 12px; border-radius: 7px; font-size: 13px; color: var(--ink-2); }
.seg label:hover span { background: var(--soft); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg.sm span { padding: 4px 9px; font-size: 12px; }

.alert { border-radius: 11px; padding: 11px 14px; margin-bottom: 14px; font-size: 14px; border: 1px solid; }
.alert-success { background: var(--ok-soft); color: var(--ok); border-color: #cdebd9; }
.alert-error { background: var(--fail-soft); color: var(--fail); border-color: #f2c9d1; }
.alert-warning { background: var(--warn-soft); color: var(--warn); border-color: #f0dca8; }
.alert-info { background: var(--info-soft); color: var(--info); border-color: #cddaf7; }
.pill { display: inline-block; background: #efefef; border-radius: 99px; padding: 2px 9px; font-size: 12px; font-weight: 700; color: #5a5a5a; white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.fail { background: var(--fail-soft); color: var(--fail); }
.tag { display: inline-flex; align-items: center; gap: 4px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); border-radius: 6px; padding: 0 7px; font-size: 12px; margin: 0 4px 4px 0; font-weight: 600; }
.tag button { border: 0; background: none; cursor: pointer; padding: 0; color: inherit; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #c3c3c3; margin-right: 8px; vertical-align: middle; }
.dot.on { background: #2fa866; }
.dot.warn { background: #e0a21b; }
.level { font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 1px 7px; border-radius: 99px; background: #efefef; }
.level.is-error { background: var(--fail-soft); color: var(--fail); }
.level.is-warning { background: var(--warn-soft); color: var(--warn); }
.level.is-info { background: var(--ok-soft); color: var(--ok); }
.av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #4a0f1c); color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.av.sm { width: 22px; height: 22px; font-size: 10px; }
.av.lg { width: 46px; height: 46px; }
.av.me { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.logo-mark { display: inline-block; width: 30px; height: 30px; margin-right: 9px; vertical-align: middle; flex: none; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Satış sitesi ---------- */
.s-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.s-wrap.narrow { max-width: 760px; }
.s-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.s-header-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.s-logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 18px; color: var(--ink) !important; text-decoration: none !important; }
.s-nav { display: flex; gap: 22px; flex: 1; }
.s-nav a { color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.s-actions { display: flex; gap: 8px; align-items: center; }
.lang { font-size: 12px; font-weight: 800; color: var(--muted) !important; border: 1px solid var(--line); border-radius: 7px; padding: 4px 7px; text-decoration: none !important; }
.hero { background: radial-gradient(1200px 500px at 85% -10%, var(--brand-soft), transparent), linear-gradient(#fff, var(--soft)); padding: 70px 0 60px; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 600px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 12px; }
.phone { background: #fff; border: 9px solid #151515; border-radius: 38px; overflow: hidden; height: 560px; max-width: 330px; margin: 0 auto; display: flex; flex-direction: column; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.phone-head { display: flex; align-items: center; gap: 9px; padding: 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.phone-head img, .phone-head .av { width: 28px; height: 28px; border-radius: 50%; }
.phone-body { flex: 1; overflow: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.pc { display: flex; gap: 8px; font-size: 12.5px; align-items: flex-start; }
.pc.reply { margin-left: 28px; }
.sep { text-align: center; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); padding-top: 8px; margin: 4px 0; }
.bubble { max-width: 84%; border-radius: 18px; overflow: hidden; font-size: 13.5px; }
.bubble > div { padding: 9px 13px; line-height: 1.4; word-wrap: break-word; }
.bubble.bot { align-self: flex-start; background: #efeff3; }
.bubble.me { align-self: flex-end; background: linear-gradient(135deg, #7b3fe4, #a33ee8); color: #fff; padding: 9px 13px; }
.bubble span { display: block; text-align: center; padding: 9px; border-top: 1px solid #dcdce3; background: #fff; color: #3b62f6; font-weight: 600; }
.bubble.img img { display: block; width: 100%; }
.note { color: var(--muted); font-size: 11px; text-align: center; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 34px 20px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--ink); }
.stat span { color: var(--muted); font-size: 14px; }
.s-section { padding: 70px 0; }
.s-section.alt { background: var(--soft); }
.s-section h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.f-icon { font-size: 26px; display: block; margin-bottom: 10px; }
.feature h3 { font-size: 17px; }
.feature p { color: var(--muted); margin: 0; font-size: 14.5px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.step-card, .steps .step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps .step > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps .step p { color: var(--muted); margin: 0; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 34px 0 16px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card.is-featured { border: 2px solid var(--brand); }
.price-card.is-current { border: 2px solid var(--ink); }
.price-badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 3px 11px; }
.is-current .price-badge { background: var(--ink); }
.price-card h3 { font-size: 20px; margin-bottom: 4px; }
.price { margin: 14px 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price s { color: var(--muted); font-size: 18px; }
.price strong { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.price span { color: var(--muted); }
.price-quota { font-weight: 700; color: var(--brand); margin-bottom: 14px; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.checklist li { padding: 5px 0 5px 26px; position: relative; font-size: 14.5px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.compare { margin-top: 60px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; }
.faq p { color: var(--ink-2); }
.cta-band { background: linear-gradient(135deg, #151313, #232030); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 22px; }
.prose h1 { font-size: 36px; }
.prose h2 { font-size: 20px; margin-top: 28px; }
.prose li { margin-bottom: 6px; }
.contact-mail { font-size: 20px; font-weight: 700; }
.s-footer { border-top: 1px solid var(--line); padding: 40px 0 26px; background: #fff; }
.s-footer-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.s-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.s-footer-links a { color: var(--ink-2); font-size: 14px; }
.s-copy { font-size: 12.5px; margin-top: 26px; }
@media (max-width: 900px) {
  .hero-in, .features, .steps { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .s-nav { display: none; }
  .s-actions .btn-ghost { display: none; }
}

/* ---------- Giriş ekranları ---------- */
body.auth { background: radial-gradient(900px 400px at 50% -10%, var(--brand-soft), transparent), var(--bg); min-height: 100vh; }
.auth-box { max-width: 430px; margin: 0 auto; padding: 48px 16px; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.auth-title { font-size: 24px; text-align: center; margin-bottom: 8px; }
.auth-links { text-align: center; font-size: 14px; margin: 18px 0 0; }
.auth-foot { text-align: center; margin-top: 18px; }
.err-code { font-size: 64px; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 8px; }

/* ---------- Müşteri paneli ---------- */
body.panel { background: var(--bg); display: flex; min-height: 100vh; }
.side { width: 248px; flex: none; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side-logo { display: flex; align-items: center; font-weight: 800; font-size: 17px; color: var(--ink) !important; padding: 18px 18px 14px; text-decoration: none !important; }
.side-nav { flex: 1; overflow: auto; padding: 4px 10px; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none !important; margin-bottom: 2px; }
.side-nav a:hover { background: var(--soft); }
.side-nav a.is-active { background: var(--ink); color: #fff; }
.side-nav a span { flex: 1; }
.side-nav hr { border: 0; border-top: 1px solid var(--line); margin: 10px 4px; }
.badge { font-style: normal; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 0 7px; line-height: 18px; }
.side-usage { margin: 12px; padding: 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; }
.side-usage-top { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.side-usage-top a { font-weight: 700; font-size: 13px; }
.side-usage small { color: var(--muted); font-size: 12px; }
.meter { height: 7px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.meter.lg { height: 11px; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 99px; }
.meter.is-warn span { background: #e0a21b; }
.meter.is-full span { background: var(--fail); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 26px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar h1 { font-size: 19px; margin: 0; flex: 1; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.user-chip { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.user-chip .av { width: 30px; height: 30px; font-size: 13px; }
.menu-btn { display: none; border: 0; background: none; font-size: 22px; cursor: pointer; }
.content { padding: 24px 26px 60px; max-width: 1320px; width: 100%; }
.page-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.section-title { font-size: 18px; margin: 26px 0 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 18px; min-width: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h2 { font-size: 15.5px; margin: 0; font-weight: 700; }
.card-head.pad { padding: 14px 20px; margin: 0; border-bottom: 1px solid var(--line); }
.pad { padding: 14px 20px; margin: 0; }
.pad-lg { padding: 34px; }
.sub { font-size: 13.5px; color: var(--ink-2); margin: 20px 0 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; align-items: start; }
.grid-2.wide-left { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
.range { margin: 0 0 12px; color: var(--ink-2); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.kpi-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.kpi strong { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--muted); font-size: 12.5px; }
.delta { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #efefef; color: #5a5a5a; }
.delta.is-up { background: var(--ok-soft); color: var(--ok); }
.delta.is-down { background: var(--fail-soft); color: var(--fail); }
.delta.is-new { background: #efeafc; color: #5a3fb3; }
.progress { height: 7px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin-bottom: 14px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.steps-list li { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--soft); }
.steps-list li a { color: #151515; }
.steps-list p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.steps-list li.is-done { background: var(--ok-soft); border-color: #cdebd9; }
.steps-list li.is-done strong { text-decoration: line-through; color: var(--muted); }
.chk { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.is-done .chk { background: var(--ok); border-color: var(--ok); color: #fff; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .is-v::before { background: var(--brand); }
.legend .is-a::before { background: var(--ink); }
.legend .is-b::before { background: #0f766e; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; }
.chart .gl { stroke: #ebebeb; }
.chart .axis { font-size: 11px; fill: #8e8487; }
.chart .area { fill: var(--brand); opacity: .08; }
.chart .line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.is-v { stroke: var(--brand); }
.chart .line.is-a { stroke: var(--ink); stroke-dasharray: 5 4; stroke-width: 2; }
.chart .line.is-b { stroke: #0f766e; }
.chart .hdot { stroke: #fff; stroke-width: 2; }
.chart .hdot.is-v { fill: var(--brand); }
.chart .hdot.is-a { fill: var(--ink); }
.chart .hdot.is-b { fill: #0f766e; }
.chart .guide { stroke: #c3c3c3; stroke-dasharray: 3 3; }
.chart .hit { cursor: crosshair; }
.tip { position: absolute; z-index: 5; pointer-events: none; min-width: 160px; background: #151515; color: #fff; border-radius: 10px; padding: 9px 12px; font-size: 12.5px; line-height: 1.55; box-shadow: 0 10px 30px rgba(0,0,0,.2); transform: translate(-50%,-100%); white-space: nowrap; }
.tip b { display: block; color: #cdcdcd; font-weight: 600; margin-bottom: 3px; }
.tip i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.tip .v { float: right; margin-left: 16px; font-weight: 700; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bar-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; margin-bottom: 5px; font-weight: 600; }
.bar-val { font-variant-numeric: tabular-nums; }
.bar-val small { color: var(--muted); margin-left: 4px; }
.bar { height: 7px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 99px; }
.share { white-space: nowrap; }
.share .bar { display: inline-block; width: 80px; vertical-align: middle; margin-right: 8px; }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { margin: 7px 0; font-size: 14px; }
.table { width: 100%; border-collapse: collapse; }
.table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; font-size: 14px; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--soft); }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table .num small, .table small { color: var(--muted); }
.table.compact td { padding: 8px 14px; font-size: 13px; }
.card:not(.flush) .table th:first-child, .card:not(.flush) .table td:first-child { padding-left: 0; }
.row-title { font-weight: 700; color: #151515 !important; }
.row-actions { display: flex; gap: 12px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.row-actions.left { justify-content: flex-start; margin-top: 16px; }
.person { display: flex; align-items: center; gap: 10px; }
.person img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.filters { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.filters input, .filters select { width: auto; min-width: 160px; }
.pagination { display: flex; gap: 4px; margin-top: 12px; flex-wrap: wrap; }
.pagination a { padding: 5px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); }
.pagination a.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 50px 20px; }
.empty-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; }
.empty-icon .ico { width: 30px; height: 30px; }
.empty p { max-width: 460px; margin: 0 auto 18px; }
.callout { background: var(--warn-soft); border: 1px solid #f0dca8; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: 13.5px; }
.guide { margin: 0 0 6px 20px; padding: 0; }
.guide li { margin-bottom: 10px; line-height: 1.55; }
.acc-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; margin-bottom: 14px; }
.acc-row img { width: 46px; height: 46px; border-radius: 50%; }
.danger-zone { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.danger-zone h3 { font-size: 15px; color: var(--fail); }

/* Otomasyon düzenleyici */
.editor { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 20px; align-items: start; }
.editor-side { position: sticky; top: 84px; }
.editor-side .phone { height: 600px; max-width: none; }
.step { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step > span:first-child { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.step h2 { font-size: 15.5px; margin: 0; flex: 1; }
[data-section].is-off { opacity: .4; pointer-events: none; }
.trigger-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 18px; }
.trigger-card { position: relative; display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; background: #fff; font-weight: 400 !important; }
.trigger-card:hover { background: var(--soft); }
.trigger-card input { position: absolute; opacity: 0; }
.trigger-card .ico { color: var(--brand); }
.trigger-card small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.trigger-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.button-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 8px; margin-bottom: 8px; }
.button-row.two { grid-template-columns: 180px 1fr; }
.savebar { position: sticky; bottom: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 16px; z-index: 5; flex-wrap: wrap; }
.media-selected { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.media-chip { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 4px; max-width: 280px; background: #fff; }
.media-chip img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }
.media-chip span { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-x { border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--muted); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1000; display: grid; place-items: center; padding: 20px; }
.modal-box { background: #fff; border-radius: 16px; width: min(860px, 100%); max-height: 86vh; display: flex; flex-direction: column; }
.modal-box.small { width: min(420px, 100%); }
.modal-head, .modal-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); gap: 8px; }
.modal-foot { border: 0; border-top: 1px solid var(--line); justify-content: flex-end; }
.modal-head h2 { margin: 0; font-size: 16px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; padding: 16px; overflow: auto; }
.media-card { position: relative; border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; background: var(--soft); cursor: pointer; aspect-ratio: 4/5; }
.media-card img, .media-noimg { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; color: var(--muted); }
.media-type { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 10.5px; border-radius: 4px; padding: 1px 5px; }
.media-cap { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: 11px; padding: 18px 6px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.media-tick { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: none; place-items: center; font-size: 12px; }
.media-card.is-selected { border-color: var(--brand); }
.media-card.is-selected .media-tick { display: grid; }
.spinner { width: 38px; height: 38px; border: 4px solid var(--line); border-top-color: var(--brand); border-radius: 50%; margin: 0 auto 16px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Gelen kutusu */
.inbox { display: grid; grid-template-columns: 340px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r); height: calc(100vh - 150px); min-height: 520px; overflow: hidden; }
.inbox-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.inbox-tools { padding: 12px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.threads { overflow: auto; flex: 1; }
.thread { display: flex; gap: 10px; align-items: center; width: 100%; border: 0; background: none; text-align: left; padding: 12px 14px; cursor: pointer; border-bottom: 1px solid var(--line-2); position: relative; font: inherit; }
.thread:hover { background: var(--soft); }
.thread.is-active { background: var(--brand-soft); }
.thread img, .thread .av { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.thread-body { flex: 1; min-width: 0; }
.thread-top { display: flex; justify-content: space-between; gap: 6px; font-size: 14px; }
.thread-top small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.thread-last { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread.is-unread .thread-last { color: #151515; font-weight: 700; }
.window-dot { position: absolute; left: 44px; top: 40px; width: 10px; height: 10px; border-radius: 50%; background: #2fa866; border: 2px solid #fff; }
.inbox-chat { display: flex; flex-direction: column; min-height: 0; }
.chat-empty { margin: auto; text-align: center; color: var(--muted); }
.chat-empty .ico { width: 44px; height: 44px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chat-head > img, .chat-head > .av { width: 42px; height: 42px; border-radius: 50%; }
.tag-add { border: 1px dashed #cdcdcd; background: none; border-radius: 6px; font-size: 12px; padding: 0 7px; cursor: pointer; color: var(--muted); }
.messages { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.msg { max-width: 72%; display: flex; flex-direction: column; }
.msg.is-in { align-self: flex-start; }
.msg.is-out { align-self: flex-end; align-items: flex-end; }
.msg-bubble { padding: 9px 13px; border-radius: 16px; line-height: 1.45; word-wrap: break-word; font-size: 14px; }
.msg.is-in .msg-bubble { background: #fff; border: 1px solid var(--line); }
.msg.is-out .msg-bubble { background: var(--ink); color: #fff; }
.msg.kind-comment .msg-bubble { background: #fff; border: 1px dashed #cdcdcd; color: #151515; }
.msg-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
.composer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }

/* Test merkezi, faturalandırma, destek */
.st { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: #c3c3c3; }
.st.is-ok { background: #2fa866; }
.st.is-warn { background: #e0a21b; }
.st.is-fail { background: var(--fail); }
.verdict { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--r); padding: 16px 18px; margin-bottom: 18px; border: 1px solid var(--line); background: #fff; }
.verdict .st { width: 34px; height: 34px; font-size: 16px; }
.verdict strong { display: block; font-size: 16px; }
.verdict p { margin: 3px 0 0; color: var(--ink-2); }
.verdict.is-ok { background: var(--ok-soft); border-color: #cdebd9; }
.verdict.is-warn { background: var(--warn-soft); border-color: #f0dca8; }
.verdict.is-fail { background: var(--fail-soft); border-color: #f2c9d1; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.checks li:last-child { border-bottom: 0; }
.checks p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.checks li.is-fail strong { color: var(--fail); }
.check-fix { flex: none; align-self: center; font-weight: 700; }
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sim-result { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-height: 160px; }
.sim-empty { text-align: center; padding: 56px 0; }
.reasons { margin: 6px 0 0 16px; padding: 0; }
.flow { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px dashed #d8d8d8; }
.flow li { margin: 0 0 12px; position: relative; }
.flow li::before { content: ""; position: absolute; left: -21px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; }
.flow .bubble.bot { background: #fff; border: 1px solid var(--line); }
.flow-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.plan-now { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.plan-name { font-size: 26px; font-weight: 800; margin-right: 10px; }
.usage-big { margin-top: 16px; }
.pricing.in-app { margin-top: 18px; }
.thread-msgs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.tmsg { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--soft); }
.tmsg.is-admin { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 20%, #fff); }
.tmsg-head { display: flex; justify-content: space-between; margin-bottom: 6px; }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-2, .grid-2.wide-left, .sim { grid-template-columns: 1fr; }
  .editor { grid-template-columns: 1fr; }
  .editor-side { display: none; }
  .steps-list { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .side { position: fixed; left: -260px; z-index: 50; transition: left .2s; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .side.open { left: 0; }
  .menu-btn { display: block; }
  .content { padding: 16px; }
  .topbar { padding: 0 16px; }
  .hide-sm { display: none; }
  .inbox { grid-template-columns: 1fr; height: auto; }
  .button-row, .button-row.two { grid-template-columns: 1fr; }
  .table { display: block; overflow-x: auto; }
}
