:root{color-scheme:light;--bg:#eaf6f0;--soft:#dff0e7;--card:#fff;--text:#14202b;--muted:#51656f;--line:#cfe3d9;--brand:#0b7a53;--brand-soft:#d6f0e3;--pos:#0b7a53;--neg:#c0392b;--warn:#8a5a00;--warnbg:#fff4d6;--shadow:0 1px 2px rgba(16,60,40,.06),0 6px 18px rgba(16,60,40,.08)}
:root[data-theme="white"]{--bg:#fff;--soft:#f5f8f7;--line:#e3e8ec;--brand-soft:#e8f5ef;--muted:#5b6b79;--shadow:0 1px 2px rgba(16,32,48,.05),0 4px 14px rgba(16,32,48,.05)}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:var(--brand)}
.wrap{max-width:1120px;margin:0 auto;padding:0 16px}
header.site{border-bottom:1px solid var(--line);background:var(--card)}
header.site .wrap{display:flex;gap:16px;align-items:center;justify-content:space-between;min-height:56px;flex-wrap:wrap}
header.site .logo{font-weight:800;text-decoration:none;color:var(--text)}
header.site nav{display:flex;gap:16px;align-items:center}
header.site nav a{text-decoration:none;color:var(--muted)}
header.site nav a:hover{color:var(--text)}
.lang{border:1px solid var(--line);border-radius:6px;padding:2px 8px;font-size:14px}
h1{font-size:clamp(26px,4vw,38px);line-height:1.2;margin:28px 0 8px}
.lead{color:var(--muted);max-width:720px;margin:0 0 24px}
.layout{display:grid;grid-template-columns:minmax(0,400px) minmax(0,1fr);gap:20px;align-items:start}
@media (max-width:860px){.layout{grid-template-columns:1fr}}
.panel{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px}
#form details{border-top:1px solid var(--line);padding:10px 0}
#form details:first-of-type{border-top:0}
#form summary{cursor:pointer;font-weight:700;padding:4px 0}
.selects{display:grid;gap:12px;margin-bottom:12px}
.grid{display:grid;gap:10px;margin-top:8px}
.field{display:block;font-size:14px}
.field>span{display:block;color:var(--muted);margin-bottom:3px}
.inp{display:flex;align-items:center;gap:8px}
input,select{width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font:inherit}
input:focus,select:focus{outline:2px solid var(--brand);outline-offset:1px}
.inp em{font-style:normal;color:var(--muted);min-width:64px;font-size:13px}
.verdict{border-radius:10px;padding:14px 16px;border:1px solid var(--line);border-left-width:6px}
.verdict p{margin:4px 0}.verdict small{color:var(--muted)}
.verdict.good{border-left-color:var(--pos)}.verdict.risky{border-left-color:#d99a00}.verdict.bad{border-left-color:var(--neg)}
.warns{background:var(--warnbg);color:var(--warn);border-radius:8px;padding:10px 16px 10px 30px;margin:12px 0}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0}
.kpi{border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.kpi span{display:block;font-size:13px;color:var(--muted)}.kpi b{font-size:19px}
h3{margin:22px 0 8px;font-size:17px}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:7px 8px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
th:first-child,td:first-child{text-align:left}
thead th{color:var(--muted);font-weight:600}
.scroll{overflow-x:auto}
.note{color:var(--muted);font-size:13px}
svg{width:100%;height:auto;display:block}
svg .axis{stroke:var(--line);stroke-width:1}svg .pos{fill:var(--pos)}svg .neg{fill:var(--neg)}
article{max-width:760px;margin:40px 0}
article h2{margin-top:32px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:24px 0}
.card{display:block;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:18px;text-decoration:none;color:var(--text)}
.card:hover{border-color:var(--brand)}.card h2{margin:0 0 6px;font-size:19px}.card p{margin:0;color:var(--muted)}
footer.site{border-top:1px solid var(--line);margin-top:48px;padding:20px 0;color:var(--muted);font-size:14px}
svg .line{stroke:var(--brand);stroke-width:2.5}svg .dot{fill:var(--brand)}svg .lbl{fill:var(--muted);font-size:10px}
.prose{max-width:720px}.prose h1{margin-top:0}.prose small{color:var(--muted)}
footer.site .foot{margin:0 0 8px}footer.site .foot a{color:var(--muted)}
.prose .meta{color:var(--muted);font-size:14px;margin-top:-4px}
.prose img{max-width:100%;height:auto;border-radius:8px}
.prose blockquote{margin:16px 0;padding:4px 16px;border-left:4px solid var(--brand);color:var(--muted)}
.prose table{margin:12px 0}.prose .cta{margin-top:32px}
.prose code{background:var(--card);border:1px solid var(--line);border-radius:4px;padding:1px 5px;font-size:.92em}
td .ok{color:var(--pos)}td .no{color:var(--neg)}
.kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.verdict.veryGood{border-left-color:var(--pos);background:rgba(11,122,83,.10)}.verdict.normal{border-left-color:#4f8fd6}.verdict.long{border-left-color:#d99a00}.verdict.veryLong{border-left-color:var(--neg)}
.field.req>span::after{content:" *";color:var(--brand)}input::placeholder{color:var(--muted);opacity:.55}
button#fillExample{padding:9px 14px;border-radius:8px;border:1px solid var(--brand);background:transparent;color:var(--brand);font:inherit;cursor:pointer}
tr.pick td,tr.pick th{background:rgba(11,122,83,.12);font-weight:600}
/* --- açık tema: beyaz ağırlıklı --- */
.panel{box-shadow:var(--shadow)}
input,select{background:#fff}
.crumb{margin:20px 0 0;font-size:14px}.crumb a{color:var(--muted);text-decoration:none}.crumb a:hover{color:var(--brand)}
.crumb+h1{margin-top:8px}
.ico{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:var(--brand-soft);color:var(--brand);flex:none}
.card{box-shadow:var(--shadow);transition:border-color .15s,box-shadow .15s,transform .15s}
.card:hover{border-color:var(--brand);box-shadow:0 2px 4px rgba(16,32,48,.06),0 10px 24px rgba(11,122,83,.12);transform:translateY(-1px)}
.tool-card{display:flex;flex-direction:column;gap:10px;padding:22px}
.tool-card h2{font-size:21px;line-height:1.25;margin:2px 0 0}
.tool-card p{font-size:15px}
.cards{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.hero{text-align:center;padding:36px 0 8px}
.hero h1{font-size:clamp(30px,5vw,46px);margin:0 0 12px}
.hero .lead{margin:0 auto}
.ask{text-align:center;font-size:18px;color:var(--muted);font-weight:600;margin:28px 0 18px}
.choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-bottom:24px}
.choice{display:flex;flex-direction:column;gap:12px;padding:28px 24px;background:#fff;border:1px solid var(--line);border-radius:16px;text-decoration:none;color:var(--text);box-shadow:var(--shadow);transition:border-color .15s,box-shadow .15s,transform .15s}
.choice .ico{width:64px;height:64px;border-radius:16px}.choice .ico svg{width:34px;height:34px}
.choice h2{margin:4px 0 0;font-size:24px;line-height:1.2}
.choice p{margin:0;color:var(--muted);flex:1}
.choice .go{color:var(--brand);font-weight:700}.choice .go small{color:var(--muted);font-weight:500;margin-left:6px}
a.choice:hover{border-color:var(--brand);box-shadow:0 2px 4px rgba(16,32,48,.06),0 12px 28px rgba(11,122,83,.14);transform:translateY(-2px)}
.choice.soon{background:var(--soft);border-style:dashed;box-shadow:none;cursor:default}
.choice.soon .ico{background:#eceff1;color:#8896a3}.choice.soon h2{color:#5b6b79}
.badge{align-self:flex-start;font-size:13px;font-weight:700;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 12px}
footer.site{background:var(--soft)}
/* --- renkli (varsayılan) tema; beyaz tema :root[data-theme="white"] ile açılır --- */
:root:not([data-theme="white"]) header.site{background:linear-gradient(90deg,#0b7a53,#0d8c80 60%,#1b84b8);border-bottom:0}
:root:not([data-theme="white"]) header.site .logo,:root:not([data-theme="white"]) header.site nav a{color:#fff}
:root:not([data-theme="white"]) header.site nav a{opacity:.88}
:root:not([data-theme="white"]) header.site nav a:hover{opacity:1}
:root:not([data-theme="white"]) .lang{border-color:rgba(255,255,255,.55)}
:root:not([data-theme="white"]) .hero{background:linear-gradient(135deg,#0b7a53 0%,#12a08a 55%,#2f9fd0 100%);border-radius:22px;margin-top:24px;padding:48px 20px 44px;color:#fff;box-shadow:0 10px 30px rgba(11,122,83,.25)}
:root:not([data-theme="white"]) .hero .lead{color:rgba(255,255,255,.92)}
:root:not([data-theme="white"]) .ask{color:var(--text)}
:root:not([data-theme="white"]) .choices .choice:nth-child(1) .ico{background:#dcebff;color:#1f6fd1}
:root:not([data-theme="white"]) .choices .choice:nth-child(1) .go{color:#1f6fd1}
:root:not([data-theme="white"]) .choices .choice:nth-child(1):hover{border-color:#1f6fd1}
:root:not([data-theme="white"]) .choices .choice:nth-child(3).soon .ico{background:#e4e9ee;color:#7b8a97}
:root:not([data-theme="white"]) .choice.soon{background:rgba(255,255,255,.55)}
:root:not([data-theme="white"]) .cards .tool-card:nth-child(4n+2) .ico{background:#dcebff;color:#1f6fd1}
:root:not([data-theme="white"]) .cards .tool-card:nth-child(4n+3) .ico{background:#fff0d0;color:#b96e00}
:root:not([data-theme="white"]) .cards .tool-card:nth-child(4n) .ico{background:#ece4fb;color:#6b43c4}
:root:not([data-theme="white"]) .panel,:root:not([data-theme="white"]) .kpi{border-color:var(--line)}
:root:not([data-theme="white"]) footer.site{background:#0f3d2f;color:#c9ded5;border-top:0}
:root:not([data-theme="white"]) footer.site .foot a{color:#fff}
.theme-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;padding:0;border-radius:50%;border:1px solid var(--line);background:#fff;color:#c27a00;cursor:pointer}
.theme-btn:hover{border-color:var(--brand)}
.theme-btn svg{width:18px;height:18px}
:root:not([data-theme="white"]) .theme-btn{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.55);color:#fff}
:root:not([data-theme="white"]) .theme-btn:hover{background:rgba(255,255,255,.3)}
:root[data-theme="white"] .theme-btn{background:#fff7e0;border-color:#f0d58a}
header.site nav{flex-wrap:wrap}

.choice.game .ico{background:#ece4fb;color:#6b43c4}.choice.game .go{color:#6b43c4}a.choice.game:hover{border-color:#6b43c4}

/* makale görselleri (tools/figures.js) */
.fig{margin:26px 0;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:14px}
.fig-title{font-weight:700;margin:0 0 12px}
.fig-note{margin:10px 0 0;color:var(--muted);font-size:13px}
.fig-svg{width:100%;height:auto;display:block}
.fig-scene{padding:0;overflow:hidden;background:#dfeaf2}.fig-scene .fig-title{padding:14px 16px 0;margin:0;color:#14202b}.fig-scene .fig-note{padding:0 16px 14px;color:#51656f}
.fig-svg .fg-t{font:600 15px system-ui,sans-serif;fill:var(--muted)}.fig-svg .fg-n{font:700 17px system-ui,sans-serif;fill:var(--text)}
.fig-hub .fig-svg{max-width:520px;margin:0 auto}.fig-layers .fig-svg{max-width:560px;margin:0 auto}
.fig-svg .fg-grid{stroke:var(--line);stroke-width:1}
.fig-svg text{paint-order:stroke;stroke:var(--card);stroke-width:4px;stroke-linejoin:round}
.fig-bar{margin:12px 0}.fig-bar-h{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.fig-bar-t{height:14px;background:var(--soft);border-radius:7px;overflow:hidden;margin-top:6px}.fig-bar-t i{display:block;height:100%;border-radius:7px}
.fig-bar small{color:var(--muted)}
.fig-seg{display:flex;height:30px;border-radius:8px;overflow:hidden;background:var(--soft)}.fig-seg i{display:block;height:100%}
.fig-legend{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:6px 14px;font-size:14px}
.fig-legend li{display:flex;align-items:center;gap:8px}.fig-legend span{width:12px;height:12px;border-radius:3px;flex:none}.fig-legend b{margin-left:auto}
.fig-kpis{margin:0}.fig-kpis .kpi{background:var(--card)}.fig-kpis .kpi b{display:block;font-size:24px;color:var(--brand)}.fig-kpis .kpi span{margin-top:2px}
.fig-tl{list-style:none;margin:0;padding:0;position:relative}
.fig-tl:before{content:"";position:absolute;left:61px;top:10px;bottom:10px;width:3px;background:var(--line);border-radius:2px}
.fig-tl li{display:flex;align-items:flex-start;position:relative;padding:8px 0}
.fig-tl .yr{flex:none;width:46px;text-align:right;color:var(--brand);font-size:15px;padding-top:1px}
.fig-tl li:before{content:"";position:absolute;left:56px;top:13px;width:13px;height:13px;border-radius:50%;background:var(--card);border:3px solid var(--brand)}
.fig-tl li>div{margin-left:34px}.fig-tl strong{display:block}.fig-tl span{display:block;color:var(--muted);font-size:14px}
.fig-cmp{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.fig-side{border:1px solid var(--line);border-radius:12px;padding:12px 14px}.fig-side h4{margin:0 0 8px;font-size:16px}.fig-side ul{margin:0;padding-left:18px}.fig-side li{margin:4px 0}
.fig-side.neg{border-top:4px solid var(--neg)}.fig-side.pos{border-top:4px solid var(--pos)}
@media(max-width:540px){.fig-payback .fg-t,.fig-scene .fg-t{font-size:21px}.fig-layers .fg-t{font-size:17px}.fig-layers .fg-n{font-size:19px}}
.faq{margin-top:28px}.faq h3{font-size:17px;margin:20px 0 4px}.faq h3+p{margin-top:0}

/* paylaşım çubuğu ve yazdırma raporu (js/tool-shell.js, js/export.js) */
.share-bar{margin-top:18px;padding-top:12px;border-top:1px solid var(--line)}
.share-bar h3{margin:0 0 8px;font-size:15px;color:var(--muted);text-transform:none}
.share-actions{display:flex;flex-wrap:wrap;gap:8px}
.share-actions button{border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:8px;padding:7px 12px;font:inherit;font-size:14px;cursor:pointer}
.share-actions button:hover{border-color:var(--brand);color:var(--brand)}
.share-msg{min-height:1.2em;margin:8px 0 0;color:var(--brand)}
.print-only{display:none}
@media print{
  @page{margin:14mm}
  body{background:#fff;color:#000;font-size:11pt}
  header.site,footer.site,.theme-btn,.share-bar,.layout>.panel:first-child,main>*:not(.layout):not(#printHead):not(#printFoot):not(h1){display:none!important}
  .layout{display:block}.layout>.panel{border:0;box-shadow:none;padding:0;background:#fff}
  main.wrap{max-width:none;padding:0}
  h1{font-size:20pt;margin:8pt 0 4pt}
  .print-only{display:block}
  .ph-brand{display:flex;justify-content:space-between;align-items:baseline;border-bottom:3px solid #0b7a53;padding-bottom:4pt}
  .ph-brand b{font-size:14pt;color:#0b7a53}.ph-meta{font-size:9pt;color:#444;margin:4pt 0}
  .ph-sub{font-size:12pt;margin:10pt 0 4pt}
  .ph-inputs{width:100%;border-collapse:collapse;font-size:9pt}.ph-inputs td,.ph-inputs th{border-bottom:1px solid #ddd;padding:2pt 4pt;text-align:left}
  .ph-inputs tr.grp th{background:#eef6f1;font-size:9pt}
  #printFoot{margin-top:12pt;font-size:8pt;color:#555;border-top:1px solid #ccc;padding-top:4pt}
  .kpi,table,svg,.verdict{break-inside:avoid}
}
.share-manual{display:block;width:100%;margin-top:8px;font:13px/1.4 ui-monospace,Consolas,monospace;border:1px solid var(--line);border-radius:8px;padding:8px;background:var(--card);color:var(--text);resize:vertical}
