/* cemgoksu.com.tr — ön yüz stilleri */

:root {
  --paper: #F6F6F3;
  --surface: #FFFFFF;
  --ink: #15171C;
  --ink-2: #353944;
  --muted: #5D6370;
  --line: #E3E3DD;
  --line-strong: #CFCFC7;
  --accent: #2B44E8;
  --accent-ink: #FFFFFF;
  --accent-soft: #E8EBFD;
  --ok: #16A34A;
  --err: #C62828;
  --code-bg: #14161B;
  --bar-bg: #15171C; --bar-ink: #FFFFFF; --bar-muted: #A9AEBB; --bar-accent: #6F82FF;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1120px;
  --narrow: 700px;
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F1115; --surface: #171A20; --ink: #ECEDEF; --ink-2: #C9CCD3; --muted: #959AA6;
    --line: #262A32; --line-strong: #353A44; --accent: #8C9BFF; --accent-ink: #0F1115; --accent-soft: #1D2236;
    --code-bg: #0A0B0E; --bar-bg: #171A20; --bar-ink: #ECEDEF; --bar-muted: #959AA6; --bar-accent: #8C9BFF; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F1115; --surface: #171A20; --ink: #ECEDEF; --ink-2: #C9CCD3; --muted: #959AA6;
  --line: #262A32; --line-strong: #353A44; --accent: #8C9BFF; --accent-ink: #0F1115; --accent-soft: #1D2236;
  --code-bg: #0A0B0E; --bar-bg: #171A20; --bar-ink: #ECEDEF; --bar-muted: #959AA6; --bar-accent: #8C9BFF; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 650; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: var(--f-mono); }
.ic { flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: var(--r-sm); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: calc(var(--narrow) + 48px); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1.2 var(--f-body); cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-lg { padding: 13px 22px; font-size: 16px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: #15171C; }
.btn-light:hover { background: var(--paper); color: #15171C; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }


/* ---------- Blog başlığı ---------- */
#themeToggle .ic:last-child { display: none; }
[data-theme="dark"] #themeToggle .ic:first-child { display: none; }
[data-theme="dark"] #themeToggle .ic:last-child { display: block; }

.blog-header { background: var(--paper); }
.header-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 44px; padding-bottom: 28px; }
.blog-title {
  display: inline-block; margin: 0; color: var(--ink);
  font: 750 clamp(2.4rem, 6vw, 4.1rem)/0.95 var(--f-display); letter-spacing: -0.045em;
  font-variation-settings: "opsz" 96;
}
.blog-title a { color: inherit; }
a.blog-title:hover, .blog-title a:hover { color: var(--ink); }
.blog-desc { margin: 12px 0 0; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.header-tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.header-tools .icon-btn { width: 36px; height: 36px; }

.tabs-bar { position: sticky; top: 0; z-index: 40; background: var(--bar-bg); color: var(--bar-ink); }
.tabs-inner { display: flex; align-items: center; gap: 16px; min-height: 52px; }
.nav-tabs { display: flex; align-items: stretch; gap: 2px; align-self: stretch; overflow-x: auto; scrollbar-width: none; }
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tabs a { display: flex; align-items: center; padding: 0 14px; font-size: .95rem; font-weight: 500; color: var(--bar-muted); white-space: nowrap; border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
.nav-tabs a:hover { color: var(--bar-ink); }
.nav-tabs a[aria-current="page"] { color: var(--bar-ink); border-bottom-color: var(--bar-accent); }
.tab-search { position: relative; margin-left: auto; flex: 0 1 240px; }
.tab-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--bar-muted); }
.tab-search input { width: 100%; font: inherit; font-size: .9rem; color: var(--bar-ink); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 7px 14px 7px 34px; }
.tab-search input::placeholder { color: var(--bar-muted); }
.tab-search input:focus { outline: none; border-color: var(--bar-accent); background: rgba(255,255,255,.12); }
.tabs-bar .menu-toggle { display: none; border-color: rgba(255,255,255,.2); color: var(--bar-ink); }

/* ---------- Blog düzeni ---------- */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.blog-main { min-width: 0; }

.status-msg { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 14px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: .95rem; margin-bottom: 8px; }
.status-msg a { color: var(--accent); font-weight: 500; }
.cat-intro { color: var(--ink-2); font-size: 1.05rem; margin: 18px 0 0; max-width: 62ch; }
.empty-state { padding: 48px 0; color: var(--muted); }

.entries { display: flex; flex-direction: column; }
.entry { padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.entries .entry:first-child { padding-top: 8px; }
.date-header { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 600 .9rem/1.3 var(--f-body); letter-spacing: 0; color: var(--muted); }
.date-header::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.entry + .entry .date-header { margin-top: 4px; }
.entry-title { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 12px; text-wrap: balance; }
.entry-title a:hover { color: var(--accent); }
.entry-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.entry .cover.wide { margin-bottom: 20px; }
.entry-snippet { color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; margin-bottom: 18px; max-width: 68ch; }
.read-more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .92rem; font-weight: 500; background: var(--surface); }
.read-more:hover { border-color: var(--accent); color: var(--accent); }

.blog-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.blog-pager a { color: var(--accent); font-weight: 500; }
.pager-older { text-align: right; }
.pager-home { color: var(--ink) !important; }
.feed-sub { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.feed-sub a { color: var(--accent); }

/* Yazı sayfası */
.entry.single { padding-top: 0; border-bottom: 0; }
.entry.single .entry-title { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 16px; }
.entry.single .date-header { margin-bottom: 20px; }
.entry-cover { margin: 0 0 28px; }
.entry-cover img { width: 100%; border-radius: var(--r-lg); max-height: 520px; object-fit: cover; }
.entry-lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); margin-bottom: 28px; max-width: 64ch; }
.entry-footer { margin-top: 48px; border-top: 1px solid var(--line); }
.entry-labels { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; font-size: .9rem; color: var(--muted); }
.entry-labels a { color: var(--accent); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.share > span { font-size: .9rem; font-weight: 500; margin-right: 6px; }
.related { margin-top: 40px; }

/* Kartlar ve kapaklar */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 500; font-size: .8rem; }
.tag:hover { background: var(--accent); color: var(--accent-ink); }
.cover { display: block; position: relative; overflow: hidden; border-radius: var(--r); background: var(--line); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.cover:hover img { transform: scale(1.03); }
.cover.wide { aspect-ratio: 2 / 1; border-radius: var(--r-lg); }
.cover.card { aspect-ratio: 16 / 10; }
.cover.mini { aspect-ratio: 1; border-radius: 10px; }
.cover-fallback { display: flex; flex-direction: column; justify-content: space-between; padding: 26px 28px; color: #fff; }
.cover-fallback .cf-label { font-size: .85rem; font-weight: 500; opacity: .85; }
.cover-fallback .cf-title { font: 700 clamp(1.4rem, 3vw, 2.3rem)/1.06 var(--f-display); letter-spacing: -0.035em; max-width: 20ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cover-fallback.card, .cover-fallback.mini { justify-content: center; align-items: center; text-align: center; padding: 10px; }
.cover-fallback.card .cf-title, .cover-fallback.mini .cf-title { display: none; }
.cover-fallback.card .cf-label { font: 650 1.2rem/1.15 var(--f-display); opacity: 1; letter-spacing: -0.01em; }
.cover-fallback.mini .cf-label { font-size: .62rem; line-height: 1.15; opacity: 1; font-weight: 600; }
.tone-0 { background: linear-gradient(135deg, #2B44E8, #6176FF); }
.tone-1 { background: linear-gradient(135deg, #15171C, #3C4152); }
.tone-2 { background: linear-gradient(135deg, #D9482F, #F2925F); }
.tone-3 { background: linear-gradient(135deg, #0B8A5F, #2FC48D); }
.tone-4 { background: linear-gradient(135deg, #5B2BD1, #9A7BF5); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card h3 { font-size: 1rem; line-height: 1.3; margin: 12px 0 6px; }
.post-card h3 a:hover { color: var(--accent); }

/* ---------- Yan sütun widget'ları ---------- */
.sidebar { display: flex; flex-direction: column; gap: 40px; }
.widget-title { font-size: 1.02rem; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); letter-spacing: -0.01em; }
.widget p { font-size: .94rem; color: var(--ink-2); margin: 0 0 10px; }
.widget-more { display: inline-block; margin-top: 10px; font-size: .9rem; color: var(--accent); font-weight: 500; }
.profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.profile-head div { display: flex; flex-direction: column; line-height: 1.3; }
.profile-head strong { font: 650 1.1rem var(--f-display); }
.profile-head div span { font-size: .88rem; color: var(--muted); }
.avatar-lg { display: grid; place-items: center; width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: #2B44E8; color: #fff; font: 700 22px/1 var(--f-display); }
.avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.profile-link { font-size: .9rem; color: var(--accent); font-weight: 500; }

.popular { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.popular li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; }
.popular-title { display: block; font-weight: 500; font-size: .94rem; line-height: 1.35; margin-bottom: 4px; }
.popular-title:hover { color: var(--accent); }
.popular .post-meta { font-size: .8rem; }

.label-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.label-list a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; background: var(--surface); }
.label-list a span { color: var(--muted); font-size: .82rem; }
.label-list a:hover { border-color: var(--accent); color: var(--accent); }

.side-news li { padding: 11px 0; }
.side-news li > a { font-size: .93rem; }
.tool-group-label { font-size: .82rem !important; color: var(--muted) !important; font-weight: 600; margin: 4px 0 2px !important; }
.tool-links { list-style: none; margin: 0 0 12px; padding: 0; }
.tool-links a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .93rem; }
.tool-links .ic { color: var(--accent); }

.archive, .archive ul { list-style: none; margin: 0; padding: 0; }
.archive summary { cursor: pointer; padding: 6px 0; font-weight: 600; font-size: .95rem; }
.archive summary span, .archive li a span { color: var(--muted); font-weight: 400; font-size: .85rem; }
.archive ul { padding-left: 18px; }
.archive ul a { display: block; padding: 5px 0; font-size: .93rem; }

.widget.follow { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.widget.follow .widget-title { border-bottom: 0; padding-bottom: 0; margin-bottom: 8px; }
.widget.follow .subscribe { flex-direction: column; }

/* ---------- Diğer sayfalar ---------- */
.section { padding: 72px 0; }
.section.tight { padding-top: 16px; }
.section.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: 1.4rem; }
.link-more { font-size: .95rem; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; white-space: nowrap; }
.link-more:hover { color: var(--ink); border-color: var(--ink); }
.service-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.page-head { padding: 48px 0 28px; }
.page-head.center { text-align: center; padding: 96px 0; }
.page-head.center .lead { margin-inline: auto; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; font-weight: 700; margin-bottom: 14px; }
.lead { font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-cta.center { justify-content: center; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cat-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--ink-2); background: var(--surface); }
.cat-pills a:hover { border-color: var(--ink); color: var(--ink); }
.cat-pills a.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.empty { padding: 48px 0; color: var(--muted); }
.alert { padding: 12px 16px; border-radius: 10px; background: var(--accent-soft); color: var(--ink); margin-bottom: 18px; font-size: .95rem; }
.source-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.source-list li { padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; }
.gundem-side { display: flex; flex-direction: column; gap: 36px; }
.feed.news li > a { font-size: 1.05rem; }
.feed-meta b { color: var(--ink-2); font-weight: 600; }

/* ---------- Yazı içeriği ---------- */
.prose { font-size: 1.08rem; line-height: 1.78; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .2em; }
.prose h3 { font-size: 1.28rem; margin: 1.6em 0 .2em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose > :first-child { margin-top: 0; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--muted); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: var(--ink); font-size: 1.1rem; }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose :not(pre) > code { font-family: var(--f-mono); font-size: .88em; padding: .15em .4em; border-radius: 5px; background: var(--accent-soft); color: var(--ink); }
.prose pre { background: var(--code-bg); color: #E6E8EE; border-radius: var(--r); padding: 20px 22px; overflow-x: auto; font: 14px/1.65 var(--f-mono); }
.prose pre code, .prose pre code.hljs { background: transparent; padding: 0; font: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { color: var(--ink); font-weight: 600; }
.prose th[align=right], .prose td[align=right] { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Araç kartları ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .15s; }
.tool-group .tool-card { background: var(--surface); }
.tool-group { padding-bottom: 20px; }
.tool-group:last-of-type { padding-bottom: 88px; }
.group-title { font-size: 1.2rem; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.tool-card:hover { border-color: var(--ink); color: inherit; }
.tool-card h3 { margin: 0 0 6px; }
.tool-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- GitHub & akışlar ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split .section-head { margin-bottom: 24px; }
.split h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
.repos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.repos.compact { grid-template-columns: 1fr; gap: 10px; margin-bottom: 40px; }
.repo { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.repo:hover { border-color: var(--ink); color: inherit; }
.repo-name { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .98rem; word-break: break-word; }
.repo p { margin: 0; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.repo-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); margin-top: auto; }
.repo-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lang-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }

.feed { list-style: none; margin: 0; padding: 0; }
.feed li { padding: 14px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; padding-top: 0; }
.feed li > a { font-weight: 500; color: var(--ink); line-height: 1.4; }
.feed li > a:hover { color: var(--accent); }
.feed-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; font-size: .82rem; color: var(--muted); }
.feed-meta a:hover { color: var(--ink); }
.feed.numbered { counter-reset: f; }
.feed.numbered li { counter-increment: f; display: grid; grid-template-columns: 34px 1fr; padding: 16px 0; }
.feed.numbered li::before { content: counter(f); grid-row: span 2; font: 650 1.05rem/1.4 var(--f-display); color: var(--muted); }
.feed.numbered li > a { font-size: 1.05rem; }
.gundem { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.feed-title { font-size: 1.15rem; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }

/* ---------- Araç sayfası ---------- */
.tool-head { padding: 48px 0 24px; }
.tool-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.035em; font-weight: 700; margin: 10px 0 12px; }
.crumb { font-size: .9rem; color: var(--muted); }
.crumb::before { content: "← "; }
.tool-section { padding-bottom: 80px; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.tool-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.tool-bar .spacer { flex: 1; }
.tool-panes + .tool-bar { margin: 14px 0 0; }
.opt { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.opt select, .field-s select, .field-s input { font: inherit; font-size: .9rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 8px; }
.opt input[type=checkbox], .opt input[type=radio] { accent-color: var(--accent); }
.tool-panes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.pane { display: flex; flex-direction: column; min-width: 0; }
.pane-head { display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.link-btn:first-of-type { margin-left: auto; }
.link-btn:hover { text-decoration: underline; }
.code-area {
  width: 100%; min-height: 340px; resize: vertical; padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink);
  font: 13.5px/1.6 var(--f-mono); tab-size: 2; white-space: pre; overflow: auto;
}
.code-area.tall { min-height: 440px; }
.code-area.short { min-height: 170px; }
.code-area.view { white-space: pre-wrap; word-break: break-word; margin: 0; }
textarea.code-area:focus, .code-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tool-status { margin: 12px 0 0; font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.tool-status.ok { color: var(--ok); }
.tool-status.err { color: var(--err); }
.btn-sm.btn-ghost { background: var(--surface); }

.regex-input { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); margin-bottom: 12px; }
.regex-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.regex-input .slash { font: 500 1.2rem var(--f-mono); color: var(--muted); }
.code-input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 15px/1.6 var(--f-mono); padding: 8px 0; }
.regex-input .code-input:focus { box-shadow: none; }
.code-input.flags { flex: 0 0 64px; }
mark { border-radius: 3px; padding: 1px 0; }
mark.m0 { background: color-mix(in srgb, var(--accent) 28%, transparent); color: var(--ink); }
mark.m1 { background: color-mix(in srgb, #F59E0B 32%, transparent); color: var(--ink); }
.match-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; max-height: 360px; overflow: auto; }
.match { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 12px; border-radius: 8px; background: var(--paper); font-size: .9rem; }
.match .idx { color: var(--muted); font-size: .8rem; min-width: 22px; }
.match code { font-family: var(--f-mono); background: var(--accent-soft); padding: 1px 6px; border-radius: 5px; word-break: break-all; }
.match .pos { color: var(--muted); font-size: .8rem; margin-left: auto; }
.groups { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 14px; padding-left: 34px; font: .85rem var(--f-mono); color: var(--ink-2); }
.groups b { color: var(--accent); font-weight: 500; margin-right: 4px; }

.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 16px; }
.tab { border: 0; background: none; font: 500 14px var(--f-body); color: var(--muted); padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.tab.active { background: var(--ink); color: var(--paper); }
.jwt-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.jwt-parts .code-area { min-height: 180px; }
.jwt-h { border-left: 3px solid #F97366; }
.jwt-p { border-left: 3px solid var(--accent); }
.code-area .k { color: var(--accent); }
.code-area .s { color: var(--ok); }
.code-area .n { color: #C2410C; }
.claims { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.claims li { padding: 10px 12px; border-radius: 8px; background: var(--paper); font-size: .9rem; display: flex; flex-direction: column; }
.claims b { font-weight: 500; font-size: .78rem; color: var(--muted); }
.claims .good { box-shadow: inset 3px 0 0 var(--ok); }
.claims .bad { box-shadow: inset 3px 0 0 var(--err); color: var(--err); }

.diff-view { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: auto; max-height: 640px; background: var(--paper); }
.diff-view:empty { display: none; }
.diff { width: 100%; border-collapse: collapse; font: 13px/1.6 var(--f-mono); }
.diff td { padding: 0 10px; vertical-align: top; }
.diff .ln { width: 1%; color: var(--muted); text-align: right; user-select: none; white-space: nowrap; border-right: 1px solid var(--line); }
.diff .sign { width: 1%; user-select: none; color: var(--muted); }
.diff .txt { white-space: pre-wrap; word-break: break-word; }
.diff tr.add { background: color-mix(in srgb, var(--ok) 14%, transparent); }
.diff tr.add .sign { color: var(--ok); }
.diff tr.del { background: color-mix(in srgb, var(--err) 12%, transparent); }
.diff tr.del .sign { color: var(--err); }
.diff tr.gap td { text-align: center; color: var(--muted); background: var(--surface); }
.diff-same { padding: 20px; margin: 0; color: var(--muted); }

.snap-layout { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 24px; align-items: start; }
.snap-controls { display: flex; flex-direction: column; gap: 12px; }
.snap-controls .code-area { min-height: 240px; }
.field-s { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; font-weight: 500; color: var(--muted); }
.field-s select, .field-s input { width: 100%; }
.ctrl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.snap-preview { min-width: 0; position: sticky; top: 88px; }
.snap-canvas-wrap { display: grid; place-items: center; padding: 16px; border-radius: 12px; overflow: auto; margin-bottom: 14px;
  background-color: var(--paper); background-image: linear-gradient(45deg, var(--line) 25%, transparent 25%), linear-gradient(-45deg, var(--line) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--line) 75%), linear-gradient(-45deg, transparent 75%, var(--line) 75%);
  background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.snap-canvas-wrap canvas { max-width: 100%; height: auto; display: block; }

/* ---------- Hesaplayıcılar ---------- */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.rows { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rows th { text-align: left; font-weight: 500; font-size: .8rem; color: var(--muted); padding: 0 6px 8px; }
.rows th.num, .rows td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rows td { padding: 4px 6px; border-top: 1px solid var(--line); }
.rows input { width: 100%; min-width: 56px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.rows input[type=number] { max-width: 120px; }
.rows input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.rows tr.row-warn input[type=number] { border-color: var(--err); }
.row-del { width: 30px; height: 30px; border-radius: 8px; border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.row-del:hover { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.add-row { margin: 10px 6px 4px; }
.ctrl-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.ctrl-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.calc-result { display: flex; flex-direction: column; gap: 18px; }
.big-number { padding: 24px; border-radius: var(--r); background: var(--ink); color: var(--paper); display: flex; flex-direction: column; gap: 4px; }
.big-number .label { font-size: .9rem; opacity: .75; }
.big-number strong { font: 700 clamp(2.4rem, 5vw, 3.4rem)/1.05 var(--f-display); letter-spacing: -0.035em; }
.big-number .muted { color: color-mix(in srgb, var(--paper) 65%, transparent); font-size: .9rem; }
.result-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.result-list div { background: var(--surface); padding: 12px 14px; }
.result-list dt { font-size: .8rem; color: var(--muted); }
.result-list dd { margin: 2px 0 0; font: 600 1.15rem/1.3 var(--f-display); }
.result-list div[hidden] { display: none; }
.live { padding: 18px; border: 1px dashed var(--line-strong); border-radius: var(--r); }
.live .label { font-size: .9rem; font-weight: 500; }
.live-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 12px; }
.live-row strong { font: 700 2rem/1.1 var(--f-display); letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.live-row .mono { color: var(--muted); font-size: 1rem; }
.btn-row-s { display: flex; flex-wrap: wrap; gap: 8px; }
.summary-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.summary-cards > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); display: flex; flex-direction: column; gap: 2px; }
.summary-cards span { font-size: .85rem; color: var(--muted); }
.summary-cards strong { font: 700 1.8rem/1.15 var(--f-display); letter-spacing: -0.03em; }
.summary-cards small { font-size: .8rem; color: var(--muted); }
.summary-cards .accent { background: var(--ink); border-color: var(--ink); }
.summary-cards .accent span, .summary-cards .accent small { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.summary-cards .accent strong { color: var(--paper); }
.conf { margin: 18px 0 10px; display: flex; flex-direction: column; gap: 8px; }
.conf-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 110px; gap: 12px; align-items: center; font-size: .9rem; }
.conf-row span { color: var(--muted); }
.conf-row b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.conf .bar { height: 10px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.conf .bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }


/* ---------- PMP Hazırlık Merkezi ---------- */
.pmp-head { padding: 40px 0 0; }
.pmp-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); letter-spacing: -0.04em; font-weight: 700; margin: 8px 0 12px; }
.pmp-tabs { display: flex; gap: 4px; margin-top: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pmp-tabs::-webkit-scrollbar { display: none; }
.pmp-tabs a { padding: 12px 14px; font-weight: 500; font-size: .95rem; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.pmp-tabs a:hover { color: var(--ink); }
.pmp-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.pmp-body { padding: 32px 0 64px; }
.pmp-overview { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.pmp-cards { display: grid; gap: 14px; }
.pmp-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.pmp-card:hover { border-color: var(--ink); color: inherit; }
.pmp-card .service-icon { grid-row: span 3; margin: 0; width: 48px; height: 48px; }
.pmp-card h2 { font-size: 1.3rem; margin: 2px 0 4px; }
.pmp-card p { color: var(--ink-2); margin: 0 0 12px; font-size: .98rem; }
.pmp-card .read-more { justify-self: start; }
.pmp-history { margin-top: 36px; }
.hist { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hist th { text-align: left; font-weight: 500; color: var(--muted); font-size: .82rem; padding: 0 8px 8px; }
.hist td { padding: 10px 8px; border-top: 1px solid var(--line); }
.hist .num { text-align: right; }
.pmp-facts { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: sticky; top: 72px; }
.pmp-facts dl { margin: 0 0 18px; display: grid; gap: 10px; }
.pmp-facts dt { font-size: .8rem; color: var(--muted); }
.pmp-facts dd { margin: 0; font-weight: 600; }
.pmp-facts h3 { font-size: .95rem; margin: 0 0 10px; }
.weights { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.weights li { display: grid; grid-template-columns: 82px minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: .9rem; }
.weights .bar { height: 8px; background: var(--paper); border-radius: 999px; overflow: hidden; }
.weights .bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.weights b { text-align: right; }
.pmp-disclaimer { margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); max-width: 80ch; }

/* Sınav: kurulum */
.exam { max-width: 860px; }
.resume { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--accent-soft); margin-bottom: 28px; }
.modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 18px; }
.mode { position: relative; cursor: pointer; }
.mode input { position: absolute; opacity: 0; }
.mode span { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); height: 100%; }
.mode b { font-family: var(--f-display); font-size: 1.05rem; }
.mode small { color: var(--muted); font-size: .85rem; }
.mode input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.mode input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.setup-opts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.setup-opts .opt[hidden] { display: none; }
.exam-tips { margin-top: 36px; padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.exam-tips h3 { font-size: 1rem; margin: 0 0 8px; }
.exam-tips ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); font-size: .94rem; }
.exam-tips li + li { margin-top: 6px; }

/* Sınav: soru */
.exam-bar { position: sticky; top: 52px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 12px 0; background: var(--paper); }
.q-pos { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.exam-progress { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.exam-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.q-timer { font-size: 1rem; font-weight: 500; padding: 4px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.q-timer.low { color: var(--err); border-color: var(--err); }
.q-card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin-top: 8px; }
.q-meta { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.q-meta:empty { display: none; }
.q-text { font-size: 1.12rem; line-height: 1.65; color: var(--ink); margin: 0 0 22px; white-space: pre-line; }
.q-options { display: flex; flex-direction: column; gap: 10px; }
.opt-row { display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.opt-row:hover:not([disabled]) { border-color: var(--ink); }
.opt-row .letter { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); font-weight: 600; font-size: .85rem; background: var(--surface); }
.opt-row.chosen { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.opt-row.chosen .letter { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.opt-row.correct { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--paper)); }
.opt-row.correct .letter { background: var(--ok); border-color: var(--ok); color: #fff; }
.opt-row.wrong { border-color: var(--err); background: color-mix(in srgb, var(--err) 8%, var(--paper)); }
.opt-row.wrong .letter { background: var(--err); border-color: var(--err); color: #fff; }
.opt-row[disabled] { cursor: default; }
.q-feedback { margin-top: 18px; padding: 14px 16px; border-radius: var(--r); font-size: .96rem; line-height: 1.6; }
.q-feedback.fb-ok { background: color-mix(in srgb, var(--ok) 10%, transparent); }
.q-feedback.fb-bad { background: color-mix(in srgb, var(--err) 9%, transparent); }
.exam-actions { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.exam-actions .spacer { flex: 1; }
.flag-btn.on { border-color: #D97706; color: #B45309; background: color-mix(in srgb, #F59E0B 12%, transparent); }
.q-nav { margin-top: 18px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.q-nav-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.q-nav-head .lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: middle; }
.lg.ans { background: var(--accent); } .lg.flg { background: #F59E0B; } .lg.emp { border: 1px solid var(--line-strong); }
.q-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px; margin-bottom: 14px; }
.q-grid .g { height: 36px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: 500 .85rem var(--f-body); cursor: pointer; position: relative; }
.q-grid .g.ans { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.q-grid .g.flg::after { content: ""; position: absolute; top: 3px; right: 3px; width: 7px; height: 7px; border-radius: 50%; background: #F59E0B; }
.q-grid .g.cur { outline: 2px solid var(--ink); outline-offset: 1px; }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(10, 12, 16, .5); }
.modal[hidden] { display: none; }
.modal-card { width: 100%; max-width: 440px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal-card h3 { margin: 0 0 8px; }
.modal-card p { color: var(--ink-2); }

/* Sınav: sonuç */
.result-top { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.result-top h2 { margin: 0 0 4px; font-size: 1.8rem; }
.result-top .btn-row-s { margin-top: 16px; }
.score-ring { --p: 0; --c: var(--accent); width: 132px; height: 132px; border-radius: 50%; display: grid; place-content: center; text-align: center; flex-shrink: 0;
  background: radial-gradient(closest-side, var(--surface) 78%, transparent 79%), conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); }
.score-ring strong { font: 700 2rem/1 var(--f-display); letter-spacing: -0.03em; }
.score-ring span { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.score-ring.b-above { --c: var(--ok); } .score-ring.b-target { --c: var(--accent); } .score-ring.b-below { --c: #D97706; } .score-ring.b-needs { --c: var(--err); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0 8px; }
.rbar { margin-bottom: 14px; }
.rbar-top { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; margin-bottom: 6px; flex-wrap: wrap; }
.rbar-track { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.rbar-track i { display: block; height: 100%; border-radius: 999px; }
.rband { font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
i.b-above, .rband.b-above { background: var(--ok); } .rband.b-above { color: #fff; }
i.b-target, .rband.b-target { background: var(--accent); } .rband.b-target { color: var(--accent-ink); }
i.b-below, .rband.b-below { background: #D97706; } .rband.b-below { color: #fff; }
i.b-needs, .rband.b-needs { background: var(--err); } .rband.b-needs { color: #fff; }
.review { margin-top: 36px; }
.review-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; }
.review-head .widget-title { flex: 1; min-width: 200px; }
.review-head .cat-pills { margin: 0 0 16px; }
.review-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rv { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); border-left: 4px solid var(--ok); }
.rv.rv-bad { border-left-color: var(--err); }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.rv-n { font-weight: 700; font-family: var(--f-display); }
.rv-st { margin-left: auto; font-weight: 600; font-size: .88rem; }
.rv.rv-ok .rv-st { color: var(--ok); } .rv.rv-bad .rv-st { color: var(--err); }
.rv-q { margin: 0 0 10px; white-space: pre-line; }
.rv-opts { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; font-size: .94rem; }
.rv-opts li { display: flex; gap: 10px; padding: 6px 10px; border-radius: 8px; }
.rv-opts .letter { font-weight: 600; color: var(--muted); }
.rv-opts li.correct { background: color-mix(in srgb, var(--ok) 12%, transparent); }
.rv-opts li.wrong { background: color-mix(in srgb, var(--err) 10%, transparent); }
.rv-opts em { color: var(--muted); font-style: normal; font-size: .85rem; }
.rv-e { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--paper); font-size: .94rem; color: var(--ink-2); }

@media (max-width: 960px) {
  .pmp-overview { grid-template-columns: 1fr; }
  .pmp-facts { position: static; }
}
@media (max-width: 760px) {
  .pmp-head { padding-top: 28px; }
  .pmp-card { grid-template-columns: 1fr; padding: 20px; }
  .pmp-card .service-icon { grid-row: auto; }
  .q-card { padding: 18px; }
  .q-text { font-size: 1.02rem; }
  .exam-bar { top: 0; gap: 10px; }
  .exam-actions { flex-wrap: wrap; }
  .result-top { padding: 20px; gap: 18px; }
  .result-grid { grid-template-columns: 1fr; gap: 20px; }
  .modes { grid-template-columns: 1fr 1fr; }
}

/* ---------- Alt bilgi ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; background: var(--surface); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .9rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; }
.subscribe { display: flex; gap: 8px; margin-top: 12px; }
.subscribe input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); }
.subscribe input:focus { outline: none; border-color: var(--accent); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-size: .95rem; box-shadow: 0 10px 30px rgba(0,0,0,.18); animation: toast 4.5s forwards; }
.toast.err { background: var(--err); color: #fff; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 12px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; gap: 56px; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .widget.profile, .widget.follow { grid-column: 1 / -1; }
  .split, .gundem { grid-template-columns: 1fr; gap: 40px; }
  .snap-layout { grid-template-columns: 1fr; }
  .snap-preview { position: static; }
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .wrap.narrow { max-width: calc(var(--narrow) + 32px); }
  .header-inner { flex-direction: column; align-items: flex-start; padding-top: 28px; padding-bottom: 20px; gap: 16px; }
  .header-tools { justify-content: flex-start; }
  .blog-desc { font-size: .98rem; }
  .tabs-inner { flex-wrap: wrap; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .tabs-bar .menu-toggle { display: inline-grid; }
  .nav-tabs { display: none; order: 3; width: 100%; flex-direction: column; overflow: visible; }
  .nav-tabs.open { display: flex; }
  .nav-tabs a { padding: 12px 4px; border: 0; border-left: 3px solid transparent; }
  .nav-tabs a[aria-current="page"] { border-left-color: var(--bar-accent); padding-left: 10px; }
  .tab-search { flex: 1 1 auto; }
  .blog-layout { padding-top: 24px; }
  .entry { padding: 28px 0 32px; }
  .entry-title { font-size: 1.5rem; }
  .entry-snippet { font-size: 1rem; }
  .cover.wide { aspect-ratio: 16 / 9; }
  .cover-fallback { padding: 18px 20px; }
  .cover-fallback .cf-title { font-size: 1.35rem; }
  .card-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .blog-pager { font-size: .88rem; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .tools-grid, .repos { grid-template-columns: 1fr; }
  .page-head { padding: 36px 0 20px; }
  .tool { padding: 14px; border-radius: var(--r); }
  .tools-grid { gap: 10px; }
  .tool-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 2px 14px; padding: 16px; }
  .tool-card .service-icon { grid-row: span 2; margin: 0; }
  .tool-panes, .jwt-parts, .calc-layout, .summary-cards, .ctrl-grid.three { grid-template-columns: 1fr; }
  .ctrl-grid.four { grid-template-columns: 1fr 1fr; }
  .rows { display: block; overflow-x: auto; }
  .conf-row { grid-template-columns: 40px minmax(0, 1fr) 90px; }
  .code-area, .code-area.tall { min-height: 240px; }
  .footer-row { flex-direction: column; }
}

/* ---------- PMP formül merkezi ---------- */
.f-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; margin-bottom: 12px; position: sticky; top: 52px; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--line); }
.f-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.f-jump a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; background: var(--surface); }
.f-jump a:hover { border-color: var(--ink); color: var(--ink); }
.f-sec { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.f-sec h2 { font-size: 1.5rem; margin-bottom: 10px; }
.f-intro { color: var(--ink-2); max-width: 72ch; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; margin-top: 16px; }
.f-calc { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.f-calc h3 { font-size: 1.02rem; margin: 0; }
.f-verdict { padding: 12px 14px; border-radius: var(--r); background: var(--accent-soft); font-size: .95rem; line-height: 1.6; }
.f-results { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.f-results div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--paper); font-size: .93rem; }
.f-results dt { color: var(--muted); }
.f-results dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.f-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.f-table th { text-align: left; font-weight: 500; font-size: .8rem; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.f-table td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.f-table .num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.good { color: var(--ok); } .bad { color: var(--err); }
.f-formula { display: inline-block; font: 500 .88rem/1.5 var(--f-mono); padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--ink); transition: filter .15s; }
.f-cards { display: grid; gap: 10px; }
.f-card { padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.f-card h4 { margin: 0 0 8px; font-size: .98rem; }
.f-card p { margin: 8px 0 0; font-size: .92rem; color: var(--ink-2); }
.f-notes { margin: 16px 0 0; padding-left: 1.2em; color: var(--ink-2); font-size: .94rem; max-width: 80ch; }
.f-notes li + li { margin-top: 6px; }
.formulas.quiz .f-formula { filter: blur(6px); cursor: pointer; user-select: none; }
.formulas.quiz .f-formula.revealed { filter: none; }
@media (max-width: 960px) { .f-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .f-toolbar { top: 0; } .f-table { display: block; overflow-x: auto; } }

/* ---------- PMP çalışma planı ---------- */
.planner { max-width: 920px; }
.planner-form { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.planner-form .ctrl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan-summary { margin: 22px 0 8px; }
.ps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ps-grid > div { padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 2px; }
.ps-grid span { font-size: .85rem; color: var(--muted); }
.ps-grid strong { font: 700 1.6rem/1.2 var(--f-display); letter-spacing: -0.02em; }
.ps-grid small { font-size: .82rem; color: var(--muted); }
.ps-grid .ok { box-shadow: inset 4px 0 0 var(--ok); }
.ps-grid .warn { box-shadow: inset 4px 0 0 #D97706; }
.ps-phases { margin: 14px 0 0; font-size: .94rem; color: var(--ink-2); }
.plan-weeks { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pw { padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); border-left: 4px solid var(--accent); }
.pw-practice { border-left-color: #D97706; }
.pw-final { border-left-color: var(--ok); }
.pw-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; }
.pw-n { font: 650 1.05rem var(--f-display); }
.pw-date { color: var(--muted); font-size: .9rem; }
.pw-phase { font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.pw-h { margin-left: auto; font-size: .88rem; color: var(--muted); }
.pw ul { margin: 0; padding-left: 1.2em; font-size: .94rem; color: var(--ink-2); }
.pw li + li { margin-top: 4px; }
.pw a { color: var(--accent); }
@media (max-width: 760px) { .planner-form .ctrl-grid, .ps-grid { grid-template-columns: 1fr; } }
@media print {
  .blog-header, .site-footer, .pmp-tabs, .planner-form .btn-row-s, .pmp-disclaimer, .crumb { display: none !important; }
  body { background: #fff; }
  .pw, .ps-grid > div, .planner-form { break-inside: avoid; border-color: #ccc; }
}

/* ---------- Yeni PM araçları ---------- */
.wd-opts { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.wd-hols { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r); }
.wd-hols li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); font-size: .9rem; align-items: baseline; }
.wd-hols li:first-child { border-top: 0; }
.wd-hols span { color: var(--muted); }
.wd-hols b { font-weight: 500; }
.wd-hols em { font-style: normal; font-size: .8rem; color: var(--muted); }
.calc-inputs .field-s textarea { font-size: 13px; }
[data-show][hidden] { display: none !important; }
.w-money { width: 140px; font: inherit; font-size: .9rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 8px; }
.ev-verdict { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--r); background: var(--accent-soft); line-height: 1.65; font-size: .97rem; }
.ev-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ev-cards strong { font-size: 1.35rem; }
.ev-chart-wrap { margin-top: 18px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.ev-chart-wrap svg { width: 100%; height: auto; display: block; }
.ev-legend { margin-left: auto; display: inline-flex; gap: 6px 12px; align-items: center; font-size: .82rem; }
.ev-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.l-pv { background: var(--muted); } .l-ev { background: var(--accent); } .l-ac { background: #D9482F; }
.ev-grid { stroke: var(--line); stroke-width: 1; }
.ev-bac { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 4; opacity: .5; }
.ev-ax { fill: var(--muted); font: 11px var(--f-body); }
.ev-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ev-line.ev-pv { stroke: var(--muted); stroke-dasharray: 6 4; } .ev-line.ev-ev { stroke: var(--accent); } .ev-line.ev-ac { stroke: #D9482F; }
.ev-dot { stroke: var(--paper); stroke-width: 1.5; } .ev-dot.ev-pv { fill: var(--muted); } .ev-dot.ev-ev { fill: var(--accent); } .ev-dot.ev-ac { fill: #D9482F; }
@media (max-width: 760px) { .ev-cards { grid-template-columns: 1fr 1fr; } }
.rm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.rows select { width: 100%; min-width: 56px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; }
.rm-id { font-weight: 600; color: var(--muted); font-size: .85rem; }
.lv-badge { display: inline-block; min-width: 30px; text-align: center; padding: 2px 8px; border-radius: 999px; font-weight: 600; font-size: .85rem; color: #15171C; }
.lv-low { background: #CDEFD8; } .lv-med { background: #FFF0B8; } .lv-high { background: #FFD3A8; } .lv-crit { background: #FFB3AB; }
.rm-matrix-wrap { display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px; }
.rm-ylabel { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-size: .82rem; color: var(--muted); font-weight: 500; }
.rm-xlabel { grid-column: 2; text-align: center; font-size: .82rem; color: var(--muted); font-weight: 500; }
.rm-matrix { display: grid; grid-template-columns: 18px repeat(5, minmax(0, 1fr)); gap: 4px; }
.rm-axis { display: grid; place-items: center; font-size: .8rem; color: var(--muted); }
.rm-cell { aspect-ratio: 1; border-radius: 8px; padding: 5px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 3px; }
.rm-chip { font: 600 .7rem/1 var(--f-body); padding: 3px 5px; border-radius: 5px; background: #15171C; color: #fff; cursor: default; }
.rm-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0; font-size: .82rem; color: var(--muted); }
.rm-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
@media (max-width: 960px) { .rm-layout { grid-template-columns: 1fr; } .rm-right { max-width: 460px; } }
.raci-help { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; margin-bottom: 6px; }
.rc { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: .78rem; margin-right: 4px; }
.rc-R { background: var(--accent); color: #fff; } .rc-A { background: #15171C; color: #fff; } .rc-C { background: #FFD3A8; color: #15171C; } .rc-I { background: #CDEFD8; color: #15171C; }
[data-theme="dark"] .rc-A { background: #ECEDEF; color: #15171C; }
.raci-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.raci { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .9rem; }
.raci th, .raci td { border-bottom: 1px solid var(--line); padding: 6px; text-align: center; }
.raci th:first-child, .raci td:first-child { text-align: left; min-width: 220px; }
.raci thead th { background: var(--paper); font-weight: 500; vertical-align: bottom; }
.raci input { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 6px; padding: 6px 8px; }
.raci input:hover { border-color: var(--line); } .raci input:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.raci-role { display: flex; align-items: center; gap: 2px; min-width: 110px; }
.raci-role input { text-align: center; font-weight: 600; font-size: .85rem; }
.raci-role .row-del { width: 22px; height: 22px; font-size: 14px; opacity: .5; }
.rc-cell { width: 40px; height: 34px; border-radius: 8px; border: 1px dashed var(--line-strong); background: transparent; font: 700 .9rem var(--f-body); cursor: pointer; color: var(--ink); }
.rc-cell:hover { border-color: var(--ink); }
.rc-cell.rc-R, .rc-cell.rc-A, .rc-cell.rc-C, .rc-cell.rc-I { border-style: solid; border-color: transparent; }
.raci-st { font-size: .82rem; font-weight: 600; white-space: nowrap; }
.raci tfoot td { font-size: .8rem; color: var(--muted); background: var(--paper); }
.raci-sum { white-space: nowrap; }
.raci-check { margin-top: 14px; }
.raci-check ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.raci-check li { padding: 9px 12px; border-radius: 8px; font-size: .92rem; }
.raci-check li.bad { background: color-mix(in srgb, var(--err) 10%, transparent); }
.raci-check li.warn { background: color-mix(in srgb, #F59E0B 14%, transparent); }
.raci-check li.info { background: var(--accent-soft); }
.raci-check p.good { padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--ok) 10%, transparent); margin: 0; }
@media print { .tool-head, .section.band, .tool-bar, .row-del { display: none !important; } .raci-scroll { border: 0; } }
.mc-table { margin-top: 4px; }
.mc-bar { fill: var(--line-strong); } .mc-bar.in { fill: var(--accent); }

#rmRows td:nth-child(2) { min-width: 220px; }
#rmRows td:nth-child(3), #rmRows td:nth-child(4) { width: 64px; }
#rmRows td:nth-child(6) { min-width: 110px; }
#rmRows td:nth-child(7) { min-width: 116px; }
.rm-left { overflow-x: auto; }

/* ---------- PMP paylaşım kartı ---------- */
.share-modal { max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; }
.share-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.share-top h3 { margin: 0; }
.share-top .icon-btn { font-size: 1.5rem; line-height: 1; }
.share-name { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 12px; }
.share-name input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font: inherit; }
.share-preview { border-radius: var(--r); overflow: hidden; background: var(--paper); border: 1px solid var(--line); padding: 12px; display: flex; justify-content: center; }
.share-preview canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: 44vh; aspect-ratio: 1080 / 1350; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.share-actions .btn { flex: 1 1 auto; justify-content: center; }
.result-top .btn svg { vertical-align: -3px; }

/* ---------- Günün sorusu ---------- */
.daily-q .dq-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .85rem; }
.daily-q .dq-meta .tag:hover { background: var(--accent-soft); color: var(--accent); }
.dq-streak { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, #F59E0B 16%, transparent); color: #B45309; font-size: .8rem; }
.dq-streak[hidden] { display: none; }
[data-theme="dark"] .dq-streak { color: #FBBF24; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dq-streak { color: #FBBF24; } }
.dq-text { font-size: .96rem; line-height: 1.55; color: var(--ink) !important; font-weight: 500; margin: 0 0 12px !important; }
.dq-opts { display: grid; gap: 8px; }
.dq-opt { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: .9rem; line-height: 1.45; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.dq-opt b { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: .75rem; }
.dq-opt:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); }
.dq-opt:disabled { cursor: default; opacity: .75; }
.dq-opt.dq-right { opacity: 1; border-color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--surface)); }
.dq-opt.dq-right b { background: var(--ok); border-color: var(--ok); color: #fff; }
.dq-opt.dq-wrong { opacity: 1; border-color: var(--err); background: color-mix(in srgb, var(--err) 9%, var(--surface)); }
.dq-opt.dq-wrong b { background: var(--err); border-color: var(--err); color: #fff; }
.dq-exp { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.dq-exp p { font-size: .88rem !important; line-height: 1.55; margin: 0 0 6px !important; }
.dq-exp p:last-child { margin-bottom: 0 !important; }
.dq-verdict.fb-ok b { color: var(--ok); }
.dq-verdict.fb-bad b { color: var(--err); }
.daily-widget .daily-q { padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.daily-widget .widget-more { margin-top: 12px; }

.daily-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.daily-date { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.daily-full { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.daily-full .dq-text { font-size: 1.15rem; margin-bottom: 18px !important; }
.daily-full .dq-opts { gap: 10px; }
.daily-full .dq-opt { padding: 14px 16px; font-size: 1rem; }
.daily-full .dq-opt b { width: 28px; height: 28px; font-size: .85rem; }
.daily-full .dq-exp { padding: 16px 18px; }
.daily-full .dq-exp p { font-size: .97rem !important; }
.dq-next { margin-top: 12px; }
.daily-side { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.daily-side .btn { width: 100%; justify-content: center; margin-top: 8px; }
.dq-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dq-stats div { padding: 12px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.dq-stats span { display: block; font-size: .78rem; color: var(--muted); }
.dq-stats strong { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.2; }
.dq-stats small { margin-left: 4px; color: var(--muted); font-size: .78rem; }
.dq-cal-title { font-size: .95rem; margin: 20px 0 10px; }
.dq-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dq-day { display: block; aspect-ratio: 1; border-radius: 5px; background: var(--line); }
.dq-day.is-ok { background: var(--ok); }
.dq-day.is-bad { background: var(--err); }
.dq-day.is-today { outline: 2px solid var(--accent); outline-offset: 1px; }
.dq-legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 14px; font-size: .78rem; color: var(--muted); }
.dq-legend span { display: inline-flex; align-items: center; gap: 5px; }
.dq-legend .dq-day { width: 11px; height: 11px; }
@media (max-width: 900px) { .daily-page { grid-template-columns: 1fr; } .daily-full { padding: 20px; } }

/* ---------- PDU takibi ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pdu label { display: block; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.pdu input[type=text], .pdu input[type=date], .pdu input[type=number], .pdu select { display: block; width: 100%; margin-top: 6px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem; }
.pdu-top { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin-bottom: 24px; }
.pdu-settings { display: grid; grid-template-columns: 220px 200px 1fr; gap: 18px; align-items: end; }
.pdu-cycle { font-size: .92rem; line-height: 1.5; padding-bottom: 4px; }
.pdu-rule { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.pdu-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.pdu-summary, .pdu-add { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.pdu-total { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.pdu-total h2 { margin: 0 0 6px; font-size: 1.5rem; }
.pdu-total p { margin: 0; font-size: .94rem; }
.pdu-ok { color: var(--ok); font-weight: 600; font-size: .8rem; }
.pdu-warn { color: #B45309; font-weight: 500; }
.pdu-pace { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); font-size: .9rem; line-height: 1.55; }
.pdu-pace[hidden] { display: none; }
.pdu-add form > label, .pdu-row2, .pdu-tri { margin-bottom: 12px; }
.pdu-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 10px; }
.pdu-tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pdu-tri[hidden] { display: none; }
.pdu-tri label { font-size: .8rem; line-height: 1.25; }
.pdu-tri small { display: block; color: var(--muted); font-weight: 400; font-size: .72rem; }
.pdu-add #fGbWrap[hidden] { display: none; }
.pdu-add .tool-status { margin: 0; align-self: center; }
.pdu-log { margin-top: 28px; }
.pdu-log-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pdu-log-head .widget-title { margin: 0; border: 0; padding: 0; }
.pdu-file { position: relative; overflow: hidden; cursor: pointer; display: inline-flex !important; align-items: center; font-weight: 500 !important; color: var(--ink) !important; }
.pdu-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pdu .table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pdu-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 760px; }
.pdu-table th, .pdu-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pdu-table th { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--paper); white-space: nowrap; }
.pdu-table .num { text-align: right; white-space: nowrap; }
.pdu-table td small { display: block; color: var(--muted); font-size: .8rem; }
.pdu-table tbody tr:last-child td { border-bottom: 0; }
.pdu-table tr.pdu-out td { opacity: .5; text-decoration: line-through; }
.pdu-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.pdu-guide > div { padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pdu-guide h3 { margin: 0 0 10px; font-size: 1rem; }
.pdu-guide ul { margin: 0; padding-left: 18px; font-size: .9rem; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 960px) {
  .pdu-grid, .pdu-guide { grid-template-columns: 1fr; }
  .pdu-settings { grid-template-columns: 1fr 1fr; }
  .pdu-cycle { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .pdu-settings, .pdu-row2 { grid-template-columns: 1fr; }
  .pdu-total { flex-direction: column; align-items: flex-start; }
  .pdu-top, .pdu-summary, .pdu-add { padding: 18px; }
}

/* ================= Proje Kokpiti ================= */
.kp-promo { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin: 0 0 14px; border-radius: var(--r); background: linear-gradient(135deg, #15171C, #222846); color: #fff !important; text-decoration: none; }
.kp-promo svg { flex-shrink: 0; color: #8C9BFF; margin-top: 2px; }
.kp-promo b { display: block; font-size: .95rem; }
.kp-promo small { display: block; color: #C3C7D1; font-size: .8rem; line-height: 1.45; margin-top: 2px; }
.kp-promo:hover { background: linear-gradient(135deg, #1b1e27, #2B44E8); }
.kp-feature { display: grid; gap: 6px; padding: 28px 30px; border-radius: var(--r-lg); background: radial-gradient(circle at 90% 0%, rgba(43,68,232,.55), transparent 55%), #15171C; color: #fff !important; text-decoration: none; }
.kp-feature-tag { justify-self: start; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #A9B4FF; }
.kp-feature strong { font-family: var(--f-display); font-size: 1.9rem; letter-spacing: -.02em; }
.kp-feature span:not(.kp-feature-tag) { color: #C3C7D1; max-width: 720px; line-height: 1.55; }
.kp-feature em { font-style: normal; font-weight: 600; color: #8C9BFF; margin-top: 4px; }
.kp-feature:hover em { color: #fff; }
/* Kokpit sayfası */
.kp-hero { background: radial-gradient(circle at 85% -10%, rgba(43,68,232,.5), transparent 50%), linear-gradient(180deg, #15171C, #1b1f2e); color: #fff; padding: 52px 0 40px; }
.kp-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: #A9B4FF; }
.kp-kicker i { width: 8px; height: 8px; border-radius: 50%; background: #6F82FF; box-shadow: 0 0 0 4px rgba(111,130,255,.25); }
.kp-hero h1 { font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.05; letter-spacing: -.025em; margin: 16px 0 12px; color: #fff; }
.kp-hero h1 em { font-style: normal; color: #8C9BFF; }
.kp-lead { color: #C3C7D1; font-size: 1.08rem; max-width: 720px; margin: 0; }
.kp-ask { display: flex; gap: 12px; margin-top: 26px; }
.kp-ask textarea { flex: 1; min-height: 64px; resize: vertical; padding: 16px 18px; border-radius: 14px; border: 0; font: inherit; font-size: 1.05rem; line-height: 1.45; color: #15171C; background: #fff; box-shadow: 0 0 0 3px rgba(111,130,255,.35); }
.kp-ask textarea:focus { outline: none; box-shadow: 0 0 0 3px #6F82FF; }
.kp-go { flex-shrink: 0; padding: 0 26px; border: 0; border-radius: 14px; background: #2B44E8; color: #fff; font: inherit; font-weight: 600; font-size: 1.02rem; cursor: pointer; }
.kp-go:hover { background: #3d55ff; }
.kp-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; color: #A9AEBB; }
.kp-examples button { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #E4E6EB; font: inherit; font-size: .85rem; cursor: pointer; }
.kp-examples button:hover { background: rgba(255,255,255,.14); }
.kp-detected { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #C3C7D1; }
.kp-detected[hidden] { display: none; }
.kp-detected-label { font-weight: 600; color: #fff; }
.kp-detected label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); }
.kp-detected label.found { background: rgba(111,130,255,.22); color: #fff; }
.kp-detected input, .kp-detected select { border: 0; border-radius: 999px; padding: 5px 10px; font: inherit; font-size: .85rem; background: rgba(255,255,255,.92); color: #15171C; max-width: 210px; }
.kp-detected input[type=number] { width: 96px; }
.kp-detected #kpTarget, .kp-detected #kpSites { width: 64px; }

.kp-body { padding: 30px 0 10px; }
.kp-body[hidden], .kp-how[hidden] { display: none; }
.kp-title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.kp-eyebrow { margin: 0; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.kp-project { margin: 4px 0 0; font-family: var(--f-display); font-size: 2rem; letter-spacing: -.02em; outline: none; border-bottom: 2px dashed transparent; }
.kp-project:hover, .kp-project:focus { border-bottom-color: var(--line-strong); }
.kp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.kp-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.kp-kpi { padding: 12px 14px; border-radius: var(--r); background: var(--paper); min-width: 0; cursor: help; }
.kp-kpi span { display: block; font-size: .76rem; color: var(--muted); }
.kp-kpi strong { display: block; font-family: var(--f-display); font-size: 1.32rem; white-space: nowrap; letter-spacing: -.01em; margin-top: 3px; line-height: 1.2; }
.kp-kpi small { display: block; font-size: .72rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.kp-kpi.is-warn strong { color: #D97706; }
.kp-kpi.is-bad strong { color: var(--err); }
.kp-warn { margin-top: 12px; display: grid; gap: 8px; }
.kp-warn[hidden] { display: none; }
.kp-warn p { margin: 0; padding: 10px 14px; border-radius: var(--r-sm); font-size: .9rem; border: 1px solid; }
.kp-w-warn { background: color-mix(in srgb, #F59E0B 10%, var(--surface)); border-color: color-mix(in srgb, #F59E0B 40%, transparent) !important; }
.kp-w-bad { background: color-mix(in srgb, var(--err) 9%, var(--surface)); border-color: color-mix(in srgb, var(--err) 40%, transparent) !important; }
.kp-w-ok { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 30%, transparent) !important; }

.kp-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.kp-card { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.kp-span8 { grid-column: span 8; } .kp-span4 { grid-column: span 4; } .kp-span7 { grid-column: span 7; } .kp-span5 { grid-column: span 5; } .kp-span3 { grid-column: span 3; } .kp-span12 { grid-column: span 12; }
.kp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.kp-card-head h3 { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kp-link { border: 0; background: none; padding: 0; font: inherit; font-size: .85rem; font-weight: 600; color: var(--accent); cursor: pointer; }
.kp-link:hover { text-decoration: underline; }
.kp-hint, .kp-hint-inline { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
.kp-hint-inline { margin: 0; }

/* Gantt */
.kp-g-months { display: flex; margin-left: 210px; font-size: .72rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.kp-g-months span { flex-shrink: 0; white-space: nowrap; overflow: hidden; border-left: 1px solid var(--line); padding-left: 4px; }
.kp-g-body { position: relative; }
.kp-g-over { position: absolute; left: 210px; right: 0; top: 0; bottom: 0; pointer-events: none; }
.kp-g-over i { position: absolute; top: 0; bottom: 0; pointer-events: auto; }
.kp-g-hol { width: 1px; background: color-mix(in srgb, #F59E0B 45%, transparent); }
.kp-g-p85 { width: 0; border-left: 1px dashed var(--err); opacity: .55; }
.kp-g-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; height: 30px; font-size: .84rem; }
.kp-g-name { padding-right: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.kp-g-row.crit .kp-g-name { color: var(--ink); font-weight: 500; }
.kp-g-track { position: relative; height: 18px; background: repeating-linear-gradient(90deg, transparent 0 calc(100%/12 - 1px), color-mix(in srgb, var(--line) 50%, transparent) 0 calc(100%/12)); border-radius: 4px; }
.kp-g-bar { position: absolute; top: 2px; height: 14px; border-radius: 5px; background: color-mix(in srgb, var(--accent) 30%, var(--surface)); }
.kp-g-row.crit .kp-g-bar { background: var(--accent); }
.kp-g-ms { position: absolute; top: 2px; width: 14px; height: 14px; margin-left: -7px; transform: rotate(45deg); background: var(--ink); border-radius: 2px; }
.kp-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: .76rem; color: var(--muted); }
.kp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.kp-legend i { display: inline-block; width: 14px; height: 8px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 30%, var(--surface)); }
.kp-legend i.crit { background: var(--accent); }
.kp-legend i.ms { width: 8px; height: 8px; transform: rotate(45deg); background: var(--ink); border-radius: 1px; }
.kp-tasks { margin-top: 14px; overflow-x: auto; }
.kp-tasks[hidden] { display: none; }
.kp-ttable { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 560px; }
.kp-ttable th, .kp-ttable td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.kp-ttable th { font-size: .74rem; color: var(--muted); font-weight: 600; }
.kp-ttable .num { text-align: right; }
.kp-ttable em { font-style: normal; font-size: .7rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 1px 6px; border-radius: 999px; }
.kp-ttable input { width: 70px; padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; text-align: right; }
.kp-ttable tr.edited input { border-color: var(--accent); background: var(--accent-soft); }
.kp-tasks .kp-link { margin-top: 10px; }

/* Risk ısı haritası */
.kp-heat { display: grid; grid-template-columns: 16px minmax(0, 1fr); grid-template-rows: auto 16px; gap: 4px; }
.kp-heat-y { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .7rem; color: var(--muted); text-align: center; }
.kp-heat-x { grid-column: 2; font-size: .7rem; color: var(--muted); text-align: center; }
.kp-heat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; min-width: 0; }
.kp-heat-grid i { min-width: 0; height: 42px; border-radius: 6px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 2px; font-style: normal; }
.kp-heat-grid b { font-size: .68rem; color: #fff; background: rgba(0,0,0,.22); padding: 0 4px; border-radius: 4px; }
.lv1 { background: #86EFAC; } .lv2 { background: #FCD34D; } .lv3 { background: #F59E0B; } .lv4 { background: #EF4444; }
.kp-risks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.kp-risks summary { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; cursor: pointer; font-size: .86rem; list-style: none; }
.kp-risks summary::-webkit-details-marker { display: none; }
.kp-risks summary b { font-size: .7rem; color: #fff; text-align: center; border-radius: 5px; padding: 2px 0; }
.kp-risks summary b.lv1, .kp-risks summary b.lv2 { color: #15171C; }
.kp-risks summary em { font-style: normal; font-size: .68rem; color: var(--accent); background: var(--accent-soft); padding: 0 6px; border-radius: 999px; white-space: nowrap; }
.kp-risks summary i { font-style: normal; font-size: .76rem; color: var(--muted); }
.kp-risks details p { margin: 6px 0 4px 38px; font-size: .82rem; color: var(--ink-2); }
.kp-risks .kp-more { margin-top: 4px; }

/* RACI */
.kp-raci { overflow-x: auto; }
.kp-raci table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.kp-raci th, .kp-raci td { padding: 5px 4px; border-bottom: 1px solid var(--line); text-align: center; }
.kp-raci th { font-size: .7rem; color: var(--muted); font-weight: 600; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kp-raci td:first-child, .kp-raci th:first-child { text-align: left; }
.kp-rc { width: 30px; height: 26px; border: 0; border-radius: 6px; font: inherit; font-weight: 700; font-size: .8rem; cursor: pointer; background: var(--paper); color: var(--muted); }
.kp-rc-R { background: var(--accent-soft); color: var(--accent); }
.kp-rc-A { background: color-mix(in srgb, var(--err) 12%, var(--surface)); color: var(--err); }
.kp-rc-C { background: color-mix(in srgb, #F59E0B 15%, var(--surface)); color: #B45309; }
.kp-rc-I { background: var(--paper); color: var(--ink-2); }
.kp-rc-st span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--err); color: #fff; font-size: .7rem; font-weight: 700; cursor: help; }

/* Monte Carlo */
.kp-mc-bars { display: flex; align-items: flex-end; gap: 3px; height: 110px; }
.kp-mc-bars i { flex: 1; border-radius: 3px 3px 0 0; }
.kp-mc-bars i.a { background: color-mix(in srgb, var(--accent) 35%, var(--surface)); }
.kp-mc-bars i.b { background: var(--accent); }
.kp-mc-bars i.c { background: color-mix(in srgb, var(--err) 35%, var(--surface)); }
.kp-mc-dl { display: grid; gap: 4px; margin: 12px 0 0; font-size: .86rem; }
.kp-mc-dl div { display: flex; justify-content: space-between; gap: 8px; }
.kp-mc-dl dt { color: var(--muted); }
.kp-mc-dl dd { margin: 0; font-weight: 600; }

/* Başlatma belgesi */
.kp-charter { font-size: .88rem; line-height: 1.55; }
.kp-charter p { margin: 0 0 6px; }
.kp-charter p b { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.kp-charter [contenteditable] { outline: none; border-radius: 4px; }
.kp-charter [contenteditable]:hover, .kp-charter [contenteditable]:focus { background: var(--paper); box-shadow: 0 0 0 4px var(--paper); }
.kp-charter ul { margin: 0 0 6px; padding-left: 18px; }
.kp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kp-badges span { font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

.kp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 30px; padding: 14px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.kp-foot p { margin: 0; font-size: .86rem; color: var(--ink-2); max-width: 900px; }
.kp-how { padding: 44px 0 50px; }
.kp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kp-steps > div { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.kp-steps b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--f-display); }
.kp-steps h3 { margin: 12px 0 6px; }
.kp-steps p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.kp-print { display: none; }

@media (max-width: 1100px) {
  .kp-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kp-span8, .kp-span4, .kp-span7, .kp-span5, .kp-span3 { grid-column: span 12; }
}
@media (max-width: 720px) {
  .kp-hero { padding: 34px 0 28px; }
  .kp-ask { flex-direction: column; }
  .kp-go { padding: 14px; }
  .kp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-charter-cols { grid-template-columns: 1fr !important; }
  .kp-g-months { margin-left: 120px; }
  .kp-g-over { left: 120px; }
  .kp-g-row { grid-template-columns: 120px minmax(0, 1fr); font-size: .76rem; }
  .kp-steps { grid-template-columns: 1fr; }
  .kp-project { font-size: 1.5rem; }
}

/* Yönetim raporu (yazdırma) */
@media print {
  body.kp-printing > *:not(.kp-print) { display: none !important; }
  body.kp-printing .kp-print { display: block !important; color: #000; font: 10.5pt/1.45 Arial, sans-serif; }
  .kp-print header { border-bottom: 2px solid #2B44E8; padding-bottom: 8px; margin-bottom: 12px; }
  .kp-print header h1 { font-size: 20pt; margin: 2px 0; }
  .kp-print header p { margin: 0; color: #555; font-size: 9pt; }
  .kp-print h2 { font-size: 12pt; margin: 16px 0 6px; color: #2B44E8; }
  .kp-print table { width: 100%; border-collapse: collapse; font-size: 9pt; }
  .kp-print th, .kp-print td { border: 1px solid #ccc; padding: 4px 6px; text-align: left; vertical-align: top; }
  .kp-print th { background: #f0f2ff; }
  .kp-print tr.crit td:first-child { font-weight: 700; }
  .kp-print .pr-kpi { display: flex; gap: 8px; }
  .kp-print .pr-kpi div { flex: 1; border: 1px solid #ccc; border-radius: 6px; padding: 6px 8px; }
  .kp-print .pr-kpi span { display: block; font-size: 8pt; color: #555; }
  .kp-print footer { margin-top: 16px; font-size: 8pt; color: #666; border-top: 1px solid #ccc; padding-top: 6px; }
}

.kp-charter-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; }
.kp-charter-cols > div > p:first-child b, .kp-charter-cols > div > b:first-child { margin-top: 0; }

.kp-mc-top { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.kp-mc-top h4 { margin: 0 0 8px; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.kp-mc-top ol { margin: 0; padding-left: 18px; font-size: .84rem; line-height: 1.6; }
.kp-mc-top span { color: var(--muted); font-size: .78rem; }

.kp-mc-line { margin: 12px 0 0; font-size: .9rem; }
.kp-dark { background: #15171C !important; border-color: #15171C !important; color: #fff !important; }
.kp-foot .kp-actions { flex: 0 1 auto; }
.kp-charter ul { font-size: .84rem; }
@media (max-width: 1240px) and (min-width: 1101px) { .kp-kpi strong { font-size: 1.12rem; } }

.kp-raci table { table-layout: fixed; }
.kp-raci td:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 42%; }
.kp-raci th:first-child { width: 42%; }
.kp-raci th:last-child, .kp-raci td:last-child { width: 24px; }
.kp-rc { width: 26px; height: 24px; }
.kp-mc-line { font-size: .86rem; line-height: 1.6; }
