/* Static study pages (tools/static-pages). No JavaScript is needed to read them. */
:root { color-scheme: light dark; --bg: #fffdf9; --fg: #22190f; --muted: #5d5247; --accent: #3b2314; --accent-fg: #fff; --line: #e3d9cc; --soft: #f5eee4; --link: #7a3e12; }
@media (prefers-color-scheme: dark) { :root { --bg: #17120e; --fg: #f1e9df; --muted: #bfb2a3; --accent: #d9a066; --accent-fg: #17120e; --line: #3d3128; --soft: #241c15; --link: #e6b07a; } }
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.55; color: var(--fg); background: var(--bg); }
a { color: var(--link); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-fg); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }
.site-header { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: var(--soft); }
.brand { font-weight: 700; text-decoration: none; color: var(--fg); font-size: 1.05rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; }
.lang { margin-left: auto; }
main { max-width: 52rem; margin: 0 auto; padding: 1rem 1rem 3rem; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 1rem 0 .5rem; }
h2 { font-size: 1.35rem; margin-top: 2rem; border-bottom: 1px solid var(--line); padding-bottom: .2rem; }
h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.lead { font-size: 1.1rem; }
.meta, .note, .summary { color: var(--muted); }
.note { font-size: .95rem; }
.badge { display: inline-block; font-size: .8rem; padding: .1rem .5rem; border-radius: 1rem; background: var(--soft); border: 1px solid var(--line); color: var(--muted); }
.open-app { margin: 1rem 0; }
.button { display: inline-block; padding: .55rem 1rem; background: var(--accent); color: var(--accent-fg); text-decoration: none; border-radius: .4rem; font-weight: 600; }
.button:hover { filter: brightness(1.1); }
.facts, .inline-list, .languages { padding-left: 1.2rem; }
.inline-list { display: flex; flex-wrap: wrap; gap: .3rem .9rem; list-style: none; padding: 0; }
.inline-list li::after { content: "·"; margin-left: .9rem; color: var(--muted); }
.inline-list li:last-child::after { content: ""; }
.mwa-list > li { margin-bottom: .8rem; }
.mwa-list ul { margin: .25rem 0 0; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
th, td { border: 1px solid var(--line); padding: .4rem .55rem; text-align: left; vertical-align: top; }
thead th { background: var(--soft); }
.task-row td:first-child { padding-left: 1.5rem; }
.markdown table { display: block; overflow-x: auto; }
blockquote { margin: 1rem 0; padding: .25rem 1rem; border-left: 4px solid var(--line); color: var(--muted); }
pre { overflow-x: auto; padding: .75rem; background: var(--soft); }
pre.snippet { white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: .4rem; }
.mcp-url { display: inline-block; padding: .35rem .6rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--soft); overflow-wrap: anywhere; font-size: 1rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; }
dl dt { font-weight: 600; margin-top: .6rem; }
dl dd { margin: 0 0 .4rem; }
.citations { margin-top: 2.5rem; font-size: .92rem; }
.citations ul, .sources { padding-left: 1.2rem; }
.sources li { margin-bottom: .5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; padding: 0; margin: .5rem 0 0; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .3rem; }
.site-footer { border-top: 1px solid var(--line); padding: 1rem; font-size: .88rem; color: var(--muted); text-align: center; }
.disclaimer { font-weight: 600; }
img { max-width: 100%; height: auto; }
@media (max-width: 40rem) { h1 { font-size: 1.5rem; } .lang { margin-left: 0; } }
@media print { .site-header, .open-app, .site-footer .site-nav { display: none; } }
