/* ============================================================================
   workspace.css — Translate çalışma alanı (premium 3-kolon)
   "Instrument-Elevated" tasarım diline birebir: tek jade aksan · Newsreader
   (verdict) · Inter (UI) · IBM Plex Mono (künye/eyebrow) · sakin hassasiyet.
   styles.css'ten SONRA yüklenir; serbestçe override eder. Light+Dark parite.
   ========================================================================== */

/* ---- Yerel ölçü token'ları (renk DEĞİL — renkler styles.css :root'tan) ---- */
:root {
  --ws-radius: 12px;
  --ws-radius-sm: 9px;
  --ws-gap: 22px;
  --ws-shadow: 0 1px 2px color-mix(in srgb, var(--text) 5%, transparent);
  --ws-shadow-lift: 0 6px 20px -8px color-mix(in srgb, var(--text) 14%, transparent);
  --ws-accent-soft: color-mix(in srgb, var(--accent) 9%, var(--surface));
  --ws-accent-faint: color-mix(in srgb, var(--accent) 5%, var(--surface));
  --ws-ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---- Sayfa kabuğu ---------------------------------------------------------- */
body { overflow-y: scroll; }

/* Üst bant: logomark + wordmark ------------------------------------------- */
.topbar .wrap { gap: 16px; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.brandmark:hover { text-decoration: none; }
.logomark {
  width: 26px; height: 26px; flex: none; display: block;
}
.logomark rect, .logomark path, .logomark line { vector-effect: non-scaling-stroke; }
.topbar nav .btn { height: 36px; padding: 0 12px; font-size: 14px; }
.theme-toggle {
  width: 36px; height: 36px; padding: 0; justify-content: center;
  font-size: 15px; line-height: 1;
}

/* ---- 3-kolon grid ---------------------------------------------------------- */
.app {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 312px;
  gap: 0;
  min-height: calc(100vh - 60px);
  align-items: start;
}

/* ====================================================================== *
 *  SOL SÜTUN — akademik kılavuz                                          *
 * ====================================================================== */
.side {
  border-right: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 22px 30px;
  position: sticky; top: 60px;
  align-self: stretch;
  display: flex; flex-direction: column;
}
.side .eyebrow { display: block; margin-bottom: 14px; }
.side .eyebrow + .eyebrow,
.side .modes + .side-block { margin-top: 30px; }
.side-block { display: block; }

/* Mod kartları */
.modes { display: flex; flex-direction: column; gap: 9px; }
.mode {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center;
  text-align: left; padding: 13px 13px; border: 1px solid var(--border);
  border-radius: var(--ws-radius-sm); background: var(--surface); color: var(--text);
  cursor: pointer; font: inherit; position: relative;
  transition: border-color .16s var(--ws-ease), background .16s var(--ws-ease), box-shadow .16s var(--ws-ease);
}
.mode:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: var(--ws-shadow); }
.mode.active {
  border-color: var(--accent);
  background: var(--ws-accent-soft);
  box-shadow: inset 2px 0 0 var(--accent);
}
.mode .mi {
  width: 34px; height: 34px; flex: none; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--bg); color: var(--text-muted);
  transition: color .16s var(--ws-ease), border-color .16s var(--ws-ease), background .16s var(--ws-ease);
}
.mode .mi svg { width: 17px; height: 17px; display: block; }
.mode.active .mi { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); background: var(--surface); }
.mode .mt { display: flex; flex-direction: column; min-width: 0; }
.mode .mt b { font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em; }
.mode .mt small { color: var(--text-muted); font-size: 11.5px; margin-top: 2px; line-height: 1.35; }
.mode.active .mt b { color: var(--text); }

/* Akış pipeline */
.flow { list-style: none; margin: 0; padding: 0; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 10px; top: 14px; bottom: 14px;
  width: 1.5px; background: var(--border); z-index: 0;
}
.flow li {
  display: grid; grid-template-columns: 21px 1fr; gap: 13px; align-items: center;
  padding: 8px 0; color: var(--text-muted); font-size: 13px; position: relative; z-index: 1;
  transition: color .2s var(--ws-ease), opacity .2s var(--ws-ease);
}
.flow li .fi {
  width: 21px; height: 21px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); position: relative;
  transition: all .22s var(--ws-ease);
}
.flow li .fi svg { width: 11px; height: 11px; display: block; }
.flow li .flabel { line-height: 1.35; }
.flow li.running { color: var(--text); }
.flow li.running .fi {
  border-color: var(--accent); color: transparent; background: var(--surface);
}
.flow li.running .fi::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%;
  border: 1.5px solid transparent; border-top-color: var(--accent); border-right-color: var(--accent);
  animation: spin .7s linear infinite;
}
.flow li.done { color: var(--text); }
.flow li.done .fi {
  border-color: var(--accent); background: var(--accent); color: var(--accent-ink);
}
.flow li.done .fi svg { display: none; }
.flow li.done .fi::after {
  content: "✓"; font-size: 11px; font-weight: 700; color: #06231F;
}
[data-mode="dark"] .flow li.done .fi::after { color: #04211C; }
.flow li.muted-step { opacity: .4; }

/* Sol alt: künye seal */
.side-seal {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; gap: 10px; align-items: center;
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted);
}
.side-seal .seal {
  width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

/* ====================================================================== *
 *  ORTA SÜTUN — ana iş                                                    *
 * ====================================================================== */
.body { padding: 38px 44px 80px; max-width: 740px; margin: 0; width: 100%; }
.body .eyebrow { display: block; }
.body .verdict {
  font-size: clamp(26px, 3.2vw, 33px); line-height: 1.12; margin: 10px 0 7px;
}
.body .lead { color: var(--text-muted); font-size: 16px; margin: 0 0 26px; max-width: 56ch; }

/* Segmented control: dosya / metin */
.seg {
  display: inline-flex; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 4px; gap: 4px; margin-bottom: 18px;
}
.seg-btn {
  display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent;
  color: var(--text-muted); font: 500 13.5px "Inter", sans-serif; padding: 8px 15px;
  border-radius: 7px; cursor: pointer; transition: color .15s, background .15s, box-shadow .15s;
}
.seg-btn svg { width: 15px; height: 15px; }
.seg-btn:hover { color: var(--text); }
.seg-btn.active,
[data-mode="dark"] .seg-btn.active {
  background: var(--surface); color: var(--text);
  box-shadow: var(--ws-shadow); border: 1px solid transparent;
}
.seg-btn.active svg { color: var(--accent-ink); }

.pane { margin-bottom: 20px; }

/* Dropzone */
.dropzone {
  border: 1.5px dashed color-mix(in srgb, var(--border) 80%, var(--accent));
  border-radius: var(--ws-radius); padding: 36px 24px 28px; text-align: center;
  background: var(--ws-accent-faint);
  transition: border-color .16s var(--ws-ease), background .16s var(--ws-ease), box-shadow .16s var(--ws-ease);
}
.dropzone.over {
  border-color: var(--accent); background: var(--ws-accent-soft);
  box-shadow: var(--ws-shadow-lift);
}
.dropzone .dz-ic {
  width: 46px; height: 46px; margin: 0 auto 14px; color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 11px; background: var(--surface);
}
.dropzone .dz-ic svg { width: 22px; height: 22px; }
.dropzone .dz-main { font-size: 15.5px; font-weight: 500; color: var(--text); }
.dropzone .dz-main b { color: var(--accent-ink); font-weight: 600; }
.dropzone .dz-sub { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--text-muted); margin-top: 7px; letter-spacing: .03em; }
.dropzone .btn { margin-top: 16px; }
.dz-secure {
  display: inline-flex; gap: 7px; align-items: center; justify-content: center;
  margin-top: 16px; font-size: 12px; color: var(--text-muted);
}
.dz-secure svg { width: 13px; height: 13px; color: var(--accent-ink); flex: none; }
.dz-fileinfo { font-size: 13px; margin-top: 13px; min-height: 0; }
.dz-fileinfo:empty { display: none; }
.dz-fileinfo.ready { color: var(--good); }
.dz-fileinfo.err { color: var(--bad); }

.pane textarea { min-height: 168px; }

/* Form satırı: dropdown'lar ikonlu */
.row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.row .field { flex: 1; min-width: 180px; margin-bottom: 18px; }
.field label { display: flex; align-items: center; gap: 6px; }
.field label svg { width: 13px; height: 13px; color: var(--accent-ink); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-65%) rotate(45deg); pointer-events: none;
}
.select-wrap select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
}
select, input[type=text], textarea {
  transition: border-color .15s var(--ws-ease), box-shadow .15s var(--ws-ease);
}
select:hover, input[type=text]:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
select:focus, input[type=text]:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

/* Gelişmiş seçenekler */
.adv {
  margin: 6px 0 24px; border: 1px solid var(--border); border-radius: var(--ws-radius-sm);
  background: var(--surface); overflow: hidden;
}
.adv summary {
  cursor: pointer; padding: 13px 16px; font-size: 14px; color: var(--text);
  list-style: none; display: flex; align-items: center; gap: 11px;
}
.adv summary::-webkit-details-marker { display: none; }
.adv summary .adv-ic { width: 16px; height: 16px; color: var(--accent-ink); flex: none; }
.adv summary .adv-ic svg { width: 16px; height: 16px; display: block; }
.adv summary .adv-desc { color: var(--text-muted); font-size: 12.5px; margin-left: 2px; }
.adv summary .adv-caret {
  margin-left: auto; width: 7px; height: 7px; flex: none;
  border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(-45deg); transition: transform .18s var(--ws-ease);
}
.adv[open] summary .adv-caret { transform: rotate(45deg); }
.adv .checks { padding: 0 16px 16px; margin: 0; border-top: 1px solid var(--border); padding-top: 14px; gap: 16px; }
.checks label {
  display: inline-flex; gap: 9px; align-items: center; font-size: 13.5px; color: var(--text);
  text-transform: none; font-family: inherit; letter-spacing: 0; cursor: pointer;
}
.checks input[type=checkbox] {
  width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; flex: none;
}

/* Çalıştır butonu */
.go-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
#go { height: 46px; padding: 0 22px; font-size: 15px; font-weight: 600; border-radius: var(--ws-radius-sm); }

/* Güven kartları (4) */
.trust4 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--ws-radius);
  overflow: hidden; margin-top: 4px;
}
.trust4 .t4 { background: var(--surface); padding: 14px 16px; display: flex; gap: 11px; align-items: flex-start; }
.trust4 .t4-ic { width: 16px; height: 16px; color: var(--accent-ink); flex: none; margin-top: 1px; }
.trust4 .t4-ic svg { width: 16px; height: 16px; display: block; }
.trust4 .t4 b { font-size: 13px; display: block; font-weight: 600; }
.trust4 .t4 small { color: var(--text-muted); font-size: 12px; display: block; margin-top: 2px; }

/* ---- Sonuç (verdict-önce) ---- */
.result { margin-top: 30px; }
.result.hidden { display: none; }
.verdict-block {
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--ws-radius); background: var(--surface); padding: 24px 26px;
  box-shadow: var(--ws-shadow);
}
.verdict-block .label {
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-muted);
}
.verdict-block .out {
  font-family: "Newsreader", serif; font-size: 20px; line-height: 1.55; margin-top: 12px;
  white-space: pre-wrap;
}
.status-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; line-height: 1.45; }
.status-line .dot { margin-top: 5px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.good { background: var(--good); } .dot.bad { background: var(--bad); } .dot.warn { background: var(--warn); }
.status-line .caveat { color: var(--text-muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-family: "IBM Plex Mono", monospace;
  font-size: 12px; border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px;
  color: var(--text-muted); background: var(--bg);
}
.chip svg { width: 11px; height: 11px; color: var(--accent-ink); }
.chip b { color: var(--text); font-weight: 600; }
.notes { margin: 18px 0 0; padding: 0; list-style: none; }
.notes li { font-size: 13.5px; color: var(--text-muted); padding: 4px 0 4px 18px; position: relative; line-height: 1.5; }
.notes li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-ink); }
.result.blocked .verdict-block { border-left-color: var(--bad); }

/* Künye / specimen footer (rapor içi) */
.verdict-block .specimen {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border);
  font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--text-muted);
  letter-spacing: .05em; display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.verdict-block .specimen .seal {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.afterword { font-size: 13px; color: var(--text-muted); margin-top: 14px; }

/* proofread önerileri */
.sug { border-left: 2px solid var(--border); padding: 9px 0 9px 15px; margin: 12px 0; }
.sug-i { font-size: 14px; font-weight: 500; }
.sug-s { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

.spinner {
  display: inline-block; width: 14px; height: 14px; border: 2px solid var(--border);
  border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Export bar ---- */
.exportbar { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.exportbar.hidden { display: none; }
.exportbar .eyebrow { display: block; }
.exp-btns { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 11px; }
.exp-btns .btn { height: 40px; }
.exp-btns .btn svg { width: 15px; height: 15px; color: var(--text-muted); }

/* ---- Türev belgeler ---- */
.derive { margin-top: 4px; }
.derive.hidden { display: none; }
.derive .hairline { margin: 32px 0 24px; }
.derive .eyebrow { display: block; }
.derive p.muted { font-size: 13.5px; margin: 9px 0 16px; }
.art-tabs { display: inline-flex; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 4px; gap: 4px; margin-bottom: 16px; }
.art-tabs .art-tab {
  border: 0; background: transparent; color: var(--text-muted);
  font: 500 13.5px "Inter", sans-serif; padding: 8px 16px; border-radius: 7px; cursor: pointer;
  transition: color .15s, background .15s, box-shadow .15s;
}
.art-tabs .art-tab:hover { color: var(--text); }
.art-tabs .art-tab.active { background: var(--surface); color: var(--text); box-shadow: var(--ws-shadow); }
#gen { margin-top: 4px; }

/* ====================================================================== *
 *  SAĞ SÜTUN — özet & güvence                                            *
 * ====================================================================== */
.summary {
  border-left: 1px solid var(--border); background: var(--surface);
  padding: 28px 22px; position: sticky; top: 60px;
  align-self: stretch; display: flex; flex-direction: column; gap: 18px;
}
.sum-card { border: 1px solid var(--border); border-radius: var(--ws-radius); background: var(--bg); padding: 17px 18px; }
.sum-card .eyebrow { display: block; margin-bottom: 14px; font-size: 11px; }
.sum-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.sum-row + .sum-row { border-top: 1px solid var(--border); }
.sum-row .k { color: var(--text-muted); }
.sum-row .v { color: var(--text); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.sum-row .v.ready { color: var(--good); }
.sum-row .v.idle { color: var(--text-muted); font-weight: 400; }

.assure-list { list-style: none; margin: 0; padding: 0; }
.assure-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; padding: 8px 0; font-size: 13px; line-height: 1.4; }
.assure-list li + li { border-top: 1px solid var(--border); }
.assure-list .ac {
  width: 18px; height: 18px; flex: none; border-radius: 50%; margin-top: 1px;
  border: 1.5px solid color-mix(in srgb, var(--good) 55%, var(--border));
  color: var(--good); display: inline-flex; align-items: center; justify-content: center;
}
.assure-list .ac svg { width: 10px; height: 10px; }
.assure-list .at b { font-weight: 600; display: block; }
.assure-list .at small { color: var(--text-muted); font-size: 12px; display: block; margin-top: 1px; line-height: 1.35; }

/* ====================================================================== *
 *  Responsive                                                            *
 * ====================================================================== */
@media (max-width: 1180px) {
  .app { grid-template-columns: 248px minmax(0, 1fr); }
  .summary {
    grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--border);
    position: static; flex-direction: row; flex-wrap: wrap; padding: 22px 28px;
  }
  .summary .sum-card { flex: 1; min-width: 260px; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side {
    border-right: 0; border-bottom: 1px solid var(--border);
    position: static; flex-direction: column;
  }
  .body { padding: 30px 24px 60px; max-width: 100%; }
  .summary { flex-direction: column; padding: 22px 24px; }
  .summary .sum-card { min-width: 0; }
}
@media (max-width: 520px) {
  .trust4 { grid-template-columns: 1fr; }
  .seg, .art-tabs { width: 100%; }
  .seg-btn, .art-tabs .art-tab { flex: 1; justify-content: center; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .spinner, .flow li.running .fi::after { animation: none; }
  .flow li.running .fi::after { border-top-color: var(--accent); border-right-color: var(--accent); }
  * { transition: none !important; }
}

/* ===== Tam-makale (2 faz) çıktısı + ortak terminoloji ===== */
.verdict-block .out.doc { white-space: pre-wrap; }
.glossary { margin:16px 0; border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.gloss-h { font-family:"IBM Plex Mono",monospace; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-ink); padding:10px 14px; border-bottom:1px solid var(--border); background:color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.gloss-grid { display:flex; flex-direction:column; }
.gloss-row { display:grid; grid-template-columns:1fr 18px 1fr; gap:10px; align-items:baseline; padding:7px 14px; font-size:13.5px; border-bottom:1px solid var(--border); }
.gloss-row:last-child { border-bottom:0; }
.gloss-row .gs { color:var(--text-muted); }
.gloss-row .ga { color:var(--accent-ink); text-align:center; }
.gloss-row .ge { color:var(--text); font-weight:500; }

/* ====================================================================== *
 *  Sadakat Sertifikası — kullanıcıya dönük bütünlük belgesi              *
 * ====================================================================== */
.cert {
  margin-top: 20px; position: relative;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: var(--ws-radius);
  background:
    linear-gradient(180deg, var(--ws-accent-faint), var(--surface) 64%);
  padding: 18px 20px 16px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 7%, transparent);
}
/* İnce guilloché kenar imzası (sol jade şerit) */
.cert::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px;
  border-radius: 2px; background: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 16%, transparent);
}
.cert.cert-warn {
  border-color: color-mix(in srgb, var(--bad) 36%, var(--border));
  background: linear-gradient(180deg, color-mix(in srgb, var(--bad) 6%, var(--surface)), var(--surface) 64%);
  box-shadow: none;
}
.cert.cert-warn::before { background: var(--bad); box-shadow: 0 0 0 2px color-mix(in srgb, var(--bad) 16%, transparent); }

.cert-top { display: flex; align-items: center; gap: 12px; }
.cert-mark {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-ink); background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
}
.cert.cert-warn .cert-mark { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 38%, var(--border)); }
.cert-mark svg { width: 19px; height: 19px; display: block; }
.cert-h { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cert-h b { font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; color: var(--text); }
.cert-h span { font-size: 12px; color: var(--text-muted); }

/* 0 eklendi / 0 atıldı */
.cert-claim {
  display: flex; align-items: center; gap: 14px; margin-top: 14px;
  font-size: 13.5px; color: var(--text);
}
.cert-claim .cc { display: inline-flex; align-items: baseline; gap: 6px; }
.cert-claim .cc b { font-size: 17px; font-weight: 600; color: var(--accent-ink); }
.cert-claim .cc-div { width: 1px; height: 16px; background: var(--border); flex: none; }

/* Korunan token chip'leri — tür bazında sayım */
.cert-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cert-chip {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-size: 12.5px; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 7px; padding: 5px 10px;
  background: var(--surface);
}
.cert-chip b { font-size: 13.5px; font-weight: 600; color: var(--text); }

/* Künye/seal şeridi (mono) */
.cert-seal {
  margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .05em;
  color: var(--text-muted);
}
.cert-seal .seal {
  width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.cert.cert-warn .cert-seal .seal { background: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 20%, transparent); }
.cert-seal .tnum { font-variant-numeric: tabular-nums; }
.cert-stamp {
  margin-left: auto; padding: 3px 9px; border-radius: 5px; letter-spacing: .12em;
  color: var(--accent-ink); border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.cert-stamp.warn { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--border)); background: color-mix(in srgb, var(--bad) 8%, var(--surface)); }

/* ====================================================================== *
 *  Doğallık / AI-koku paneli                                             *
 * ====================================================================== */
.nat {
  margin-top: 18px; border: 1px solid var(--border); border-radius: var(--ws-radius);
  background: var(--bg); padding: 15px 18px 14px;
}
.nat-h {
  display: flex; align-items: center; gap: 9px;
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}
.nat-ic { width: 15px; height: 15px; flex: none; color: var(--accent-ink); }
.nat-ic svg { width: 15px; height: 15px; display: block; }
.nat .status-line { margin-top: 0; }
.nat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nat-chip {
  font-size: 12.5px; color: var(--text); padding: 5px 11px; border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--warn) 38%, var(--border));
  background: color-mix(in srgb, var(--warn) 8%, var(--surface));
}
.nat-caveat {
  margin: 13px 0 0; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 12.5px; line-height: 1.5; color: var(--text-muted);
}
