:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: #263445;
    background: #f3f6fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 22px 14px 40px;
}

.article-page {
    width: min(100%, 860px);
    margin: 0 auto;
}

.article-back {
    display: inline-flex;
    margin-bottom: 14px;
    color: #1d4ed8;
    font-size: 14px;
    text-decoration: none;
}

.article-page article {
    padding: 22px clamp(16px, 4vw, 34px);
    border: 1px solid #e1e8f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(27, 44, 75, .06);
}

.article-page h1 {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f7;
    color: #173b78;
    font-size: clamp(20px, 4vw, 26px);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.article-meta {
    margin: 12px 0;
    color: #64748b;
    font-size: 13px;
}

.article-content {
    color: #263445;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.article-content > :first-child {
    margin-top: 16px;
}

.article-content p {
    margin: 12px 0;
}

.article-content a {
    color: #1d4ed8;
    text-decoration: underline;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

.article-content table {
    max-width: 100%;
    border-collapse: collapse;
}

.article-content td,
.article-content th {
    padding: 6px 8px;
    border: 1px solid #dbe3ee;
}

.article-error {
    margin: 20px 0;
    color: #b42318;
    text-align: center;
}
