:root {
  --orange: #ff6a00;
  --text: #202124;
  --dim: #5f6368;
  --border: #e3e6ea;
  --bg: #f6f7f9;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.65; }

.topbar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.topbar-in { max-width: 820px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav a { color: var(--dim); text-decoration: none; font-size: 14px; margin-left: 18px; }
.nav a.active { color: var(--orange); font-weight: 600; }
.nav a:hover { color: var(--text); }

.wrap { max-width: 820px; margin: 34px auto 60px; padding: 0 24px; }
.doc-head { border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 26px; }
h1 { font-size: 30px; font-weight: 600; margin: 0 0 8px; }
.updated { color: var(--dim); font-size: 14px; }

.notice { background: #fff7ed; border: 1px solid #ffd9b3; color: #8a4b00;
  border-radius: 10px; padding: 12px 16px; font-size: 13px; margin-bottom: 26px; }

article h2 { font-size: 20px; font-weight: 600; margin: 34px 0 10px; }
article h3 { font-size: 16px; font-weight: 600; margin: 22px 0 8px; }
article p, article li { font-size: 15px; color: #33373b; }
article ul { padding-left: 22px; }
article a { color: var(--orange); }

.toc { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 30px; }
.toc-title { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--dim); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { color: var(--text); text-decoration: none; font-size: 14px; }
.toc a:hover { color: var(--orange); }

footer.site { border-top: 1px solid var(--border); background: #fff; }
footer.site .footin { max-width: 820px; margin: 0 auto; padding: 22px 24px; display: flex; flex-wrap: wrap;
  gap: 8px 18px; align-items: center; font-size: 13px; color: var(--dim); }
footer.site a { color: var(--dim); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.lang { margin-left: auto; }
.lang select { font-size: 13px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 6px; }
