/* ============================================================
   TEMEL İSKELET — tüm platform temalarının üzerine kurulduğu yapı.
   Temalar (theme-*.css) yalnızca CSS değişkenlerini ve küçük
   bileşen farklarını override eder.
   ============================================================ */

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --border: #e3e5e8;
  --border-strong: #cfd2d6;
  --text: #1c1e21;
  --text-2: #616770;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-text: #ffffff;
  --nav-active-bg: #e8f0fe;
  --nav-active-color: #1a73e8;
  --topbar-bg: #ffffff;
  --topbar-text: #1c1e21;
  --topbar-border: #e3e5e8;
  --sidebar-bg: #ffffff;
  --sidebar-w: 244px;
  --radius: 10px;
  --radius-lg: 14px;
  --btn-radius: 8px;
  --input-radius: 8px;
  --nav-radius: 8px;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.05);
  --focus: #2563eb;

  --sev-high: #d92d20;
  --sev-high-bg: #fef3f2;
  --sev-med: #b54708;
  --sev-med-bg: #fffaeb;
  --sev-low: #475467;
  --sev-low-bg: #f2f4f7;
  --sev-info: #175cd3;
  --sev-info-bg: #eff8ff;
  --ok: #067647;
  --ok-bg: #ecfdf3;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
svg { display: block; }

/* ------------------------------------------------ Simülatör çubuğu (nötr) */
.sim-bar {
  background: #101216;
  color: #d7dae0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  height: 46px;
  position: sticky;
  top: 0;
  z-index: 60;
}
.sim-brand { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .2px; white-space: nowrap; }
.sim-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade8088; flex: none; }
.sim-brand small { color: #8b909a; font-weight: 400; }
.sim-tabs { display: flex; gap: 6px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.sim-tabs::-webkit-scrollbar { display: none; }
.sim-tab {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px;
  color: #b9bec7; text-decoration: none; font-size: 12.5px; font-weight: 600;
  border: 1px solid transparent; white-space: nowrap; transition: background .15s, color .15s;
}
.sim-tab:hover { background: #1d2027; color: #fff; }
.sim-tab.active { background: #ffffff; color: #101216; }
.sim-tab .brand-ic { width: 15px; height: 15px; }
.sim-settings {
  margin-left: 2px; background: #1d2027; color: #d7dae0; border: 1px solid #2b2f37;
  border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  font-family: inherit; white-space: nowrap;
}
.sim-settings:hover { background: #262a33; color: #fff; }

/* ------------------------------------------------------- Platform kabuğu */
.shell { min-height: calc(100vh - 46px); display: flex; flex-direction: column; }

.p-topbar {
  height: 56px; background: var(--topbar-bg); color: var(--topbar-text);
  border-bottom: 1px solid var(--topbar-border);
  display: flex; align-items: center; gap: 14px; padding: 0 16px;
  position: sticky; top: 46px; z-index: 50;
}
.tb-burger { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: inherit; flex: none; }
.tb-burger:hover { background: rgba(120, 130, 140, 0.12); }
.tb-logo { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 500; white-space: nowrap; }
.tb-logo .brand-ic { width: 24px; height: 24px; }
.tb-search {
  flex: 1; max-width: 560px; display: flex; align-items: center; gap: 9px;
  background: var(--surface-2); border: 1px solid transparent; border-radius: 999px;
  padding: 8px 16px; color: var(--text-2); font-size: 13.5px; min-width: 0;
}
.tb-search svg { flex: none; opacity: .7; }
.tb-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tb-account { font-size: 12px; color: var(--text-2); white-space: nowrap; }
.tb-icon {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: inherit; cursor: pointer; opacity: .85;
}
.tb-icon:hover { background: rgba(120, 130, 140, 0.12); opacity: 1; }
.tb-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.tb-primary { border: none; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 13px;
  background: var(--primary); color: var(--primary-text); border-radius: var(--btn-radius); padding: 8px 16px; white-space: nowrap; }

/* Meta kırıntı (breadcrumb) segmenti */
.tb-crumbs { display: flex; background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 2px; }
.tb-crumbs span { padding: 5px 14px; font-size: 12.5px; font-weight: 600; color: var(--text-2); border-radius: 999px; white-space: nowrap; }
.tb-crumbs span.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.12); }

/* TikTok üst sekmeleri */
.tb-tabs { display: flex; gap: 4px; margin-left: 10px; align-self: stretch; }
.tb-tab { display: flex; align-items: center; padding: 0 14px; font-size: 14px; font-weight: 500; color: var(--text-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.tb-tab.on { color: var(--text); font-weight: 700; border-bottom-color: var(--text); }

/* -------------------------------------------------------------- Gövde */
.p-body { display: flex; flex: 1; align-items: stretch; }
.p-sidebar {
  width: var(--sidebar-w); flex: none; background: var(--sidebar-bg);
  border-right: 1px solid var(--border); padding: 12px 8px;
}
.p-nav { position: sticky; top: 116px; display: flex; flex-direction: column; gap: 2px; }
.p-nav-item {
  display: flex; align-items: center; gap: 12px; padding: 9px 14px;
  border-radius: var(--nav-radius); color: var(--text-2); font-size: 13.5px; font-weight: 500;
  cursor: default; white-space: nowrap; overflow: hidden;
}
.p-nav-item svg { flex: none; }
.p-nav-item.active { background: var(--nav-active-bg); color: var(--nav-active-color); font-weight: 600; }
.p-nav-item:not(.active):hover { background: rgba(120, 130, 140, 0.08); }

/* TikTok tarzı adım (stepper) menüsü */
.p-steps { position: sticky; top: 116px; display: flex; flex-direction: column; padding: 8px 6px; }
.p-step { display: flex; gap: 12px; position: relative; padding: 0 8px 26px; }
.p-step:last-child { padding-bottom: 4px; }
.p-step::before {
  content: ""; position: absolute; left: 19px; top: 26px; bottom: 2px; width: 2px; background: var(--border);
}
.p-step:last-child::before { display: none; }
.p-step-badge {
  width: 24px; height: 24px; border-radius: 50%; flex: none; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 2px solid var(--border-strong); color: var(--text-2);
}
.p-step.done .p-step-badge { background: var(--text); border-color: var(--text); color: #fff; }
.p-step.active .p-step-badge { border-color: var(--primary); background: var(--surface); }
.p-step.active .p-step-badge::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.p-step-label { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.3; padding-top: 2px; }
.p-step-label small { display: block; font-weight: 400; color: var(--text-2); font-size: 12px; margin-top: 1px; }
.p-step.active .p-step-label { color: var(--primary); }

.p-main { flex: 1; min-width: 0; padding: 22px 24px 60px; }
.p-main-inner { max-width: 1240px; margin: 0 auto; }

.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.page-head h1 { font-size: 21px; font-weight: 600; margin: 0; letter-spacing: -.2px; }
.status-chip {
  font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  background: var(--sev-low-bg); color: var(--sev-low); border-radius: 999px; padding: 4px 10px;
}
.page-sub { color: var(--text-2); font-size: 13px; margin: 0 0 16px; }
.page-sub a { color: var(--primary); font-weight: 600; text-decoration: none; }
.page-sub a:hover { text-decoration: underline; }

/* -------------------------------------------------------------- Layout */
.layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 20px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden;
}
.card-head { display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid var(--border); }
.card-head h2 { font-size: 15px; font-weight: 600; margin: 0; }
.card-head .hint-inline { margin-left: auto; font-size: 12px; color: var(--text-2); text-align: right; }
.card-body { padding: 18px 20px; }
.sec-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--text-2); margin: 22px 0 10px;
}
.sec-title:first-child { margin-top: 0; }

/* -------------------------------------------------------------- Form */
.field { margin-bottom: 15px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field-group-label {
  display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.field .char-note { margin-left: auto; font-weight: 400; font-size: 11.5px; color: var(--text-2); }
.field .char-note.over { color: var(--sev-high); font-weight: 700; }
input[type="text"], input[type="url"], input[type="password"], select, textarea {
  width: 100%; font-family: inherit; font-size: 13.5px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--input-radius); padding: 9px 12px; outline: none;
  transition: border-color .12s, box-shadow .12s;
}
textarea { resize: vertical; min-height: 40px; }
input:focus, select:focus, textarea:focus {
  border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent);
}
select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23697077' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.hint { font-size: 12px; color: var(--text-2); margin: 5px 0 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.multi-grid { display: grid; gap: 8px; }
.checkbox-row { display: flex; gap: 9px; align-items: flex-start; padding: 7px 0; font-size: 13px; cursor: pointer; font-weight: 400 !important; margin-bottom: 0 !important; }
.checkbox-row input { width: auto; margin-top: 2px; accent-color: var(--primary); }
.field-file input[type="file"] { width: 100%; font-size: 12.5px; color: var(--text-2); border: 1px dashed var(--border-strong); border-radius: var(--input-radius); padding: 14px 12px; background: var(--surface-2); }
.img-preview-row { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.img-preview-row img { max-width: 110px; max-height: 74px; border-radius: 6px; border: 1px solid var(--border); object-fit: cover; }
.ai-status { font-size: 12px; color: var(--text-2); }
.ai-status.ok { color: var(--ok); font-weight: 600; }
.ai-status.err { color: var(--sev-high); font-weight: 600; }

/* Canlı kelime taraması rozetleri */
.live-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.live-flag {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600;
  border-radius: 999px; padding: 3px 10px; line-height: 1.5;
}
.live-flag.risk { background: var(--sev-high-bg); color: var(--sev-high); }
.live-flag.safe { background: var(--ok-bg); color: var(--ok); }
.live-flag b { font-weight: 800; }

/* -------------------------------------------------------------- Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--btn-radius); padding: 9px 18px;
  transition: background .12s, box-shadow .12s;
}
.btn-primary { background: var(--primary); color: var(--primary-text); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-block { width: 100%; }
.btn-xl { padding: 12px 22px; font-size: 14.5px; }

.disclaimer {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--sev-info-bg); border: 1px solid color-mix(in srgb, var(--sev-info) 25%, transparent);
  color: #17457f; border-radius: var(--radius); padding: 10px 14px; font-size: 12.5px; margin-bottom: 18px;
}
.disclaimer a { color: inherit; font-weight: 700; }

/* ============================================================ ÖNİZLEMELER
   Önizlemeler yönetim temasından bağımsızdır: her platformun TÜKETİCİ
   yüzeyini (SERP, FB akışı, TikTok videosu, X gönderisi) taklit eder. */
.pv-wrap { display: flex; justify-content: center; padding: 6px 0 2px; }
.pv-empty { color: var(--text-2); font-size: 12.5px; text-align: center; padding: 26px 10px; border: 1.5px dashed var(--border-strong); border-radius: var(--radius); width: 100%; }

/* Google SERP */
.pv-google { width: 100%; max-width: 520px; background: #fff; border: 1px solid #dfe1e5; border-radius: 12px; padding: 16px 18px; font-family: Arial, sans-serif; }
.pv-g-sponsored { font-size: 13px; font-weight: 700; color: #202124; margin-bottom: 10px; }
.pv-g-head { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.pv-g-fav { width: 28px; height: 28px; border-radius: 50%; background: #e8f0fe; border: 1px solid #dfe1e5; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #1a73e8; flex: none; }
.pv-g-site { line-height: 1.25; min-width: 0; }
.pv-g-brand { font-size: 14px; color: #202124; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-g-url { font-size: 12px; color: #4d5156; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-g-title { font-size: 19px; color: #1a0dab; line-height: 1.3; margin: 2px 0 3px; cursor: pointer; overflow-wrap: anywhere; }
.pv-g-title:hover { text-decoration: underline; }
.pv-g-desc { font-size: 13.5px; color: #474747; line-height: 1.5; overflow-wrap: anywhere; }

/* Meta / Facebook akış kartı */
.pv-meta { width: 100%; max-width: 460px; background: #fff; border: 1px solid #dddfe2; border-radius: 10px; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; box-shadow: 0 1px 2px rgba(0,0,0,.1); overflow: hidden; }
.pv-m-head { display: flex; gap: 9px; align-items: center; padding: 12px 14px 0; }
.pv-m-avatar { width: 40px; height: 40px; border-radius: 50%; background: #0866ff; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; flex: none; }
.pv-m-page { font-size: 14.5px; font-weight: 600; color: #050505; line-height: 1.25; }
.pv-m-sub { font-size: 12.5px; color: #65676b; display: flex; align-items: center; gap: 4px; }
.pv-m-more { margin-left: auto; color: #65676b; font-weight: 700; letter-spacing: 1px; }
.pv-m-text { padding: 10px 14px; font-size: 14.5px; color: #050505; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.pv-m-media { background: #f0f2f5; aspect-ratio: 1.91 / 1; display: flex; align-items: center; justify-content: center; color: #90949c; font-size: 12px; overflow: hidden; }
.pv-m-media img { width: 100%; height: 100%; object-fit: cover; }
.pv-m-link { display: flex; align-items: center; gap: 12px; background: #f0f2f5; padding: 10px 14px; }
.pv-m-link-info { min-width: 0; flex: 1; }
.pv-m-domain { font-size: 12px; color: #65676b; text-transform: uppercase; letter-spacing: .2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-m-headline { font-size: 15.5px; font-weight: 600; color: #050505; line-height: 1.3; overflow-wrap: anywhere; }
.pv-m-desc { font-size: 13px; color: #65676b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-m-cta { flex: none; background: #e4e6eb; color: #050505; font-size: 14px; font-weight: 600; border-radius: 6px; padding: 8px 14px; white-space: nowrap; }
.pv-m-foot { display: flex; justify-content: space-around; border-top: 1px solid #e4e6eb; margin: 6px 10px 0; padding: 7px 0 9px; color: #65676b; font-size: 13.5px; font-weight: 600; }
.pv-m-foot span { display: flex; align-items: center; gap: 6px; }

/* TikTok telefon çerçevesi */
.pv-tiktok { width: 264px; aspect-ratio: 9 / 17.4; background: #010101; border-radius: 28px; padding: 10px 8px; position: relative; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.pv-t-screen { position: relative; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #17202b 0%, #0b0e13 60%, #1a1220 100%); font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
.pv-t-bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.pv-t-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.62) 100%); }
.pv-t-top { position: absolute; top: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 14px; color: rgba(255,255,255,.75); font-size: 12.5px; font-weight: 600; }
.pv-t-top .on { color: #fff; font-weight: 700; border-bottom: 2.5px solid #fff; padding-bottom: 3px; }
.pv-t-rail { position: absolute; right: 8px; bottom: 86px; display: flex; flex-direction: column; align-items: center; gap: 13px; color: #fff; }
.pv-t-railavatar { width: 40px; height: 40px; border-radius: 50%; background: #fe2c55; border: 1.5px solid #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.pv-t-ric { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.pv-t-info { position: absolute; left: 10px; right: 62px; bottom: 64px; color: #fff; }
.pv-t-name { font-size: 15px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.55); overflow-wrap: anywhere; }
.pv-t-text { font-size: 12.5px; line-height: 1.4; margin-top: 4px; text-shadow: 0 1px 4px rgba(0,0,0,.55); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pv-t-adchip { display: inline-block; background: rgba(255,255,255,.24); border-radius: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .5px; padding: 1px 5px; margin-top: 5px; }
.pv-t-cta { position: absolute; left: 10px; right: 10px; bottom: 22px; background: #fe2c55; color: #fff; text-align: center; font-size: 13.5px; font-weight: 700; border-radius: 4px; padding: 9px 0; }
.pv-t-homebar { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 96px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.85); }

/* X gönderi kartı */
.pv-x { width: 100%; max-width: 470px; background: #fff; border: 1px solid #cfd9de; border-radius: 16px; padding: 12px 16px; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
.pv-x-head { display: flex; gap: 9px; }
.pv-x-avatar { width: 40px; height: 40px; border-radius: 50%; background: #0f1419; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex: none; }
.pv-x-name { font-size: 14.5px; font-weight: 800; color: #0f1419; display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.pv-x-handle { font-size: 14px; color: #536471; font-weight: 400; }
.pv-x-text { font-size: 14.5px; color: #0f1419; line-height: 1.45; margin: 6px 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.pv-x-media { border: 1px solid #cfd9de; border-radius: 16px; overflow: hidden; background: #f7f9f9; }
.pv-x-media .ph { aspect-ratio: 1.91 / 1; display: flex; align-items: center; justify-content: center; color: #8b98a5; font-size: 12px; }
.pv-x-media img { width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; }
.pv-x-cardline { padding: 9px 12px; border-top: 1px solid #cfd9de; }
.pv-x-domain { font-size: 12.5px; color: #536471; }
.pv-x-cardtitle { font-size: 14px; color: #0f1419; overflow-wrap: anywhere; }
.pv-x-foot { display: flex; justify-content: space-between; color: #536471; font-size: 12.5px; margin-top: 10px; padding: 0 6px; }
.pv-x-promoted { display: flex; align-items: center; gap: 5px; color: #536471; font-size: 12.5px; margin-top: 9px; }

/* ============================================================ SONUÇ */
.score-hero { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ring-wrap { position: relative; width: 116px; height: 116px; flex: none; }
.ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-num { font-size: 27px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.ring-cap { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text-2); margin-top: 3px; }
.score-meta .t1 { font-size: 15.5px; font-weight: 700; }
.score-meta .t2 { font-size: 12.5px; color: var(--text-2); margin: 2px 0 9px; }
.tier-chip { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .3px; padding: 5px 12px; border-radius: 999px; }
.tier-low { background: var(--ok-bg); color: var(--ok); }
.tier-mid { background: var(--sev-med-bg); color: var(--sev-med); }
.tier-high { background: #fff0e6; color: #c2410c; }
.tier-critical { background: var(--sev-high-bg); color: var(--sev-high); }

.dist-bar { display: flex; height: 9px; border-radius: 6px; overflow: hidden; background: var(--surface-2); margin: 14px 0 8px; }
.dist-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-2); }
.dist-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }

/* Kontrol listesi */
.checks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.check { display: flex; gap: 9px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; padding: 8px 11px; font-size: 12px; }
.check .ic { width: 17px; height: 17px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 900; color: #fff; margin-top: 1px; }
.check.pass .ic { background: #12b76a; }
.check.warn .ic { background: #f79009; }
.check.fail .ic { background: #f04438; }
.check.skip .ic { background: #98a2b3; }
.check b { display: block; font-weight: 600; color: var(--text); line-height: 1.35; }
.check small { color: var(--text-2); }

/* Bulgular (kalem kalem kesinti) */
.finding { border: 1px solid var(--border); border-left-width: 4px; border-radius: 10px; padding: 11px 13px; margin-bottom: 9px; background: var(--surface); }
.finding.sev-high { border-left-color: #f04438; }
.finding.sev-medium { border-left-color: #f79009; }
.finding.sev-low { border-left-color: #98a2b3; }
.finding.sev-info { border-left-color: #53b1fd; }
.finding-top { display: flex; align-items: baseline; gap: 9px; }
.finding-title { font-size: 13px; font-weight: 700; flex: 1; }
.points-chip { flex: none; font-size: 12px; font-weight: 800; border-radius: 7px; padding: 2px 9px; background: var(--sev-high-bg); color: var(--sev-high); white-space: nowrap; }
.points-chip.zero { background: var(--sev-info-bg); color: var(--sev-info); }
.finding-src { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--text-2); margin-bottom: 3px; }
.finding-detail { font-size: 12.5px; color: var(--text); opacity: .85; line-height: 1.5; overflow-wrap: anywhere; }
.finding-tip { font-size: 12.5px; margin-top: 6px; color: var(--ok); font-weight: 500; }

.tips-list { margin: 6px 0 0; padding-left: 19px; font-size: 13px; }
.tips-list li { margin-bottom: 7px; line-height: 1.5; }
.policy-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; }
.policy-link:hover { text-decoration: underline; }
.empty-state { color: var(--text-2); font-size: 13px; padding: 22px 8px; text-align: center; }
.result-summary-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 2px; }
.rs-chip { font-size: 12px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; color: var(--text-2); }

/* -------------------------------------------------------------- Modal */
.overlay { position: fixed; inset: 0; background: rgba(15, 18, 25, .55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal { background: #fff; color: #1c1e21; border-radius: 14px; width: 520px; max-width: 100%; max-height: 90vh; overflow: auto; padding: 20px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal h3 { margin: 0; font-size: 16px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.btn-icon { background: none; border: none; font-size: 16px; cursor: pointer; color: #616770; padding: 6px; border-radius: 6px; }
.btn-icon:hover { background: #f0f2f5; }
.radio-row { display: flex; gap: 16px; font-size: 13.5px; }
.radio-row label { display: flex; gap: 6px; align-items: center; font-weight: 500; }
.radio-row input { width: auto; }
.modal-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }

.site-footer { text-align: center; color: var(--text-2); font-size: 12px; padding: 22px 16px 30px; }

/* -------------------------------------------------------------- Duyarlı */
@media (max-width: 1180px) {
  .layout { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .p-sidebar { display: none; }
  .tb-search { display: none; }
  .tb-account { display: none; }
  .tb-tabs { display: none; }
  .checks-grid { grid-template-columns: 1fr; }
  .sim-brand small { display: none; }
}
