/* Datajiro üyelik uygulaması — Tasda'nın (tasda.com) sade, açık yapısı + Datajiro logosu ve yeşili (ai.datajiro.com).
   Tek dosya: değişkenler → iskelet → sol menü → bileşenler → ana sayfa → sayfalar. Sınıf adları tüm sayfalarda ortak. */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f2f4f8;
  --line: #e4e7ee;
  --line-strong: #cfd5e1;
  --ink: #101522;
  --text: #172033;
  --muted: #5d6678;
  --faint: #8a93a6;
  --accent: #30ff7a;          /* Datajiro yeşili */
  --accent-ink: #12813f;      /* açık zeminde okunur yeşil */
  --accent-soft: #e8fdf0;
  --green: #12813f; --blue: #0f7fa0; --purple: #6a5bd6; --red: #c2412f; --gold: #a06b00;
  --radius: 12px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; }
a { color: var(--accent-ink); }
button, input, textarea, select { font: inherit; color: inherit; }

/* ── Logo ────────────────────────────────────────────────────────────── */
/* ai.datajiro.com'daki logo: Futura kalın, "jiro" yeşil, "ai" el yazısı; alt çizgi yok */
.dj-logo { display: inline-flex; align-items: baseline; font-family: "Futura", "Century Gothic", sans-serif; font-weight: 700; letter-spacing: 0;
  color: var(--ink); line-height: 1; font-size: 26px; }
.dj-logo .dj-jiro { color: #56b36c; }
.dj-logo .dj-ai { font-family: "Caveat", cursive; font-weight: 700; font-size: 1.05em; margin-left: .1em; color: var(--ink); }
.dj-logo.small { font-size: 20px; }
.dj-logo.big { font-size: clamp(36px, 6.3vw, 67px); }

/* ── İskelet ─────────────────────────────────────────────────────────── */
.ds-app { display: grid; grid-template-columns: 282px minmax(0, 1fr); min-height: 100dvh; }
.ds-app.collapsed { grid-template-columns: 72px minmax(0, 1fr); }
.ds-main { min-width: 0; display: flex; flex-direction: column; }
.ds-topbar { display: flex; align-items: center; gap: 12px; padding: 30px 40px 6px; max-width: 1120px; width: 100%; margin: 0 auto; }
.ds-topbar h1 { margin: 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ds-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.ds-content { padding: 18px 40px 60px; width: 100%; max-width: 1120px; margin: 0 auto; }
.ds-content.ds-narrow, .ds-topbar.ds-narrow { max-width: 820px; }   /* başlık ile içerik aynı genişlik ve hizada */
.ds-content.ds-bare { max-width: none; padding: 0; }
.ds-fab { display: none; }
body.has-dock .ds-content { padding-bottom: 200px; }

/* ── Sol menü (Tasda) ────────────────────────────────────────────────── */
.ds-sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 22px 24px 0;
  background: var(--surface); border-right: 1px solid var(--line); overflow: hidden; z-index: 30; }
.ds-brand-row { display: flex; align-items: center; gap: 6px; margin-bottom: 26px; }
.ds-brand { text-decoration: none; }
.ds-brand-mark { display: none; }
.ds-icon-btn { border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: 6px 8px; border-radius: 8px; font-size: 1.1rem; line-height: 1; }
.ds-icon-btn:hover { background: var(--surface-2); }
.ds-collapse { margin-left: auto; }
.ds-close { display: none; margin-left: auto; }
/* Kendi simgeler (lib/Icons.php): mürekkep çizgi + tek yeşil parça */
.ds-ico { width: 22px; height: 22px; flex-shrink: 0; display: block; }
.ds-ico .g { stroke: #19c95a; }
.ds-ico .gf { fill: #19c95a; stroke: none; }
.ds-icon-btn .ds-ico { width: 20px; height: 20px; }
.ds-expand { width: 100%; border: 0; background: none; cursor: pointer; font: inherit; }
.ds-app:not(.collapsed) .ds-expand { display: none; }
.ds-scroll { flex: 1; min-height: 0; overflow-y: auto; margin-inline: -8px; padding-inline: 8px; scrollbar-width: thin; }
.ds-link { display: flex; align-items: center; gap: 13px; min-height: 42px; padding: 8px 6px; color: var(--ink); border-radius: 10px;
  font-size: 15.5px; font-weight: 600; text-decoration: none; }
.ds-link > i { font-size: 1.15rem; width: 22px; text-align: center; flex-shrink: 0; }
.ds-link.active .ds-ico .g { stroke: #12813f; } .ds-link.active .ds-ico .gf { fill: #12813f; }
.ds-link > span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-link:hover, .ds-item:hover, .ds-user:hover { background: var(--surface-2); }
.ds-link.active, .ds-item.active, .ds-user.active { background: var(--accent-soft); }
.ds-new { font-weight: 500; margin-bottom: 14px; }
.ds-label { margin: 6px 6px 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ds-item { display: flex; align-items: center; gap: 12px; padding: 7px 6px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.ds-item-text { min-width: 0; flex: 1; display: grid; gap: 1px; }
.ds-item-text strong { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-item-text small { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 16px;
  color: var(--ink); background: color-mix(in srgb, var(--av) 22%, #fff); border: 1px solid color-mix(in srgb, var(--av) 55%, #fff); }
.ds-avatar i { font-size: 1.1rem; }
.ds-chatlink { display: block; padding: 7px 8px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 14.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-chatlink:hover { background: var(--surface-2); } .ds-chatlink.active { background: var(--accent-soft); }
.ds-all { display: block; text-align: center; margin: 8px 0 16px; padding: 7px; color: var(--ink); font-weight: 500; text-decoration: none; border-radius: 10px; }
.ds-all:hover { background: var(--surface-2); }
.ds-empty { margin: 2px 6px 8px; font-size: 13.5px; color: var(--muted); }
.ds-nav { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.ds-legal { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 14px 6px 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.ds-legal a { font-size: 12px; color: var(--faint); text-decoration: none; }
.ds-legal a:hover { color: var(--ink); }
.ds-account { margin: 0 -24px; padding: 12px 18px; border-top: 1px solid var(--line); }
.ds-user { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.ds-user .ds-avatar { color: #fff; background: var(--ink); border-color: var(--ink); width: 36px; height: 36px; border-radius: 50%; }
.ds-user-gear { color: var(--muted); }
.ds-login span { font-weight: 700; }
.ds-scrim { display: none; }

/* Daraltılmış (72 px) */
.collapsed .ds-sidebar { padding-inline: 12px; }
.collapsed .ds-brand .dj-logo, .collapsed .ds-collapse, .collapsed .ds-link > span, .collapsed .ds-label, .collapsed .ds-item,
.collapsed .ds-all, .collapsed .ds-chatlink, .collapsed .ds-empty, .collapsed .ds-legal, .collapsed .ds-item-text, .collapsed .ds-user-gear { display: none; }
.collapsed .ds-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border-radius: 12px; background: var(--ink);
  color: #fff; font-weight: 900; font-size: 22px; position: relative; }
.collapsed .ds-brand-mark svg { width: 44px; height: 44px; display: block; }   /* D: sol yarısı beyaz, sağ kavis Datajiro yeşili (j içine giriyor gibi) */
.collapsed .ds-brand-row { flex-direction: column; align-items: stretch; gap: 2px; margin-bottom: 2px; }
.collapsed .ds-brand { align-self: center; margin-bottom: 12px; }
.collapsed .ds-expand { display: flex; }
.collapsed .ds-link { justify-content: center; padding-inline: 0; }
/* Daraltılmışta tüm simgeler eşit aralıklı tek sütun: ara boşluklar ve çizgiler kalkar */
.collapsed .ds-new { margin-bottom: 2px; }
.ds-agents-mini { display: none; }
.collapsed .ds-agents-mini { display: flex; }
.collapsed .ds-nav { border-top: 0; padding-top: 0; }
.collapsed .ds-account { margin: 0 -12px; padding: 12px 8px; }
.collapsed .ds-user { justify-content: center; }

/* Telefon: çekmece */
@media (max-width: 860px) {
  .ds-app, .ds-app.collapsed { grid-template-columns: minmax(0, 1fr); }
  .ds-sidebar { position: fixed; left: 0; top: 0; width: 290px; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(16,21,34,.18); padding-inline: 24px; }
  .ds-app.drawer .ds-sidebar { transform: none; }
  .ds-app.drawer .ds-scrim { display: block; position: fixed; inset: 0; background: rgba(16,21,34,.35); z-index: 20; }
  .ds-app.collapsed .ds-sidebar :is(.ds-link > span, .ds-label, .ds-all, .ds-chatlink, .ds-empty, .ds-legal) { display: block; }
  .ds-app.collapsed .ds-sidebar :is(.ds-item, .ds-brand .dj-logo) { display: flex; }
  .ds-app.collapsed .ds-agents-mini { display: none; }
  .ds-app.collapsed .ds-sidebar .ds-item-text { display: grid; }
  .ds-app.collapsed .ds-brand-mark { display: none; }
  .ds-app.collapsed .ds-link { justify-content: flex-start; padding-inline: 6px; }
  .ds-collapse, .ds-app.collapsed .ds-expand { display: none; }
  .ds-app.collapsed .ds-brand-row { flex-direction: row; align-items: center; margin-bottom: 26px; }
  .ds-app.collapsed .ds-brand { align-self: auto; margin-bottom: 0; }
  .ds-close { display: inline-block; }
  /* Üst bar yok: sol üstte sabit "D" menü düğmesi + iç sayfalarda "Datajiro ai ⌂" düğmesi (arka plan yok) */
  .ds-fab { display: flex; align-items: center; gap: 8px; position: fixed; top: 12px; left: 12px; z-index: 25; }
  .ds-fab-logo { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; box-shadow: 0 4px 14px rgba(16,21,34,.18); }
  .ds-fab-logo svg { width: 44px; height: 44px; display: block; }
  .ds-fab-home { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-control, 13px); box-shadow: 0 4px 14px rgba(16,21,34,.08); text-decoration: none; color: var(--ink); }
  .ds-fab-home .dj-logo { font-size: 18px; }
  .ds-fab-home i { font-size: 1.05rem; color: var(--muted); }
  .ds-app.drawer .ds-fab { display: none; }
  .ds-content.ds-bare { padding-top: 64px; }
  .ds-bare > .ds-dash:first-child { margin-top: 4px !important; }      /* üye ana sayfası: "D" düğmesinin hemen altından */
  .ds-topbar { padding: 70px 16px 4px; }                              /* sabit "D" düğmesinin altından başlasın */
  .ds-content { padding: 14px 16px 48px; }
}

/* ── Bileşenler ──────────────────────────────────────────────────────── */
.ds-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.ds-card + .ds-card { margin-top: 14px; }
.ds-card h2 { margin: 0 0 6px; font-size: 1.12rem; font-weight: 800; color: var(--ink); }
.ds-muted { color: var(--muted); }
.ds-small { font-size: 13.5px; }
.ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.ds-tile { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ds-tile:hover { border-color: var(--line-strong); box-shadow: 0 8px 22px rgba(16,21,34,.06); transform: translateY(-1px); }
.ds-tile i { font-size: 1.35rem; }
.ds-tile strong { font-size: 1rem; font-weight: 700; }
.ds-tile span { color: var(--muted); font-size: 14px; }
.ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink); padding: 10px 16px; border-radius: 9px; font-weight: 700; cursor: pointer; text-decoration: none; font-size: 14.5px; }
.ds-btn:hover { background: var(--surface-2); }
.ds-btn:disabled { opacity: .45; cursor: not-allowed; }
.ds-btn-primary { background: #000; color: #fff; border-color: #000; box-shadow: 0 3px 0 rgba(48,255,122,.0); }
.ds-btn-primary:hover { background: #1b2230; }
.ds-btn-green { background: #52e5a5; border-color: #52e5a5; color: #06120b; }
.ds-btn-green:hover { background: #3fdc97; }
.ds-btn-danger { border-color: #f1c2ba; color: var(--red); }
.ds-btn-danger:hover { background: #fff2ef; }
.ds-field { display: grid; gap: 6px; margin-bottom: 16px; }
.ds-field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.ds-hint { font-size: 12.5px; color: var(--muted); }
.ds-input, .ds-textarea, .ds-select { width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 13px; color: var(--ink); }
.ds-input:focus, .ds-textarea:focus, .ds-select:focus { outline: 3px solid rgba(48,255,122,.35); border-color: #19c95a; }
.ds-input:disabled { background: var(--surface-2); color: var(--muted); }
.ds-textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.ds-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ds-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.ds-badge-green { background: var(--accent-soft); color: var(--accent-ink); }
.ds-badge-red { background: #fdecea; color: var(--red); }
.ds-badge-gold { background: #fff6dc; color: var(--gold); }
.ds-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ds-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.ds-table td { padding: 21px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ds-table tr:last-child td { border-bottom: 0; }
.ds-table-wrap { overflow-x: auto; }
.ds-alert { border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; margin-bottom: 14px; background: var(--surface-2); }
.ds-alert-error { border-color: #f4c8c0; background: #fff4f1; color: #8a2a1c; }
.ds-alert-ok { border-color: #bdf3d2; background: var(--accent-soft); color: #0d5e2e; }
.ds-big { font-size: 2.4rem; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.ds-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
details.ds-card > summary { cursor: pointer; font-weight: 700; list-style-position: inside; }

.ds-toasts { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 8px; z-index: 100; }
.ds-toast { min-width: 220px; max-width: 360px; padding: 11px 15px; border-radius: 10px; background: var(--ink); color: #fff;
  box-shadow: 0 12px 30px rgba(16,21,34,.25); opacity: 0; transform: translateY(8px); transition: all .25s; font-size: 14px; }
.ds-toast.show { opacity: 1; transform: none; }
.ds-toast-success { border-left: 4px solid var(--accent); }
.ds-toast-error { border-left: 4px solid #ef6b5b; }

/* ── Ana sayfa (Tasda) ───────────────────────────────────────────────── */
.ds-home { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 900px; margin: 0 auto; padding: 70px 24px 20px; }
.ds-home h1 { margin: 40px 0 0; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 900; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.ds-home .ds-lead { margin: 16px auto 0; max-width: 720px; font-size: 1.15rem; color: var(--text); line-height: 1.6; }
.ds-home .ds-cta { margin-top: 30px; padding: 14px 26px; font-size: 16px; border-radius: 9px; }
.ds-section { width: 100%; max-width: 900px; margin: 70px auto 0; padding: 0 24px; text-align: left; }
.ds-section h2 { margin: 0 0 10px; font-size: 1.75rem; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.ds-section > p { margin: 0 0 22px; color: var(--text); }
.ds-templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.ds-template { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ds-template:hover { border-color: #19c95a; box-shadow: 0 6px 20px rgba(16,21,34,.06); }
.ds-template strong { display: block; font-size: 15px; }
.ds-template small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.ds-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.ds-chip { display: inline-flex; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 14px; text-decoration: none; }
.ds-chip:hover { border-color: #19c95a; }
.ds-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ds-step { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ds-step b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; }
.ds-step strong { display: block; margin-top: 10px; font-size: 15.5px; color: var(--ink); }
.ds-step p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.ds-note { margin-top: 10px; font-size: 12.5px; color: var(--faint); text-align: center; }
@media (max-width: 700px) { .ds-steps { grid-template-columns: 1fr; } .ds-home { padding-top: 40px; } }

/* Alttaki yazma kutusu (Tasda: ekrana sabit) */
.ds-dock { position: fixed; bottom: 0; left: 282px; right: 0; padding: 12px 24px 18px; background: var(--bg); z-index: 15; }
.ds-dock::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; background: linear-gradient(180deg, rgba(246,248,251,0), var(--bg)); pointer-events: none; }
.collapsed .ds-dock { left: 72px; }
.ds-dock-inner { max-width: 852px; margin: 0 auto; }                  /* 900 px bölümün iç genişliği: kutu içerikle aynı hizada */
.ds-dash ~ .ds-dock .ds-dock-inner { max-width: 952px; }               /* üye ana sayfası: 1000 px özet */
.ds-dock-pills { display: flex; gap: 8px; overflow-x: auto; padding: 0 2px 10px; scrollbar-width: none; }
.ds-dock-pills a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; }
.ds-dock-pills a:hover { border-color: #19c95a; }
.ds-dock-pills .ds-avatar { width: 28px; height: 28px; border-radius: 7px; font-size: 13px; }
.ds-dock form { display: flex; align-items: flex-end; gap: 8px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 10px 10px 10px 14px;
  box-shadow: 0 10px 30px rgba(16,21,34,.06); }
.ds-dock textarea { flex: 1; border: 0; outline: 0; resize: none; background: transparent; min-height: 48px; max-height: 200px; padding: 6px 2px; font-size: 15.5px; }
.ds-dock button[type=submit] { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; border: 0; background: #000; color: #fff; font-size: 1.15rem; cursor: pointer; }
@media (max-width: 860px) { .ds-dock { left: 0; padding: 0 12px 12px; } }

/* ── Tanıtım sayfaları ───────────────────────────────────────────────── */
.ds-intro { max-width: 860px; margin: 0 auto; padding: 34px 24px 60px; }
.ds-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.ds-back:hover { color: var(--ink); }
.ds-intro-hero { margin-top: 26px; }
.ds-intro-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; font-size: 28px;
  background: color-mix(in srgb, var(--c) 20%, #fff); border: 1px solid color-mix(in srgb, var(--c) 55%, #fff); color: var(--ink); }
.ds-eyebrow { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.ds-intro h1 { margin: 0; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.12; color: var(--ink); }
.ds-intro-hero > p { margin: 14px 0 0; max-width: 680px; font-size: 1.08rem; color: var(--text); line-height: 1.6; }
.ds-intro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ds-intro h3 { margin: 38px 0 12px; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.ds-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ds-details div { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ds-details i { font-size: 1.3rem; color: var(--accent-ink); }
.ds-details strong { display: block; margin-top: 8px; color: var(--ink); }
.ds-details p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .ds-details { grid-template-columns: 1fr; } }

/* ── Giriş / kayıt ───────────────────────────────────────────────────── */
.ds-auth { max-width: 420px; margin: 50px auto; text-align: center; }
.ds-auth .ds-card { padding: 28px 26px 24px; text-align: left; margin-top: 26px; }
.ds-auth h2 { font-size: 1.4rem; font-weight: 900; margin-bottom: 4px; }
.ds-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.ds-or::before, .ds-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ds-google { width: 100%; }

/* ── Mimar sohbeti ───────────────────────────────────────────────────── */
.ds-chat { display: flex; flex-direction: column; gap: 14px; }
.ds-msg { max-width: 86%; padding: 12px 15px; border-radius: 14px; white-space: pre-wrap; word-wrap: break-word; line-height: 1.55; }
.ds-msg-user { align-self: flex-end; background: var(--ink); color: #fff; }
.ds-msg-mimar { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
.ds-msg-meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.ds-msg-user .ds-msg-meta { color: #aab2c2; }
.ds-proposal { margin-top: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); white-space: normal; }
.ds-proposal label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.ds-composer { position: sticky; bottom: 0; padding: 14px 0 6px; background: linear-gradient(180deg, transparent, var(--bg) 30%); }
.ds-composer form { display: flex; gap: 8px; align-items: flex-end; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 8px; }
.ds-composer textarea { flex: 1; border: 0; background: transparent; resize: none; min-height: 44px; max-height: 220px; padding: 8px 10px; outline: none; }
.ds-typing { color: var(--muted); font-size: 14px; }

/* ── Misafir: "Neler yapar?" animasyonlu kutular ─────────────────────── */
.dj-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dj-feat { display: block; padding: 18px 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s, box-shadow .15s; }
.dj-feat:hover { border-color: #19c95a; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16,21,34,.07); }
.dj-feat strong { display: block; margin-top: 14px; font-size: 16px; }
.dj-feat p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.dj-anim { position: relative; height: 92px; border-radius: 12px; background:
  linear-gradient(rgba(255,255,255,.04) 50%, transparent 50%) 0 0 / 100% 6px, radial-gradient(circle at 20% 10%, rgba(48,255,122,.18), transparent 50%), #0d121b;
  display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--accent); overflow: hidden; font-size: 30px; }
/* telefon çalıyor */
.dj-a-ring i { animation: dj-ring 1.6s ease-in-out infinite; }
.dj-a-ring span { position: absolute; width: 56px; height: 56px; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; animation: dj-pulse 1.6s ease-out infinite; }
.dj-a-ring span + span { animation-delay: .6s; }
/* Mimar: kıvılcımlar */
.dj-a-spark i { color: #f4c542; animation: dj-twinkle 2s ease-in-out infinite; }
.dj-a-spark .ds-ico { width: 40px; height: 40px; color: #fff; animation: dj-twinkle 2s ease-in-out infinite; }
.dj-a-spark span { position: absolute; width: 6px; height: 6px; background: #f4c542; border-radius: 2px; animation: dj-float 2.4s ease-in-out infinite; }
.dj-a-spark span:nth-of-type(1) { left: 30%; top: 30%; } .dj-a-spark span:nth-of-type(2) { right: 28%; top: 24%; animation-delay: .8s; }
.dj-a-spark span:nth-of-type(3) { right: 36%; bottom: 22%; animation-delay: 1.4s; }
/* giden arama: kişi → çizgi → telefon */
.dj-a-call { color: #1fb6d4; }
.dj-a-call .dj-line { width: 90px; height: 3px; background: repeating-linear-gradient(90deg, #1fb6d4 0 10px, transparent 10px 18px); background-size: 36px 3px; animation: dj-dash .8s linear infinite; }
/* ses dalgası */
.dj-a-wave { gap: 6px; }
.dj-a-wave span { width: 7px; height: 46px; background: #e25aa5; border-radius: 4px; transform-origin: center; animation: dj-eq 1.1s ease-in-out infinite; }
.dj-a-wave span:nth-child(2) { animation-delay: .15s } .dj-a-wave span:nth-child(3) { animation-delay: .3s } .dj-a-wave span:nth-child(4) { animation-delay: .45s }
.dj-a-wave span:nth-child(5) { animation-delay: .6s } .dj-a-wave span:nth-child(6) { animation-delay: .75s } .dj-a-wave span:nth-child(7) { animation-delay: .9s }
/* sonuç: sırayla tikler */
.dj-a-check { flex-direction: column; gap: 6px; align-items: flex-start; padding-left: 34%; }
.dj-a-check span { display: flex; align-items: center; gap: 8px; width: 110px; height: 18px; border-radius: 4px; background: rgba(255,255,255,.08); font-size: 14px; }
.dj-a-check span i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: var(--accent); color: #07130b; opacity: 0; animation: dj-tick 3s ease-in-out infinite; }
.dj-a-check span:nth-child(2) i { animation-delay: .5s } .dj-a-check span:nth-child(3) i { animation-delay: 1s }
/* MCP fişi */
.dj-a-plug { color: #8b7fe0; }
.dj-a-plug i { animation: dj-plug 1.8s ease-in-out infinite; }
.dj-a-plug span { position: absolute; width: 70px; height: 70px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(139,127,224,.6); animation: dj-glow 1.8s ease-out infinite; }
@keyframes dj-ring { 0%,100% { transform: rotate(0) } 10% { transform: rotate(-14deg) } 20% { transform: rotate(12deg) } 30% { transform: rotate(-8deg) } 40% { transform: rotate(0) } }
@keyframes dj-pulse { 0% { transform: scale(.6); opacity: .9 } 100% { transform: scale(1.8); opacity: 0 } }
@keyframes dj-twinkle { 0%,100% { transform: scale(1) rotate(0) } 50% { transform: scale(1.15) rotate(12deg) } }
@keyframes dj-float { 0%,100% { transform: translateY(0); opacity: .3 } 50% { transform: translateY(-10px); opacity: 1 } }
@keyframes dj-dash { to { background-position: 36px 0 } }
@keyframes dj-eq { 0%,100% { transform: scaleY(.3) } 50% { transform: scaleY(1) } }
@keyframes dj-tick { 0%,15% { opacity: 0; transform: scale(.5) } 25%,85% { opacity: 1; transform: scale(1) } 100% { opacity: 0 } }
@keyframes dj-plug { 0%,100% { transform: translateX(-6px) } 50% { transform: translateX(6px) } }
@keyframes dj-glow { 0% { box-shadow: 0 0 0 0 rgba(139,127,224,.5) } 100% { box-shadow: 0 0 0 26px rgba(139,127,224,0) } }
@media (prefers-reduced-motion: reduce) { .dj-anim *, .dj-anim { animation: none !important; } }
@media (max-width: 900px) { .dj-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dj-feats { grid-template-columns: 1fr; } }

/* ── Restoran sipariş sistemi (lib/OrderSystem.php): ana sayfa paneli + /app/restoran-siparis-sistemi ── */
.os-ico { width: 46px; height: 46px; color: var(--ink); overflow: visible; }
.os-ico .g { stroke: #12a84a; }
.os-ico .gf { fill: #30ff7a; stroke: #12a84a; }
.os-panel { width: 100%; max-width: 980px; margin: 70px auto 0; padding: 44px 34px 38px; border-radius: 26px; color: #fff; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(rgba(255,255,255,.035) 50%, transparent 50%) 0 0 / 100% 6px,
    radial-gradient(circle at 12% 0%, rgba(48,255,122,.32), transparent 42%), radial-gradient(circle at 92% 100%, rgba(242,138,59,.30), transparent 45%),
    radial-gradient(circle at 85% 8%, rgba(226,90,165,.22), transparent 35%), #0d121b;
  box-shadow: 10px 10px 0 rgba(48,255,122,.55); }
.os-panel-head { max-width: 680px; margin: 0 auto 28px; }
.os-panel h2 { margin: 14px 0 10px; font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.os-panel-head p { margin: 0; color: rgba(255,255,255,.8); font-size: 1.08rem; }
.os-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 8px; border-radius: 999px; background: rgba(48,255,122,.14); border: 1px solid rgba(48,255,122,.45);
  color: #30ff7a; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.os-ico-chip { width: 22px; height: 22px; color: #30ff7a; }
.os-ico-chip .g { stroke: #fff; }
.os-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: center; }
.os-feat { display: flex; flex-direction: column; align-items: center; padding: 22px 18px 20px; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none;
  border-top: 5px solid var(--c); transition: transform .18s, box-shadow .18s; }
.os-feat:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,.28), 0 0 0 2px var(--c); }
.os-feat strong { display: block; margin-top: 14px; font-size: 16px; font-weight: 800; }
.os-feat p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.os-tile { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; position: relative;
  background: color-mix(in srgb, var(--c) 22%, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 55%, #fff); }
.os-tile::after { content: ""; position: absolute; inset: -6px; border-radius: 26px; border: 2px solid var(--c); opacity: 0; transition: opacity .2s, inset .2s; }
.os-feat:hover .os-tile::after { opacity: .7; inset: -9px; }
.os-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.os-btn-main { background: #30ff7a; border-color: #30ff7a; color: #07130b; font-weight: 800; padding: 13px 22px; box-shadow: 4px 4px 0 rgba(255,255,255,.85); }
.os-btn-main:hover { background: #19e765; }
.os-btn-light { background: #fff; border-color: #fff; color: var(--ink); font-weight: 700; padding: 13px 20px; }
.os-btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; padding: 13px 20px; }
.os-btn-ghost:hover { background: rgba(255,255,255,.1); }
/* ikon hareketleri — yalnız yeşil (iş yapan) parça ve ahize */
.os-wiggle { transform-origin: 24px 24px; animation: os-wiggle 2.4s ease-in-out infinite; }
.os-blink { animation: os-blink 1.6s ease-in-out infinite; }
.os-d2 { animation-delay: .3s !important; } .os-d3 { animation-delay: .6s !important; }
.os-up { animation: os-up 1.8s ease-in-out infinite; }
.os-line { stroke-dasharray: 14; animation: os-fill 3.2s ease-in-out infinite; }
.os-drop { animation: os-drop 3s ease-in-out infinite; }
.os-bounce { transform-box: fill-box; transform-origin: 50% 100%; animation: os-bounce 1.5s ease-in-out infinite; }
.os-type { transform-box: fill-box; transform-origin: center; animation: os-type 1.2s ease-in-out infinite; }
.os-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: os-draw 2.6s ease-in-out infinite; }
@keyframes os-wiggle { 0%,60%,100% { transform: rotate(0) } 66% { transform: rotate(-9deg) } 72% { transform: rotate(8deg) } 78% { transform: rotate(-6deg) } 84% { transform: rotate(4deg) } }
@keyframes os-blink { 0%,100% { opacity: .15 } 50% { opacity: 1 } }
@keyframes os-up { 0% { transform: translateY(5px); opacity: 0 } 30%,70% { opacity: 1 } 100% { transform: translateY(-6px); opacity: 0 } }
@keyframes os-fill { 0% { stroke-dashoffset: 14 } 40%,80% { stroke-dashoffset: 0 } 100% { stroke-dashoffset: 14 } }
@keyframes os-drop { 0% { transform: translateY(-5px); opacity: 0 } 15%,85% { transform: translateY(0); opacity: 1 } 100% { opacity: 0 } }
@keyframes os-bounce { 0%,100% { transform: translateY(0) scaleY(1) } 40% { transform: translateY(-6px) } 55% { transform: translateY(0) scaleY(.9) } }
@keyframes os-type { 0%,60%,100% { transform: translateY(0); opacity: .45 } 30% { transform: translateY(-4px); opacity: 1 } }
@keyframes os-draw { 0% { stroke-dashoffset: 1 } 45%,85% { stroke-dashoffset: 0 } 100% { stroke-dashoffset: 1 } }
@media (prefers-reduced-motion: reduce) { .os-ico *, .os-brick, .os-flow li, .os-ticket li, .os-ticket .os-status, .os-order { animation: none !important; transition: none !important; } .os-draw, .os-line { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .os-feats { grid-template-columns: 1fr 1fr; } .os-panel { margin-left: 16px; margin-right: 16px; width: auto; padding: 34px 18px 30px; box-shadow: 6px 6px 0 rgba(48,255,122,.5); } }
@media (max-width: 560px) { .os-feats { grid-template-columns: 1fr; } .os-actions .ds-btn { width: 100%; } }

/* ayrıntı sayfası */
.os-page { width: 100%; max-width: 1040px; margin: 0 auto; padding: 36px 24px 90px; }
.os-page h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; line-height: 1.15; }
.os-page .os-panel h2 { color: #fff; }
.os-page .os-sub { color: var(--muted); font-size: 1.05rem; margin: 0 0 24px; max-width: 720px; }
.os-block { margin-top: 74px; scroll-margin-top: 20px; }
.os-hero { margin-top: 18px; text-align: left; display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; }
.os-hero h1 { margin: 14px 0 14px; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.05; font-weight: 900; letter-spacing: -.03em; color: #fff; }
.os-hero h1 em { font-style: normal; color: #30ff7a; }
.os-hero p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin: 0; }
.os-hero .os-actions { justify-content: flex-start; }
.os-summary { margin: 26px 0 0; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid #30ff7a; font-size: 1.02rem; color: var(--text); }
.os-summary strong { color: var(--ink); }
/* sağdaki canlı fiş: satırlar sırayla eklenir, toplam en son */
.os-ticket { background: #fff; color: var(--ink); border-radius: 16px; padding: 18px 18px 14px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px;
  box-shadow: 8px 8px 0 #f28a3b; transform: rotate(1.5deg); }
.os-ticket header { display: flex; justify-content: space-between; font-weight: 800; border-bottom: 2px dashed var(--line-strong); padding-bottom: 8px; margin-bottom: 8px; }
.os-ticket header b { color: #12813f; }
.os-ticket li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; animation: os-row .5s ease-out .4s both; }
.os-ticket ul { list-style: none; margin: 0; padding: 0; }
.os-ticket li small { display: block; color: var(--muted); }
.os-ticket li:nth-child(2) { animation-delay: 1.1s } .os-ticket li:nth-child(3) { animation-delay: 1.8s } .os-ticket li:nth-child(4) { animation-delay: 2.5s }
.os-ticket .os-status { animation: os-row .5s ease-out 3.2s both; }
.os-ticket footer { display: flex; justify-content: space-between; border-top: 2px dashed var(--line-strong); margin-top: 8px; padding-top: 8px; font-weight: 800; }
.os-ticket .os-status { display: inline-block; margin-top: 10px; padding: 3px 9px; border-radius: 999px; background: #e8fdf0; color: #12813f; font-weight: 800; font-family: Inter, sans-serif; }
@keyframes os-row { from { opacity: 0; transform: translateX(-8px) } to { opacity: 1; transform: none } }
/* lego blokları: üstte çıkıntılar, görünür olunca yerine oturur */
.os-bricks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 14px; padding-top: 14px; }
.os-brick { --c: #30ff7a; position: relative; padding: 22px 20px 20px; border-radius: 10px; background: var(--c); color: #101522;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.14), 0 8px 0 color-mix(in srgb, var(--c) 60%, #000); scroll-margin-top: 30px;
  transition: transform .5s cubic-bezier(.2,1.4,.4,1), opacity .4s; }
.os-brick::before { content: ""; position: absolute; left: 18px; right: 18px; top: -11px; height: 11px; border-radius: 5px 5px 0 0;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--c) 88%, #fff) 0 26px, transparent 26px 40px); }
.os-brick .os-ico { width: 40px; height: 40px; }
.os-brick .os-ico .g { stroke: #101522; } .os-brick .os-ico .gf { fill: #fff; stroke: #101522; }
.os-brick h3 { margin: 10px 0 6px; font-size: 1.1rem; font-weight: 900; }
.os-brick p { margin: 0; font-size: 14px; line-height: 1.5; }
.os-brick ul { margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; }
.js-reveal .os-brick { opacity: 0; transform: translateY(-38px); }
.js-reveal .os-brick.in { opacity: 1; transform: none; }
.os-brick:target { outline: 3px solid var(--ink); outline-offset: 4px; }
/* sipariş akışı */
.os-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: os; }
.os-flow li { position: relative; padding: 18px 18px 18px 64px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); counter-increment: os; }
.os-flow li::before { content: counter(os); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: #101522; color: #30ff7a; font-weight: 900; font-family: "IBM Plex Mono", monospace; }
.os-flow li strong { display: block; color: var(--ink); }
.os-flow li span { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.os-flow li .os-who { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.os-flow li .os-who.code { background: #e8fdf0; color: #12813f; }
.os-flow li .os-who.ai { background: #f1eeff; color: #6a5bd6; }
/* örnek görüşme + personel ekranı yan yana */
.os-duo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: start; }
.os-convo { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.os-convo p { margin: 0; max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.os-convo .a { align-self: flex-start; background: #101522; color: #fff; border-bottom-left-radius: 4px; }
.os-convo .u { align-self: flex-end; background: #e8fdf0; color: var(--ink); border-bottom-right-radius: 4px; }
.os-convo .t { align-self: center; max-width: 100%; background: transparent; color: #6a5bd6; font-size: 12.5px; font-family: "IBM Plex Mono", monospace; padding: 2px 0; }
.os-convo small { color: var(--faint); font-size: 12px; text-align: center; }
.os-phone { margin: 0 auto; width: 100%; max-width: 290px; border-radius: 34px; padding: 14px 12px 18px; background: #101522; box-shadow: 8px 8px 0 #e25aa5; }
.os-phone-screen { border-radius: 24px; background: #f6f8fb; padding: 14px 10px; min-height: 380px; }
.os-phone-screen > b { display: block; font-size: 13px; color: var(--ink); margin: 0 4px 10px; }
.os-order { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; margin-bottom: 9px; font-size: 12.5px; }
.os-order:first-of-type { animation: os-new .7s ease-out 1.2s both; border-color: #30ff7a; }
.os-order div { display: flex; justify-content: space-between; gap: 8px; }
.os-order strong { color: var(--ink); }
.os-order small { color: var(--muted); display: block; margin-top: 3px; }
.os-pill { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.os-pill.new { background: #30ff7a; color: #07130b; } .os-pill.prep { background: #fff4d6; color: #a06b00; } .os-pill.road { background: #e3f6fb; color: #0f7fa0; } .os-pill.done { background: var(--surface-2); color: var(--muted); }
@keyframes os-new { from { transform: translateY(-14px); opacity: 0 } to { transform: none; opacity: 1 } }
/* menü yönetiminin üç yolu, kimler için */
.os-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.os-way { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.os-way .os-ico { width: 40px; height: 40px; }
.os-way h3 { margin: 10px 0 6px; font-size: 1.05rem; color: var(--ink); }
.os-way p { margin: 0; color: var(--muted); font-size: 14px; }
.os-way code { display: block; margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: #101522; color: #30ff7a; font-size: 12.5px; white-space: normal; }
.os-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.os-tags span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 14px; }
.os-tags span:nth-child(6n+1) { border-color: #30ff7a } .os-tags span:nth-child(6n+2) { border-color: #f28a3b } .os-tags span:nth-child(6n+3) { border-color: #f4c542 }
.os-tags span:nth-child(6n+4) { border-color: #1fb6d4 } .os-tags span:nth-child(6n+5) { border-color: #e25aa5 } .os-tags span:nth-child(6n) { border-color: #8b7fe0 }
.os-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; }
.os-faq summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.os-faq details p { margin: 10px 0 0; color: var(--text); }
.os-final { margin-top: 74px; }
@media (max-width: 900px) { .os-hero, .os-duo { grid-template-columns: minmax(0, 1fr); } .os-bricks, .os-flow, .os-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } .os-ticket { transform: none; max-width: 420px; } }
@media (max-width: 560px) { .os-page { padding: 24px 16px 80px; } .os-page .os-panel { margin-left: 0; margin-right: 0; } .os-bricks, .os-flow, .os-ways { grid-template-columns: minmax(0, 1fr); } .os-hero .os-actions .ds-btn { width: 100%; } }
/* ai.datajiro.com bölümleri (assets/site.css .dj-site içinde): her bölüm "Neler yapar?" genişliğinde, yuvarlak köşeli kutu */
.dj-site-wrap { width: 100%; max-width: 900px; margin: 70px auto 0; padding: 0 24px; }
.dj-site-wrap .dj-site { background: transparent; overflow: visible; }
.dj-site-wrap .dj-site main { display: grid; gap: 47px; }
.dj-site-wrap .dj-site section { padding: 44px 0; border-radius: 22px; overflow: hidden; }
.dj-site-wrap .dj-site section:not(.hero):not(.security):not(.integrations):not(#contact) { background: var(--surface); border: 1px solid var(--line); }
.dj-site-wrap .dj-site .security, .dj-site-wrap .dj-site .integrations { padding: 0; }
.dj-site-wrap .dj-site :is(.security-panel, .integration-panel) { border-radius: 22px; }
.dj-site-wrap .dj-site .hero { min-height: auto; padding: 44px 0; border: 0; }
.dj-site-wrap .dj-site .wrap { width: calc(100% - 56px); }
.dj-site-wrap .dj-site .hero-grid { grid-template-columns: 1fr; gap: 28px; }
.dj-site-wrap .dj-site h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.dj-site-wrap .dj-site section h2:not(.demo-box h2) { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.05; }
.dj-site-wrap .dj-site :is(.security, .integrations) .wrap { width: 100%; }
.dj-site-wrap .dj-site .demo-box.demo-flat { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; backdrop-filter: none; }
.dj-site-wrap .dj-site .demo-flat h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.05; margin-bottom: 8px; }
.dj-site-wrap .dj-site .demo-flat form { max-width: 520px; }
/* İletişim: dış kutu yok; içteki iki kutu (bilgiler, form) alt alta, diğer bölümler gibi ana kutu olur */
.dj-site-wrap .dj-site #contact { padding: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
.dj-site-wrap .dj-site #contact .wrap { width: 100%; }
.dj-site-wrap .dj-site .contact { grid-template-columns: 1fr; gap: 47px; }
.dj-site-wrap .dj-site :is(.contact-card, .form) { padding: 44px 28px; border: 0; border-radius: 22px; box-shadow: none;
  background: linear-gradient(rgba(255,255,255,.032) 50%, transparent 50%) 0 0 / 100% 6px, radial-gradient(circle at 16% 10%, rgba(48,255,122,.12), transparent 30%), #202329; }
.dj-site-wrap .dj-site footer { padding: 28px 0 10px; text-align: center; color: var(--muted); background: none; border: 0; }
@media (max-width: 700px) { .dj-site-wrap { padding: 0 16px; } .dj-site-wrap .dj-site .wrap { width: calc(100% - 36px); } }

/* ── Üye: yönetici özeti ─────────────────────────────────────────────── */
.ds-dash { max-width: 1000px; }
.ds-progress { height: 8px; border-radius: 99px; background: var(--surface-2); margin: 12px 0 6px; overflow: hidden; }
.ds-progress span { display: block; height: 100%; background: #19c95a; border-radius: 99px; }
.ds-steplist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.ds-steplist li { display: flex; align-items: center; gap: 12px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.ds-steplist li:last-child { border-bottom: 0; }
.ds-steplist li > i { font-size: 1.2rem; color: var(--faint); }
.ds-steplist li.done > i { color: #19c95a; }
.ds-steplist li.done strong { color: var(--muted); text-decoration: line-through; }
.ds-steplist span { flex: 1; display: grid; }
.ds-steplist small { color: var(--muted); font-size: 13.5px; }
.ds-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.ds-kpi { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: grid; }
.ds-kpi span { color: var(--muted); font-size: 13px; font-weight: 600; }
.ds-kpi b { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.ds-kpi b em { font-style: normal; font-size: 1rem; color: var(--muted); font-weight: 700; }
.ds-kpi small { color: var(--muted); font-size: 12.5px; }
a.ds-kpi { color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.ds-kpi:hover { border-color: var(--line-strong); box-shadow: 0 4px 14px rgba(16,21,34,.06); }
a.ds-kpi:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ds-dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 12px; }
.ds-dash-grid > .ds-card { margin: 0; }
.ds-chart { margin: 0; }
.ds-chart figcaption { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.ds-chart svg { width: 100%; height: auto; display: block; }
.ds-chart .ds-axis { stroke: var(--line-strong); stroke-width: 1; }
.ds-chart .ds-mark { fill: #12813f; }
.ds-chart .ds-hit { fill: transparent; }
.ds-chart .ds-bar:hover .ds-mark { fill: #0b5f2e; }
.ds-chart .ds-bar:hover .ds-hit { fill: rgba(16,21,34,.04); }
.ds-chart .ds-tick { fill: var(--muted); font-size: 15px; }
.ds-chart .ds-val { fill: var(--ink); font-size: 16px; font-weight: 700; }
.ds-chart details { margin-top: 6px; }
.ds-hbars { display: grid; gap: 8px; margin-top: 12px; }
.ds-hbar { display: grid; grid-template-columns: minmax(90px, 1fr) 1.4fr 32px; gap: 10px; align-items: center; font-size: 13.5px; }
.ds-hbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-hbar div { height: 10px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.ds-hbar i { display: block; height: 100%; background: #12813f; border-radius: 99px; }
.ds-hbar b { text-align: right; }
.ds-outcomes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ds-outcome { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; font-size: 13px; background: var(--surface-2); color: var(--ink); }
.ds-outcome b { font-size: 15px; }
.ds-o-yes i { color: var(--accent-ink); } .ds-o-part i { color: var(--gold); } .ds-o-no i { color: var(--red); } .ds-o-none i { color: var(--muted); }
.ds-feed { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ds-feed:last-child { border-bottom: 0; }
.ds-feed > i { font-size: 1.05rem; color: var(--muted); width: 22px; text-align: center; }
.ds-feed span { flex: 1; min-width: 0; display: grid; }
.ds-feed strong { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-feed small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-feed em { font-style: normal; color: var(--faint); font-size: 12.5px; white-space: nowrap; }
a.ds-feed:hover strong { text-decoration: underline; }
@media (max-width: 860px) { .ds-kpis { grid-template-columns: 1fr 1fr; } .ds-dash-grid { grid-template-columns: 1fr; } }
/* Mimar kutusu: agent seçici */
.ds-dock-agent { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: var(--surface-2); color: var(--ink); flex: 0 0 auto; align-self: center; }
.ds-dock-agent i { color: var(--purple); }
.ds-dock-agent select { border: 0; background: transparent; font-weight: 700; font-size: 14px; max-width: 180px; outline: 0; }

/* Google / Apple düğmeleri */
.ds-apple { background: #000; color: #fff; border-color: #000; }
.ds-apple:hover { background: #1b2230; }

/* Giriş/kayıt seçenekleri (Moya gibi): üç aynı biçimli düğme, simge solda, yazı ortada */
.ds-providers { display: grid; gap: 10px; margin-top: 18px; }
.ds-provider { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 48px;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: border-color .12s, background-color .12s; }
.ds-provider:hover { background: var(--surface-2); border-color: var(--ink); }
.ds-provider svg, .ds-provider img { position: absolute; left: 18px; width: 18px; height: 18px; }
.ds-provider img { width: 20px; height: 20px; border-radius: 6px; }
#ds-email-form { margin-top: 18px; }
.ds-link-btn { margin-top: 10px; padding: 4px 0; background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; }
.ds-link-btn:hover { color: var(--ink); }
.ds-auth-alt { text-align: center; margin: 18px 0 0; }
.ds-invite-note { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0; padding: 12px 14px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid #b8efcc; color: var(--text); font-size: 13.5px; line-height: 1.5; }
.ds-invite-note i { color: var(--accent-ink); font-size: 1.1rem; line-height: 1.3; }
.ds-invite-note strong { color: var(--ink); }

/* Mimar sohbeti: yapılan işler, onay kartı, öneri düğmeleri */
.ds-msg-note { align-self: center; max-width: 90%; padding: 6px 12px; background: var(--surface-2); color: var(--muted); font-size: 13.5px; border-radius: 99px; }
.ds-acts { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; white-space: normal; }
.ds-act { padding: 2px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.ds-act.bad { background: #fdecea; color: var(--red); }
.ds-confirm { align-self: flex-start; max-width: 86%; padding: 14px 16px; border: 1px solid #f0d58a; background: #fffaf0; border-radius: 14px; white-space: pre-wrap; }
.ds-confirm .ds-small { margin-top: 4px; color: var(--text); }
.ds-ok { color: var(--accent-ink); font-weight: 600; }
.ds-chat-hints { display: flex; gap: 8px; overflow-x: auto; padding: 0 2px 10px; scrollbar-width: none; }   /* mesaj kutusunun üstünde tek satır, sığmazsa kaydırılır */
.ds-chat-hints::-webkit-scrollbar { display: none; }
.ds-chat-hints button { flex: 0 0 auto; white-space: nowrap; }
.ds-chat-hints[hidden] { display: none; }
.ds-chat-hints button { padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); color: var(--ink); font-size: 13.5px; cursor: pointer; }
.ds-chat-hints button:hover { border-color: var(--ink); }
.ds-ico.big { width: 28px; height: 28px; }
.ds-ico.inline { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; }

/* Mimar sohbet sayfası: başlık yok, mesaj kutusu en altta sabit (ana sayfa kutusuyla aynı) */
.ds-chatpage { max-width: 900px; margin: 0 auto; padding: 40px 24px 0; }
.ds-dock .ds-mic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 1.15rem; cursor: pointer; }
.ds-dock .ds-mic:hover { border-color: var(--ink); }
.ds-dock .ds-mic.on { background: #e5484d; border-color: #e5484d; color: #fff; animation: dj-rec 1.2s ease-in-out infinite; }
.ds-dock .ds-mic.busy { color: var(--muted); cursor: wait; }
@keyframes dj-rec { 50% { box-shadow: 0 0 0 7px rgba(229,72,77,.18); } }
.ds-dock-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; padding: 0 4px; font-size: 12.5px; color: var(--muted); }
.ds-dock-meta a { color: var(--muted); text-decoration: none; } .ds-dock-meta a:hover { color: var(--ink); }
@media (max-width: 860px) { .ds-chatpage { padding: 20px 14px 0; } }

/* Yuvarlak etiket düğmeleri (kredi, Başlarken) */
.ds-pills { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ds-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.ds-pill:hover { border-color: var(--ink); }
.ds-pill[hidden] { display: none; }
.ds-pill-gold { background: #fff7e0; border-color: #f0d58a; color: var(--gold); }
.ds-pill-warn { background: #fdecea; border-color: #f3b8b0; color: var(--red); }
.ds-pill .ds-ico .g { stroke: currentColor; }
.ds-pen { border: 1px solid var(--line-strong); border-radius: 99px; width: 40px; height: 40px; display: grid; place-items: center; text-decoration: none; }
/* Görüşme ayrıntısı */
.ds-rec { width: 100%; height: 40px; margin: 12px 0 4px; }
.ds-act-row { border-bottom: 1px solid var(--line); }
.ds-act-row:last-child { border-bottom: 0; }
.ds-act-row summary { display: flex; align-items: center; gap: 10px; padding: 10px 2px; cursor: pointer; list-style: none; }
.ds-act-row summary::-webkit-details-marker { display: none; }
.ds-act-row summary span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.ds-act-row summary em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.ds-act-row > div { padding: 0 2px 12px 28px; display: grid; gap: 4px; word-break: break-word; }
.ds-feed em { text-align: right; line-height: 1.35; }
mark.ds-badge { display: inline-block; margin-left: 4px; vertical-align: 1px; }
/* Claude / ChatGPT'ye bağla */
.ds-howto { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; }
.ds-pre { margin: 12px 0; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; font-size: 13px;
  white-space: pre-wrap; word-break: break-all; font-family: ui-monospace, Menlo, monospace; }
.ds-keyrow { padding: 23px 0; border-bottom: 1px solid var(--line); }
.ds-keyrow:last-child { border-bottom: 0; }
.ds-scope { margin-top: 12px; padding: 14px 16px; background: var(--surface-2); border-radius: 12px; }
.ds-scope-list { display: grid; gap: 6px; margin-top: 8px; padding-left: 4px; }
.ds-scope-list[hidden], .ds-scope[hidden] { display: none; }
/* ⓘ açıklama düğmesi ve balonu */
.ds-info { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 4px; padding: 0; border-radius: 99px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--muted); font: italic 700 11px/1 Georgia, serif; cursor: pointer; vertical-align: 1px; }
.ds-info:hover { border-color: var(--ink); color: var(--ink); }
.ds-info-pop { position: absolute; z-index: 60; padding: 10px 12px; background: var(--ink); color: #fff; border-radius: 12px; font-size: 13px; line-height: 1.45;
  box-shadow: 0 10px 30px rgba(16,21,34,.2); white-space: pre-wrap; }
/* Amaç sonuçları: tıklanır sayılar ve liste */
a.ds-outcome { text-decoration: none; cursor: pointer; } a.ds-outcome:hover { filter: brightness(.95); outline: 1px solid currentColor; }
.ds-kpi b a { color: inherit; text-decoration: none; border-bottom: 2px dotted var(--line-strong); } .ds-kpi b a:hover { border-color: var(--ink); }
.ds-goal { display: grid; gap: 4px; padding: 23px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ds-goal:last-child { border-bottom: 0; } .ds-goal:hover strong { text-decoration: underline; }
.ds-goal .ds-row { gap: 8px; } .ds-goal em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--muted); }

/* Ses seçimi (Tasda gibi): arama + süzgeç düğmeleri + ses kartları */
.ds-voice-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ds-voice-tools .ds-input { flex: 1; min-width: 200px; }
.ds-voice-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ds-voice-chips button { padding: 8px 13px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ds-voice-chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ds-voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 14px; }
.ds-voice { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.ds-voice:hover { border-color: var(--line-strong); }
.ds-voice.on { border-color: #19c95a; box-shadow: 0 0 0 3px rgba(48,255,122,.25); }
.ds-voice-play { flex: 0 0 auto; width: 36px; height: 36px; border: 0; background: var(--ink); color: #fff; font-size: 13px; cursor: pointer; }
.ds-voice-text { min-width: 0; display: grid; gap: 3px; }
.ds-voice-text strong { font-size: 14.5px; } .ds-voice-text small { color: var(--muted); font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Tek standart: düğmeler, yazı alanları, seçim kutuları 13 px köşe (--r-control). Küçük durum etiketleri (.ds-badge) yuvarlak kalır. */
:root { --r-control: 13px; }
.ds-btn, .ds-input, .ds-select, .ds-textarea, .ds-pill, .ds-pen, .ds-chip, .ds-provider, .ds-chat-hints button, .ds-dock .ds-mic, .ds-dock button[type=submit],
.ds-voice, .ds-voice-chips button { border-radius: var(--r-control); }
.ds-voice-play { border-radius: 10px; }   /* dosyanın sonunda: önceki kuralları ezer */

/* Mesaj kutuları: telefonda kaydırma çubuğu (gri çizgi) ve tarayıcının varsayılan düğme kenarlığı görünmesin */
.ds-dock textarea { scrollbar-width: none; -webkit-appearance: none; appearance: none; }
.ds-dock textarea::-webkit-scrollbar { display: none; }
.ds-dock button { -webkit-appearance: none; appearance: none; }
/* Mesaj kutusu (ana sayfa + Mimar): tek satırda yazı ve açıklama düğmelerle aynı hizada, dikeyde ortalı */
.ds-dock form { align-items: center; }
.ds-dock textarea { box-sizing: border-box; min-height: 44px; height: 44px; padding: 11px 2px; line-height: 22px; }
.ds-dock textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Otomasyon sayfası: sohbetin üstünde canlı özet */
.ds-auto { background: linear-gradient(135deg, #eef4ff 0%, #f4efff 100%); border: 1px solid #dcd9f5; border-radius: 16px; padding: 18px 20px; margin-bottom: 18px; }
.ds-auto .ds-row { gap: 10px; align-items: center; } .ds-auto h2 { font-size: 1.2rem; }
.ds-auto-btns { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.ds-auto summary { cursor: pointer; font-weight: 600; }
.ds-auto-now { margin: 10px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.ds-auto .ds-progress { margin: 10px 0 8px; }
.ds-auto-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink); }
.ds-auto-stats b { font-weight: 800; }
.ds-auto-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ds-auto-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ds-auto-tabs button:hover { border-color: var(--ink); }
.ds-auto-tabs button.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.ds-auto-panel { margin-top: 12px; padding: 14px; background: var(--surface); border: 1px solid #dcd9f5; border-radius: 12px; max-height: 60vh; overflow: auto; }
.ds-auto .ds-progress { background: rgba(255,255,255,.75); }
/* Görüşme sonuçları: bölümlü çubuk (28px, 2px boşluk, 4px köşe), altında adlar; sayılar bölmenin içinde, ayrıntı ipucunda */
.ds-auto-chart { margin: 14px 0 0; padding: 12px 14px; background: var(--surface); border: 1px solid #dcd9f5; border-radius: 12px; }
.ds-auto-chart figcaption { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.ds-seg { display: flex; gap: 2px; height: 28px; }
.ds-seg-part { flex-basis: 0; min-width: 6px; border-radius: 4px; display: flex; align-items: center; padding: 0 8px; font-size: 12.5px; font-weight: 700; cursor: default; outline-offset: 2px; }
.ds-seg-part.narrow span { display: none; }
.ds-seg-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; padding: 0; font-size: 12.5px; color: var(--muted); }
.ds-seg-legend li { display: inline-flex; align-items: center; gap: 6px; } .ds-seg-legend i { width: 10px; height: 10px; border-radius: 3px; }
.ds-seg-tip { position: fixed; z-index: 50; pointer-events: none; background: var(--ink); color: #fff; font-size: 12.5px; padding: 5px 9px; border-radius: 6px; white-space: nowrap; }
.ds-auto-people td { vertical-align: top; }
/* Kurallar: genel ayarlar + arama kartları (koşul → eylem) */
.ds-auto-gen { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 14px; font-size: 13.5px; }
.ds-auto-gen dt { color: var(--muted); font-weight: 600; } .ds-auto-gen dd { margin: 0; }
.ds-auto-step { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.ds-auto-step-hd { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 14.5px; line-height: 1.45; }
.ds-auto-n { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 99px; background: var(--ink); color: var(--surface); display: grid; place-items: center; font-size: 12.5px; }
.ds-auto-step details { margin: 8px 0 0 34px; color: var(--muted); } .ds-auto-step details p { margin: 6px 0 0; white-space: pre-wrap; }
.ds-auto-rules { list-style: none; margin: 10px 0 0 34px; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.ds-auto-rules li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 10px; background: var(--surface-2); border-radius: 8px; }
.ds-auto-rules li.q { display: block; background: none; padding: 6px 0 0; font-weight: 600; }
.ds-auto-rules li.ans { margin-left: 16px; }
.ds-auto-rules .if { color: var(--muted); } .ds-auto-rules i { color: var(--muted); } .ds-auto-rules .then { font-weight: 600; }
/* Yapılanlar / Sıradaki işler listesi */
.ds-auto-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ds-auto-list li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; }
.ds-auto-list li.on { border-color: #e0a800; }
.ds-auto-list li.ds-auto-empty { border-style: dashed; color: var(--muted); font-size: 13.5px; }
.ds-auto-li-hd { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.ds-auto-li-hd mark { margin-left: auto; }
.ds-auto-time { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; color: var(--muted); min-width: 70px; }
.ds-auto-li-foot { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); }
@media (max-width: 640px) { .ds-auto-rules, .ds-auto-step details { margin-left: 0; } .ds-auto-rules li { grid-template-columns: 1fr; gap: 2px; } .ds-auto-rules i { display: none; } }
.ds-dock form #attach { order: -1; }
/* "hidden" her zaman gizler (düğme vb. stilleri ezmesin) */
[hidden] { display: none !important; }

/* Arka plan (ai.datajiro.com'daki gibi): sağdaki içerik alanında ince yatay çizgiler, ana siteden bir tık soluk — herkeste.
   Misafirde ayrıca fareyi takip eden tuğla kırma tuvali (#aiBreakoutCanvas, assets/breakout.js) içeriğin arkasında. */
.ds-main { position: relative; z-index: 1; }
.ds-main::before { content: ""; position: fixed; top: 0; bottom: 0; right: 0; left: 282px; pointer-events: none; z-index: 0;
  background: linear-gradient(rgba(255,255,255,.08) 50%, rgba(0,0,0,.025) 50%) 0 0 / 100% 5px; opacity: .18; mix-blend-mode: multiply; }
.collapsed .ds-main::before { left: 72px; }
.ds-main > :not(.ds-fab) { position: relative; z-index: 1; }
#aiBreakoutCanvas { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .5; }
@media (max-width: 860px) { .ds-main::before { left: 0; } }
@media (prefers-reduced-motion: reduce) { #aiBreakoutCanvas { display: none; } }
.ds-feed > .ds-avatar { flex: 0 0 40px; display: grid; }   /* listede baş harf kutusu uzamasın */
