/* Rehber sayfaları: uygulamanın renk değişkenlerini (../style.css) kullanır; sayfalar betiksiz çevrimdışı da açılır (atama takvimi etiketi hariç, o küçük bir betikle güncellenir). */
body { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 16px); }
/* Gerçekten başka siteye giden bağlantılar işaretlenir (yeni sekmede açılır). */
article a[target="_blank"]::after { content: " ↗"; font-size: .85em; white-space: nowrap; }
.top a.back { color: #fff; text-decoration: none; font-size: 15px; font-weight: 650; padding: 10px 0; }
.top a.back:hover { text-decoration: underline; }
article, .guide-list { max-width: 720px; margin: 0 auto; padding: 18px 16px 8px; }
article h1 { font-size: 26px; line-height: 1.25; letter-spacing: -.02em; margin: 6px 0 6px; text-wrap: balance; }
article .lead { font-size: 17px; line-height: 1.5; margin: 6px 0 14px; }
article .updated { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
article h2 { margin: 28px 0 8px; padding-top: 0; border-top: 0; font-size: 19px; letter-spacing: -.01em; text-transform: none; color: var(--text); }
article p, article li { line-height: 1.55; }
article ul, article ol { padding-left: 22px; margin: 8px 0; }
article li { margin: 5px 0; }
article table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
article th, article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
article th { background: var(--surface-2); color: var(--accent); font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }
article td code { overflow-wrap: anywhere; font-size: 13px; }
article td, article th { overflow-wrap: anywhere; }
article tr:last-child td { border-bottom: 0; }
article td strong.type { font-size: 18px; color: var(--accent); }
.callout { margin: 14px 0; padding: 12px 14px; border-radius: var(--radius); background: var(--ok-bg); color: var(--ok-text); font-size: 15px; line-height: 1.5; }
.scorebox { margin: 14px 0; padding: 16px 14px; border-radius: var(--radius); background: var(--surface-2); border: 2px solid var(--accent); text-align: center; }
.scorebox[hidden] { display: none; }
.scorebox span { display: block; }
.scorebox-label { font-size: 14px; color: var(--muted, var(--text)); }
.scorebox-num { display: block; font-size: 44px; line-height: 1.15; color: var(--accent); letter-spacing: -.02em; }
.scorebox-band { font-size: 15px; }
.callout.warn { background: var(--warn-bg); color: var(--warn-text); }
.sources { margin-top: 28px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.sources h2 { margin-top: 0; font-size: 15px; }
.sources a, article a { color: var(--accent); overflow-wrap: anywhere; }
.cta { margin: 24px 0 8px; }
.cta a.btn { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.guide-list h1 { font-size: 24px; letter-spacing: -.02em; margin: 6px 0 4px; }
.guide-list a.item { display: block; margin: 10px 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.guide-list a.item strong { display: block; font-size: 17px; color: var(--accent); margin-bottom: 4px; }
.guide-list a.item span { font-size: 14px; color: var(--muted); }
.static-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.static-list li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.static-list a { font-weight: 650; color: var(--accent); overflow-wrap: anywhere; }
.static-list span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.static-more { margin-top: 18px; font-size: 14px; color: var(--muted); }
.static-cta { margin: 14px 0 6px; }
.static-cta a.btn { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.guide-list a.soon { opacity: .6; pointer-events: none; }
.guide-list h2.group { margin: 22px 0 4px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.save-box { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.save-box h3 { margin: 0 0 6px; font-size: 16px; }
.save-box button { margin: 8px 8px 0 0; }
.sozluk dt { margin-top: 14px; font-weight: 700; color: var(--accent); }
.sozluk dd { margin: 4px 0 0; line-height: 1.55; }
/* Atama sayfası takvimi: durum etiketi atama-takvim.js ile hesaplanır; betik yoksa sayfadaki varsayılan metin görünür. */
.takvim { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 10px; }
.tl-item { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 12px; background: var(--surface); }
.tl-ad { font-weight: 700; font-size: 16px; color: var(--text); }
.tl-ad small { font-weight: 500; color: var(--muted); }
.tl-tarih { font-size: 14px; color: var(--muted); }
.tl-chip { justify-self: start; margin-top: 2px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 650; background: var(--muted-bg); color: var(--muted-text); }
.tl-item[data-durum="bitti"] { opacity: .78; }
.tl-item[data-durum="yakin"] { border-left-color: var(--accent); }
.tl-item[data-durum="yakin"] .tl-chip { background: var(--warn-bg); color: var(--warn-text); }
.tl-item[data-durum="bugun"] { border-color: var(--accent); border-left-color: var(--accent); background: var(--surface-2); }
.tl-item[data-durum="bugun"] .tl-chip { background: var(--accent); color: #fff; }
@media (min-width: 560px) { .tl-item { grid-template-columns: 1fr auto; align-items: center; } .tl-tarih { grid-column: 1; } .tl-chip { grid-column: 2; grid-row: 1 / span 2; margin: 0; } }

/* KPSS taban puan tablosu (scripts/taban-puan-sayfalari.mjs, rehber/taban-puan.js) */
.taban-form { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin: 8px 0 4px; }
.taban-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.taban-form .taban-sec { flex-direction: row; align-items: center; gap: 8px; }
.taban-form input[type="text"], .taban-form input[type="search"] { min-width: 180px; padding: 8px 10px; font: inherit; }
.taban-kap { overflow-x: auto; }
#tabanTablo td.sayi, #tabanTablo th:nth-child(n+4) { text-align: right; white-space: nowrap; }
#tabanTablo tr.yeter td { background: rgba(62, 202, 160, 0.22); }
