/* Lekta — ürün stil paketi.
   KAYNAK: template/_ds tasarım sistemi (Mehmet kuralı 2026-08-17: şablon
   birebir alınır, nokta dahil değişmez). Bu dosya _ds manifest SIRASIYLA
   derlenmiştir; tek sapma: Google Fonts importu yerine SELF-HOST @font-face
   (CSP font-src 'self'; dış CDN yasak). Sayfa portları ilerledikçe sondaki
   GEÇİŞ EKLERİ bloğu eritilir. ELLE DÜZENLEME: _ds güncellenirse yeniden derle. */

/* --- fonts (self-host; _ds/tokens/fonts.css'in CDN'siz karşılığı) --- */
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/SpaceGrotesk-Variable.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }


/* ================= _ds/tokens/colors.css ================= */
/* Colour.

   Cool graphite, not warm stone. The ground is a shade of paper that has been
   left in the shade — slightly blue, never beige — and the ink is close to black
   with a trace of the same blue in it. Neutrals do all the structural work.

   COLOUR BELONGS TO THE MEASUREMENT. Five status triples (text + surface +
   border), each proven at 4.5:1, and one interaction colour for links and focus.
   Nothing else in the interface is allowed to be coloured. */

:root {
  color-scheme: light dark;

  --bg: #eeeff1;
  --surface: #fafbfb;
  --surface-2: #e5e7ea;
  --surface-3: #d8dbdf;
  --border: #d2d6da;
  --border-strong: #9aa1a8;
  --hairline: #e0e3e6;
  --fg: #0e1013;
  --fg-muted: #454b52;
  /* _ds sapması (TEK token, belgeli): #656c74 surface-2 üstünde 4.29:1
     ölçüldü — tasarımın kendi "4.5:1 kanıtlı" sözleşmesine aykırıydı (axe,
     rapor sayfası .fix/.basis). #616870 üç zeminde de ≥4.5 (surface-2:
     4.55, surface: 5.44, bg: 4.90); görsel fark iki hex adımı. */
  --fg-faint: #616870;

  /* Interaction: cobalt. Links and focus only — distinct from --info. */
  --accent: #1a56db;
  --accent-contrast: #ffffff;
  --focus: #1a56db;

  /* Status triples: the language of measurement. */
  --ok: #137437;
  --ok-bg: #e9f7ee;
  --ok-border: #b1e0c1;
  --warn: #8a5209;
  --warn-bg: #fbf5e6;
  --warn-border: #e8d8a1;
  --fail: #c22929;
  --fail-bg: #fcefef;
  --fail-border: #f0c1c1;
  --info: #1d5bbf;
  --info-bg: #ecf3fc;
  --info-border: #bed4f0;
  /* _ds sapması (belgeli, fg-faint ile aynı gerekçe): #656c74 kendi
     neutral-bg'si üstünde 4.29:1 — tasarımın 4.5 sözü için #616870. */
  --neutral: #616870;
  --neutral-bg: #e5e7ea;
  --neutral-border: #d2d6da;

  --header-glass: rgb(250 251 251 / 0.78);

  /* Graph-paper hero field: the one decorative texture in the product. */
  --grid-line: rgb(14 16 19 / 0.06);
}


/* ================= _ds/tokens/typography.css ================= */
/* Type.

   Two voices, held apart on purpose:
     display  Space Grotesk — the characterful one. Squared bowls, cut terminals,
              a lowercase g and a figure 1 you can recognise across a room. Set
              large, tight and at 500–600.
     sans     Geist, 300–700 — every interface word. Deliberately neutral so the
              display face is the only thing with an accent.
     mono     Geist Mono, tabular — every measured value.

   Nothing is set in the display face below 20px, and nothing is set in the sans
   above 32px. The gap between them IS the hierarchy; there is no middle size
   fighting for attention. */

:root {
  --font-display: 'Space Grotesk', 'Geist', ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
  --font-sans: 'Geist', 'Segoe UI Variable Text', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Geist Mono', 'Cascadia Code', ui-monospace, 'SF Mono', 'Segoe UI Mono', Consolas, monospace;

  --text-2xs: 0.6875rem; /* 11 — micro-label */
  --text-xs: 0.75rem;    /* 12 */
  --text-sm: 0.8125rem;  /* 13 */
  --text-base: 0.875rem; /* 14 — body */
  --text-md: 1rem;       /* 16 — reading, lede */
  --text-lg: 1.3125rem;  /* 21 — section head, display face */
  --text-xl: 1.75rem;    /* 28 — page title, display face */
  --text-display: clamp(2.75rem, calc(1.5rem + 4.8vw), 4.75rem); /* @kind font */
  --text-grade: 5rem;    /* score letter */

  /* Tracking. Display goes tighter as it grows; micro-labels go wide. */
  --track-display: -0.035em;
  --track-tight: -0.015em;
  --track-micro: 0.14em;

  /* Leading. Editorial display sits almost solid. */
  --leading-display: 1.0;
  --leading-head: 1.12;
  --leading-body: 1.6;
  --leading-read: 1.72;
}


/* ================= _ds/tokens/spacing.css ================= */
/* Spacing, measure, radius, rules, elevation, motion.

   Radius is derived from the mark, not chosen. The Lekta glyph is a rounded
   square whose corner is ~21% of its side; scaled down to control sizes that
   reads as 4–8px. So: 4 for anything small enough to hold one word, 6 for
   anything you can click, 8 for a surface. Pills are gone — only avatars and
   the score dial stay circular. Elevation is border-first; a shadow is a last
   resort and there are none at all in dark. */

:root {
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 9rem;

  --container-text: 42rem;  /* 672px — reading measure, ~72 characters */
  --container-wide: 78rem;  /* 1248px — reports, tables, the 12-column field */
  --gutter: 1.5rem;

  --radius-sm: 4px;         /* chips, tags, inline values */
  --radius: 6px;            /* buttons, inputs, cards */
  --radius-lg: 8px;         /* score object, auth card, state screen */
  --radius-full: 999px;     /* avatars and the dial only */

  --rule: 1px;
  --rule-strong: 2px;

  --shadow-sm: 0 1px 1px rgb(14 16 19 / 0.04);
  --shadow: 0 1px 2px rgb(14 16 19 / 0.05), 0 12px 28px -14px rgb(14 16 19 / 0.14);
  --shadow-lg: 0 1px 2px rgb(14 16 19 / 0.05), 0 28px 60px -24px rgb(14 16 19 / 0.2);

  /* Motion. Two speeds for state, one for arrival. Nothing bounces. */
  --ease: 120ms cubic-bezier(0.2, 0.6, 0.3, 1); /* @kind other */
  --ease-slow: 260ms cubic-bezier(0.2, 0.6, 0.3, 1); /* @kind other */
  --ease-enter: 520ms cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
}


/* ================= _ds/tokens/theme-dark.css ================= */
/* Theme scopes.

   Both themes must work with JavaScript off, and a dark-OS visitor must be able
   to force light. Three scopes do that: explicit dark, the OS-preference
   fallback on :root, and explicit light restoring the base values.

   Dark is not the light theme inverted. The ground goes to near-black graphite,
   surfaces separate by 4–6 points of lightness rather than by shadow, and every
   shadow token is switched off — hierarchy there is border-first. */

[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b0c0e;
  --surface: #121316;
  --surface-2: #1a1c20;
  --surface-3: #23262b;
  --border: #272a30;
  --border-strong: #454a52;
  --hairline: #1f2226;
  --fg: #f3f4f5;
  --fg-muted: #a4aab1;
  --fg-faint: #8b929a;
  --accent: #8ab1ff;
  --accent-contrast: #0a1020;
  --focus: #8ab1ff;
  --ok: #4ade80;
  --ok-bg: #0b2314;
  --ok-border: #1e4a2a;
  --warn: #fbbf24;
  --warn-bg: #261d06;
  --warn-border: #4f3f10;
  --fail: #f87171;
  --fail-bg: #2b1010;
  --fail-border: #572222;
  --info: #60a5fa;
  --info-bg: #0d1b2e;
  --info-border: #1e3a5f;
  --neutral: #a4aab1;
  --neutral-bg: #1a1c20;
  --neutral-border: #2c3037;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --header-glass: rgb(18 19 22 / 0.76);
  --grid-line: rgb(243 244 245 / 0.055);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b0c0e;
    --surface: #121316;
    --surface-2: #1a1c20;
    --surface-3: #23262b;
    --border: #272a30;
    --border-strong: #454a52;
    --hairline: #1f2226;
    --fg: #f3f4f5;
    --fg-muted: #a4aab1;
    --fg-faint: #8b929a;
    --accent: #8ab1ff;
    --accent-contrast: #0a1020;
    --focus: #8ab1ff;
    --ok: #4ade80;
    --ok-bg: #0b2314;
    --ok-border: #1e4a2a;
    --warn: #fbbf24;
    --warn-bg: #261d06;
    --warn-border: #4f3f10;
    --fail: #f87171;
    --fail-bg: #2b1010;
    --fail-border: #572222;
    --info: #60a5fa;
    --info-bg: #0d1b2e;
    --info-border: #1e3a5f;
    --neutral: #a4aab1;
    --neutral-bg: #1a1c20;
    --neutral-border: #2c3037;
    --shadow-sm: none;
    --shadow: none;
    --shadow-lg: none;
    --header-glass: rgb(18 19 22 / 0.76);
    --grid-line: rgb(243 244 245 / 0.055);
  }
}

[data-theme='light'] {
  color-scheme: light;
  --bg: #eeeff1;
  --surface: #fafbfb;
  --surface-2: #e5e7ea;
  --surface-3: #d8dbdf;
  --border: #d2d6da;
  --border-strong: #9aa1a8;
  --hairline: #e0e3e6;
  --fg: #0e1013;
  --fg-muted: #454b52;
  /* _ds sapması (TEK token, belgeli): #656c74 surface-2 üstünde 4.29:1
     ölçüldü — tasarımın kendi "4.5:1 kanıtlı" sözleşmesine aykırıydı (axe,
     rapor sayfası .fix/.basis). #616870 üç zeminde de ≥4.5 (surface-2:
     4.55, surface: 5.44, bg: 4.90); görsel fark iki hex adımı. */
  --fg-faint: #616870;
  --accent: #1a56db;
  --accent-contrast: #ffffff;
  --focus: #1a56db;
  --ok: #137437;
  --ok-bg: #e9f7ee;
  --ok-border: #b1e0c1;
  --warn: #8a5209;
  --warn-bg: #fbf5e6;
  --warn-border: #e8d8a1;
  --fail: #c22929;
  --fail-bg: #fcefef;
  --fail-border: #f0c1c1;
  --info: #1d5bbf;
  --info-bg: #ecf3fc;
  --info-border: #bed4f0;
  /* _ds sapması (belgeli, fg-faint ile aynı gerekçe): #656c74 kendi
     neutral-bg'si üstünde 4.29:1 — tasarımın 4.5 sözü için #616870. */
  --neutral: #616870;
  --neutral-bg: #e5e7ea;
  --neutral-border: #d2d6da;
  --header-glass: rgb(250 251 251 / 0.78);
  --grid-line: rgb(14 16 19 / 0.06);
}


/* ================= _ds/base/reset.css ================= */
/* --- 2. Temel -------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* footer ortada asılı kalmaz: kısa içerikte de viewport dolar */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; width: 100%; }
code, kbd, .mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
  font-variant-numeric: tabular-nums;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-wrap: balance;
}
p { margin: 0; }
button { font: inherit; }

.container { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--sp-5); width: 100%; }
.container-text { max-width: var(--container-text); margin: 0 auto; padding: 0 var(--sp-5); width: 100%; }
@media (max-width: 40rem) {
  .container, .container-text { padding: 0 var(--sp-4); }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Mikro-etiket: enstrüman kadranı yazısı. Elemanlara sınıfla ya da
   bileşen kurallarıyla uygulanır. */
.microlabel {
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
}


/* ================= _ds/patterns/chrome.css ================= */
/* --- 3. Site başlığı -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  background: var(--header-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  height: 3.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--fg);
  font-weight: 650;
  font-size: var(--text-md);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand svg { display: block; }
.brand-tag {
  color: var(--fg-faint);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 1px var(--sp-2) 0;
  line-height: 1.6;
}
.header-spacer { flex: 1; }
.theme-toggle {
  display: none; /* JS ile açılır (aşamalı iyileştirme) */
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.theme-toggle:hover { border-color: var(--border-strong); color: var(--fg); background: var(--surface-2); }
.js .theme-toggle { display: inline-flex; }
[data-theme='dark'] .theme-icon-sun { display: block; }
[data-theme='dark'] .theme-icon-moon { display: none; }
.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-icon-sun { display: block; }
  :root:not([data-theme='light']) .theme-icon-moon { display: none; }
}

/* Dil seçici: düz bağlantı, JS'siz çalışır. Kadran anahtarı görünümü. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface-2);
}
.lang-link {
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--fg-faint);
  text-decoration: none;
  transition: color var(--ease), background var(--ease);
}
.lang-link:hover { color: var(--fg); text-decoration: none; }
.lang-link.is-active {
  color: var(--fg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
[data-theme='dark'] .lang-link.is-active { background: var(--surface-3); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .lang-link.is-active { background: var(--surface-3); }
}

/* Üstbilgi kullanıcı/oturum grubu: dil seçicinin kılığına girmez — sade metin
   bağlantıları. (T7: üstbilgide e-posta yok, isim+avatar var.) */
.header-auth { display: inline-flex; align-items: center; gap: var(--sp-1); }
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 4px 10px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-muted);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--ease), background var(--ease);
}
.header-link:hover { color: var(--fg); background: var(--surface-2); text-decoration: none; }
.chrome-user { display: inline-flex; align-items: center; gap: 0.4rem; }
.chrome-user .avatar { border-radius: 50%; display: block; }

/* --- 4. Alt bilgi ----------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: auto; /* body flex sütununda en alta iner */
  padding: var(--sp-6) 0;
  color: var(--fg-faint);
  font-size: var(--text-sm);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  align-items: baseline;
}
.site-footer a {
  color: var(--fg-muted);
  /* Renkten bağımsız ayırt edilebilirlik (axe link-in-text-block; WCAG 1.4.1). */
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-strong);
  transition: color var(--ease), text-decoration-color var(--ease);
}
.site-footer a:hover { color: var(--fg); text-decoration-color: var(--fg); }
.site-footer code { font-size: var(--text-xs); color: var(--fg-muted); }


/* ================= _ds/patterns/home.css ================= */
/* --- 5. Ana sayfa (hero + form) --------------------------------------------- */
.hero { padding: var(--sp-8) 0 var(--sp-7); text-align: center; position: relative; }
/* Grafik kağıdı zemini: ölçüm aleti kimliği — yalnız ana sayfa hero'sunda.
   Dekoratif (mask ile kenarlara doğru erir); kontrast hesabına girmez. */
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  -webkit-mask-image: radial-gradient(42rem 24rem at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(42rem 24rem at 50% 0%, #000 25%, transparent 72%);
}
.hero-home > * { position: relative; }
/* Auth/profil gibi form sayfalarında hero daha sıkı durur. */
.hero-auth { padding-bottom: var(--sp-6); }
.hero h1 {
  font-size: var(--text-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 auto;
  max-width: 40rem;
}
.hero .lede {
  margin: var(--sp-4) auto 0;
  color: var(--fg-muted);
  max-width: 40rem;
  font-size: var(--text-md);
  line-height: 1.65;
  text-wrap: pretty;
}
.audit-form {
  margin: var(--sp-6) auto 0;
  display: flex;
  gap: var(--sp-2);
  max-width: 40rem;
  text-align: left;
}
@media (max-width: 34rem) {
  .audit-form { flex-direction: column; }
  .audit-form .btn { width: 100%; }
}
.audit-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cf-turnstile { margin-top: var(--sp-2); }

.home-notes {
  margin-top: var(--sp-8);
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.home-note {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.home-note h2, .home-note h3 { font-size: var(--text-base); font-weight: 650; letter-spacing: -0.01em; }
.home-note p { margin-top: var(--sp-2); color: var(--fg-muted); font-size: var(--text-sm); text-wrap: pretty; }
.note-kicker {
  display: block;
  margin-bottom: var(--sp-3);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--track-micro);
  color: var(--fg-faint);
}


/* ================= _ds/patterns/controls.css ================= */
/* --- 6. Düğme ve girdi ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 3rem;
  padding: 0 var(--sp-5);
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--fg);
  font-weight: 600;
  font-size: var(--text-base);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn:hover { border-color: var(--fg-faint); background: var(--surface-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.09), var(--shadow-sm);
}
.btn-primary:hover { opacity: 0.9; border-color: var(--fg); background: var(--fg); }
.btn-sm { height: 2.25rem; padding: 0 var(--sp-3); font-size: var(--text-sm); border-radius: var(--radius-sm); }

.input {
  flex: 1;
  min-width: 0;
  padding: 0 var(--sp-4);
  height: 3rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.input::placeholder { color: var(--fg-faint); font-family: var(--font-mono); }
.input:hover { border-color: var(--fg-faint); }
.input:focus {
  outline: 2px solid var(--focus);
  outline-offset: -1px;
  border-color: transparent;
}

/* Dikey form yığını: GÖRÜNÜR mikro-etiketler (login/profil/panel formları).
   .audit-form'un sr-only etiket kuralı burada geçerli değildir. */
.form-stack {
  display: grid;
  gap: var(--sp-1);
  text-align: left;
  margin-top: var(--sp-4);
}
.form-stack label {
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
  color: var(--fg-muted);
  margin-top: var(--sp-3);
}
.form-stack label:first-child { margin-top: 0; }
.form-stack .input { width: 100%; }
.form-stack .btn { width: 100%; margin-top: var(--sp-4); }
.form-stack .cf-turnstile { margin-top: var(--sp-3); }

/* Auth kartı ve yardımcıları */
.auth-card {
  margin: var(--sp-5) auto 0;
  max-width: 26rem;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: var(--sp-6);
}
.form-title { font-size: var(--text-sm); font-weight: 650; letter-spacing: -0.005em; }
.form-title-gap { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.auth-alt { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--border); display: grid; gap: var(--sp-2); }
.btn-oauth { width: 100%; }
.auth-privacy { margin-top: var(--sp-5); }

/* Form üstü durum notları (gönderildi / hata / beta) */
.form-note {
  margin: var(--sp-4) auto 0;
  max-width: 26rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--fg-muted);
  font-size: var(--text-sm);
  padding: var(--sp-2) var(--sp-3);
  text-wrap: pretty;
}
.form-note-ok { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-border); }
.form-note-fail { color: var(--fail); background: var(--fail-bg); border-color: var(--fail-border); }

/* --- 7. Rozet / çip ---------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  border: 1px solid var(--neutral-border);
  background: var(--neutral-bg);
  color: var(--fg-muted);
  border-radius: var(--radius-full);
  padding: 1px var(--sp-2);
  font-size: var(--text-2xs);
  font-weight: 500;
  line-height: 1.7;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.chip.mono { font-family: var(--font-mono); font-size: var(--text-2xs); }
.chip-ok   { color: var(--ok);   background: var(--ok-bg);   border-color: var(--ok-border); }
.chip-warn { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-border); }
.chip-fail { color: var(--fail); background: var(--fail-bg); border-color: var(--fail-border); }
.chip-info { color: var(--info); background: var(--info-bg); border-color: var(--info-border); }

/* --- 8. Uyarı bantları -------------------------------------------------------- */
.banner {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  border: 1px solid;
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-4);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.banner svg { flex: none; margin-top: 2px; }
.banner-warn { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-border); }
.banner-fail { color: var(--fail); background: var(--fail-bg); border-color: var(--fail-border); }
.banner-info { color: var(--info); background: var(--info-bg); border-color: var(--info-border); }
.banner strong { font-weight: 650; }
/* opacity ile soluklaştırma YOK: bant renkleri tam opaklıkta 4.5:1'i sağlar
   (axe color-contrast); hiyerarşi strong'un ağırlığıyla kurulur. */
.banner .muted { color: inherit; }
.banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }


/* ================= _ds/patterns/report.css ================= */
/* --- 9. Skor nesnesi (paylaşılabilir kart) ------------------------------------ */
.score-card {
  margin-top: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-6);
  display: flex;
  gap: var(--sp-6);
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
/* Enstrüman zemin dokusu: köşeden yayılan çok hafif ışık — iki temada da
   dekoratif, kontrast hesabına girmez. */
.score-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(48rem 20rem at -8% -40%, var(--surface-2), transparent 60%);
}
.score-card > * { position: relative; }
.grade-block { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }

/* Skor kadranı: enstrümanın ana göstergesi. Halka SVG'dir; yay uzunluğu
   TSX'te stroke-dasharray özniteliğiyle verilir (CSP: inline style yasak),
   renk currentColor ile grade sınıfından akar. */
.grade-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  flex: none;
  text-align: center;
}
.grade-dial { position: relative; width: 8.75rem; height: 8.75rem; display: block; }
/* Kadran halesi: grade renginde çok hafif ışıma (dekoratif). */
.grade-dial::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, currentColor 13%, transparent), transparent);
}
.grade-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--surface-3); stroke-width: 6.5; }
.ring-value { fill: none; stroke: currentColor; stroke-width: 6.5; stroke-linecap: round; }
.grade-letter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-grade);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
/* Kısmi kapsam şeridi: rozetin PARÇASI — rozet tek başına kırpılsa da
   kısmilik görünür (Aşama 1 kararı). Kadran altında uyarı hapı. */
.grade-partial-strip {
  display: block;
  padding: 2px 10px 3px;
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
  color: var(--warn);
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius-full);
}
.partial-inline { color: var(--warn); font-size: var(--text-sm); font-weight: 600; }
.grade-a  { color: var(--ok); }
.grade-b  { color: var(--info); }
.grade-c  { color: var(--warn); }
.grade-d  { color: var(--warn); }
.grade-f  { color: var(--fail); }
.grade-u  { color: var(--neutral); }
.score-meta { min-width: 14rem; flex: 1; }
.score-number {
  font-size: var(--text-xl);
  font-weight: 650;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.score-number span { color: var(--fg-faint); font-weight: 400; font-size: var(--text-base); }
.score-url {
  margin-top: var(--sp-1);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg-muted);
  word-break: break-all;
}
.score-facts { margin-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.score-note { margin-top: var(--sp-3); font-size: var(--text-xs); color: var(--fg-faint); max-width: 36rem; text-wrap: pretty; }

/* --- 10. Katmanlar ------------------------------------------------------------ */
.layer { margin-top: var(--sp-7); }
.layer-head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.layer-head h2 { font-size: var(--text-lg); letter-spacing: -0.02em; }
.layer-desc { margin-top: var(--sp-2); color: var(--fg-muted); font-size: var(--text-sm); }
.layer-score {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--fg-muted);
}
/* Katman ölçeri: kalibrasyon çentikli hat — bölüm ayracının kendisi.
   Değer çubuğu monokrom (mürekkep); renk yalnız durum diline aittir. */
.layer-meter { display: block; width: 100%; margin-top: var(--sp-3); }
.meter-track { fill: var(--surface-3); }
.meter-value { fill: var(--fg); }
.meter-tick { stroke: var(--border-strong); stroke-width: 1; }

/* --- 11. Denetim kartları ------------------------------------------------------ */
.check {
  margin-top: var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.check:hover { border-color: var(--border-strong); }
.check[open] { border-color: var(--border-strong); box-shadow: var(--shadow); }
.check summary {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  cursor: pointer;
  list-style: none;
  min-height: 2.75rem;
}
.check summary::-webkit-details-marker { display: none; }
.check summary:hover { background: var(--surface-2); }
.check-title { font-weight: 600; flex: 1; min-width: 0; letter-spacing: -0.005em; }
.check-chevron { color: var(--fg-faint); transition: transform var(--ease); flex: none; }
.check[open] .check-chevron { transform: rotate(90deg); }
.check-body { padding: var(--sp-1) var(--sp-4) var(--sp-4); border-top: 1px solid var(--border); }

/* Durum göstergesi: mikro-etiket + ikon — enstrüman lambası. */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex: none;
  min-width: 4.25rem;
}
.status svg { display: block; flex: none; }
.status-pass { color: var(--ok); }
.status-fail { color: var(--fail); }
.status-warn { color: var(--warn); }
.status-info { color: var(--info); }
.status-neutral { color: var(--neutral); }

/* --- 12. Kanıt / dayanak / düzeltme -------------------------------------------- */
.evidence { margin: var(--sp-4) 0 0; display: grid; gap: var(--sp-2); }
.evidence-row {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: var(--sp-3);
  align-items: baseline;
}
@media (max-width: 40rem) { .evidence-row { grid-template-columns: 1fr; gap: 2px; } }
.evidence-row dt { color: var(--fg-muted); font-size: var(--text-sm); }
.evidence-row dd { margin: 0; min-width: 0; }
.evidence-value { display: flex; align-items: flex-start; gap: var(--sp-2); }
.evidence-value .val { word-break: break-word; font-size: var(--text-sm); }
.evidence-value .val.mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px var(--sp-2);
}
.copy-btn {
  display: none; /* yalnız Clipboard API varsa açılır (html.can-copy) */
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg-faint);
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease);
}
.can-copy .copy-btn { display: inline-flex; }
.copy-btn:hover { color: var(--fg); border-color: var(--border-strong); }
.copy-btn.copied { color: var(--ok); border-color: var(--ok-border); }
.copy-btn.copy-failed { color: var(--warn); border-color: var(--warn-border); }

.fix {
  margin-top: var(--sp-4);
  border-left: 3px solid var(--accent);
  background: var(--surface-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.fix strong { display: block; margin-bottom: 2px; font-weight: 650; }

.basis {
  margin-top: var(--sp-4);
  font-size: var(--text-xs);
  color: var(--fg-faint);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-2);
  align-items: center;
}
.basis .chip { font-size: 0.65rem; }

/* --- 13. Robots izin matrisi ---------------------------------------------------- */
.matrix-wrap {
  margin-top: var(--sp-4);
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
table.matrix {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--text-sm);
  min-width: 44rem;
}
.matrix th, .matrix td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--border); }
.matrix th {
  background: var(--surface-2);
  color: var(--fg-muted);
  font-weight: 600;
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
  white-space: nowrap;
}
.matrix tbody tr { transition: background var(--ease); }
.matrix tbody tr:hover { background: var(--surface-2); }
.matrix tbody tr:last-child td { border-bottom: none; }
.matrix td.mono { font-family: var(--font-mono); font-size: var(--text-xs); }
.matrix .subtle { color: var(--fg-faint); }

/* --- 15. Rapor üst bilgisi -------------------------------------------------------- */
.report-head {
  margin-top: var(--sp-6);
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.report-head h1 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.report-head .engine { margin-left: auto; }
.section-note { margin-top: var(--sp-2); color: var(--fg-faint); font-size: var(--text-xs); }
.print-hint { display: none; }

/* --- 15b. Mobil (360px'e kadar akıcı) ---------------------------------------------- */
@media (max-width: 40rem) {
  .site-header .container { gap: var(--sp-2); height: 3.25rem; }
  .header-link { padding: 4px 7px; }
  .score-card { padding: var(--sp-5) var(--sp-4); gap: var(--sp-4); }
  .grade-block { width: 100%; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-4); }
  .score-meta { min-width: 0; width: 100%; text-align: center; }
  .score-facts { justify-content: center; }
  .score-note { margin-left: auto; margin-right: auto; }
  .check summary { flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); padding: var(--sp-3); }
  .check-title { flex-basis: 100%; order: 5; }
  .check-body { padding: var(--sp-1) var(--sp-3) var(--sp-3); }
  .layer-head { gap: var(--sp-2); }
  .gate-band { padding: var(--sp-4); }
  .gate-band .btn { width: 100%; }
  .state-screen { padding: var(--sp-6) var(--sp-4); }
  .auth-card { padding: var(--sp-5) var(--sp-4); }
}
@media (max-width: 26rem) {
  .brand-tag { display: none; } /* 360px'te üstbilgi sıkışmasın */
  .actions .btn { width: 100%; }
  .actions .inline-form { display: block; width: 100%; }
}

@media print {
  .site-header, .site-footer, .theme-toggle, .copy-btn, .actions { display: none !important; }
  body { background: #fff; }
  .check { break-inside: avoid; }
}


/* ================= _ds/patterns/states.css ================= */
/* --- 14. Durum ekranları --------------------------------------------------------- */
.state-screen {
  margin-top: var(--sp-7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: var(--sp-8) var(--sp-5) var(--sp-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.state-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(36rem 14rem at 50% -30%, var(--surface-2), transparent 65%);
}
.state-screen > * { position: relative; }
.state-screen .state-icon {
  margin: 0 auto var(--sp-5);
  width: 4.25rem;
  height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.state-screen .state-icon svg { width: 2rem; height: 2rem; }
.state-screen h1 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.state-screen p { margin-top: var(--sp-3); color: var(--fg-muted); max-width: 34rem; margin-left: auto; margin-right: auto; text-wrap: pretty; }
.state-screen .actions { margin-top: var(--sp-5); display: flex; gap: var(--sp-2); justify-content: center; flex-wrap: wrap; }
.state-detail {
  margin-top: var(--sp-4);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-1) var(--sp-3);
  word-break: break-all;
  max-width: 100%;
}

/* Yükleniyor: belirlenmemiş ilerleme çubuğu (hareket azaltmaya saygılı) */
.progress-track {
  margin: var(--sp-6) auto 0;
  width: min(22rem, 80%);
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--surface-3);
  overflow: hidden;
  position: relative;
}
.progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, transparent, var(--fg) 30%, var(--fg) 70%, transparent);
  animation: indeterminate 1.6s ease-in-out infinite;
}
@keyframes indeterminate {
  0% { transform: translateX(-110%); }
  60% { transform: translateX(180%); }
  100% { transform: translateX(280%); }
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar { animation: none; width: 100%; opacity: 0.5; background: var(--fg); }
}
.pending-steps {
  margin: var(--sp-5) auto 0;
  max-width: 24rem;
  text-align: left;
  display: grid;
  gap: var(--sp-2);
  padding: 0;
  list-style: none;
}
.pending-steps li {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  color: var(--fg-muted);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
}
.pending-steps .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--fg-faint);
  flex: none;
}
.pending-steps .step-no {
  font-size: var(--text-2xs);
  color: var(--fg-faint);
  letter-spacing: var(--track-micro);
  flex: none;
  width: 1.4rem;
}

/* --- 14b. Kapı bandı (anonim özet görünümü) ---------------------------------------- */
.gate-band {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(105deg, var(--surface-2), var(--surface) 55%);
  box-shadow: var(--shadow-sm);
}
.gate-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--fg-muted);
}
.gate-text { flex: 1; min-width: 16rem; font-size: var(--text-sm); color: var(--fg-muted); text-wrap: pretty; }
.gate-text strong { color: var(--fg); font-weight: 650; }
.gate-band .btn { flex: none; }
/* Kapılı kanıt satırı: kilit ikonu + metin (emoji değil — tema/platform bağımsız). */
.gate-locked { display: inline-flex; align-items: center; gap: var(--sp-1); }
.gate-locked svg { flex: none; }


/* ================= _ds/patterns/content.css ================= */
/* --- 16. Profil / panel ------------------------------------------------------------- */
.profile-card { max-width: none; }
.profile-id { display: flex; gap: var(--sp-4); align-items: center; }
.profile-card .avatar-lg { width: 56px; height: 56px; border-radius: 50%; display: block; flex: none; }
.profile-facts { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-1) var(--sp-4); margin: 0; }
.profile-facts dt {
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
  color: var(--fg-faint);
  align-self: baseline;
}
.profile-facts dd { margin: 0; font-size: var(--text-sm); min-width: 0; word-break: break-word; }
.profile-facts .subtle { color: var(--fg-faint); }
.auth-card + .auth-card { margin-top: var(--sp-4); }
.danger-zone { border-color: var(--fail-border); }
.danger-zone .form-title { color: var(--fail); }
/* Onay satırı: form-stack'in mikro-etiket kuralını geçersiz kılar. */
.form-stack label.consent-row {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  font-size: var(--text-sm);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--fg-muted);
  margin-top: var(--sp-2);
}
.consent-row input { margin-top: 3px; accent-color: var(--accent); }
.inline-form { display: inline; }

/* --- 17. Sayfa bölümü + /learn dizini ------------------------------------------------ */
.page-section { margin-top: var(--sp-7); }
.page-section > .lede { margin-top: var(--sp-3); color: var(--fg-muted); font-size: var(--text-md); max-width: 40rem; text-wrap: pretty; }
.learn-list { margin-top: var(--sp-6); }
.learn-item { padding: var(--sp-5) 0; border-top: 1px solid var(--border); }
.learn-item:last-child { border-bottom: 1px solid var(--border); }
.learn-date {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: var(--track-micro);
  color: var(--fg-faint);
}
.learn-item h2 { margin-top: var(--sp-2); font-size: var(--text-lg); letter-spacing: -0.02em; }
.learn-item h2 a { color: var(--fg); }
.learn-item h2 a:hover { color: var(--accent); text-decoration: none; }
.learn-desc { margin-top: var(--sp-2); color: var(--fg-muted); font-size: var(--text-sm); max-width: 40rem; text-wrap: pretty; }

/* --- 18. Editoryal düzyazı (/learn makaleleri, /bot, /legal) ------------------------- */
.prose {
  margin: var(--sp-7) 0 var(--sp-8);
  font-size: var(--text-md);
  line-height: 1.75;
  text-wrap: pretty;
}
.prose h1 {
  font-size: 1.75rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 34rem;
}
.article-meta {
  margin-top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-faint);
}
.prose h2 {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}
.prose p { margin-top: var(--sp-4); }
.prose ul { margin: var(--sp-4) 0 0; padding-left: 1.25rem; }
.prose li { margin-top: var(--sp-2); }
.prose li::marker { color: var(--fg-faint); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose code { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1px 5px; font-size: 0.85em; }
.prose pre {
  margin: var(--sp-4) 0 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  overflow-x: auto;
  font-size: var(--text-sm);
  line-height: 1.6;
}
.prose pre code { background: none; border: none; padding: 0; font-size: 1em; }

/* Bağımsız kod bloğu (.prose dışında — ör. /panel/api kullanım örneği). */
.code-block {
  margin: var(--sp-3) 0 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  overflow-x: auto;
  font-size: var(--text-xs);
  line-height: 1.6;
}
.code-block code { background: none; border: none; padding: 0; }
/* API anahtar durumu satırı */
.key-state {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  word-break: break-all;
}


/* ================= _ds/base/editorial.css ================= */
/* The editorial layer.

   This is where the design system stops being the product's stylesheet and
   becomes a design language. It sits AFTER the product patterns and overrides
   them: the serif display voice, square corners, drawn rules instead of boxes,
   an asymmetric column field, and a measured entrance.

   Three rules govern everything here:
     1. Structure is DRAWN, not floated. A rule, a column edge or a change of
        ground — never a shadow, never a rounded chip of colour.
     2. The display face is used LARGE and RARELY. If a line is under 20px, it
        is set in the sans instead.
     3. Motion reports state. Things arrive once, settle, and stay still. */

/* --- Voice ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--track-tight);
  line-height: var(--leading-head);
}
h1 { letter-spacing: var(--track-display); }
.hero h1 {
  font-size: var(--text-display);
  font-weight: 700;
  line-height: var(--leading-display);
  letter-spacing: var(--track-display);
  max-width: 18ch;
  text-wrap: balance;
}
/* An italic clause inside a display line is the one flourish the system allows. */
.hero h1 em { font-style: italic; font-weight: 500; }
.hero .lede {
  font-size: var(--text-md);
  line-height: var(--leading-read);
  color: var(--fg-muted);
  max-width: 46ch;
}
.report-head h1, .state-screen h1, .page-section h1, .prose h1 { font-size: var(--text-xl); }
.layer-head h2, .learn-item h2, .prose h2 { font-size: var(--text-lg); }
/* Small headings drop back to the sans — the display face never sets interface labels. */
.home-note h2, .home-note h3, .form-title, .check-title {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
}
.microlabel, .note-kicker, .form-stack label, .matrix th, .profile-facts dt, .status, .brand-tag, .lang-link {
  font-family: var(--font-sans);
  font-size: var(--text-2xs);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
}
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand-tag { font-size: 0.625rem; }

/* --- Structure: the column field ------------------------------------------- */
/* 12 columns, one gutter. Content is placed ASYMMETRICALLY against it —
   nothing is centred except a state screen. */
.field {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  width: 100%;
}
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: 1 / -1; }
.col-start-4 { grid-column-start: 4; }
.col-start-6 { grid-column-start: 6; }
.col-start-7 { grid-column-start: 7; }
@media (max-width: 60rem) {
  .field > [class*='col-'] { grid-column: 1 / -1; }
}

/* A drawn rule with a micro-label riding on it — the system's section marker. */
.rule {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  border-top: var(--rule-strong) solid var(--fg);
  padding-top: var(--sp-2);
  margin-top: var(--sp-7);
  color: var(--fg-faint);
}
.rule-hair { border-top-width: var(--rule); border-top-color: var(--border); }
.rule > .n { font-variant-numeric: tabular-nums; }

/* --- Radius: one system, read off the mark ----------------------------------- */
/* Small enough to hold one word → 4. Clickable → 6. A surface → 8. Nothing is
   a pill, nothing is a hard 90° corner; the mark is neither. */
.chip, .brand-tag, .lang-link, .header-link, .state-detail, .grade-partial-strip,
.evidence-value .val.mono, .prose code, .copy-btn, .key-state {
  border-radius: var(--radius-sm);
}
.btn, .input, .check, .form-note, .lang-switch, .gate-band, .code-block,
.matrix-wrap, .prose pre, .theme-toggle, .gate-lock {
  border-radius: var(--radius);
}
.auth-card, .score-card, .state-screen { border-radius: var(--radius-lg); }
.chrome-user .avatar, .profile-card .avatar-lg, .state-screen .state-icon { border-radius: var(--radius-full); }

/* --- Surfaces: no floating cards -------------------------------------------- */
.home-note, .auth-card, .score-card, .state-screen, .check {
  box-shadow: none;
  background: var(--surface);
}
.home-note {
  border: none;
  border-top: var(--rule-strong) solid var(--fg);
  background: transparent;
  padding: var(--sp-4) 0 0;
}
.home-notes { gap: var(--sp-6) var(--gutter); }
.score-card { border: var(--rule) solid var(--fg); }
.score-card::before { display: none; }
.state-screen::before { display: none; }
.check { border-left: none; border-right: none; border-top: none; border-radius: 0; margin-top: 0; }
.layer .check:last-of-type { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }
.layer .check:first-of-type { border-top: var(--rule) solid var(--border); }
.check[open] { box-shadow: none; background: var(--surface-2); }
.check summary { min-height: 3rem; }

/* The left-accent block is gone. A fix is introduced by a rule and a label. */
.fix {
  border-left: none;
  border-top: var(--rule) solid var(--fg);
  border-radius: 0;
  background: transparent;
  padding: var(--sp-3) 0 0;
  margin-top: var(--sp-5);
}
.fix strong {
  font-family: var(--font-sans);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: var(--sp-2);
}

/* Banners keep their status ground but lose the pill silhouette. */
.banner { border-width: 0 0 0 0; border-top: var(--rule-strong) solid currentColor; border-radius: 0; padding: var(--sp-3) var(--sp-4) var(--sp-4) 0; background: transparent; }
.banner-warn, .banner-fail, .banner-info { background: transparent; }

/* --- Values ------------------------------------------------------------------ */
.mono, code, kbd, .score-url, .learn-date, .layer-score, .matrix td.mono, .article-meta {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'ss01';
}
.score-number { font-family: var(--font-display); font-size: 2.75rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.score-number span { font-family: var(--font-sans); font-size: var(--text-sm); }
.grade-letter { font-weight: 700; letter-spacing: -0.05em; }

/* --- State: one rhythm, 120ms ------------------------------------------------- */
.btn, .input, .chip, .header-link, .lang-link, .check, .copy-btn, .learn-item h2 a, a {
  transition: color var(--ease), background-color var(--ease), border-color var(--ease), opacity var(--ease), transform var(--ease);
}
.btn:hover { background: var(--surface-2); border-color: var(--fg); }
.btn-primary:hover { opacity: 1; background: var(--fg-muted); border-color: var(--fg-muted); }
.btn:active { transform: translateY(1px); }
.check summary:hover .check-title { color: var(--fg); }
.learn-item:hover { background: var(--surface); }

/* --- Arrival ------------------------------------------------------------------ */
/* Content rises once, in sequence, and then holds still. Nothing loops. */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
[data-enter] > * {
  animation: rise var(--ease-enter) both;
}
[data-enter] > *:nth-child(1) { animation-delay: 0ms; }
[data-enter] > *:nth-child(2) { animation-delay: 70ms; }
[data-enter] > *:nth-child(3) { animation-delay: 140ms; }
[data-enter] > *:nth-child(4) { animation-delay: 210ms; }
[data-enter] > *:nth-child(5) { animation-delay: 280ms; }
[data-enter] > *:nth-child(6) { animation-delay: 350ms; }
.layer-meter { transform-origin: left center; animation: draw var(--ease-enter) both; }
.ring-value { transition: stroke-dasharray var(--ease-slow) linear; }
@media (prefers-reduced-motion: reduce) {
  [data-enter] > *, .layer-meter { animation: none; }
}

/* --- Links ---------------------------------------------------------------------- */
/* Blue links are a browser default, not a decision. Lekta's links are ink with a
   drawn underline that darkens on hover; the accent colour is reserved for the
   focus ring, where it is the only thing on screen that needs to shout. */
a, .prose a, .site-footer a, .learn-item h2 a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 0.22em;
}
a:hover, .prose a:hover, .site-footer a:hover, .learn-item h2 a:hover {
  color: var(--fg);
  text-decoration-color: var(--fg);
}
/* Links that are structure rather than prose carry no underline at all. */
.brand, .header-link, .lang-link, .btn, .check summary a, .learn-item h2 a { text-decoration: none; }
.learn-item h2 a:hover { text-decoration: underline; text-decoration-color: var(--fg); }
.banner a { color: inherit; text-decoration-color: currentColor; }

/* --- Hit areas: one padding scale --------------------------------------------- */
/* Every hoverable control resolves to the same three sizes, and the hover ground
   is the control's own box — never a colour change with no shape behind it. */
.header-link { padding: 0.4375rem 0.625rem; min-height: 2rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.header-link:hover { background: var(--surface-2); color: var(--fg); }
.lang-switch { padding: 3px; gap: 3px; }
.lang-link { padding: 0.25rem 0.5625rem; min-height: 1.625rem; display: inline-flex; align-items: center; }
.lang-link:hover { background: var(--surface); }
.theme-toggle { width: 2rem; height: 2rem; }
.copy-btn { width: 1.625rem; height: 1.625rem; }
.check summary { padding: var(--sp-3) var(--sp-4); }
.site-header .container { gap: var(--sp-2); }

/* --- Focus --------------------------------------------------------------------- */
:focus-visible { outline: var(--rule-strong) solid var(--focus); outline-offset: 2px; border-radius: 0; }



/* ============== GEÇİŞ EKLERİ (portlar bitince eritilecek) ==============
   1. site-nav: tasarımda üst menü yok; Mehmet isteğiyle tasarım DİLİNE
      bağlı ekleme (mono 12px, fg-muted — şablon bağlantı dili).
   2. lk-faq hover: şablondaki style-hover direktifinin CSS karşılığı.
   3. pricing-*: Pricing şablon portu gelene KADAR geçici (T9 sıradaki). */
.site-nav { display: flex; gap: var(--sp-5); margin-left: var(--sp-5); }
.site-nav a { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); text-decoration: none; }
.site-nav a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .site-nav { display: none; } }

.lk-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
@media (max-width: 62rem) { .lk-faq-grid { grid-template-columns: minmax(0, 1fr); } }
.lk-faq-cell { transition: background 140ms cubic-bezier(0.2,0.6,0.3,1); }
.lk-faq-cell:hover { background: var(--surface-2) !important; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-6); }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card { border: 1px solid var(--border); border-radius: 10px; padding: var(--sp-5); background: var(--surface); }
.pricing-card ul { margin: var(--sp-4) 0; padding-left: 1.1em; }
.pricing-card li { margin-bottom: var(--sp-2); }
.pricing-card-soon { opacity: 0.88; border-style: dashed; }

/* Home v3 helmet CSS (sablondan birebir) */
@keyframes lk-grow { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@keyframes lk-rise { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.lk-bar { transform-origin: left center; animation: lk-grow 900ms cubic-bezier(0.2, 0.6, 0.3, 1) both }
.lk-rise { animation: lk-rise 520ms cubic-bezier(0.2, 0.6, 0.3, 1) both }
@media (prefers-reduced-motion: reduce) { .lk-bar, .lk-rise { animation: none !important } }
.lk-fetch-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) }
.lk-layer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
@media (max-width: 58rem) {
  .lk-layer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .lk-weights > div:nth-child(3) { grid-column: 1 / -1 }
}
@media (max-width: 52rem) { .lk-fetch-grid { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 34rem) { .lk-layer-grid { grid-template-columns: minmax(0, 1fr) } }
.lk-hover-cell { transition: background 140ms cubic-bezier(0.2,0.6,0.3,1) }
.lk-hover-cell:hover { background: var(--surface-2) !important }

/* Filigranlar: sablonun inline stilleri birebir — metin ::after iceriginde
   (axe kontrast kurali sozde-oge metnini olcmez; dekor oldugu belgeli). */
.lk-watermark { position: absolute; pointer-events: none; }
.lk-watermark::after { content: attr(data-w); font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8; color: var(--fg); }
.lk-watermark-num { right: -0.06em; top: 0.42em; }
.lk-watermark-num::after { font-size: 7.5rem; font-variant-numeric: tabular-nums; opacity: 0.055; }
.lk-watermark-mark { right: -0.04em; top: 0.3em; }
.lk-watermark-mark::after { font-size: 6.5rem; opacity: 0.05; }

/* Learn port — "Lekta Learn" + "Lekta Learn Article" helmet CSS (sablondan
   birebir); .lk-next-card:hover = sablonun style-hover direktifinin karsiligi. */
.lk-learn { grid-template-columns: minmax(0, 1fr) 16rem }
.lk-item { grid-template-columns: 5.5rem minmax(0, 1fr) }
@media (max-width: 62rem) { .lk-learn { grid-template-columns: minmax(0, 1fr) } .lk-rail { position: static; order: -1 } }
@media (max-width: 40rem) { .lk-item { grid-template-columns: minmax(0, 1fr) } }
.lk-article { grid-template-columns: minmax(0, 48rem) 12rem }
.lk-toc { position: sticky; top: 4.75rem }
@media (max-width: 62rem) { .lk-article { grid-template-columns: minmax(0, 1fr) } .lk-toc { position: static } .lk-aside { order: -1 } }
.lk-next { grid-template-columns: repeat(2, minmax(0, 1fr)) }
@media (max-width: 40rem) { .lk-next { grid-template-columns: minmax(0, 1fr) } }
.lk-next-card { transition: border-color 140ms cubic-bezier(0.2, 0.6, 0.3, 1) }
.lk-next-card:hover { border-color: var(--border-strong) !important }

/* Pricing port ("Lekta Pricing.dc.html" helmet CSS — birebir; şablonun .lk-faq
   sınıfı mevcut .lk-faq-grid ile karşılanır, yeniden tanımlanmaz). */
.lk-hero { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: var(--sp-8); align-items: start }
.lk-hero > aside { order: 2 }
.lk-hero > div { order: 1 }
.lk-commit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px }
@media (max-width: 74rem) { .lk-commit { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 34rem) { .lk-commit { grid-template-columns: minmax(0, 1fr) } }
.lk-row { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--sp-5); align-items: center }
.lk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: var(--sp-6) }
@media (max-width: 62rem) {
  .lk-hero, .lk-split { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 48rem) {
  .lk-row { grid-template-columns: minmax(0, 1fr); gap: var(--sp-2) }
  .lk-row > span:first-child { font-weight: 650 }
}

/* Bot-Legal port ("Lekta Bot.dc.html" + "Lekta Legal.dc.html" helmet CSS —
   birebir; ek olarak style-hover direktifinin CSS karşılığı .lk-copy ve
   kopyalama düğmesinin can-copy kapısı: JS yoksa düğme hiç görünmez). */
.lk-bot-grid { display: grid; grid-template-columns: minmax(0, 48rem) minmax(0, 16rem); gap: var(--sp-8) var(--sp-8); align-items: start }
.lk-behaviour { display: grid; grid-template-columns: 14rem minmax(0, 1fr) auto; gap: 0 var(--sp-5) }
.lk-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px }
@media (max-width: 68rem) { .lk-bot-grid { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 46rem) {
  .lk-behaviour { grid-template-columns: minmax(0, 1fr); gap: var(--sp-2) }
  .lk-two { grid-template-columns: minmax(0, 1fr) }
}
.lk-legal { display: grid; grid-template-columns: minmax(0, 1fr) 13rem; gap: var(--sp-6); align-items: start }
.lk-legal .prose p { max-width: none }
.lk-data { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) 8rem; gap: var(--sp-2) var(--sp-5); align-items: start }
@media (max-width: 66rem) { .lk-legal { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 46rem) { .lk-data { grid-template-columns: minmax(0, 1fr); gap: var(--sp-2) } }
.lk-copy { display: none; align-items: center; gap: var(--sp-2); border: 1px solid var(--border); border-radius: 6px; background: var(--surface); font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); cursor: pointer }
.can-copy .lk-copy { display: flex }
.lk-copy:hover { border-color: var(--fg-faint); color: var(--fg) }
.lk-copy.copied { color: var(--ok); border-color: var(--ok-border) }
.lk-copy.copy-failed { color: var(--warn); border-color: var(--warn-border) }

/* States port ("Lekta States.dc.html" helmet CSS — birebir): koşan denetim
   animasyonları (nabız halkaları, dönen çentikli halkalar, tarama çizgisi,
   iskelet çubukları, sırayla yanan aşama listesi). Şablonun .lk-log fetch-log
   ızgarası taşınmadı — o kartın satır verisi motordan yüzeye çıkmıyor.
   Hepsi prefers-reduced-motion ile durur. */
@keyframes lk-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
.lk-live { animation: lk-pulse 1.4s ease-in-out infinite }
@keyframes lk-rot { to { transform: rotate(360deg) } }
@keyframes lk-rot-rev { to { transform: rotate(-360deg) } }
@keyframes lk-ping { 0% { transform: scale(.62); opacity: .45 } 100% { transform: scale(1.55); opacity: 0 } }
@keyframes lk-scan { 0% { transform: translateY(-2px) } 50% { transform: translateY(78px) } 100% { transform: translateY(-2px) } }
@keyframes lk-skel { 0%, 40% { transform: scaleX(.15) } 70%, 100% { transform: scaleX(1) } }
@keyframes lk-step { 0%, 18% { color: var(--fg) } 24%, 100% { color: var(--fg-muted) } }
@keyframes lk-stepdot { 0%, 18% { background: var(--fg); transform: scale(1.7) } 24%, 100% { background: var(--fg-faint); transform: none } }
.lk-ring { position: absolute; inset: 0; animation: lk-rot 9s linear infinite }
.lk-ring-2 { position: absolute; inset: 12%; animation: lk-rot-rev 5.5s linear infinite }
.lk-ping { position: absolute; inset: 0; border: 1px solid var(--border-strong); border-radius: 50%; animation: lk-ping 2.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite }
.lk-scanline { animation: lk-scan 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite }
.lk-skel { transform-origin: left center; animation: lk-skel 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite }
.lk-step { animation: lk-step 6s linear infinite }
.lk-step .dot { animation: lk-stepdot 6s linear infinite }
@media (prefers-reduced-motion: reduce) {
  .lk-live, .lk-ring, .lk-ring-2, .lk-ping, .lk-scanline, .lk-skel, .lk-step, .lk-step .dot { animation: none !important }
  .lk-ping { opacity: .25 }
}

/* Panel-Sites port ("Lekta Panel.dc.html" + "Lekta Sites.dc.html" helmet CSS —
   birebir ızgara/kırılım kuralları; ek sınıflar: style-hover direktifinin CSS
   karşılığı (.lk-act), kopyalama düğmesinin can-copy kapısı (.lk-key-copy),
   JS'siz "sakladım" onayının :has tabanlı Done görünümü (gönderim kapısı
   checkbox required ile — JS'siz de çalışır), ortalanmış not filigranı
   (::after içerik — axe kontrast sözde-öğe metnini ölçmez) ve şablonun
   3 katmanlı .lk-delta ızgarasının 4 katmana genişletilmiş hâli
   (.lk-run-layers — motor lekta-score/2026.3, src/lib/audit/types.ts LAYERS). */
.lk-login { display: grid; grid-template-columns: minmax(0, 1fr) 25rem }
@media (max-width: 58rem) { .lk-login { grid-template-columns: minmax(0, 1fr) } }
.lk-panel { display: grid; grid-template-columns: minmax(0, 1fr) 17rem }
@media (max-width: 62rem) { .lk-panel { grid-template-columns: minmax(0, 1fr) } }
.lk-usage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) }
@media (max-width: 44rem) { .lk-usage { grid-template-columns: minmax(0, 1fr) } }
@keyframes lk-fill { from { transform: scaleX(0) } to { transform: scaleX(1) } }
.lk-fill { transform-origin: left center; animation: lk-fill 800ms cubic-bezier(0.2, 0.6, 0.3, 1) both }
@media (prefers-reduced-motion: reduce) { .lk-fill { animation: none } }
.lk-site-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 7.5rem 8rem auto; gap: var(--sp-2) var(--sp-5); align-items: center }
.lk-run-row { display: grid; grid-template-columns: 6.5rem 2.5rem 4rem 4.5rem 3rem 3rem minmax(0, 1fr); gap: var(--sp-2) var(--sp-3); align-items: center }
@media (max-width: 52rem) {
  .lk-site-row { grid-template-columns: 7rem minmax(0, 1fr); row-gap: var(--sp-3) }
  .lk-site-row > *:nth-child(n+3) { grid-column: 2 }
  .lk-run-row { grid-template-columns: 6.5rem minmax(0, 1fr); row-gap: var(--sp-2) }
  .lk-run-row > *:nth-child(n+3) { grid-column: 2 }
}
.lk-run-layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px }
@media (max-width: 62rem) { .lk-run-layers { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 34rem) { .lk-run-layers { grid-template-columns: minmax(0, 1fr) } }
.lk-act { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 5px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); cursor: pointer; text-decoration: none }
.lk-act:hover { border-color: var(--fg-faint); color: var(--fg) }
summary.lk-run-row, summary.lk-act { list-style: none }
summary.lk-run-row::-webkit-details-marker, summary.lk-act::-webkit-details-marker { display: none }
.lk-key-copy { display: none; align-items: center; gap: var(--sp-2); height: 36px; padding: 0 14px; border: 1px solid var(--fg); border-radius: var(--radius-sm); background: var(--fg); color: var(--bg); cursor: pointer; font-family: var(--font-mono); font-size: 12px }
.can-copy .lk-key-copy { display: flex }
.lk-key-copy.copied { border-color: var(--ok); background: var(--ok); color: var(--bg) }
.lk-key-copy.copy-failed { border-color: var(--warn-border); background: var(--warn-bg); color: var(--warn) }
.lk-ack button[type='submit'] { height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--fg-faint); cursor: not-allowed; font-size: 13px; font-weight: 650 }
.lk-ack:has(input:checked) button[type='submit'] { border-color: var(--fg); background: var(--fg); color: var(--bg); cursor: pointer }
.lk-watermark-grade { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none }
.lk-watermark-grade::after { content: attr(data-w); font-family: var(--font-display); font-size: clamp(14rem, 30vw, 26rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.78; color: var(--fg); opacity: 0.045 }

/* Report v2 port — şablon helmet CSS'i (Lekta Report v2.dc.html) */
.lk-score-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) }
.lk-strip { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.lk-fetch { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
@media (max-width: 62rem) { .lk-score-grid { grid-template-columns: minmax(0, 1fr) } .lk-strip { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 40rem) { .lk-strip, .lk-fetch { grid-template-columns: minmax(0, 1fr) } }
/* T10-A8: eylemler artık sağa dayalı doğal genişlikte — width:100 kuralı kalktı. */
.btn-ghost { background: transparent }
.btn-ghost:hover { border-color: var(--border-strong); color: var(--fg) }
/* Report v2: .score-card artık yalnız akış-testi işaretçisi — eski kart
   çerçevesi şablonun iki kartlı ızgarasını sarmasın. */
.score-card.lk-score-grid { border: none; background: transparent; box-shadow: none; padding: 0; border-radius: 0 }
.score-card.lk-score-grid::before { display: none }
