/* datasheet-common.css - 适用于 CXLE 系列数据手册的公共样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #eef2f5;
    font-family: 'Segoe UI', 'Roboto', 'Noto Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
    line-height: 1.45;
    padding: 40px 20px;
    color: #1f2d3d;
}
.document {
    max-width: 1100px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.12);
    border-radius: 4px;
    overflow: hidden;
    padding: 30px 35px 50px 35px;
}
@media print {
    body {
        background: white;
        padding: 0;
        margin: 0;
    }
    .document {
        box-shadow: none;
        padding: 0.2in;
        max-width: 100%;
    }
    h2, h3 {
        page-break-after: avoid;
    }
    table, .fig {
        page-break-inside: avoid;
    }
}
h1 {
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #0a4b6e;
    border-left: 5px solid #1f7f8c;
    padding-left: 20px;
}
.subtitle {
    font-size: 14px;
    color: #2c6e8f;
    margin-bottom: 28px;
    border-bottom: 1px solid #cbdae6;
    padding-bottom: 12px;
    margin-top: 6px;
    padding-left: 25px;
    font-weight: 500;
}
h2 {
    font-size: 22px;
    margin: 28px 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #1c7e8c;
    color: #135b78;
}
h3 {
    font-size: 18px;
    margin: 20px 0 10px 0;
    color: #1a6a82;
}
p {
    margin-bottom: 0.9rem;
    text-align: justify;
}
.note {
    background: #f4f9fe;
    border-left: 4px solid #2c7cb6;
    padding: 10px 18px;
    margin: 18px 0;
    font-size: 0.9rem;
    border-radius: 8px;
    color: #1f3b4a;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 24px;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
th {
    background-color: #e6edf2;
    border: 1px solid #cbd5e1;
    padding: 10px 12px;
    text-align: center;
    font-weight: 600;
    color: #144d66;
}
td {
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    text-align: center;
}
.param-table td:first-child,
.param-table th:first-child {
    text-align: left;
}
.center {
    text-align: center;
}
.fig {
    background: #fafcfd;
    border: 1px solid #dce5ec;
    border-radius: 14px;
    padding: 18px 12px;
    margin: 24px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.fig-title {
    font-weight: 600;
    margin-top: 12px;
    font-size: 0.9rem;
    color: #2c5a74;
}
.schematic {
    background: #fefcf5;
    border-radius: 12px;
    padding: 15px;
    font-family: 'Courier New', 'SF Mono', monospace;
    font-size: 12px;
    text-align: left;
    display: inline-block;
    width: 100%;
}
.pinout-svg {
    margin: 10px auto;
    text-align: center;
}
.warning-tip {
    background-color: #fff7e5;
    border-left: 4px solid #e6a017;
    padding: 10px 18px;
    margin: 18px 0;
    border-radius: 8px;
}
footer {
    margin-top: 40px;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    color: #5f6c7a;
}
.mono {
    font-family: monospace;
    background: #f2f5f8;
    padding: 0 4px;
    border-radius: 6px;
}
@media (max-width: 700px) {
    .document {
        padding: 18px;
    }
    td, th {
        padding: 5px 6px;
    }
}