/* ============================================================
   牛气CMS 前台主题 nq.css  v1.0
   设计语言：深蓝主色 #1a56db · 琥珀强调 #f59e0b · 圆角卡片 · 柔和阴影
   引入方式：header.html 中在 style.bundle.css 之后加载
   ============================================================ */

:root {
    --nq-primary: #1a56db;
    --nq-primary-dark: #123fa8;
    --nq-accent: #f59e0b;
    --nq-ink: #121826;
    --nq-text: #3d4657;
    --nq-muted: #8a93a6;
    --nq-bg: #f6f8fb;
    --nq-card: #ffffff;
    --nq-line: #e7ebf2;
    --nq-radius: 14px;
    --nq-shadow: 0 2px 10px rgba(18, 24, 38, .06);
    --nq-shadow-lg: 0 10px 32px rgba(18, 24, 38, .10);
}

/* ---------- 全局 ---------- */
body.ep-layout {
    background: var(--nq-bg);
    color: var(--nq-text);
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
a { transition: color .15s ease; }
.ep-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ep-main { padding-bottom: 48px; }

/* ---------- 顶部导航 ---------- */
.ep-header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nq-line);
    box-shadow: 0 1px 0 rgba(18,24,38,.02);
    position: sticky; top: 0; z-index: 100;
}
.ep-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 28px; height: 66px; }
.ep-logo img { height: 40px; }
.ep-nav > ul { display: flex; gap: 4px; flex-wrap: nowrap; }
.ep-nav-item > a {
    display: block; padding: 8px 16px; border-radius: 8px;
    color: var(--nq-ink); font-weight: 600; font-size: 15px; position: relative;
}
.ep-nav-item > a::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px;
    border-radius: 3px; background: var(--nq-primary); transform: scaleX(0); transition: transform .2s ease;
}
.ep-nav-item:hover > a::after, .ep-nav-item.is-active > a::after { transform: scaleX(1); }
.ep-nav-item:hover > a, .ep-nav-item.is-active > a { color: var(--nq-primary); }
.ep-submenu {
    border-radius: 10px; border: 1px solid var(--nq-line);
    box-shadow: var(--nq-shadow-lg); padding: 6px !important; min-width: 160px;
}
.ep-submenu li a { border-radius: 6px; padding: 8px 12px; }
.ep-submenu li a:hover { background: #f0f4fd; color: var(--nq-primary); }

.ep-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ep-search-toggle {
    width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: var(--nq-ink); cursor: pointer; background: #f0f3f9;
}
.ep-search-toggle:hover { background: #e3e9f5; color: var(--nq-primary); }
.ep-search-panel form { display: flex; gap: 8px; padding: 10px; }
.ep-search-panel { border-radius: 12px; border: 1px solid var(--nq-line); box-shadow: var(--nq-shadow-lg); }
.ep-header-search-input .el-input__inner { border-radius: 8px; min-width: 220px; }
.ep-header-search-submit { border-radius: 8px; }

.ep-user-trigger img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--nq-line); }
.ep-user-menu { border-radius: 12px; border: 1px solid var(--nq-line); box-shadow: var(--nq-shadow-lg); min-width: 180px; }
.ep-user-menu a { display: block; padding: 9px 14px; color: var(--nq-text); }
.ep-user-menu a:hover { background: #f0f4fd; color: var(--nq-primary); }

/* ---------- Hero（首页横幅） ---------- */
.nq-hero {
    background: linear-gradient(120deg, #101a3a 0%, #1a3a8f 55%, #1a56db 100%);
    border-radius: var(--nq-radius); color: #fff; padding: 42px 40px;
    margin: 24px 0; position: relative; overflow: hidden;
}
.nq-hero::before {
    content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px;
    border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.nq-hero::after {
    content: ""; position: absolute; right: 90px; bottom: -110px; width: 220px; height: 220px;
    border-radius: 50%; background: rgba(245, 158, 11, .18);
}
.nq-hero-title { font-size: 30px; font-weight: 800; margin: 0 0 10px; letter-spacing: 1px; }
.nq-hero-sub { font-size: 15px; opacity: .82; margin: 0 0 20px; max-width: 560px; line-height: 1.8; }
.nq-hero-actions .el-button { border-radius: 8px; }

/* ---------- 卡片体系 ---------- */
.el-card {
    border-radius: var(--nq-radius); border: 1px solid var(--nq-line);
    box-shadow: var(--nq-shadow); overflow: hidden; background: var(--nq-card);
}
.el-card__header {
    border-bottom: 1px solid var(--nq-line); padding: 14px 20px; font-weight: 700;
    color: var(--nq-ink); font-size: 16px; position: relative; background: #fff;
}
.el-card__header::before {
    content: ""; display: inline-block; width: 4px; height: 16px; border-radius: 2px;
    background: var(--nq-primary); margin-right: 10px; vertical-align: -2px;
}
.el-card__body { padding: 18px 20px; }

/* ---------- 文章列表项 ---------- */
.ep-list-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--nq-line); }
.ep-list-item:last-child { border-bottom: none; }
.ep-thumb { width: 168px; height: 108px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.ep-thumb--sm { width: 84px; height: 60px; }
.ep-article-title { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.ep-article-title a { color: var(--nq-ink); }
.ep-article-title a:hover { color: var(--nq-primary); }
.ep-list-desc { color: var(--nq-muted); font-size: 13.5px; line-height: 1.7; margin: 0 0 8px; }
.ep-meta { color: var(--nq-muted); font-size: 12.5px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ep-meta .fa { margin-right: 3px; }
.ep-badge {
    background: #eef3fe; color: var(--nq-primary); border-radius: 20px;
    padding: 2px 10px; font-size: 12px; display: inline-block;
}
.ep-badge:hover { background: var(--nq-primary); color: #fff; }

/* 网格卡片（首页最新） */
.nq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nq-post-card {
    background: var(--nq-card); border: 1px solid var(--nq-line); border-radius: var(--nq-radius);
    overflow: hidden; box-shadow: var(--nq-shadow); transition: transform .18s ease, box-shadow .18s ease;
    display: flex; flex-direction: column;
}
.nq-post-card:hover { transform: translateY(-3px); box-shadow: var(--nq-shadow-lg); }
.nq-post-cover { height: 158px; background: #eef1f6; overflow: hidden; }
.nq-post-cover img { width: 100%; height: 100%; object-fit: cover; }
.nq-post-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nq-post-title { font-size: 15.5px; font-weight: 700; line-height: 1.5; margin: 0; }
.nq-post-title a { color: var(--nq-ink); }
.nq-post-title a:hover { color: var(--nq-primary); }
.nq-post-desc { color: var(--nq-muted); font-size: 13px; line-height: 1.7; flex: 1; margin: 0; }
.nq-post-meta { color: var(--nq-muted); font-size: 12px; display: flex; gap: 12px; }

/* ---------- 侧栏 ---------- */
.ep-col-side .el-card { margin-bottom: 18px; }
.ep-latest-row { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--nq-line); }
.ep-latest-row:last-child { border-bottom: none; }
.ep-latest-title { color: var(--nq-ink); font-size: 14px; font-weight: 600; line-height: 1.5; display: block; }
.ep-latest-title:hover { color: var(--nq-primary); }
.ep-latest-time { color: var(--nq-muted); font-size: 12px; margin-top: 3px; }
.ep-side-hit-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--nq-line); }
.ep-side-hit-row:last-child { border-bottom: none; }
.ep-side-hit-title { color: var(--nq-ink); font-weight: 600; font-size: 13.5px; display: block; line-height: 1.5; }
.ep-side-hit-title:hover { color: var(--nq-primary); }
.ep-side-hit-desc { color: var(--nq-muted); font-size: 12px; margin-top: 4px; }
.ep-yqlj-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--nq-line); }
.ep-yqlj-row:last-child { border-bottom: none; }

/* ---------- 面包屑 ---------- */
.ep-breadcrumb {
    background: var(--nq-card); border: 1px solid var(--nq-line); border-radius: 10px;
    padding: 11px 18px; margin: 20px 0 16px; color: var(--nq-muted); font-size: 13.5px;
    box-shadow: var(--nq-shadow);
}
.ep-breadcrumb a { color: var(--nq-text); }
.ep-breadcrumb a:hover { color: var(--nq-primary); }
.ep-bc-sep { margin: 0 6px; color: #c3cad6; }

/* ---------- 文章详情 ---------- */
.ep-show-card-body { padding: 30px 34px !important; }
.ep-show-title { font-size: 26px; font-weight: 800; color: var(--nq-ink); line-height: 1.5; margin: 0 0 14px; }
.ep-show-meta { color: var(--nq-muted); font-size: 13px; display: flex; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--nq-line); margin-bottom: 22px; }
.neirong { color: var(--nq-text); font-size: 15.5px; line-height: 2; }
.neirong img { max-width: 100%; border-radius: 10px; }
.neirong h2, .neirong h3 { color: var(--nq-ink); margin: 26px 0 12px; }
.neirong blockquote {
    border-left: 4px solid var(--nq-primary); background: #f0f4fd;
    margin: 16px 0; padding: 12px 18px; border-radius: 0 8px 8px 0; color: var(--nq-text);
}
.neirong table { width: 100%; border-collapse: collapse; }
.neirong table td, .neirong table th { border: 1px solid var(--nq-line); padding: 8px 12px; }
.ep-show-tags { margin: 22px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.ep-show-prevnext-wrap {
    background: #f7f9fc; border: 1px solid var(--nq-line); border-radius: 10px;
    padding: 14px 18px; font-size: 13.5px;
}
.ep-show-prevnext-wrap p { margin: 4px 0; color: var(--nq-muted); }
.ep-show-prevnext-wrap a { color: var(--nq-primary); font-weight: 600; }
.ep-show-related-title { font-size: 18px; font-weight: 800; color: var(--nq-ink); margin: 26px 0 14px; }
.ep-related-card { transition: transform .18s ease, box-shadow .18s ease; }
.ep-related-card:hover { transform: translateY(-3px); box-shadow: var(--nq-shadow-lg); }
.ep-related-cover img { height: 130px; width: 100%; object-fit: cover; }
.ep-related-title { color: var(--nq-ink); font-weight: 700; font-size: 14px; display: block; line-height: 1.5; }
.ep-related-title:hover { color: var(--nq-primary); }
.ep-related-desc { color: var(--nq-muted); font-size: 12.5px; margin: 6px 0; }

/* ---------- 单页 ---------- */
.ep-page-card { margin-bottom: 30px; }
.ep-page-body { padding: 30px 34px !important; }
.ep-page-title { font-size: 24px; font-weight: 800; color: var(--nq-ink); margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--nq-line); }

/* ---------- 分页 ---------- */
.xrpagination { margin-top: 20px; text-align: center; }
.xrpagination a, .xrpagination span {
    display: inline-block; min-width: 36px; height: 36px; line-height: 34px;
    border: 1px solid var(--nq-line); border-radius: 8px; margin: 0 3px;
    padding: 0 10px; color: var(--nq-text); background: #fff; font-size: 13.5px;
}
.xrpagination span:not(.disabled) { background: var(--nq-primary); color: #fff; border-color: var(--nq-primary); font-weight: 700; }
.xrpagination a:hover { border-color: var(--nq-primary); color: var(--nq-primary); }

/* ---------- 搜索页筛选 ---------- */
.ep-search-filters { padding: 4px 0; }
.ep-search-row { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; flex-wrap: wrap; }
.ep-search-row--center { align-items: center; }
.ep-search-label { color: var(--nq-muted); font-size: 13.5px; min-width: 44px; line-height: 30px; }
.ep-search-field .el-button { border-radius: 8px; margin-bottom: 6px; }
.ep-search-divider { height: 1px; background: var(--nq-line); margin: 12px 0; }
.ep-search-keyword-wrap { width: 300px; }
.ep-search-keyword-wrap .el-input__inner { border-radius: 8px; }

/* ---------- Footer ---------- */
.ep-footer { background: #10192e; color: #93a0b8; margin-top: 40px; padding: 30px 20px; }
.ep-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.ep-footer a { color: #c4cde0; }
.ep-footer a:hover { color: #fff; }
.ep-footer-links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

/* ---------- 返回顶部 ---------- */
.ep-scrolltop {
    position: fixed; right: 26px; bottom: 30px; width: 44px; height: 44px;
    border-radius: 12px; background: var(--nq-primary); color: #fff; border: none;
    box-shadow: 0 6px 18px rgba(26, 86, 219, .4); display: none; z-index: 90; cursor: pointer;
}
.ep-scrolltop:hover { background: var(--nq-primary-dark); }

/* ---------- 认证页（404/消息） ---------- */
.ep-auth-page {
    background: linear-gradient(140deg, #101a3a 0%, #1a3a8f 60%, #1a56db 100%);
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px;
}
.ep-auth-card { width: 420px; border: none; box-shadow: var(--nq-shadow-lg); text-align: center; }
.ep-auth-card .el-card__body { padding: 40px 34px; }
.ep-404-visual { font-size: 76px; font-weight: 900; color: var(--nq-primary); letter-spacing: 4px; }
.ep-404-msg { color: var(--nq-muted); margin: 14px 0 24px; }
.ep-msg-icon-box { font-size: 56px; margin-bottom: 10px; }
.ep-msg-icon--ok { color: #27ae60; }
.ep-msg-icon--err { color: #e74c3c; }
.ep-msg-title { font-size: 20px; color: var(--nq-ink); }

/* ---------- 按钮/输入微调 ---------- */
.el-button--primary { background: var(--nq-primary); border-color: var(--nq-primary); }
.el-button--primary:hover, .el-button--primary:focus { background: var(--nq-primary-dark); border-color: var(--nq-primary-dark); }
.el-button.is-plain { color: var(--nq-primary); background: #f0f4fd; border-color: #d5e2fa; }
.el-input__inner { border-radius: 8px; }
.el-link--primary { color: var(--nq-primary); }

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
    .nq-grid { grid-template-columns: repeat(2, 1fr); }
    .ep-show-card-body, .ep-page-body { padding: 22px 20px !important; }
}
@media (max-width: 767px) {
    .ep-header-inner { height: 58px; gap: 12px; }
    .ep-nav { overflow-x: auto; }
    .nq-grid { grid-template-columns: 1fr; }
    .nq-hero { padding: 28px 22px; }
    .nq-hero-title { font-size: 22px; }
    .ep-thumb { width: 118px; height: 82px; }
    .ep-show-title { font-size: 21px; }
    .ep-row { display: block; }
    .ep-col-side { margin-top: 18px; }
}

/* ============================================================
   新框架类名映射（牛气框架 niuqi-framework 专用）
   ============================================================ */
.nq-header { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--nq-line); position: sticky; top: 0; z-index: 100; }
.nq-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 28px; height: 66px; }
.nq-logo { font-size: 21px; font-weight: 800; color: var(--nq-ink); }
.nq-logo i { color: var(--nq-primary); font-style: normal; }
.nq-nav { display: flex; gap: 4px; flex-wrap: nowrap; }
.nq-nav a { display: block; padding: 8px 16px; border-radius: 8px; color: var(--nq-ink); font-weight: 600; font-size: 15px; position: relative; }
.nq-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--nq-primary); transform: scaleX(0); transition: transform .2s ease; }
.nq-nav a:hover::after, .nq-nav a.is-active::after { transform: scaleX(1); }
.nq-nav a:hover, .nq-nav a.is-active { color: var(--nq-primary); }
.nq-main { padding-bottom: 48px; }
.nq-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nq-layout-row { display: flex; gap: 22px; align-items: flex-start; }
.nq-col-main { flex: 1; min-width: 0; }
.nq-col-side { width: 300px; flex-shrink: 0; }
.nq-section-title { font-size: 19px; font-weight: 800; color: var(--nq-ink); margin: 6px 0 14px; padding-left: 12px; border-left: 4px solid var(--nq-primary); }
.nq-card { background: var(--nq-card); border: 1px solid var(--nq-line); border-radius: var(--nq-radius); box-shadow: var(--nq-shadow); padding: 18px 20px; margin-bottom: 18px; }
.nq-card h3 { font-size: 15.5px; font-weight: 700; color: var(--nq-ink); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--nq-line); }
.nq-card h3::before { content: ""; display: inline-block; width: 4px; height: 15px; border-radius: 2px; background: var(--nq-primary); margin-right: 9px; vertical-align: -2px; }
.nq-side-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--nq-line); }
.nq-side-row:last-child { border-bottom: none; }
.nq-side-title { color: var(--nq-ink); font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.nq-side-title:hover, .nq-side-title.is-active { color: var(--nq-primary); }
.nq-side-meta { color: var(--nq-muted); font-size: 12px; white-space: nowrap; }
.nq-breadcrumb { background: var(--nq-card); border: 1px solid var(--nq-line); border-radius: 10px; padding: 11px 18px; margin: 20px 0 16px; color: var(--nq-muted); font-size: 13.5px; box-shadow: var(--nq-shadow); }
.nq-breadcrumb a { color: var(--nq-text); } .nq-breadcrumb a:hover { color: var(--nq-primary); }
.nq-bc-sep { margin: 0 6px; color: #c3cad6; }
.nq-list-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--nq-line); }
.nq-list-item:last-child { border-bottom: none; }
.nq-thumb { width: 168px; height: 108px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: #eef1f6; }
.nq-flex-grow { flex: 1; min-width: 0; }
.nq-article-title { margin: 0 0 6px; font-size: 16.5px; font-weight: 700; line-height: 1.5; }
.nq-article-title a { color: var(--nq-ink); } .nq-article-title a:hover { color: var(--nq-primary); }
.nq-list-desc { color: var(--nq-muted); font-size: 13.5px; line-height: 1.7; margin: 0 0 8px; }
.nq-show-body { padding: 30px 34px !important; }
.nq-show-title { font-size: 26px; font-weight: 800; color: var(--nq-ink); line-height: 1.5; margin: 0 0 14px; }
.nq-show-meta { color: var(--nq-muted); font-size: 13px; display: flex; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--nq-line); margin-bottom: 20px; }
.nq-show-tags { margin: 20px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.nq-show-prevnext { background: #f7f9fc; border: 1px solid var(--nq-line); border-radius: 10px; padding: 14px 18px; font-size: 13.5px; margin-top: 22px; }
.nq-show-prevnext p { margin: 4px 0; color: var(--nq-muted); }
.nq-show-prevnext a { color: var(--nq-primary); font-weight: 600; }
.nq-footer { background: #10192e; color: #93a0b8; margin-top: 40px; padding: 26px 20px; }
.nq-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.el-button { display: inline-block; padding: 9px 20px; border-radius: 8px; background: var(--nq-primary); color: #fff; text-decoration: none; font-weight: 600; border: none; cursor: pointer; }
.el-button:hover { background: var(--nq-primary-dark); }
@media (max-width: 900px) { .nq-layout-row { display: block; } .nq-col-side { width: auto; margin-top: 18px; } .nq-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
    .nq-grid { grid-template-columns: 1fr; }
    /* 手机端头部：第一行站名+操作按钮，第二行导航横向滑动 */
    .nq-header-inner { height: auto; flex-wrap: wrap; padding: 10px 14px; gap: 10px 14px; }
    .nq-logo { white-space: nowrap; font-size: 18px; flex-shrink: 0; }
    .nq-header-actions { margin-left: auto; gap: 6px; }
    .nq-nav-btn { padding: 6px 12px; font-size: 13px; white-space: nowrap; }
    .nq-nav-user { font-size: 13px; white-space: nowrap; }
    .nq-nav { width: 100%; order: 3; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; scrollbar-width: none; }
    .nq-nav::-webkit-scrollbar { display: none; }
    .nq-nav a { white-space: nowrap; flex-shrink: 0; padding: 6px 12px; font-size: 14px; }
    .nq-nav a::after { left: 12px; right: 12px; }
}

/* ---------- 字段引擎（v0.2） ---------- */
.nqf-input { width: 100%; padding: 9px 12px; border: 1px solid #dde3ec; border-radius: 8px; font-size: 14px; font-family: inherit; }
.nqf-input:focus { outline: none; border-color: #1a56db; box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.nqf-options { display: flex; gap: 16px; flex-wrap: wrap; padding: 4px 0; }
.nqf-opt { font-weight: normal; font-size: 13.5px; display: inline-flex; align-items: center; gap: 5px; }
.nqf-opt input { width: auto; }
.nqf-view { width: 100%; border-collapse: collapse; margin: 18px 0; background: #f8fafc; border-radius: 10px; overflow: hidden; }
.nqf-view th, .nqf-view td { border: 1px solid #e7ebf2; padding: 9px 14px; font-size: 13.5px; text-align: left; }
.nqf-view th { background: #f0f4fd; color: #121826; width: 140px; }
textarea.nqf-editor { font-family: inherit; }

/* ---------- 会员中心（v0.3） ---------- */
.nq-header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nq-nav-btn { padding: 7px 16px; border-radius: 8px; background: var(--nq-primary); color: #fff; font-weight: 600; font-size: 13.5px; }
.nq-nav-btn:hover { background: var(--nq-primary-dark); color: #fff; }
.nq-nav-btn.ghost { background: #f0f3f9; color: var(--nq-ink); }
.nq-nav-btn.ghost:hover { background: #e3e9f5; color: var(--nq-primary); }
.nq-nav-user { color: var(--nq-ink); font-weight: 700; font-size: 13.5px; }
.nq-nav-user:hover { color: var(--nq-primary); }
.nq-auth-wrap { display: flex; justify-content: center; padding: 50px 20px 60px; }
.nq-auth-box { background: var(--nq-card); border: 1px solid var(--nq-line); border-radius: var(--nq-radius); box-shadow: var(--nq-shadow-lg); padding: 34px 34px 28px; width: 420px; max-width: 100%; }
.nq-auth-box h2 { color: var(--nq-ink); margin: 0 0 18px; font-size: 21px; text-align: center; }
.nq-auth-err { background: #fdecea; color: #d9464f; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }
.nq-auth-alt { text-align: center; color: var(--nq-muted); font-size: 13.5px; margin-top: 16px; }
.nq-auth-alt a { color: var(--nq-primary); font-weight: 600; }
.nq-auth-box label { display: block; font-size: 13px; color: #57606f; font-weight: 600; margin: 13px 0 6px; }
.nq-auth-box input:not([type=checkbox]) { width: 100%; padding: 10px 13px; border: 1px solid #dde3ec; border-radius: 8px; font-size: 14px; }
.nq-auth-box input:focus { outline: none; border-color: var(--nq-primary); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.nq-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.nq-table th { text-align: left; padding: 10px 12px; background: #f7f9fc; color: var(--nq-ink); border-bottom: 1px solid var(--nq-line); }
.nq-table td { padding: 10px 12px; border-bottom: 1px solid #f0f3f8; }
.nq-btn.ghost { background: #fff; color: #57606f; border: 1px solid #dde3ec; }
.nq-btn.ghost:hover { color: var(--nq-primary); border-color: var(--nq-primary); }
