/* Geo3D yardım — programın koyu temasıyla uyumlu (FormKit renkleri) */
:root {
  --bg: #1b1c1f; --surface: #232428; --surface2: #2b2d31; --border: #3c3f45;
  --text: #e2e4e7; --muted: #969ba3; --accent: #28aaeb; --accent2: #46baf2;
  --warn: #f08c1e; --code: #16171a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.6 "Segoe UI", Tahoma, "DejaVu Sans", Arial, sans-serif; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

header.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 8px 18px;
  background: var(--surface); border-bottom: 1px solid var(--border); }
header.top .brand { font-weight: 600; font-size: 17px; color: var(--text); }
header.top .ver { color: var(--muted); font-size: 13px; margin-left: 10px; }
header.top .lang, header.top .pdf, .searchbox { margin-left: 10px; }
header.top .lang, header.top .pdf { font-size: 13px; padding: 3px 10px; border: 1px solid var(--border); border-radius: 4px; color: var(--text); }
header.top .lang:hover, header.top .pdf:hover { border-color: var(--accent); text-decoration: none; }
.searchbox { position: relative; flex: 1; max-width: 460px; margin-left: auto; }
.searchbox input { width: 100%; padding: 6px 10px; background: var(--code); color: var(--text); border: 1px solid var(--border); border-radius: 4px; font: inherit; }
.searchbox input:focus { outline: none; border-color: var(--accent); }
.results { position: absolute; top: 36px; left: 0; right: 0; max-height: 70vh; overflow: auto; background: var(--surface2);
  border: 1px solid var(--border); border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.results a { display: block; padding: 8px 12px; border-bottom: 1px solid var(--border); color: var(--text); }
.results a:hover, .results a.sel { background: #33363c; text-decoration: none; }
.results a b { color: var(--accent2); }
.results a small { display: block; color: var(--muted); font-size: 12.5px; }
.results .none { padding: 10px 12px; color: var(--muted); }

.wrap { display: flex; min-height: calc(100vh - 50px); }
nav.side { width: 250px; flex: none; padding: 14px 10px 30px 14px; background: var(--surface); border-right: 1px solid var(--border);
  position: sticky; top: 50px; height: calc(100vh - 50px); overflow: auto; font-size: 14px; }
nav.side .grp { margin: 14px 0 4px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
nav.side ul { list-style: none; margin: 0; padding: 0; }
nav.side li a { display: block; padding: 3px 8px; border-radius: 4px; color: var(--text); }
nav.side li a:hover { background: var(--surface2); text-decoration: none; }
nav.side li a.cur { background: #1f4f6a; color: #fff; }

main.content { flex: 1; min-width: 0; padding: 22px 40px 40px; max-width: 1080px; }
h1 { font-size: 28px; font-weight: 600; margin: 4px 0 14px; }
h2 { font-size: 21px; font-weight: 600; margin: 30px 0 10px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; color: #cfd6de; }
p, li { color: var(--text); }
code, kbd { font-family: Consolas, "DejaVu Sans Mono", monospace; font-size: 13.5px; }
code { background: var(--code); padding: 1px 5px; border-radius: 3px; border: 1px solid #2c2e33; }
pre { background: var(--code); border: 1px solid var(--border); border-radius: 4px; padding: 10px 12px; overflow: auto; }
pre code { border: 0; padding: 0; }
kbd { background: #2f3238; border: 1px solid #4a4e56; border-bottom-width: 2px; border-radius: 3px; padding: 0 5px; white-space: nowrap; }
blockquote { margin: 14px 0; padding: 8px 14px; background: #1d2a33; border-left: 3px solid var(--accent); border-radius: 0 4px 4px 0; }
blockquote.warn { border-left-color: var(--warn); }
blockquote p { margin: 4px 0; }
table { border-collapse: collapse; width: 100%; margin: 10px 0 18px; font-size: 14px; }
th, td { border: 1px solid var(--border); padding: 6px 9px; vertical-align: top; text-align: left; }
th { background: var(--surface2); font-weight: 600; }
tr:nth-child(even) td { background: #202125; }
table.ref td:first-child { white-space: nowrap; }
table.keys td:first-child { width: 190px; }
.note { color: var(--muted); font-size: 13.5px; }
figure.shot { margin: 16px 0 20px; }
figure.shot img { max-width: 100%; border: 1px solid var(--border); border-radius: 4px; }
figure.shot figcaption { color: var(--muted); font-size: 13px; margin-top: 4px; }
figure.shot.missing .ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 150px;
  border: 2px dashed #4a4e56; border-radius: 6px; background: repeating-linear-gradient(45deg, #202125, #202125 10px, #23252a 10px, #23252a 20px); color: var(--muted); }
figure.shot.missing .ph code { background: transparent; border: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 12px 0 20px; }
.cards a { display: block; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; color: var(--text); }
.cards a:hover { border-color: var(--accent); text-decoration: none; }
.cards a b { display: block; color: var(--accent2); margin-bottom: 2px; }
.cards a span { color: var(--muted); font-size: 13.5px; }
footer.pn { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; }
footer.pn .next { margin-left: auto; }
mark { background: #6a5a10; color: #fff; padding: 0 1px; }

@media (max-width: 900px) {
  nav.side { display: none; }
  main.content { padding: 16px; }
}
@media print {
  header.top, nav.side, footer.pn { display: none; }
}
