/* Specoria · yöntem sayfası ekleri, kontrol sayfaları ve örnek rapor. Temel /insights.css'ten, çipler, kod bloğu ve
   bulgu kartları /scan-result.css'ten gelir. Betik yok; dar ekranda tablolar karta dönüşür. */

/* Kaynak satırı: her istatistiğin altında kaynak, tarih ve örneklem */
.src-line { margin: 10px 0 0; font-family: 'Geist Mono', monospace; font-size: 12px; line-height: 1.5; letter-spacing: .02em; color: #5D5C6B; }
.prose .src-line a { color: #3B2BC4; }

/* Kontrol sayfası: künye */
.ck-facts { display: grid; gap: 1px; margin: 4px 0 0; padding: 0; border-radius: 14px; overflow: hidden; background: #E4E4EA; border: 1px solid #E4E4EA; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .ck-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ck-facts div { padding: 12px 14px; background: #FFFFFF; }
.ck-facts dt { font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #6B6A7B; }
.ck-facts dd { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: #0F0E1A; }
.ck-k { display: block; margin-bottom: 4px; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #3B2BC4; }
.prose .ck-code-k { margin: 16px 0 0; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #3B2BC4; }
.prose .ck-code-k + .sr-code { margin-top: 6px; }
.ck .prose .sr-code { white-space: pre-wrap; overflow-wrap: anywhere; }
.ck-note { font-size: 14.5px !important; color: #5D5C6B; }
.prose .ck-results { list-style: none; padding: 0; display: grid; gap: 8px; }
.prose .ck-results li { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: #FFFFFF; border: 1px solid #E4E4EA; font-size: 15px; line-height: 1.55; }
.prose .ck-results .sr-chip { margin-top: 2px; min-width: 76px; text-align: center; }
@media (max-width: 520px) { .prose .ck-results li { flex-direction: column; gap: 6px; } .prose .ck-results .sr-chip { min-width: 0; } }
.prose .ck-criteria { list-style: none; padding: 0; }
.prose .ck-criteria li { padding-left: 0; }
.prose .sr-code { font-size: 12.5px; }
.prose .sr-code code { padding: 0; background: none; color: inherit; font-size: inherit; }
.ck-nav { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px !important; }
.prose .ck-nav a { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #FFFFFF; border: 1px solid #E4E4EA; text-decoration: none; color: #3B2BC4; font-size: 13px; font-weight: 700; }
.prose .ck-nav a[rel="next"] { text-align: right; }
.ck-nav a span { color: #0F0E1A; font-size: 15px; font-weight: 600; line-height: 1.35; }
.ck-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.prose .ck-cta .btn-primary, .method .prose .btn-primary { display: inline-block; padding: 13px 22px; border-radius: 11px; background: #5B47F5; color: #FFFFFF; font-size: 15px; font-weight: 700; text-decoration: none; }
.prose .ck-cta .btn-primary:hover, .method .prose .btn-primary:hover { background: #6E5CFF; color: #FFFFFF; }
.method .method-table td a { text-decoration: none; color: #0F0E1A; }
.method .method-table td a:hover strong { color: #4F3CF0; text-decoration: underline; text-underline-offset: 3px; }

/* Yöntem sayfası: kritik engel kutusu, kapsam tablosu, kriter çerçevesi, örnek rapor çağrısı */
.mt-gate, .mt-sample, .mt-crit { padding: 18px 20px; border-radius: 16px; }
.mt-gate { background: #FFF4F4; border: 1px solid #F5C2C2; }
.mt-gate h3 { margin: 0 !important; color: #A02B2B; font-size: 19px !important; }
.mt-gate p, .mt-gate ul { margin: 8px 0 0; font-size: 15.5px; }
.mt-gate a { color: #0F0E1A !important; }
.mt-sample { background: #F8F7FF; border: 1px solid #E7E3FF; }
.mt-sample h3 { margin: 0 !important; font-size: 19px !important; }
.mt-sample p { margin: 8px 0 0; font-size: 15.5px; }
.mt-crit { background: #FFFFFF; border: 1px solid #E4E4EA; }
.mt-crit p { margin: 0 0 10px; font-size: 16px; }
.mt-cov-wrap { margin-top: 14px; }
.mt-cov { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.mt-cov th, .mt-cov td { padding: 10px 8px; border-bottom: 1px solid #E4E4EA; text-align: left; vertical-align: top; }
.mt-cov thead th { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6B6A7B; font-weight: 500; }
.mt-cov tbody th { font-weight: 700; color: #0F0E1A; width: 26%; }
.mt-cov .sr-chip { display: inline-block; margin: 0 4px 4px 0; }
@media (max-width: 640px) {
  .mt-cov thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .mt-cov, .mt-cov tbody, .mt-cov tr, .mt-cov th, .mt-cov td { display: block; width: auto !important; }
  .mt-cov tr { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #FFFFFF; border: 1px solid #E4E4EA; }
  .mt-cov th, .mt-cov td { padding: 4px 0; border: 0; }
  .mt-cov td::before { content: attr(data-label); display: block; font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #6B6A7B; margin-top: 6px; }
}

/* Örnek rapor */
.sp-score { padding: 20px 22px; border-radius: 18px; background: #FFFFFF; border: 1px solid #E4E4EA; }
.sp-score p { margin: 6px 0 0; font-size: 15.5px; }
.sp-score .sp-score-k { margin: 0; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6B6A7B; }
.sp-score .sp-score-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px; }
.sp-score-v strong { font-size: clamp(44px, 7vw, 64px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sp-score-v > span:first-of-type { font-size: 20px; color: #6B6A7B; }
.sp-level { padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; background: #EEEBFF; color: #3B2BC4; }
.sp-level[data-tone="high"] { background: #E3F7EC; color: #176B3F; }
.sp-level[data-tone="mid"] { background: #FFF1D6; color: #8A5A00; }
.sp-level[data-tone="low"] { background: #FFE3E3; color: #A02B2B; }
.sp .sr-cats { margin-top: 14px; }
.sp .sr-cat-bar span { transition: none; }
.sp .sr-findings { margin-top: 18px; grid-template-columns: minmax(0, 1fr); }
.sp .sr-finding, .sp .sr-pane { min-width: 0; }
.prose .sr-code { max-width: 100%; }
.sp .sr-finding-body { grid-template-columns: minmax(0, 1fr); }
.sp .sr-finding-body .sr-pane + .sr-pane { border-left: 0; border-top: 1px solid #E7E3FF; }
.sp .sr-finding-meta { grid-template-columns: minmax(0, 1fr); }
.sp .sr-pane p { font-size: 15px; }
.sp-check-link { margin: 0 !important; padding: 12px 20px 16px; border-top: 1px solid #E7E3FF; font-size: 14px; }
.sp .sr-group h4 { margin-top: 26px; }
.sp .sr-check-body strong a { color: #0F0E1A; text-decoration: none; }
.sp .sr-check-body strong a:hover { color: #4F3CF0; text-decoration: underline; }
.sp .sr-check-body p { margin: 3px 0 0; }
.sp-info dt { font-weight: 700; font-size: 15px; margin-top: 10px; }
.sp-info dd { margin: 2px 0 0; font-size: 15px; color: #4A4958; }
.sp-json summary { cursor: pointer; font-weight: 700; color: #3B2BC4; }
.sp-json pre { max-height: 520px; overflow: auto; }
