:root {
  color-scheme: light dark;
  --bg: #faf9f6; --fg: #232b2b; --muted: #5c6767;
  --link: #246253; --border: #dce2dc; --surface: #eef2ed;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161c1b; --fg: #e5ede8; --muted: #a7b7ae; --link: #97ceb8; --border: #35463e; --surface: #24312b; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; line-height: 1.85; background: var(--bg); color: var(--fg); }
body { max-width: 50rem; margin: 0 auto; padding: 1.25rem 1.5rem 5rem; overflow-wrap: break-word; }
a { color: var(--link); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; padding: .75rem 0 1rem; border-bottom: 1px solid var(--border); }
nav a { white-space: nowrap; text-decoration: none; color: var(--muted); }
nav a[aria-current="page"] { color: var(--fg); font-weight: 700; }
#garden-auth-link { margin-left: auto; font-size: .9rem; }
nav form { margin: 0; }
button { font: inherit; color: var(--link); border: 1px solid var(--border); border-radius: .4rem; background: var(--surface); padding: .15rem .6rem; cursor: pointer; }
main { min-width: 0; }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); letter-spacing: -.04em; line-height: 1.25; margin: 3rem 0 1.5rem; text-align: left; }
h2 { font-size: 1.4rem; line-height: 1.4; letter-spacing: -.025em; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.1rem; }
p { margin: .8rem 0 1.25rem; }
#content > .org-center, .subtitle { color: var(--muted); }
ul { padding-left: 1.25rem; }
li { margin: .35rem 0; }
pre, .org-src-container, .table-wrapper { max-width: 100%; overflow-x: auto; }
pre { padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: .5rem; line-height: 1.55; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
th, td { padding: .35rem .6rem; border: 1px solid var(--border); }
img { max-width: 100%; height: auto; }
footer { margin-top: 3rem; border-top: 1px solid var(--border); color: var(--muted); }
@media (max-width: 480px) { body { padding: 1rem 1.1rem 3rem; } nav { gap: .5rem 1.25rem; } h1 { margin-top: 2rem; } }
