:root {
        --md-primary: #1a2b4a;
        --md-secondary: #2c5282;
        --md-gold: #c9a84c;
        --md-gold-light: #f5e6b8;
        --md-bg: #f8f9fc;
        --md-text: #2d3748;
        --md-text-light: #718096;
        --md-border: #e2e8f0;
    }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--md-text); background: var(--md-bg); }
    a { color: var(--md-secondary); text-decoration: none; }
    a:hover { color: var(--md-gold); }

    /* Navbar */
    .navbar-md { background: var(--md-primary); padding: 10px 0; }
    .navbar-md .navbar-brand { color: #fff; font-size: 22px; font-weight: 700; flex-shrink: 0; }
    .navbar-md .navbar-brand span { color: var(--md-gold); }
    .navbar-md .nav-link { color: rgba(255,255,255,.85); font-size: 15px; padding: 8px 14px !important; white-space: nowrap; }
    .navbar-md .nav-link:hover, .navbar-md .nav-link.active { color: var(--md-gold); }
    .navbar-md .navbar-toggler { border-color: rgba(255,255,255,.3); }
    .navbar-md .navbar-toggler-icon { filter: invert(1); }

    /* Navbar 搜索框 */
    .nav-search-input { background: rgba(255,255,255,.12) !important; border: none !important; color: #fff !important; border-radius: 20px 0 0 20px !important; font-size: 14px; padding: 7px 16px !important; }
    .nav-search-input::placeholder { color: rgba(255,255,255,.55) !important; }
    .nav-search-input:focus { background: rgba(255,255,255,.22) !important; box-shadow: none !important; outline: none; }
    .nav-search-btn { background: var(--md-gold) !important; border: none !important; color: #fff !important; border-radius: 0 20px 20px 0 !important; padding: 7px 14px !important; }



/* Footer */
    .footer-md { background: var(--md-primary); color: rgba(255,255,255,.7); padding: 40px 0 20px; }
    .footer-md h5 { color: #fff; font-size: 16px; margin-bottom: 16px; }
    .footer-md a { color: rgba(255,255,255,.7); }
    .footer-md a:hover { color: var(--md-gold); }
    .footer-md .copyright { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin-top: 30px; font-size: 13px; }


 /* Breadcrumb */
    .breadcrumb-md { background: transparent; padding: 12px 0; font-size: 13px; }
    .breadcrumb-md a { color: var(--md-text-light); }
    .breadcrumb-md .active { color: var(--md-text); }


/* ==========================================
   5. 巨幕/头部 (Hero)
   ========================================== */
.calc-hero {
    background: linear-gradient(135deg, var(--md-primary) 0%, #0f1d36 60%, #162440 100%);
    padding: 30px 0 30px;
    position: relative;
    overflow: hidden;
}
.calc-hero::before {
    content: '';
    position: absolute;
    top: -35%;
    right: -12%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(201,168,76,.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.calc-hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -6%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(44,82,130,.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.calc-hero h1 {
    font-family: 'Noto Serif SC', 'PingFang SC', serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.calc-hero h1 span { color: var(--md-gold); }
.calc-hero p {
    font-size: 16px;
    color: rgba(255,255,255,.6);
    max-width: 540px;
    line-height: 1.8;
    margin: 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,168,76,.15);
    border: 1px solid rgba(201,168,76,.3);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--md-gold);
    margin-bottom: 20px;
}


/* ==========================================
   6. 首页大厅工具网格
   ========================================== */
.category-card {
    background: #fff;
    border: 1px solid var(--md-border);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,.03);
}
.category-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--md-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--md-border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.category-title i { color: var(--md-gold); font-size: 22px; }

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 12px;
    border-radius: 10px;
    border: 1px solid var(--md-border);
    transition: all .25s ease;
    background: #fff;
}
.tool-item:hover {
    transform: translateY(-4px);
    border-color: rgba(201,168,76,.4);
    box-shadow: 0 8px 20px rgba(201,168,76,.1);
    background: linear-gradient(135deg, #fffcf5, #fff);
}
.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--md-primary), var(--md-secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    transition: all .25s ease;
}
.tool-item:hover .tool-icon {
    background: linear-gradient(135deg, var(--md-gold), #b7931f);
    transform: scale(1.05);
}
.tool-name { font-size: 14px; font-weight: 600; color: var(--md-text); line-height: 1.4; }
.tool-item:hover .tool-name { color: var(--md-gold); }


/* ==========================================
   7. 计算器主表单与输入框组件
   ========================================== */
.calc-card {
    background: #fff;
    border: 1px solid var(--md-border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.03);
}
.calc-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--md-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--md-border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.calc-card-title i { color: var(--md-gold); font-size: 20px; }
/* 基础表单输入框样式 */
.calc-form .input-group { margin-bottom: 16px; }
.calc-form .input-group-text {
    background: var(--md-primary);
    color: #fff;
    border: none;
    font-size: 14px;
    min-width: 105px;
    justify-content: center;
}

/* 特殊背景与高亮 */
.calc-form .input-group-text.bg-gjj { background: var(--md-gjj); }
.calc-form .input-group-text.bg-sy { background: var(--md-secondary); }
.calc-form .input-group-text.label-commercial { background: linear-gradient(135deg, var(--md-secondary), #1a3a6a); }
.calc-form .input-group-text.label-gjj { background: linear-gradient(135deg, #38a169, #276749); }
#area_LprMethodDesc {
    background: var(--md-gold-light);
    color: #8b6914;
    border: 1px solid #ece5d0;
    font-weight: 600;
    font-size: 13px;
    border-radius: 0;
    min-width: auto;
}

.form-control, .form-select { border: 1px solid var(--md-border); font-size: 14px; padding: 10px 14px; }
.form-control:focus, .form-select:focus { border-color: var(--md-gold); box-shadow: 0 0 0 3px rgba(201,168,76,.15); }

.calc-form .input-group .input-group-text.unit {
    background: #edf2f7;
    color: var(--md-text-light);
    border: 1px solid var(--md-border);
    border-left: none;
    font-size: 13px;
    min-width: auto;
}

/* 单选与复选框 */
.form-check-input:checked,
.calc-form .form-check-input:checked {
    background-color: var(--md-gold);
    border-color: var(--md-gold);
}
.form-check-label,
.calc-form .form-check-label { font-size: 14px; cursor: pointer; }

/* 表单模块分割线 */
.form-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 16px;
    font-size: 15px;
    font-weight: 700;
}
.form-section-label .section-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.form-section-label .section-line { flex: 1; height: 1px; background: var(--md-border); }

/* 原生JS需要的隐藏核心逻辑覆盖 */
#txtLoanRate[style*="display: none"],
#txtLoanRate[style*="display:none"] {
    display: none !important;
}

/* 期限选择卡片 */
.period-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 24px; }
.period-card { text-align: center; padding: 14px 8px; border: 2px solid var(--md-border); border-radius: 10px; cursor: pointer; transition: all .2s; background: #fff; }
.period-card:hover { border-color: var(--md-gold); background: #fffdf5; }
.period-card.active { border-color: var(--md-gold); background: rgba(201,168,76,.08); box-shadow: 0 2px 8px rgba(201,168,76,.15); }
.period-card .pc-num { font-family: 'Noto Serif SC', 'PingFang SC', serif; font-size: 22px; font-weight: 700; color: var(--md-primary); line-height: 1; }
.period-card .pc-label { font-size: 12px; color: var(--md-text-light); margin-top: 4px; }
.period-card.active .pc-num { color: var(--md-gold); }

/* 银行费率网格 */
.bank-fee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.bank-fee-item { border: 1px solid var(--md-border); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: all .2s; background: #fff; }
.bank-fee-item:hover { border-color: var(--md-gold); }
.bank-fee-item.active { border-color: var(--md-gold); background: rgba(201,168,76,.05); }
.bank-fee-item .bfi-name { font-size: 13px; font-weight: 600; color: var(--md-text); }
.bank-fee-item .bfi-rate { font-size: 12px; color: var(--md-text-light); margin-top: 2px; }

/* 公式高亮面板 */
.formula-highlight { background: linear-gradient(135deg, #f7f4eb, #f8f9fc); border: 1px solid #ece5d0; border-radius: 10px; padding: 20px 24px; margin-bottom: 24px; }
.formula-highlight .fh-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--md-primary); margin-bottom: 12px; }
.formula-highlight .fh-title i { color: var(--md-gold); }
.formula-highlight .fh-formula { font-family: 'Courier New', monospace; font-size: 16px; font-weight: 700; color: #8b6914; background: rgba(201,168,76,.08); border-radius: 8px; padding: 12px 20px; text-align: center; margin-bottom: 12px; letter-spacing: 1px; }
.formula-highlight .fh-desc { font-size: 13px; color: var(--md-text-light); line-height: 1.8; }
.formula-highlight .fh-desc code { background: rgba(201,168,76,.12); color: #8b6914; padding: 1px 6px; border-radius: 4px; font-size: 12px; }

/* Quick Calculator Card */
.quick-calc-card { background: linear-gradient(135deg, var(--md-primary), #2c5282); border-radius: 12px; padding: 28px 24px; color: #fff; text-align: center; margin-bottom: 20px; }
.quick-calc-card h5 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.quick-calc-card p { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 16px; line-height: 1.6; }
.quick-calc-card .lpr-display { display: inline-flex; align-items: baseline; gap: 4px; }
.quick-calc-card .lpr-number { font-family: 'Noto Serif SC', serif; font-size: 36px; font-weight: 700; color: var(--md-gold); }
.quick-calc-card .lpr-unit { font-size: 16px; color: rgba(255,255,255,.7); }

/* 理财计算器投资类型选择卡片 */
.invest-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.invest-type { text-align: center; padding: 14px 8px; border: 2px solid var(--md-border); border-radius: 10px; cursor: pointer; transition: all .2s; background: #fff; }
.invest-type:hover { border-color: var(--md-gold); background: #fffdf5; }
.invest-type.active { border-color: var(--md-gold); background: rgba(201,168,76,.08); box-shadow: 0 2px 8px rgba(201,168,76,.15); }
.invest-type .it-icon { width: 36px; height: 36px; margin: 0 auto 6px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; }
.invest-type .it-name { font-size: 13px; font-weight: 600; color: var(--md-text); }
.invest-type .it-rate { font-size: 11px; color: var(--md-text-light); margin-top: 2px; }


/* ==========================================
   8. 按钮与提示
   ========================================== */
.btn-calc {
    width: 100%;
    background: linear-gradient(135deg, var(--md-gold), #b7931f);
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 8px;
    letter-spacing: 2px;
    transition: all .25s ease;
}
.btn-calc:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,.4);
    color: #fff;
}

.calc-tips {
    background: #f7f8fa;
    border: 1px solid var(--md-border);
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--md-text-light);
    line-height: 1.9;
}
.calc-tips strong { color: var(--md-text); }

/* 顶置利率提示条 */
.rate-highlight { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #f7f4eb, #f8f9fc); border: 1px solid #ece5d0; border-radius: 10px; padding: 16px 20px; margin-bottom: 24px; }
.rate-highlight .rh-icon { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--md-gold), #b7931f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.rate-highlight .rh-text { font-size: 14px; color: var(--md-text); line-height: 1.6; }
.rate-highlight .rh-text strong { color: #8b6914; font-size: 16px; }
.rate-highlight.danger { background: linear-gradient(135deg, #fff5f5, #f8f9fc); border-color: #fed7d7; }
.rate-highlight.danger .rh-icon { background: linear-gradient(135deg, #e53e3e, #c53030); }
.rate-highlight.danger .rh-text strong { color: #c53030; }

/* 错误提示条 */
.err-tip { background: #fff5f5; border: 1px solid #fed7d7; border-radius: 8px; padding: 12px 16px; color: #c53030; font-size: 13px; margin-bottom: 16px; display: none; }
.err-tip.show { display: block; }


/* ==========================================
   9. 计算结果面板与多页面切换支持
   ========================================== */
.result-card {
    background: #fff;
    border: 1px solid var(--md-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}
.result-header {
    background: linear-gradient(135deg, var(--md-primary), #2c5282);
    color: #fff;
    padding: 20px 28px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.result-header i { color: var(--md-gold); font-size: 22px; }

/* 房贷、车贷、组合贷专属选项卡切换结构 */
.result-tabs { display: flex; border-bottom: 2px solid var(--md-border); background: #fafbfd; }
.result-tabs a,
.result-tabs .nav-link {
    flex: 1;
    text-align: center;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--md-text-light);
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    margin-bottom: -2px;
    transition: all .2s;
    cursor: pointer;
    text-decoration: none;
}
.result-tabs a:hover,
.result-tabs .nav-link:hover { color: var(--md-gold); }
.result-tabs a.active,
.result-tabs .nav-link.active { color: var(--md-gold); border-bottom-color: var(--md-gold); background: #fff; }

/* 拦截原生BS5淡入淡出导致的隐藏块高度断层异常 */
.tab-content > .tab-pane { display: none !important; }
.tab-content > .active { display: block !important; }

.result-body { padding: 28px; }

/* 房贷/车贷/组合贷单项及多项高亮块样式 */
.result-highlight {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #f7f4eb, #f8f9fc);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #ece5d0;
}
.result-highlight .rh-label { font-size: 14px; color: var(--md-text-light); margin-bottom: 8px; }
.result-highlight .rh-value { font-family: 'Noto Serif SC', serif; font-size: 32px; font-weight: 700; color: var(--md-gold); }
.result-highlight .rh-value span { font-size: 16px; color: var(--md-text-light); font-weight: 400; font-family: inherit; }
.result-highlight .rh-sub { font-size: 13px; color: var(--md-text-light); margin-top: 4px; }

/* 组合贷双排并列高亮块 */
.result-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.result-highlight.highlight-commercial { background: linear-gradient(135deg, #edf2ff, #f8f9fc); border-color: #bdd8f1; padding: 20px 16px; }
.result-highlight.highlight-commercial .rh-value { color: var(--md-secondary); }
.result-highlight.highlight-gjj,
.result-highlight.green { background: linear-gradient(135deg, #f0fff4, #f8f9fc); border-color: #c6f6d5; padding: 20px 16px; }
.result-highlight.highlight-gjj .rh-value,
.result-highlight.green .rh-value { color: #38a169; }

/* 组合贷合计总高亮 */
.result-total {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #f7f4eb, #f8f9fc);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #ece5d0;
}
.result-total .rt-label { font-size: 14px; color: var(--md-text-light); margin-bottom: 8px; }
.result-total .rt-value { font-family: 'Noto Serif SC', serif; font-size: 32px; font-weight: 700; color: var(--md-gold); }
.result-total .rt-value span { font-size: 16px; color: var(--md-text-light); font-weight: 400; font-family: inherit; }

/* 理财/投资多色卡片并排高亮行 */
.highlight-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.highlight-item { text-align: center; padding: 24px 16px; border-radius: 10px; border: 1px solid #ece5d0; }
.highlight-item.gold { background: linear-gradient(135deg, #f7f4eb, #f8f9fc); }
.highlight-item.green { background: linear-gradient(135deg, #f0fff4, #f8f9fc); border-color: #c6f6d5; }
.highlight-item.blue { background: linear-gradient(135deg, #ebf8ff, #f8f9fc); border-color: #bee3f8; }
.highlight-item.red { background: linear-gradient(135deg, #fff5f5, #f8f9fc); border-color: #fed7d7; }
.highlight-item .hi-label { font-size: 13px; color: var(--md-text-light); margin-bottom: 8px; }
.highlight-item .hi-value { font-family: 'Noto Serif SC', 'PingFang SC', serif; font-size: 28px; font-weight: 700; }
.highlight-item .hi-value span { font-size: 14px; color: var(--md-text-light); font-weight: 400; font-family: inherit; }
.highlight-item.gold .hi-value { color: var(--md-gold); }
.highlight-item.green .hi-value { color: #38a169; }
.highlight-item.blue .hi-value { color: #3182ce; }
.highlight-item.red .hi-value { color: #e53e3e; }

/* 细项结果明细列表与子标题 */
.sub-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--md-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--md-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sub-section-title .ss-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.result-list { list-style: none; padding: 0; margin: 0 0 16px; }
.result-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--md-border);
    font-size: 14px;
}
.result-list li:last-child { border-bottom: none; }
.result-list .rl-label { color: var(--md-text); }
.result-list .rl-value { color: var(--md-text-light); font-weight: 600; }

/* 查看还款明细折叠展开按钮 */
.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--md-secondary);
    color: var(--md-secondary);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
    cursor: pointer;
}
.btn-detail:hover { background: var(--md-secondary); color: #fff; }

/* 还款期数排列表格 */
.detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--md-border);
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
    margin-top: 16px;
}
.detail-table th { background: var(--md-primary); color: #fff; font-weight: 500; padding: 10px 14px; text-align: center; }
.detail-table td { padding: 9px 14px; border-bottom: 1px solid var(--md-border); text-align: center; vertical-align: middle; }
.detail-table tr:last-child td { border-bottom: none; }
.detail-table tr:nth-child(even) td { background: #fafbfd; }

/* 费率与对比表格 */
.compare-table, .rate-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--md-border);
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
}
.rate-table { border-collapse: collapse; margin-top: 16px; }
.compare-table th, .rate-table th { background: var(--md-primary); color: #fff; font-weight: 500; padding: 10px 12px; text-align: center; }
.compare-table td, .rate-table td { padding: 10px 12px; border-bottom: 1px solid var(--md-border); text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td, .rate-table tr:nth-child(even) td { background: #fafbfd; }
.compare-table tr.recommend td { background: rgba(201,168,76,.08); font-weight: 600; }
.rate-table tr:hover td { background: #f7f4eb; }

.result-note { font-size: 13px; color: var(--md-text-light); line-height: 1.7; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--md-border); }
/* ==========================================
   10. 侧边栏结构组件与金融挂件
   ========================================== */
.sidebar-card { background: #fff; border: 1px solid var(--md-border); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.sidebar-card h5 { font-size: 15px; font-weight: 700; color: var(--md-primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--md-border); }

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--md-text);
    transition: all .2s;
    margin-bottom: 4px;
    text-decoration: none;
}
.sidebar-link:hover { background: var(--md-bg); color: var(--md-gold); }
.sidebar-link.active { background: rgba(201,168,76,.1); color: var(--md-gold) !important; font-weight: 600; }
.sidebar-link i { font-size: 16px; color: var(--md-text-light); }
.sidebar-link:hover i, .sidebar-link.active i { color: var(--md-gold); }

/* 金融挂件 - 基础核心样式（默认深色背景，完美适配组合贷参考利率） */
/* Quick Info Card */
.quick-info-card {
    background: linear-gradient(135deg, #f7f4eb, #f8f9fc);
    border: 1px solid #ece5d0;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 20px;
}
.quick-info-card h5 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #8b6914; }
.quick-info-card p { font-size: 13px; color: var(--md-text-light); margin-bottom: 16px; line-height: 1.6; }
.quick-info-card .qi-display { display: inline-flex; align-items: baseline; gap: 4px; }
.quick-info-card .qi-number {
    font-family: 'Noto Serif SC', 'PingFang SC', serif;
    font-size: 36px;
    font-weight: 700;
    color: #8b6914;
}
.quick-info-card .qi-unit { font-size: 16px; color: var(--md-gold); }
.quick-info-card .qi-note { font-size: 12px; color: var(--md-text-light); margin-top: 8px; }

/* 挂件内部的双排流式利率布局 */
.qi-rate-row { display: flex; justify-content: space-around; margin-bottom: 12px; margin-top: 14px; }
.qi-rate-item { text-align: center; }
.qi-rate-item .qi-label { font-size: 12px; color: #8b6914 !important; margin-bottom: 4px; }
.qi-rate-item .qi-number { font-family: 'Noto Serif SC', serif; font-size: 28px; font-weight: 700; line-height: 1.2; }
.qi-rate-item .qi-number .qi-unit { font-size: 14px; font-weight: 400; color: #8b6914 !important; }

/* 商贷金色与公积金绿色高亮 */
.qi-rate-item .qi-number.rate-commercial { color: var(--md-gold) !important; }
.qi-rate-item .qi-number.rate-gjj { color: #68d391 !important; }

/* 金融挂件变体 - 浅色版本（若其他单项工具页面需要浅色，可加 .light 类名） */
.quick-info-card.light {
    background: linear-gradient(135deg, #f7f4eb, #f8f9fc) !important;
    color: var(--md-text) !important;
    border: 1px solid #ece5d0 !important;
}
.quick-info-card.light h5 { color: #8b6914 !important; }
.quick-info-card.light p { color: var(--md-text-light) !important; }
.quick-info-card.light .qi-number { color: #8b6914 !important; }
.quick-info-card.light .qi-unit { color: var(--md-gold) !important; }
.quick-info-card.light .qi-note { color: var(--md-text-light) !important; }

/* 金融挂件变体 - 危险红 */
.quick-info-card.danger {
    background: linear-gradient(135deg, #fff5f5, #f8f9fc) !important;
    border: 1px solid #fed7d7 !important;
    color: var(--md-text) !important;
}
.quick-info-card.danger h5 { color: #c53030 !important; }
.quick-info-card.danger .qi-number { color: #c53030 !important; }
.quick-info-card.danger .qi-unit { color: #e53e3e !important; }
.quick-info-card.danger .qi-note { color: var(--md-text-light) !important; }

/* 优势须知排列样式 */
.advantage-card { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--md-border); }
.advantage-card:last-child { border-bottom: none; padding-bottom: 0; }
.advantage-card .ac-icon { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--md-gold), #b7931f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.advantage-card .ac-title { font-size: 14px; font-weight: 700; color: var(--md-primary); margin-bottom: 2px; }
.advantage-card .ac-desc { font-size: 12px; color: var(--md-text-light); line-height: 1.5; }


/* ==========================================
   11. 加载及进场动画
   ========================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.anim-item { opacity: 0; animation: fadeUp .6s ease forwards; }
.anim-item:nth-child(1) { animation-delay: .1s; }
.anim-item:nth-child(2) { animation-delay: .2s; }
.anim-item:nth-child(3) { animation-delay: .3s; }
.anim-item:nth-child(4) { animation-delay: .4s; }
.anim-item:nth-child(5) { animation-delay: .5s; }


/* ==========================================
   12. 媒体查询/全端移动端响应式断点
   ========================================== */
@media (max-width: 991px) {
    .nav-search-wrap { margin: 10px 0; width: 100%; display: block; }
    .nav-search-wrap .input-group { width: 100% !important; max-width: 100% !important; }
    .tool-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .calc-sidebar { margin-top: 32px; }
    .invest-type-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight-row { grid-template-columns: 1fr; gap: 12px; }
    .period-grid { grid-template-columns: repeat(3, 1fr); }
    .bank-fee-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .calc-hero { padding: 48px 0 40px; }
    .calc-hero h1 { font-size: 28px; }
    
    .category-card { padding: 20px 16px; }
    .tool-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .tool-item { padding: 16px 8px; }
    .tool-icon { width: 40px; height: 40px; font-size: 18px; }
    .tool-name { font-size: 12px; }

    .calc-card { padding: 24px 20px; }
    .result-body { padding: 20px; }
    
    .result-highlights { grid-template-columns: 1fr; }
    .result-highlight .rh-value { font-size: 20px; }
    .result-total .rt-value { font-size: 26px; }
    .highlight-item .hi-value { font-size: 22px; }
    .result-header { padding: 16px 20px; font-size: 15px; }
    
    .period-grid { grid-template-columns: repeat(3, 1fr); }
    .bank-fee-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .tool-grid { grid-template-columns: repeat(2, 1fr); }
}