/* BusinessUp! renkleri (referans: businessup.com.tr/pages/seo-ajansi) — yalnızca açık tema */
:root {
  --ink: #10221F;          /* koyu yeşil: header, başlıklar */
  --forest: #1F4A42;       /* vurgu yeşili: linkler */
  --lime: #E0FE95;         /* marka vurgusu */
  --lime-deep: #C9EE6A;
  --cream: #F8F9F3;        /* sayfa zemini */
  --surface: #FFFFFF;
  --text: #10221F;
  --muted: #5B6B67;
  --line: #E3E7DD;
  --soft: #EEF1E8;
  /* --good ve --mid 12px/600 metin olarak kendi tonlarinin uzerinde kullaniliyor (.cell__label,
     .pill), yani WCAG icin 4,5:1 gerekiyor. Olculen eski degerler: --good 4,40:1 ve --mid 3,93:1 --
     ikisi de esigin ALTINDA. --mid ayrica .chip.warn'da dolgu ve uzerindeki beyaz metin 4,44:1'de
     kaliyordu. Yeni degerler ayni renk aileside, sadece koyu: --good 5,23:1 (dolguda beyaz 5,99:1),
     --mid 5,11:1 (dolguda beyaz 5,78:1). --bad dokunulmadi, 4,54:1 ve 5,44:1 ile geciyor.
     Bu rozet artik herkese acik raporda bulgunun onemini TASIYAN tek renk-disi ogenin zemini. */
  --good: #2A7047;  --good-bg: #E5F3E9;
  --mid: #8F5A00;   --mid-bg: #FBF0D9;
  --bad: #C0392B;   --bad-bg: #FBE6E3;
  --na: #7A8582;
  /* eski sınıflar için takma adlar */
  --bg: var(--cream); --border: var(--line); --accent: var(--forest); --accent-text: #fff;
  --pass: var(--good); --warn: var(--mid); --fail: var(--bad);
  --bar-bg: var(--soft); --code-bg: #F3F5EE; --on-status: #fff;
  --p0: var(--bad); --p1: var(--mid); --p2: var(--forest); --p3: var(--na); --up: var(--good); --down: var(--bad);
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font: 17px/1.55 "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--forest); }
em { font-family: "Fraunces", "Times New Roman", serif; font-style: italic; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.error { color: var(--bad); font-weight: 600; margin: 12px 0 0; min-height: 1em; }

/* ---------- Header (referansla aynı) ---------- */
.site-header { background: var(--ink); color: var(--cream); border-bottom: 1px solid rgba(248,249,243,.12); position: relative; z-index: 10; }
.site-header__inner { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { font-size: 30px; font-weight: 300; letter-spacing: -1px; color: var(--cream); text-decoration: none; line-height: 1; }
.logo b { font-weight: 700; }
.menu { justify-self: start; position: relative; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--cream); }
.menu summary::-webkit-details-marker { display: none; }
.burger { display: inline-flex; flex-direction: column; gap: 4px; }
.burger i { display: block; width: 18px; height: 1.5px; background: currentColor; }
.menu__panel { position: absolute; top: calc(100% + 14px); left: 0; min-width: 230px; background: var(--surface); border-radius: 12px; padding: 8px; box-shadow: 0 18px 40px rgba(16,34,31,.18); }
.menu__panel a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.menu__panel a:hover { background: var(--soft); }
.talk { justify-self: end; display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border: 1.5px solid var(--lime); border-radius: 9px; color: var(--cream); text-decoration: none; font-size: 15px; font-weight: 600; transition: background .2s, color .2s; }
.talk:hover { background: var(--lime); color: var(--ink); }
@media (max-width: 640px) {
  .site-header__inner { padding: 14px 16px; }
  .logo { font-size: 24px; }
  .menu summary { font-size: 0; gap: 0; }
  .talk { padding: 7px 11px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--cream); }
.hero__inner { max-width: 1000px; margin: 0 auto; padding: 88px 24px 104px; text-align: center; }
.eyebrow { display: inline-block; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px; background: rgba(224,254,149,.12); color: var(--lime); font-size: 14px; font-weight: 500; letter-spacing: .3px; }
.eyebrow--dark { background: var(--ink); color: var(--lime); margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.04; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 22px; }
.hero h1 em { color: var(--lime); }
.hero__sub { max-width: 620px; margin: 0 auto 38px; font-size: 19px; font-weight: 300; color: rgba(248,249,243,.78); }
form.scan { display: flex; gap: 8px; max-width: 620px; margin: 0 auto; padding: 8px; background: var(--cream); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
form.scan input { flex: 1 1 auto; min-width: 0; padding: 14px 16px; font: inherit; font-size: 18px; border: 0; background: transparent; color: var(--ink); outline: none; }
form.scan input::placeholder { color: #6F7A76; }
form.scan button { flex: 0 0 auto; padding: 14px 24px; font: inherit; font-size: 17px; font-weight: 600; border: 0; border-radius: 10px; background: var(--lime); color: var(--ink); cursor: pointer; transition: background .2s; }
form.scan button:hover { background: var(--lime-deep); }
form.scan button:disabled, form.scan input:disabled { cursor: wait; opacity: .7; }
.hero .error { color: #FFB4A8; }
.hero h1, .report-hero h1, .panel h2 { text-wrap: balance; }
.hero__inner { transition: padding .5s ease; }
body.is-scanning .hero__inner { padding-top: 40px; padding-bottom: 44px; }
body.is-scanning .hero h1 { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 18px; }
body.is-scanning .hero__sub, body.is-scanning .hero .eyebrow { display: none; }
body.is-scanning .page { padding-top: 36px; }
@media (max-width: 560px) {
  .hero__inner { padding: 56px 16px 64px; }
  form.scan { flex-direction: column; }
  form.scan button { width: 100%; }
}

/* ---------- Analiz adımları ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 56px 16px 80px; }
.steps-head { text-align: center; margin-bottom: 28px; }
.steps-head h2 { font-size: 32px; font-weight: 500; letter-spacing: -.8px; margin: 0 0 6px; word-break: break-word; }
.steps-head p { margin: 0; }
.steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.step { display: grid; grid-template-columns: 40px 1fr 28px; gap: 14px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); color: #6F7A76; transition: background .35s, border-color .35s, color .35s, transform .35s; }
.step__num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--soft); color: #6F7A76; transition: inherit; }
.step__body strong { display: block; font-weight: 600; font-size: 17px; }
.step__body small { display: block; font-size: 14px; margin-top: 2px; }
.step__state { width: 24px; height: 24px; border-radius: 50%; }
.step.is-active { background: var(--lime); border-color: var(--lime-deep); color: var(--ink); transform: scale(1.015); animation: blink 1.1s ease-in-out infinite; }
.step.is-active .step__num { background: var(--ink); color: var(--lime); }
.step.is-active .step__state { border: 3px solid rgba(16,34,31,.2); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.step.is-done { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.step.is-done small { color: rgba(248,249,243,.6); }
.step.is-done .step__num { background: rgba(224,254,149,.15); color: var(--lime); }
.step.is-done .step__state { background: var(--lime); position: relative; }
.step.is-done .step__state::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.step.is-error { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }
.step.is-error .step__num { background: var(--bad); color: #fff; }
@keyframes blink { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,238,106,.0); background: var(--lime); } 50% { box-shadow: 0 0 0 7px rgba(201,238,106,.35); background: #EEFFC4; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .step.is-active, .step.is-active .step__state { animation: none; } }

/* ---------- Genel bileşenler (teknik bölüm ve görünürlük formu) ---------- */
button, .btn {
  display: inline-block; padding: 11px 18px; font: inherit; font-size: 15px; font-weight: 600; border-radius: 9px;
  border: 1.5px solid var(--ink); background: var(--ink); color: var(--cream); cursor: pointer; text-decoration: none;
}
.btn.secondary { background: transparent; color: var(--ink); }
button:disabled { opacity: .6; cursor: wait; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.progress { margin-top: 16px; display: none; }
.progress.show { display: block; }
.bar { height: 10px; background: var(--bar-bg); border-radius: 6px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--forest); width: 0; transition: width .4s; }
.cat { display: grid; grid-template-columns: 240px 1fr 56px; gap: 12px; align-items: center; margin: 8px 0; font-size: 15px; }
.cat .bar { height: 12px; }
.cat.pending { opacity: .55; }
@media (max-width: 600px) { .cat { grid-template-columns: 1fr 48px; } .cat .bar { grid-column: 1 / -1; order: 3; } }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
td.url, span.url, li.url { word-break: break-all; }
.chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--on-status); white-space: nowrap; }
.chip.pass { background: var(--good); } .chip.warn { background: var(--mid); } .chip.fail { background: var(--bad); }
.chip.na, .chip.error { background: var(--na); }
details summary { cursor: pointer; color: var(--forest); font-size: 14px; }
pre { background: var(--code-bg); padding: 10px; border-radius: 8px; overflow-x: auto; font-size: 12px; max-height: 360px; }
.snippet { margin: 8px 0; }
.snippet-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.snippet pre { margin: 0; white-space: pre-wrap; word-break: break-word; }
button.copy { padding: 4px 10px; font-size: 12px; }
.conf { font-weight: 700; }
.conf.high { color: var(--good); } .conf.medium { color: var(--mid); } .conf.low { color: var(--bad); }
.delta.up { color: var(--good); font-weight: 700; }
.delta.down { color: var(--bad); font-weight: 700; }
.vis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; }
.metric { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.metric-val { font-size: 26px; font-weight: 600; line-height: 1.2; }
.vis-answer { border-top: 1px solid var(--line); padding: 10px 0; }
.vis-answer .chip { margin-right: 4px; }
.vis-form { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 4px; }
.vis-form label { cursor: pointer; }
.vis-engines { margin: 10px 0; }
.vis-form textarea { width: 100%; margin: 6px 0 10px; padding: 10px 12px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
ul.signals { margin: 0; padding-left: 20px; }

.site-footer { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 16px 40px; }

/* ================= Rapor: Skor panosu (0.5.0 sunum katmanı) ================= */
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; border-radius: 6px; }
.is-report { font-size: 16px; }
.rp, .wo { max-width: 1280px; margin: 0 auto; padding: 28px 32px 72px; }
.rp h1, .wo h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; margin: 4px 0 10px; text-wrap: balance; }
.rp h2, .wo h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.rp h2 em, .rp h1 em, .wo h1 em { color: var(--forest); }
.rp-meta { margin: 0; font-size: 14px; color: var(--muted); }
.rp-lead { margin: 0; max-width: 68ch; color: #2F433F; font-size: 17px; }
.url { word-break: break-all; }
.rp-top, .wo-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 24px; }
.rp-top__aside, .wo-top__aside { text-align: right; flex: 0 0 auto; }
.rp-top__aside p { margin: 0 0 12px; font-size: 14px; }
.rp-top__aside .actions, .wo-top__aside .actions { justify-content: flex-end; }
.btn--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-deep); border-color: var(--lime-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--line { background: transparent; color: var(--lime); border-color: rgba(224,254,149,.6); }
.btn--line:hover { background: rgba(224,254,149,.1); }
.alert { display: flex; gap: 14px; padding: 14px 18px; border-radius: var(--radius); background: var(--bad-bg); color: #7A2017; margin: 0 0 18px; font-size: 15px; }
.alert b { color: var(--bad); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

.rp-board { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.rp-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* üç skor */
.dials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dial { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.dial__ring { width: 84px; height: 84px; transform: rotate(-90deg); }
.dial__ring circle { fill: none; stroke-width: 9; }
.dial__track { stroke: var(--soft); }
.dial__val { stroke-linecap: round; stroke: var(--forest); }
.dial__val--semantic { stroke: #3E7A6B; }
.dial--not_run .dial__track, .dial--not_measured .dial__track, .dial--not_in_version .dial__track,
/* running/capped: measured-looking is exactly what they must NOT look like. Same dashed,
   greyed treatment as the other unmeasured states - the number is –, not 0. */
.dial--running .dial__track, .dial--capped .dial__track { stroke-dasharray: 3 5; stroke: #C7CEC4; }
.dial__num { position: absolute; left: 18px; top: 50%; width: 84px; transform: translateY(-50%); text-align: center; font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dial--not_run .dial__num, .dial--not_measured .dial__num, .dial--not_in_version .dial__num,
.dial--running .dial__num, .dial--capped .dial__num { color: var(--na); }
.dial__body h3 { margin: 0; font-size: 16px; font-weight: 600; }
.dial__body p { margin: 2px 0 0; font-size: 14px; }
.dial__desc { color: var(--muted); font-size: 13px !important; }
.dials__note { margin: -6px 0 0; font-size: 13px; color: var(--muted); max-width: 90ch; }
.dial__body h3 { line-height: 1.25; }

/* sekiz alan ısı şeridi */
.strip, .findings, .rp-sec { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.strip__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.strip__head p { margin: 0; font-size: 14px; }
.strip__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.cell { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px; align-items: end; min-height: 76px; padding: 12px; border-radius: 12px; border: 1.5px solid transparent; text-align: left; font: inherit; cursor: pointer; color: var(--ink); transition: border-color .15s, transform .15s; }
.cell:hover { transform: translateY(-1px); border-color: currentColor; }
.cell[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 6px 16px rgba(16,34,31,.12); }
.cell__name { font-size: 14px; font-weight: 500; line-height: 1.25; }
.cell__score { grid-row: 1 / span 2; grid-column: 2; font-size: 30px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.cell__label { font-size: 12px; font-weight: 600; }
.cell--good { background: var(--good-bg); } .cell--good .cell__label { color: var(--good); }
.cell--mid { background: var(--mid-bg); } .cell--mid .cell__label { color: var(--mid); }
.cell--bad { background: var(--bad-bg); } .cell--bad .cell__label { color: var(--bad); }
.cell--na { background: var(--soft); color: var(--na); }

/* bulgular */
.findings__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chipf { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 500; }
.chipf span { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 2px; }
.chipf:hover { border-color: var(--ink); }
.chipf.is-on { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.chipf.is-on span { color: rgba(224,254,149,.75); }
.findings__filtered { margin: 4px 0 0; }
.fgroup { margin-top: 14px; }
.fgroup[hidden] { display: none; }
.fgroup__title { font-size: 15px; font-weight: 600; margin: 0 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.fgroup__title .muted { font-weight: 400; }
.frows { list-style: none; margin: 0; padding: 0; }
.frow { border-bottom: 1px solid var(--soft); }
.frow[hidden] { display: none; }
.frow > details > summary { list-style: none; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 52px; gap: 12px; align-items: center; padding: 10px 2px; color: var(--ink); font-size: 15px; }
.frow > details > summary::-webkit-details-marker { display: none; }
.frow > details > summary:hover .frow__title { text-decoration: underline; text-underline-offset: 3px; }
.frow__id { font-weight: 600; font-variant-numeric: tabular-nums; }
.frow__score { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.frow__body { padding: 0 2px 14px 64px; font-size: 15px; }
.frow__body p { margin: 0 0 6px; max-width: 75ch; }
.frow__fix a { font-weight: 600; }
.frow__ev summary { font-size: 13px; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill.good { background: var(--good-bg); color: var(--good); }
.pill.mid { background: var(--mid-bg); color: var(--mid); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.na { background: var(--soft); color: #5F6B68; }

/* sağ panel */
.rp-side { position: sticky; top: 16px; background: var(--ink); color: var(--cream); border-radius: 18px; padding: 22px; }
.rp-side h2 { font-size: 22px; font-weight: 500; margin-bottom: 14px; }
.rp-side h2 em { color: var(--lime); }
.side-tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.side-task { display: block; padding: 14px; border-radius: 14px; background: rgba(248,249,243,.07); color: var(--cream); text-decoration: none; transition: background .15s; }
.side-task:hover { background: rgba(248,249,243,.13); }
.side-task b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.side-task small { display: block; margin-top: 4px; color: #C3CEC9; font-size: 13px; }
.side-note { margin: 14px 0 0; font-size: 13px; color: #C3CEC9; }
.side-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.side-actions .btn { text-align: center; }
.side-cta { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(248,249,243,.14); font-size: 14px; }
.side-cta p { margin: 0 0 8px; color: #DCE3DF; }
.side-cta a { color: var(--lime); font-weight: 600; text-underline-offset: 3px; }

/* alt bölümler */
.rp-sec { margin-top: 20px; }
.rp-sec > h2 { margin-bottom: 4px; }
.rp-sec > .lead { color: var(--muted); margin: 0 0 16px; max-width: 75ch; }
.rp-sec--compact p { margin: 6px 0; }
.dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dim { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.dim__top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.dim__top b { font-variant-numeric: tabular-nums; }
.dim p { margin: 8px 0 0; }
.meter { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; margin-top: 10px; }
.meter span { display: block; height: 100%; border-radius: 99px; }
.meter--good span { background: var(--good); } .meter--mid span { background: var(--mid); } .meter--bad span { background: var(--bad); }
.site-type-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.site-type-form select { font: inherit; font-size: 15px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); }

/* teknik detaylar */
.tech { margin-top: 20px; }
.tech > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; font-size: 18px; font-weight: 600; color: var(--ink); }
.tech > summary::-webkit-details-marker { display: none; }
.tech > summary::after { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2310221F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.tech[open] > summary { margin-bottom: 14px; }
.tech[open] > summary::after { transform: rotate(180deg); }
.tech .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 12px; }
.tech h2 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.tech h3 { font-size: 15px; font-weight: 600; margin: 16px 0 6px; }
.layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.vis-grid .metric-val, .cat, table td { font-variant-numeric: tabular-nums; }

/* yapılacaklar (iş emri) */
.wo-counts { list-style: none; margin: 0 0 12px; padding: 0; display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; font-size: 14px; }
.wo-counts b { font-variant-numeric: tabular-nums; }
.wo-group { margin-top: 26px; }
.wo-group > p { margin: 2px 0 12px; font-size: 14px; }
.wo-task { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; scroll-margin-top: 16px; }
.wo-task:target { border-color: var(--ink); box-shadow: 0 8px 22px rgba(16,34,31,.12); }
.wo-task__head { display: flex; gap: 12px; align-items: baseline; }
.wo-task__head h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.wo-task__id { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--forest); font-variant-numeric: tabular-nums; }
.wo-task__why { margin: 6px 0 10px; color: #3B4F4A; max-width: 75ch; }
.wo-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.wo-meta b { color: var(--ink); font-weight: 600; }
.wo-steps { margin-top: 12px; }
.wo-steps > summary { font-weight: 600; font-size: 14px; }
.guide { display: grid; grid-template-columns: minmax(160px, 230px) 1fr; gap: 8px 18px; margin: 12px 0; font-size: 15px; }
.guide { counter-reset: g; }
.guide dt { font-weight: 600; counter-increment: g; }
.guide dt::before { content: counter(g) ". "; }
.wo-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 75ch; }
.talk__plus { flex: 0 0 auto; }
.guide dd { margin: 0; max-width: 75ch; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.box { display: none; flex: 0 0 auto; width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 3px; }
.box--sm { width: 12px; height: 12px; margin: 5px 10px 0 0; }
.wo-sign { display: none; }

@media (max-width: 1100px) {
  .rp-board { grid-template-columns: 1fr; }
  .rp-main { display: contents; }
  .dials { order: 1; } .dials__note { order: 2; } .strip { order: 3; } .rp-side { order: 4; } .findings { order: 5; }
  .rp-side { position: static; }
  .dims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rp, .wo { padding: 20px 16px 56px; }
  .rp-top, .wo-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .rp-top__aside, .wo-top__aside { text-align: left; }
  .rp-top__aside .actions, .wo-top__aside .actions, .wo-counts { justify-content: flex-start; }
  .dials { grid-template-columns: 1fr; gap: 8px; }
  .dial { grid-template-columns: 56px 1fr; padding: 12px 14px; gap: 12px; border-radius: 14px; }
  .dial__ring { width: 56px; height: 56px; }
  .dial__num { width: 56px; left: 14px; font-size: 22px; }
  .strip__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell { min-height: 72px; }
  .frow > details > summary { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .frow__score { display: none; }
  .frow__body { padding-left: 0; }
  .dims { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; }
  .strip, .findings, .rp-sec { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cell, .tech > summary::after { transition: none; } }

/* ================= PDF (A4, Playwright) ================= */
body.pdf { font-size: 13px; background: #fff; }
body.pdf * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
body.pdf .no-pdf, body.pdf button.copy, body.pdf .menu, body.pdf .talk { display: none !important; }
body.pdf .site-header__inner { padding: 10px 0; grid-template-columns: 1fr; justify-items: start; }
body.pdf .logo { font-size: 22px; }
body.pdf .rp, body.pdf .wo { padding: 14px 0 0; max-width: none; }
body.pdf .rp h1, body.pdf .wo h1 { font-size: 26px; }
body.pdf .rp-lead { font-size: 13px; }
/* A4 is narrower than the tablet breakpoint: keep the screen's board arrangement on paper */
body.pdf .rp-board { grid-template-columns: 1fr; gap: 12px; }
body.pdf .rp-main { display: contents; }
body.pdf .dials { order: 1; } body.pdf .dials__note { order: 2; } body.pdf .strip { order: 3; } body.pdf .rp-side { order: 4; } body.pdf .findings { order: 5; }
body.pdf .rp-top { flex-direction: row; align-items: flex-end; }
body.pdf .rp-top__aside { text-align: right; }
body.pdf .dials { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.pdf .strip__cells { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
body.pdf .cell__name { font-size: 12px; }
body.pdf .cell__label { font-size: 11px; }
body.pdf .dims { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.pdf .frow > details > summary { grid-template-columns: 40px minmax(0, 1fr) auto 40px; }
body.pdf .frow__score { display: block; }
body.pdf .wo-top { flex-direction: row; align-items: flex-end; }
body.pdf .wo-top__aside { text-align: right; }
body.pdf .rp-side { position: static; }
body.pdf .side-tasks { flex-direction: row; }
body.pdf .side-tasks li { flex: 1; }
body.pdf .dial { padding: 10px; grid-template-columns: 54px 1fr; gap: 10px; }
body.pdf .dial__ring { width: 54px; height: 54px; }
body.pdf .dial__num { width: 54px; left: 10px; font-size: 21px; }
body.pdf .dial__body h3 { font-size: 12.5px; }
body.pdf .dial__body p { font-size: 11.5px; }
body.pdf .dial__desc { font-size: 11px !important; }
body.pdf .cell { min-height: 54px; padding: 8px 10px; }
body.pdf .cell__score { font-size: 22px; }
body.pdf .strip, body.pdf .findings, body.pdf .rp-sec, body.pdf .tech .card, body.pdf .wo-task { padding: 12px 14px; border-radius: 10px; }
body.pdf .frow > details > summary { padding: 6px 0; font-size: 12.5px; }
body.pdf .frow__body { padding: 0 0 8px 52px; font-size: 12px; }
body.pdf .tech > summary { padding: 10px 14px; font-size: 15px; }
body.pdf .tech > summary::after { display: none; }
body.pdf pre { max-height: none; overflow: visible; white-space: pre-wrap; word-break: break-word; font-size: 11px; }
body.pdf .guide { font-size: 12px; grid-template-columns: 150px 1fr; }
body.pdf .box { display: inline-block; }
body.pdf .wo-task__head .box { transform: translateY(2px); }
body.pdf .wo-steps > summary { display: none; }
body.pdf .wo-sign { display: block; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--muted); }
body.pdf .wo-sign span { display: inline-block; width: 120px; border-bottom: 1px solid #9AA6A2; margin: 0 14px 0 4px; }
/* sayfa sonları: büyük bloklar bölünebilir, küçük birimler bütün kalır */
body.pdf h2, body.pdf h3, body.pdf .fgroup__title, body.pdf dt { break-after: avoid; }
body.pdf .dial, body.pdf .cell, body.pdf .frow, body.pdf .frow summary, body.pdf .dim, body.pdf tr, body.pdf .side-task, body.pdf .wo-task__head, body.pdf .wo-meta, body.pdf .snippet-head { break-inside: avoid; }
body.pdf .strip, body.pdf .rp-side, body.pdf .findings, body.pdf details { break-inside: auto; }
body.pdf .findings { padding-top: 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
body.pdf .rp-side { padding: 14px 16px; }
body.pdf .rp-side h2 { margin-bottom: 8px; }
body.pdf .tech .card { margin-bottom: 8px; }
body.pdf .rp-sec { margin-top: 12px; }
body.pdf .wo-task { break-inside: auto; }
body.pdf .site-footer { display: none; }
/* PDF page 1 density: the first finding row must fit under the ink band */
body.pdf .rp-top { margin-bottom: 12px; }
body.pdf .dials__note { margin: -4px 0 0; font-size: 11px; }
body.pdf .strip { padding: 10px 14px; }
body.pdf .strip__cells { margin-top: 8px; }
body.pdf .cell { min-height: 46px; padding: 6px 10px; }
body.pdf .side-task { padding: 10px 12px; }
body.pdf .side-note { margin-top: 8px; }

/* ---------- Revizyon 1: kontrol kartı ---------- */
.only-issues { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
.only-issues input { width: 16px; height: 16px; accent-color: var(--ink); }
.ccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 10px 0; }
.ccard[hidden] { display: none; }
.ccard__head { list-style: none; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; grid-template-rows: auto auto;
  column-gap: 12px; row-gap: 8px; align-items: start; padding: 14px 16px 12px; cursor: pointer; color: var(--ink); }
.ccard__head::-webkit-details-marker { display: none; }
/* A head whose FIRST child is the title - no status dot - used to drop the title into the 14px
   dot column, where it wrapped one word per line. Measured live on /rapor/<alanadi>: the locked
   card, the one sentence that sells the detailed report, was rendering 14px wide. Pre-existing;
   found while adding the free finding sample next to it. */
.ccard__head > .ccard__title:first-child { grid-column: 2; }
/* A card with no <details> to open: the shared .ccard__head sets cursor:pointer, which on a static
   card promises a disclosure that is not there. Used by the public report's free finding sample.
   grid-template-rows: the shared rule declares two rows for .ccard__meter, which a static card does
   not have; the empty second row collapses but its 8px row-gap does not, leaving the three cards
   visibly bottom-heavy. */
.ccard--static > .ccard__head { cursor: default; grid-template-rows: auto; }
.pcards { list-style: none; margin: 0; padding: 0; }
h3.ccard__name { margin: 0; }
/* The summary line prints addresses ("… örnek: https://… yalnızca 40 kelime"), and a long slug
   cannot break on its own: on a 360px screen it pushed out of the card and opened a horizontal
   scroll on the whole page. The team report's .mk__url already carries this for the same reason. */
.ccard__summary { overflow-wrap: anywhere; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; background: var(--na); }
.dot--good { background: var(--good); } .dot--mid { background: var(--mid); } .dot--bad { background: var(--bad); }
.ccard__title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ccard__name { font-size: 17px; font-weight: 600; line-height: 1.3; }
.ccard__summary { font-size: 14px; color: var(--muted); line-height: 1.45; }
.ccard__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ccard__code { font-size: 12px; color: var(--na); font-variant-numeric: tabular-nums; }
.ccard__score { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }
.ccard__score small { font-size: 13px; color: var(--muted); font-weight: 400; }
.ccard__meter { grid-column: 2 / -1; margin-top: 0; height: 6px; }
.ccard__meter.meter--na span { background: var(--na); }
.ccard__body { padding: 0 16px 14px 42px; font-size: 15px; }
.ccard__body p { max-width: 78ch; }
.ccard__measures { margin: 0 0 10px; padding: 8px 12px; background: var(--soft); border-radius: 8px; color: var(--muted); font-style: italic; }
.ccard__measures em { font-style: italic; color: var(--ink); }
.ccard__items { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.mk { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; }
.mk__icon { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; border: 1.5px solid currentColor; margin-top: 2px; }
.mk--ok .mk__icon { color: var(--good); } .mk--bad .mk__icon { color: var(--bad); } .mk--warn .mk__icon { color: var(--mid); }
.mk--more .mk__icon, .mk--na .mk__icon { color: var(--na); border-style: dashed; }
.mk__text { margin: 0; overflow-wrap: anywhere; }
.mk__why { margin: 2px 0 0; color: var(--muted); font-style: italic; font-size: 14px; }
.mk__url { margin: 2px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.ccard__how { margin: 0 0 8px; }
.ccard__detail { margin: 0 0 10px; font-weight: 500; }
.ccard__todo { margin: 0 0 8px; font-size: 14px; }
.ccard__foot { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--soft); font-size: 14px; color: var(--muted); }

/* ---------- Kod üretimi sekmeleri ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 12px 0 14px; overflow-x: auto; }
.tab { padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: 15px;
  font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.tabpanel[hidden] { display: none; }
.gcard, .meta-alt { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; background: var(--surface); }
.gcard__head, .meta-alt__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 6px; }
.gcard pre, .meta-alt pre, .ba pre { margin: 0; white-space: pre-wrap; word-break: break-word; background: var(--code-bg); padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.counter { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--good); }
.counter.over { color: var(--bad); font-weight: 600; }
.plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan__day { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.plan__num { display: flex; flex-direction: column; align-items: center; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.plan__num b { font-size: 22px; color: var(--ink); letter-spacing: 0; }
.plan__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.plan__body p { margin: 4px 0 0; }

/* ---------- Todo kartı ---------- */
.badges { list-style: none; margin: 8px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink); white-space: nowrap; }
.badge--high { background: var(--bad-bg); color: var(--bad); }
.badge--medium { background: var(--mid-bg); color: var(--mid); }
.badge--low { background: var(--good-bg); color: var(--good); }
.badge--gain { background: var(--ink); color: var(--lime); }
.tcard { margin: 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 10px 16px; font-size: 15px; }
.tcard dt { font-weight: 600; color: var(--ink); }
.tcard dd { margin: 0; max-width: 80ch; }
.tcard__urls, .tcard__steps { margin: 0; padding-left: 20px; }
.tcard__urls { list-style: none; padding-left: 0; }
.tcard__urls li, .tcard__steps li { margin-bottom: 4px; overflow-wrap: anywhere; }
.ba { display: grid; gap: 6px; }
.ba__row { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 8px; align-items: start; }
.ba__label { font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 4px 6px; border-radius: 6px; text-align: center; }
.ba__label--before { background: var(--bad-bg); color: var(--bad); }
.ba__label--after { background: var(--good-bg); color: var(--good); }
.ba .copy { justify-self: start; }
@media (max-width: 700px) {
  .ccard__head { grid-template-columns: 14px minmax(0, 1fr); }
  .ccard__right { grid-column: 2; justify-content: flex-start; }
  .ccard__body { padding-left: 16px; }
  .tcard { grid-template-columns: 1fr; gap: 4px; }
  .tcard dd { margin-bottom: 8px; }
}
body.pdf .ccard { break-inside: avoid; }
body.pdf .tabpanel { display: block !important; margin-bottom: 14px; }
body.pdf .tcard { grid-template-columns: 150px 1fr; font-size: 12.5px; }

/* ---- v2 madde 14: herkese açık rapor ----
   Bu stil dosyası ekip raporu için yazıldı; herkese açık sayfa aynı sınıfları kullanıyor ama
   yan kolonu, tıklanabilir hücreleri ve bulgu listesi yok. Kapsanmış kurallar, ekip sayfasına
   dokunmadan o üç farkı düzeltir. */

/* Yan kolon yok: ikinci track açıkça 360px tanımlı olduğu için içerik olmasa da yer ayrılıyor
   ve 1100px üstünde sağda yarım ekran boş kalıyordu ("sayfa yüklenmedi" gibi okunuyor). */
body.is-public .rp-board { grid-template-columns: minmax(0, 1fr); }

/* Hücreler artık <div>: imleç parmağa dönüp hover'da zıplamaları, karşılığı olmayan bir
   tıklanabilirlik vaadiydi. */
body.is-public .cell { cursor: default; grid-template-rows: auto auto auto; }
body.is-public .cell:hover { transform: none; border-color: transparent; }
/* Alanın ölçtüğü şey yalnız title="" içindeydi, yani dokunmatikte ve klavyede hiç okunamıyordu —
   oysa "sekiz sorudan hangisinde kaybediyorum" ücretsiz tarafın en değerli bilgisi. */
body.is-public .cell__q { grid-column: 1 / -1; grid-row: 3; font-size: 12px; line-height: 1.35;
  font-weight: 300; opacity: .85; margin-top: 2px; }

/* Bilgi şeridi ile kritik engel aynı kırmızı kutuydu: önbellekten dönen kullanıcının gördüğü ilk
   şey "analiz başarısız oldu" gibi okunuyor, gerçek engelle bilgi notu da eşitleniyordu. */
.alert--info { background: var(--soft); color: var(--ink); }
.alert--info b { color: var(--ink); }

/* ---- v2 madde 15: "Uzmanla Görüşün" formu ---- */
.lead { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 0; }
.lead h3 { margin: 0; font-size: 18px; font-weight: 500; }
.lead__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lead label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; }
.lead input[type="text"], .lead input[type="email"], .lead input[type="tel"], .lead textarea {
  font: inherit; font-weight: 300; padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: 8px; background: #fff; color: var(--ink); min-height: 44px; }
.lead textarea { min-height: 84px; resize: vertical; }
.lead input:focus-visible, .lead textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.lead__consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 300;
  font-size: 13px; line-height: 1.5; }
/* Dokunma hedefi: onay kutusu mobilde parmakla isabet edilebilir kalmalı. */
.lead__consent input { width: 22px; height: 22px; margin-top: 1px; flex: 0 0 auto; }
.lead__ok { background: var(--good-bg); color: var(--good); border-radius: 8px; padding: 12px 14px;
  font-weight: 500; margin: 0; }
/* Honeypot: ekranda yok ama display:none DEĞİL — bazı botlar gizli alanları atlıyor.
   base.css benzeri :empty kuralları yok, o yüzden konum taşımak güvenli. */
.lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 749px) { .lead__grid { grid-template-columns: 1fr; } }
/* Etiketler ve KVKK cümlesi 13px'ti: gövdesi 17px olan bir sayfada en önemli cümle en küçük
   puntodaydı, telefonda güneş altında okunmuyordu. */
.lead label { font-size: 14px; }
.lead__consent { font-size: 14px; }
/* Panelde yan yana duran tek düğmelik formlar */
.inline-form { display: inline; }
