/* 知识库同款简洁头部，供答疑页等复用 */
.ref-header {
    background: #eee7d9;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(118, 105, 85, 0.12);
}
.ref-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ref-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}
.ref-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex: none;
}
.ref-brand span { display: block; line-height: 1.15; }
.ref-brand strong {
    display: block;
    font-family: Georgia, "Songti SC", serif;
    font-size: 18px;
    color: #264783;
}
.ref-brand small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}
.ref-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ref-header-actions button {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #d7d1c5;
    background: rgba(255, 255, 255, .88);
    color: #171513;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.ref-header-actions button:hover { background: #fff; transform: translateY(-1px); }
.dark .ref-header { background: #181915; border-color: rgba(255, 255, 255, .08); }
.dark .ref-brand strong { color: #8eb0e0; }
.dark .ref-brand small { color: #9ca3af; }
.dark .ref-header-actions button {
    background: rgba(28, 29, 26, .92);
    border-color: rgba(255, 255, 255, .1);
    color: #f7f4ec;
}
@media (max-width: 640px) {
    .ref-header { padding: 10px 14px; }
    .ref-brand img { width: 32px; height: 32px; }
    .ref-header-actions button { width: 32px; height: 32px; }
}
