:root{color-scheme:light dark}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Inter",sans-serif;
  line-height:1.65;
  max-width:880px;
  margin:0 auto;
  padding:32px 20px 80px;
  color:#0f172a;
  background:#fafaf9;
}
@media (prefers-color-scheme: dark){
  body{color:#e5e7eb;background:#0a0a0a}
  a{color:#34d399}
  .muted{color:#9ca3af!important}
  .card{background:#111827;border-color:#1f2937}
  pre{background:#0f172a!important;border-color:#1f2937!important;color:#e5e7eb}
}
header.brand{
  display:flex;align-items:center;gap:10px;
  padding-bottom:18px;margin-bottom:14px;
  border-bottom:1px solid #e5e7eb;
}
header.brand img{width:28px;height:28px;border-radius:6px;object-fit:cover}
header.brand a{color:inherit;text-decoration:none;font-weight:600}
h1{font-size:30px;margin:18px 0 6px;letter-spacing:-0.01em}
h2{font-size:20px;margin:26px 0 8px;letter-spacing:-0.01em}
h3{font-size:16px;margin:18px 0 6px}
p,li{font-size:15.5px}
a{color:#0f766e;text-decoration:underline;text-underline-offset:3px}
ul,ol{padding-left:22px;margin:8px 0 14px}
li{margin:4px 0}
.muted{color:#6b7280;font-size:13.5px}
.card{
  border:1px solid #e5e7eb;border-radius:14px;
  padding:18px 20px;margin:18px 0;background:#fff;
}
.lang{margin-left:auto;font-size:13px}
.lang a{margin:0 6px;color:inherit;text-decoration:none;opacity:.6}
.lang a.active{opacity:1;font-weight:600;color:#0f766e}
footer.foot{
  margin-top:46px;padding-top:18px;
  border-top:1px solid #e5e7eb;
  font-size:13px;color:#6b7280;display:flex;flex-wrap:wrap;gap:10px 18px;
}
footer.foot a{color:inherit}
table{border-collapse:collapse;width:100%;margin:8px 0 14px;font-size:14px}
th,td{text-align:left;padding:8px 10px;border-bottom:1px solid #e5e7eb;vertical-align:top}
th{background:#f3f4f6;font-weight:600}
pre{
  background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;
  padding:12px 14px;overflow:auto;font-size:13px;line-height:1.55;
}
