@page {
    size: A4;
    margin: 2cm;
    @top-center {
        content: "Claude Code 中文文档";
    }
    @bottom-center {
        content: counter(page);
    }
}
body {
    font-family: "Noto Sans CJK SC", "Source Han Sans CN", "WenQuanYi Micro Hei", "Microsoft YaHei", sans-serif;
    font-size: 12pt;
    line-height: 1.6;
}
h1 {
    font-size: 24pt;
    color: #1a1a1a;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
    page-break-after: avoid;
}
h2 {
    font-size: 18pt;
    color: #333333;
    margin-top: 20px;
    page-break-after: avoid;
}
h3 {
    font-size: 14pt;
    color: #555555;
    margin-top: 15px;
    page-break-after: avoid;
}
code {
    font-family: "Consolas", "Monaco", monospace;
    background-color: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
}
pre {
    background-color: #f5f5f5;
    padding: 10px;
    border-left: 4px solid #0066cc;
    overflow-x: auto;
    page-break-inside: avoid;
}
table {
    border-collapse: collapse;
    width: 100%;
    margin: 15px 0;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #f0f0f0;
}
blockquote {
    border-left: 4px solid #0066cc;
    margin: 10px 0;
    padding: 10px 15px;
    background-color: #f9f9f9;
}
a {
    color: #0066cc;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
