/*
  Design read: kişisel çalışma takipçisi + ders sitesi, tek kullanıcı (12. sınıf öğrencisi), defter/kırmızı kalem dili,
  dial ENERGY 1 / RHYTHM 2 / MOTION 1.
  - Kağıt zemin + mürekkep: ders defteri hissi; uzun süre okumaya uygun düşük parlaklık.
  - Tek vurgu (kırmızı kalem): odak noktası, sayaç, doğru/işaretli durumlar; öğretmen düzeltme kalemi metaforu.
  - Başlıklar serif (Palatino/Georgia): ders kitabı sesi, sistem fontu olduğu için ağ bağımlılığı yok.
  - Kod blokları monospace: içerik gerçekten kod olduğu için, süs için değil.
  - Gölge yok: her şey aynı kağıt düzleminde; hiyerarşi boyut ve boşlukla kuruluyor.
  - Koyu tema: gece çalışması gerçek kullanım senaryosu, bu yüzden çalışan açık/koyu geçişi var.
*/
:root {
  --paper: #f7f4ec; --surface: #fffdf8; --ink: #1f1d19; --muted: #5f5a50;
  --line: #e2dccd; --field: #8a8272; --accent: #a8331a; --on-accent: #fffdf8;
  --good: #2f6b3a; --code-bg: #efeadd;
  --r-card: 6px; --r-ctl: 4px;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: Consolas, "Cascadia Mono", "Courier New", monospace;
}
[data-theme="dark"] {
  --paper: #1a1916; --surface: #23221e; --ink: #ece8de; --muted: #a8a195;
  --line: #34322d; --field: #77705f; --accent: #ee8a6a; --on-accent: #1a1916;
  --good: #8cc79a; --code-bg: #2b2a25;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
button, input, select { font: inherit; color: inherit; }
button, a.btn { cursor: pointer; background: var(--surface); border: 1px solid var(--field); border-radius: var(--r-ctl); padding: 6px 12px; }
a.btn { display: inline-block; text-decoration: none; color: var(--ink); }
button:hover, a.btn:hover { border-color: var(--ink); }
button:disabled { cursor: not-allowed; opacity: .55; }
button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
button.link { border: 0; background: none; padding: 4px 6px; color: var(--muted); text-decoration: underline; }
input, select { background: var(--surface); border: 1px solid var(--field); border-radius: var(--r-ctl); padding: 6px 8px; min-width: 0; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.banner { margin: 16px 0 0; padding: 10px 14px; border: 1px solid var(--accent); border-radius: var(--r-card); background: var(--surface); }
.banner[hidden] { display: none; }
