/* Seksen site: tek ortak stil. Dis kaynak, yazi tipi indirme, betik yok. */
:root {
  color-scheme: light dark;
  --bg: #F7F9FA;
  --surface: #FFFFFF;
  --text: #10252B;
  --muted: #5B6E74;
  --accent: #0F4C5C;
  --accent-text: #0F4C5C;
  --border: #DCE4E7;
  --mark-bg: #FFF1B8;
  --mark-text: #4A3B00;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1A1E;
    --surface: #13262C;
    --text: #EEF4F6;
    --muted: #9DB2B8;
    --accent: #6CC3D5;
    --accent-text: #8FD3E2;
    --border: #2A4148;
    --mark-bg: #5A4A00;
    --mark-text: #FFF1B8;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1A1E;
  --surface: #13262C;
  --text: #EEF4F6;
  --muted: #9DB2B8;
  --accent: #6CC3D5;
  --accent-text: #8FD3E2;
  --border: #2A4148;
  --mark-bg: #5A4A00;
  --mark-text: #FFF1B8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 20px 16px 64px; }

nav.top {
  display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center;
  padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
  font-size: 15px;
}
nav.top .brand { font-weight: 700; color: var(--text); text-decoration: none; margin-right: auto; }
nav.top a { color: var(--accent-text); text-decoration: none; padding: 6px 0; }
nav.top a[aria-current="page"] { color: var(--text); font-weight: 600; }
nav.top a:hover, nav.top a:focus-visible { text-decoration: underline; }

header.page { margin-bottom: 24px; }
h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.2; }
h2 { margin: 36px 0 8px; font-size: 21px; line-height: 1.3; }
h3 { margin: 22px 0 6px; font-size: 18px; line-height: 1.35; }
p { margin: 0 0 12px; }
ul, ol { padding-left: 22px; margin: 0 0 12px; }
li { margin-bottom: 8px; }
a { color: var(--accent-text); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.meta { color: var(--muted); font-size: 15px; margin: 2px 0; }
.small { font-size: 14px; color: var(--muted); }
.box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 18px 4px; margin: 12px 0 16px;
}
.box ul { margin-bottom: 8px; }
.notice {
  background: var(--surface); border: 2px solid var(--accent); border-radius: 12px;
  padding: 14px 18px 4px; margin: 0 0 24px;
}
.notice h2 { margin: 0 0 8px; font-size: 19px; }
.notice ul { margin-bottom: 8px; }

.cards { display: grid; gap: 12px; margin: 20px 0; }
.card {
  display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; color: var(--text); text-decoration: none;
}
.card strong { display: block; color: var(--accent-text); font-size: 18px; margin-bottom: 2px; }
.card span { color: var(--muted); font-size: 15px; }
.card:hover, .card:focus-visible { border-color: var(--accent); }

.table-wrap { overflow-x: auto; margin: 12px 0 16px; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }

details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 0 16px; margin: 0 0 10px;
}
details[open] { padding-bottom: 6px; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Yayindan once doldurulacak alanlar: gorunur olsun diye isaretli. */
mark.ph { background: var(--mark-bg); color: var(--mark-text); padding: 0 3px; border-radius: 3px; }

footer.page { margin-top: 40px; padding-top: 12px; border-top: 1px solid var(--border); }
