/* LODinize local help - shared styles. */
:root {
    --fg: #1f2328; --muted: #5f6670; --faint: #9aa0a6;
    --bg: #ffffff; --bg-soft: #f6f7f9; --line: #e3e6ea; --line-strong: #c9ced6;
    --link: #2563a8; --accent: #2f7fd0;
    --note-bg: #fff8e6; --note-line: #f2dc9c; --note-fg: #6f5300;
    --tip-bg: #eaf4ff; --tip-line: #bcd9f7; --tip-fg: #1c4f86;
    --ex-bg: #eef8f0; --ex-line: #bfe3c7; --ex-fg: #245c33;
    --kbd-bg: #f1f3f5;
}
@media (prefers-color-scheme: dark) {
    :root {
        --fg: #e6e8eb; --muted: #a4abb5; --faint: #7c838d;
        --bg: #16181b; --bg-soft: #1e2125; --line: #2e3238; --line-strong: #454b53;
        --link: #6fb0ff; --accent: #4c9bef;
        --note-bg: #2a2412; --note-line: #5a4a1c; --note-fg: #e9cf86;
        --tip-bg: #13243a; --tip-line: #274a73; --tip-fg: #a9cdf5;
        --ex-bg: #14271a; --ex-line: #2b5236; --ex-fg: #a6dcb3;
        --kbd-bg: #2a2e33;
    }
}
* { box-sizing: border-box; }
body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    color: var(--fg); background: var(--bg);
    margin: 0; line-height: 1.6;
}
.wrap { max-width: 1000px; margin: 0 auto; padding: 24px 28px 64px; }

/* header + main navigation */
header.top {
    border-bottom: 1px solid var(--line); padding: 12px 28px;
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px;
    background: var(--bg-soft);
}
header.top .brand { font-size: 18px; font-weight: 600; color: var(--fg); text-decoration: none; }
header.top .ver { font-size: 12px; color: var(--muted); }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-left: auto; font-size: 14px; }
nav.main a { color: var(--muted); text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; }
nav.main a:hover { color: var(--fg); }
nav.main a.on { color: var(--fg); border-bottom-color: var(--accent); }
nav.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
nav.crumbs a { color: var(--link); text-decoration: none; }

h1 { font-size: 26px; font-weight: 600; margin: 6px 0 10px; }
h2 { font-size: 19px; font-weight: 600; margin: 34px 0 8px; padding-top: 6px; border-top: 1px solid var(--line); }
h3 { font-size: 16px; font-weight: 600; margin: 22px 0 6px; }
p, li, td, th { font-size: 15px; }
p.lead { font-size: 16px; color: var(--muted); margin-top: 0; }
a { color: var(--link); }
code { font-family: Consolas, "Courier New", monospace; font-size: 13.5px; background: var(--kbd-bg); padding: 1px 5px; border-radius: 4px; }
kbd {
    font-family: "Segoe UI", sans-serif; font-size: 12.5px; background: var(--kbd-bg);
    border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px;
}
.ui { font-weight: 600; }               /* names of buttons, menus, fields */
.path { color: var(--muted); }           /* menu paths: File > Export LODs */

/* cards (landing pages) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 16px 0; }
.card {
    border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
    text-decoration: none; color: inherit; display: block; background: var(--bg);
}
.card:hover { border-color: var(--line-strong); background: var(--bg-soft); }
.card .t { font-weight: 600; font-size: 15px; }
.card .d { font-size: 13px; color: var(--muted); margin-top: 2px; }
.group-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 26px 0 0; }

/* callouts */
.note, .tip, .example {
    border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 16px 0;
}
.note { background: var(--note-bg); border: 1px solid var(--note-line); color: var(--note-fg); }
.tip  { background: var(--tip-bg);  border: 1px solid var(--tip-line);  color: var(--tip-fg); }
.example { background: var(--ex-bg); border: 1px solid var(--ex-line); color: var(--ex-fg); }
.note b:first-child, .tip b:first-child, .example b:first-child { margin-right: 4px; }

/* screenshots */
figure { margin: 16px 0 22px; }
figure img {
    display: block; max-width: 100%; height: auto; border: 1px solid var(--line-strong);
    border-radius: 6px; background: #1b1b1b;
}
figure.narrow img { max-width: 440px; }
figure.medium img { max-width: 680px; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair figure { margin: 0; }
@media (max-width: 720px) { .pair { grid-template-columns: 1fr; } }

/* tables */
table { border-collapse: collapse; width: 100%; margin: 12px 0 18px; }
th, td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
th { background: var(--bg-soft); font-weight: 600; font-size: 14px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.best td { font-weight: 600; }

/* numbered steps */
ol.steps { padding-left: 0; list-style: none; counter-reset: s; }
ol.steps > li { counter-increment: s; position: relative; padding-left: 38px; margin: 0 0 14px; }
ol.steps > li::before {
    content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px;
    border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
}

/* on-this-page box */
.toc { border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; background: var(--bg-soft); font-size: 14px; margin: 14px 0 6px; }
.toc b { display: block; margin-bottom: 4px; }
.toc a { text-decoration: none; }
.toc ul { margin: 0; padding-left: 18px; }

.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; font-size: 14px; }
.pager a { text-decoration: none; }
footer { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 14px; font-size: 12px; color: var(--faint); }
