@charset "utf-8";

/* ========== 基础重置 ========== */
body {
    margin: 0;
    padding: 10px;
    color: #333;
    font-family: 'simsun', Arial;
    font-size: 0.9em;
    line-height: 1.4;
    background-color: #fff;
}

a {
    outline: none;
    color: #0000ff;
}

/* ========== 布局容器 ========== */
div {
    width: 960px;
    margin: 0 auto;
}

/* ========== 标题 ========== */
h1 {
    display: block;
    text-align: center;
    font-size: 1.5em;
    margin: 30px 0;
}

h2 {
    font-size: 1em;
    font-weight: bold;
    margin: 1em 0 0.5em;
}

/* ========== 段落 ========== */
p {
    word-wrap: break-word;
    text-align: justify;
}

p.paddL {
    padding-left: 35px;
}

/* ========== 文本强调 ========== */
.underline {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

strong {
    font-weight: bolder;
}

.text-left {
    text-indent: 35px;
}

.center {
    text-align: center;
}

.end {
    text-align: right;
}

.red {
    color: red;
}

/* ========== 预格式文本 ========== */
pre {
    font-size: 1em;
    font-family: 'simsun', Arial;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
}

/* ========== 表格 ========== */
table {
    border-collapse: collapse;
    width: 100%;
    white-space: word-wrap;
    word-break: break-all;
}

table th {
    padding: 0.75rem 0.5rem;
    font-weight: bold;
    text-align: center;
}

table td {
    padding: 0.5rem;
    line-height: 1.6em;
    text-align: justify;
}

table td:nth-of-type(1) {
    text-align: center;
}

table tr {
    padding: 0.75rem 0;
}

/* ========== 有序/无序列表 ========== */
ol, ul {
    padding-left: 2em;
    line-height: 1.6em;
}

li {
    margin-bottom: 0.3em;
    text-align: justify;
}

/* ========== 签名区域 ========== */
.sign {
    float: left;
    width: 50%;
    margin-bottom: 2em;
}

/* ========== 边框盒子 ========== */
.border {
    border: 1px solid;
    line-height: 1.5rem;
}

/* ========== 首行缩进 ========== */
.indent {
    text-indent: 2em;
}

/* ========== 滚动条隐藏（移动端） ========== */
body::-webkit-scrollbar {
    display: none;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 960px) {
    div {
        width: 98%;
        margin: 0 auto;
    }
}
