/* FreeToolio site styles — mobile-first, readable */
:root { color-scheme: light dark; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.7; font-size: 17px; color: #1a1a1a; background: #fff; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 18px; }
header.site { border-bottom: 1px solid #e5e5e5; }
.site-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 14px 0; }
.brand { font-weight: 700; font-size: 18px; text-decoration: none; color: inherit; }
nav.site a { margin-right: 14px; text-decoration: none; color: #0b57d0; white-space: nowrap; }
nav.site a[aria-current="page"] { color: inherit; font-weight: 600; }
main { padding: 26px 0 40px; }
h1 { font-size: 1.7em; line-height: 1.3; }
h2 { font-size: 1.28em; margin-top: 1.6em; }
h3 { font-size: 1.1em; margin-top: 1.3em; }
a { color: #0b57d0; }
pre { background: #f6f8fa; padding: 12px 14px; overflow-x: auto; border-radius: 6px; font-size: 14px; line-height: 1.5; }
code { font-family: ui-monospace, Consolas, "Courier New", monospace; font-size: 0.92em; background: #f2f2f2; padding: 0.08em 0.32em; border-radius: 4px; }
pre code { background: none; padding: 0; }
table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
th, td { border: 1px solid #ddd; padding: 6px 10px; text-align: left; vertical-align: top; }
blockquote { border-left: 3px solid #ddd; margin: 1em 0; padding: 0.2em 1em; color: #555; }
footer.site { border-top: 1px solid #e5e5e5; padding: 18px 0 30px; font-size: 14px; color: #555; }
footer.site a { margin-right: 14px; }
@media (prefers-color-scheme: dark) {
  body { background: #111; color: #e8e8e8; }
  header.site, footer.site { border-color: #333; }
  nav.site a, a { color: #8ab4f8; }
  pre { background: #1e1e1e; }
  code { background: #242424; }
  th, td { border-color: #444; }
  blockquote { color: #aaa; }
}
