/* AI 金融产品匹配页（与政策 AI 筛选页风格一致） */
.financing-ai-page {
    padding-bottom: 40px;
}
.financing-ai-page .match-info-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.financing-ai-page .match-times-line {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
}
.financing-ai-page .match-times-line .match-times-value {
    color: #999;
}
.financing-ai-page .match-times-line .match-times-more {
    color: #ff6a00;
    font-size: 13px;
    text-decoration: none;
}
.financing-ai-page .match-times-line .match-times-more:hover {
    text-decoration: underline;
}
.financing-ai-page .search-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
}
.financing-ai-page .page-desc {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin: 0 0 16px;
}
.financing-ai-page .trial-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto 22px;
    padding: 10px 12px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 6px;
    color: #614700;
    font-size: 13px;
}
.financing-ai-page .trial-badge {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 4px;
    background: #faad14;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}
/* 表单：与政策 AI 匹配页 layui-form-pane + layui-inline 一致 */
.financing-ai-page .financing-form-wrap.layui-form-pane .layui-form-item {
    margin-bottom: 18px;
}
.financing-ai-page .financing-form-wrap .layui-inline {
    margin-right: 0;
    margin-bottom: 0;
    vertical-align: top;
}
.financing-ai-page .financing-form-wrap .financing-inline-left {
    margin-right: 30px;
}
.financing-ai-page .financing-form-wrap .layui-inline .layui-form-label {
    width: 100px;
    padding: 8px 10px;
    height: 38px;
    line-height: 20px;
    box-sizing: border-box;
}
.financing-ai-page .financing-form-wrap .financing-inline-input {
    width: 500px;
}
.financing-ai-page .financing-requirement-wrap {
    max-width: 1230px;
    width: 100%;
}
/* layui-row 负边距会导致行距变挤，仅保留左右 gutter */
.financing-ai-page .financing-req-row.layui-row {
    margin: 0 -7.5px 18px;
}
.financing-ai-page .financing-req-row.layui-row:last-child {
    margin-bottom: 18px;
}
.financing-ai-page .financing-req-row > [class*="layui-col-"] {
    padding-top: 0;
    padding-bottom: 0;
}
.financing-ai-page .financing-req-field {
    width: 100%;
    margin: 0 !important;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}
.financing-ai-page .financing-req-field .layui-form-label {
    width: 100px;
    padding: 8px 10px;
    height: 38px;
    line-height: 20px;
    box-sizing: border-box;
}
.financing-ai-page .financing-req-field .layui-input-inline {
    width: calc(100% - 100px);
    margin-right: 0;
}
.financing-ai-page .financing-form-wrap .financing-inline-input .layui-input,
.financing-ai-page .financing-form-wrap .financing-inline-input .layui-select-title input,
.financing-ai-page .financing-req-field .layui-input,
.financing-ai-page .financing-req-field .layui-select-title input {
    height: 38px;
    line-height: 38px;
}
.financing-ai-page .financing-materials-item {
    margin-bottom: 18px;
}
.financing-ai-page .financing-materials-item .layui-form-label {
    width: 100px;
    height: auto;
    min-height: 38px;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    box-sizing: border-box;
}
.financing-ai-page .financing-materials-block {
    margin-left: 110px;
    min-height: 38px;
    padding: 12px 12px;
    box-sizing: border-box;
    max-width: 1120px;
}
.financing-ai-page .financing-submit-item {
    margin-bottom: 0;
}
.financing-ai-page .material-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
}
.financing-ai-page .material-check-group .layui-form-checkbox[lay-skin="primary"] {
    margin: 0;
    padding-right: 0;
    min-height: auto;
    height: auto;
}
.financing-ai-page .material-check-group .layui-form-checkbox[lay-skin="primary"] > i {
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 12px;
    border-radius: 2px;
}
.financing-ai-page .material-check-group .layui-form-checkbox[lay-skin="primary"] > span {
    padding-left: 8px;
    padding-right: 0;
    font-size: 13px;
    color: #333;
    line-height: 20px;
}
.financing-ai-page .material-check-group .layui-form-checkbox[lay-skin="primary"].layui-form-checked > span {
    color: #333;
}
.financing-ai-page .financing-form-wrap .layui-form-checkbox[lay-skin="primary"] > i {
    border-color: #d2d2d2;
}
.financing-ai-page .financing-form-wrap .layui-form-checkbox[lay-skin="primary"].layui-form-checked > i {
    border-color: #005bff;
    background-color: #005bff;
}
.financing-ai-page .financing-form-wrap .layui-btn.layui-btn-normal {
    background-color: #005bff !important;
}
.financing-ai-page .financing-result-section {
    margin-top: 10px;
}
.financing-ai-page .financing-result-head {
    margin-bottom: 12px;
    padding: 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}
.financing-ai-page .financing-result-head span {
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 8px;
}
.financing-ai-page #resultContainer {
    min-height: 320px;
}
.financing-ai-page .result-summary {
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #666;
    font-size: 13px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.financing-ai-page .finance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}
.financing-ai-page .policy-list-item {
    padding: 20px;
    margin-bottom: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}
.financing-ai-page .policy-list-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.financing-ai-page .policy-list-item-title {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    line-height: 1.4;
}
.financing-ai-page .policy-list-item-title-level {
    color: #0066ff;
    font-weight: bold;
    margin-right: 5px;
    flex-shrink: 0;
    font-size: 13px;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
}
.financing-ai-page .policy-list-item-title-target {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.financing-ai-page .policy-list-item-title-target a {
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
    display: inline-flex;
    align-items: center;
}
.financing-ai-page .policy-list-item-title-target a:hover {
    color: #0066ff;
}
.financing-ai-page .finance-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 4px;
    font-size: 13px;
    color: #64748b;
}
.financing-ai-page .finance-meta-line .value {
    color: #1e293b;
    font-weight: 600;
}
.financing-ai-page .finance-meta-line .finance-amount-value {
    color: #ff4d4f;
    font-weight: 700;
    font-size: 14px;
}
.financing-ai-page .policy-reason {
    margin-top: 12px;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-radius: 2px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    border-left: 4px solid #0066ff;
}
.financing-ai-page .finance-card-actions {
    margin-top: 12px;
}
.financing-ai-page .finance-detail-btn {
    display: inline-block;
    min-width: 108px;
    height: 32px;
    line-height: 32px;
    padding: 0 16px;
    font-size: 13px;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    background: #0066ff;
    border-radius: 4px;
    border: none;
    box-sizing: border-box;
    transition: background 0.2s;
}
.financing-ai-page .finance-detail-btn:hover {
    background: #0052cc;
    color: #fff !important;
}
.financing-ai-page .policy-list-item-title-target .match-score-tag {
    margin-left: 0;
}
.financing-ai-page .policy-list-item-title-target .match-score-percent {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
}
.financing-ai-page .match-score-tag {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.financing-ai-page .match-high {
    background-color: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}
.financing-ai-page .match-medium {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}
.financing-ai-page .match-low {
    background-color: #fffbe6;
    color: #faad14;
    border: 1px solid #ffe58f;
}
.financing-ai-page .no-data {
    padding: 48px 20px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.financing-ai-page .ai-status-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 26px 18px;
    border-radius: 10px;
    border: 1px dashed #d9e3f2;
    background: #fafcff;
    color: #4f5b72;
}
.financing-ai-page .ai-status-card.is-error {
    border-color: #ffd6d6;
    background: #fff6f6;
}
.financing-ai-page .ai-status-icon {
    font-size: 28px;
    color: #2f86ff;
    line-height: 1;
}
.financing-ai-page .ai-status-card.is-error .ai-status-icon {
    color: #ff4d4f;
}
.financing-ai-page .ai-status-title {
    margin-top: 12px;
    font-size: 17px;
    font-weight: 600;
    color: #2d3748;
}
.financing-ai-page .ai-status-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}
.financing-ai-page .ai-loading-progress {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #1d4ed8;
    font-size: 13px;
}
.financing-ai-page .ai-loading-dot {
    display: inline-flex;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    animation: financingAiPulse 1.2s infinite ease-in-out;
}
@keyframes financingAiPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1); }
}
.financing-ai-page #pagerWrap {
    display: flex;
    justify-content: center;
    margin: 16px 0 30px;
}
.financing-ai-page #pagerWrap .layui-laypage {
    display: inline-block;
}
/* VIP 弹窗（渲染在 layer 内，不可加页面前缀） */
.vip-plan-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.vip-plan-item {
    border: 1px solid #e8edf5;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.vip-plan-item.is-active {
    border-color: #1677ff;
    background: #f0f7ff;
    box-shadow: 0 0 0 1px rgba(22, 119, 255, 0.15) inset;
}
.vip-plan-item.level-vip.is-active { background: #dbeafe; }
.vip-plan-item.level-startup-star.is-active { background: #ffedd5; }
.vip-plan-item.level-innovation-star.is-active { background: #ffe4e6; }
.vip-plan-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.vip-plan-price {
    font-weight: 700;
    color: #ff4d4f;
}
.vip-plan-sub {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
}
.vip-refresh-btn {
    margin-top: 10px;
    border: 1px solid #2f6feb;
    background: #fff;
    color: #2f6feb;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
}
.vip-refresh-btn:hover {
    background: #eff6ff;
}

@media (max-width: 768px) {
    .financing-ai-page .financing-form-wrap .layui-form-item .layui-inline {
        display: block;
        margin-right: 0 !important;
        margin-bottom: 12px;
    }
    .financing-ai-page .financing-form-wrap .financing-inline-input,
    .financing-ai-page .financing-req-field .layui-input-inline {
        width: 100% !important;
        max-width: 100%;
    }
    .financing-ai-page .financing-req-row > [class*="layui-col-"] {
        width: 100%;
        margin-bottom: 12px;
    }
    .financing-ai-page .match-info-container {
        padding: 20px 16px;
    }
    .financing-ai-page .financing-materials-block {
        margin-left: 0;
    }
    .financing-ai-page .finance-grid {
        grid-template-columns: 1fr;
    }
}
