/* ============================================================
 * prade_agent_skill 公共样式表
 * 由 h5/view/prade_agent_skill/ 下 index / guide_info /
 * ptrade_info / tushare_info 四个页面的内联 <style> 提取合并而成。
 * 页面通过 <link rel="stylesheet" href="../../assets/prade_agent_skill/style.css"> 引入。
 * 注意：guide_info 页对 .timeline-container 有一处覆盖（不设 max-width），见该页内联样式。
 * ============================================================ */


        /* ===== 根字号基准：1em = 16px，本文件 px 均已换算为 em（max-width:1920px 除外） ===== */
        html{
            font-size: clamp(10px, calc(100vw / 120), 16px);
        }
        body{
            margin: 0 auto;
            padding: 0;
            width: 100%;
            max-width: 1920px;   /* 规则不变，保留 px */
            box-sizing: border-box;
            overflow-x: hidden;
            background-color: #f0f2f5;
        }
        .top-header{
            width: 100%;
            position: relative;
        }
        .back-area{
            width: 2.5em;   /* 40px */
            height: 2.5em;   /* 40px */
            background: transparent;
            position: absolute;
            left: 6.927%;   /* 133px，按 banner 图宽 1920px 折算，随图片缩放，移动端仍对准返回图标 */
            top: 30.854%;   /* 112px，按 banner 图高 363px 折算，随图片缩放，移动端仍对准返回图标 */
            cursor: pointer;
        }
        .git_url_img{
            width: 43.542%;   /* 836px，按 banner 图宽 1920px 折算，随图片缩放 */
            position: absolute;
            bottom: 9.917%;   /* 36px，按 banner 图高 363px 折算，随图片缩放，移动端仍对齐 */
            left: 10.417%;    /* 200px，按 banner 图宽 1920px 折算，随图片缩放，移动端仍对齐 */
            cursor: pointer;
        }
        .banner_img{
            width: 100%;
            display: block;
        }
        .container{
            width: 100%;
            box-sizing: border-box;
        }
        .container-section-1{
            width: 100%;
            /* height: 31.25em; */
            background: #FFF9EF;
            padding: 3.75em 12.5em;   /* 60px 200px */
            box-sizing: border-box;

        }
        .container-section-2{
            width: 100%;
            /* height: 31.25em; */
            padding: 3.75em 12.5em;   /* 60px 200px */
            box-sizing: border-box;
            background: #fff;
        }
        .title-row{
            display: flex;
            align-items: center;
        }
        .title-tips{
            font-family: FZLanTingHeiPro_GB18030;
            font-weight: 400;
            font-size: 1.5em;   /* 24px */
            color: #121212;   
            margin-top: 0.792em;   /* 19px */
        }
        .icon-style{
            width: 2.3125em;   /* 37px */
            margin-right: 1.4375em;   /* 23px */
        }
        .title{
            display: inline-block;
            font-family: FZLanTingHeiPro_GB18030;
            font-weight: bold;
            font-size: 2.5em;   /* 40px */
            /* 兜底色：浏览器不支持渐变文字时，显示渐变起始色的纯色 */
            color: #873F0A;
            background: linear-gradient(92deg, #873F0A 0%, #BD672E 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-fill-color: transparent;
        }
        .tip{
            font-family: FZLanTingHeiPro_GB18030;
            font-weight: 400;
            font-size: 1.5em;   /* 24px */
            color: #121212;
            line-height: 1.5em;   /* 36px */
        }
        .card-style{
            width: 100%;
            /* height: 23.6875em; */
            background: #FFFFFF;
            box-shadow: 0 0.0625em 0.9375em 0 rgba(185,20,20,0.19);   /* 0 1px 15px 0 */
            border-radius: 1.25em;   /* 20px */
            margin-top: 2.3125em;   /* 37px */
            padding: 2.5em 2.3125em;   /* 40px 37px */
            box-sizing: border-box;
        }
        .card-title{
            color: #121212;
            font-size: 1.75em;   /* 28px */
            font-weight: bold;
            margin-bottom: 0.714em;   /* 20px */
        }
        .card-text{
            color: #121212;
            font-size: 1.5em;   /* 24px */
        }
        .line-row{
            margin-top: 1.542em;   /* 37px */
            color: #121212;
            font-size: 1.5em;   /* 24px */
            display: flex;
            align-items: center;
        }
        .line-style{
            width: 0.333em;   /* 8px */
            height: 1.708em;   /* 41px */
            background: #B91414;
            border-radius: 0.167em;   /* 4px */
            margin-right: 1.25em;   /* 30px */
        }
        .circle-dot-style{
            width: 0.542em;   /* 13px */
            height: 0.542em;   /* 13px */
            background: #B91414;
            border-radius: 50%;
            margin-right: 0.542em;   /* 13px */
        }
         /* 列表样式 */
        .feature-list {
            /* list-style: none; */
            margin-top: 0.5em;   /* 12px */
        }
        .feature-list li {
            position: relative;
            padding-left: 0.667em;   /* 16px */
            margin-bottom: 0.333em;   /* 8px */
        }
    
        .text-1{
            color: #B91414;
            font-weight: bold;
        }
        .text-2{
            color: #B91414;
        }
        /* .bottom-row{
            display: flex;
            align-items: center;
        } */
        .sub-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5em;   /* 24px */
            margin-top: 1.875em;   /* 30px */
        }
        .sub-card-style{
            background: #FFFFFF;
            box-shadow: 0 0.0625em 0.9375em 0 rgba(185,20,20,0.19);   /* 0 1px 15px 0 */
            border-radius: 1.25em;   /* 20px */
            margin-top: 1.25em;   /* 20px */
            padding: 2.625em 2em;   /* 42px 32px */
            /* 卡片内容纵向排列，底部「查看详情」按钮对齐 */
            display: flex;
            flex-direction: column;

        }
        .button{
            width: 5.667em;   /* 136px */
            height: 2.125em;   /* 51px */
            background: linear-gradient(0deg, #FD6A43 0%, #FF9170 100%);
            border-radius: 1.042em;   /* 25px */
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: FZLanTingHeiPro_GB18030;
            font-weight: 400;
            font-size: 1.5em;   /* 24px */
            color: #FFFFFF;
        }
        .button-1{
            width: 6.708em;   /* 161px */
            height: 2.125em;   /* 51px */
            background: linear-gradient(0deg, #FFF5E9 0%, #FFE5C8 100%);
            border-radius: 1.042em;   /* 25px */
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: FZLanTingHeiPro_GB18030;
            font-weight: 400;
            font-size: 1.5em;   /* 24px */
            color: #7C3116;
        }
        .dot{
            display: inline-block;
            width: 0.25em;   /* 6px */
            height: 0.25em;   /* 6px */
            background: #FFFFFF;
            border-radius: 50%;
            box-shadow: 0 0 0 0.125em rgba(255,255,255,0.4);   /* 0 0 0 3px */
            margin-right: 0.333em;   /* 8px */
        }
        .dot-1{
            display: inline-block;
            width: 0.25em;   /* 6px */
            height: 0.25em;   /* 6px */
            background: #7C3116;
            border-radius: 50%;
            box-shadow: 0 0 0 0.125em rgba(124,49,22,0.2);   /* 0 0 0 3px */
            margin-right: 0.333em;   /* 8px */
        }
        .skill-name{
            font-family: FZLanTingHeiPro_GB18030;
            font-weight: bold;
            font-size: 1.625em;   /* 26px */
            color: #ED3838;
            line-height: 1.385em;   /* 36px */
            margin-top: 1.115em;   /* 29px */
        }
        .skill-desc{
            font-family: FZLanTingHeiPro_GB18030;
            font-weight: 400;
            font-size: 1.5em;   /* 24px */
            color: #000000;
            line-height: 1.5em;   /* 36px */
            margin-top: 0.833em;   /* 20px */
            flex: 1;   /* 占满剩余空间，把下方「查看详情」按钮顶到底部对齐 */
        }
        .skill-detail{
            display: block;
            text-decoration: none;
            font-family: FZLTCHPro--GB1-4;
            font-weight: bold;
            font-size: 1.5em;   /* 24px */
            color: #ED3838;
            margin-top: 1.375em;   /* 33px */
        }
        footer {
            background:  #b82123;
            color: #fff;
            text-align: center;
            padding: 3em 1.25em;   /* 48px 20px */
        }
        footer h3 { font-size: 1.25em; margin-bottom: 0.6em; }   /* 20px / 12px */
        footer p { font-size: 0.9375em; max-width: 46.667em; margin: 0 auto; line-height: 1.6; }   /* 15px / 700px */

        /* ===== 移动端适配（断点基于浏览器初始字号，48em=768px / 30em=480px；
             不再覆盖根字号，字体由上面的 clamp 随视口连续缩放） ===== */
        @media (max-width: 48em) {
            .container-section-1,
            .container-section-2 {
                padding: 1.875em 1.25em;   /* 收窄左右留白 */
                box-sizing: border-box;
                background: #fff;
            }
            .card-style {
                padding: 1.875em 1.25em;
                box-sizing: border-box;
            }
            .sub-grid {
                grid-template-columns: 1fr;   /* 三列改单列 */
            }
             .back-area{
                width: 1.5em;   
                height: 1.5em;   
                background: transparent;
                position: absolute;
                left: 6.927%;   /* 133px，按 banner 图宽 1920px 折算，随图片缩放，移动端仍对准返回图标 */
                top: 30.854%;   /* 112px，按 banner 图高 363px 折算，随图片缩放，移动端仍对准返回图标 */
                cursor: pointer;
            }
        }
    


        
        .timeline-container {
            max-width: 46.875em;   /* 750px */
            width: 100%;
        }

        .step-item {
            position: relative; /* 为伪元素虚线提供定位参考 */
            display: flex;
            align-items: flex-start;
            padding-bottom: 1.5625em;   /* 25px 步骤之间的间距 */
        }

        /* 去掉最后一个元素的底部间距 */
        .step-item:last-child {
            padding-bottom: 0;
        }

        /* 红色圆圈 */
        .step-circle {
            flex-shrink: 0;
            width: 2em;   /* 36px */
            height: 2em;   /* 36px */
            border-radius: 50%;
            background-color: #c62a2f;
            color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.125em;   /* 18px */
            font-weight: bold;
            margin-right: 1em;   /* 18px */
            position: relative;
            z-index: 2; /* 确保浮在虚线之上 */
        }

        /* 伪元素实现的垂直虚线 */
        .step-item::after {
            content: '';
            position: absolute;
            left: 1.125em;   /* 18px（36px 宽度的一半，正好居中） */
            top: 2.25em;   /* 36px（从圆圈底部开始） */
            bottom: 0;
            width: 0.125em;   /* 2px */
            border-left: 0.125em dashed #c62a2f;   /* 2px */
            z-index: 1;
        }

        /* 去掉最后一个元素的虚线，避免下方多出一截 */
        .step-item:last-child::after {
            display: none;
        }

        /* 右侧文字内容 */
        .step-text {
            font-size: 1.5em;   /* 24px */
            line-height: 1.6;
            padding-top: 0.167em;   /* 4px 微调文字与圆圈的垂直对齐 */
            color: #B91414; /* 稍微调深一点，模拟图片印刷感 */
            font-weight: 400;
        }
    


        /* 网格布局：默认两列 */
        .cards-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25em;   /* 20px 卡片之间的间距 */
            margin-top: 1.875em;   /* 30px */
        }

        /* 单个卡片样式 */
        .card-item {
            background-color: #ffffff;
            border: 0.0625em solid #f5e0e0;   /* 1px 极淡的红色边框 */
            border-radius: 1em;        /* 16px 大圆角 */
            padding: 1.5em 1.75em;   /* 24px 28px */
            /* box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.02); 非常微弱的阴影 */
            box-shadow: 0 0.0625em 0.9375em 0 rgba(185,20,20,0.19);   /* 0 1px 15px 0 */
            transition: transform 0.2s, box-shadow 0.2s;
        }

        /* 鼠标悬停效果 (可选，增强交互体验) */
        .card-item:hover {
            transform: translateY(-0.125em);   /* -2px */
            box-shadow: 0 0.375em 1em rgba(210, 30, 30, 0.06);   /* 0 6px 16px */
        }

        /* 卡片头部：徽章和标题在同一行 */
        .card-header {
            display: flex;
            align-items: center;
            margin-bottom: 0.75em;   /* 12px */
        }

        /* 红色圆形数字徽章 */
        .badge {
            flex-shrink: 0; /* 防止徽章被挤压 */
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 1.857em;   /* 26px */
            height: 1.857em;   /* 26px */
            border-radius: 50%;
            background-color: #c42b2d; /* 深红色 */
            color: #ffffff;
            font-size: 0.875em;   /* 14px */
            font-weight: bold;
            margin-right: 0.857em;   /* 12px */
        }

        /* 标题文本 */
        .grid-card-title {
            color: #c42b2d; /* 与徽章同色 */
            font-size: 1.5em;   /* 24px */
            font-weight: bold;
            letter-spacing: 0.021em;   /* 0.5px */
            line-height: 1.4;
        }

        /* 下方描述文本 */
        .description {
            color: #121212;
            font-size: 1.5em;   /* 24px */
            line-height: 1.6;
            margin: 0;
            padding-left: 1.583em;   /* 38px（与上方文本对齐：徽章宽度+间距） */
        }

        /* 响应式适配：屏幕宽度小于 48em(768px) 时，变成单列显示 */
        @media (max-width: 48em) {
            .cards-grid {
                grid-template-columns: 1fr;
                gap: 1em;   /* 16px */
            }
            
            .card-item {
                padding: 1.25em;   /* 20px */
            }
           
        }
    


        /* 响应式容器（防止小屏幕手机表格撑破页面） */
        .table-wrapper {
            width: 100%;
            /* max-width: 53.75em; */   /* 860px */
            padding-top: 1.875em;   /* 30px */
            box-sizing: border-box;
            overflow-x: auto;
        }

        /* 表格主体样式 */
        .api-table {
            width: 100%;
            border-collapse: separate; /* 必须分开，才能实现圆角 */
            border-spacing: 0;         /* 间距设为0 */
            border: 0.0625em solid #B91414;   /* 1px 外部浅红色边框 */
            border-radius: 1.25em;       /* 20px 外部大圆角 */
            overflow: hidden;          /* 防止内部内容溢出圆角外 */
            background-color: #ffffff;
            box-shadow: 0 0.0625em 0.9375em 0 rgba(185,20,20,0.19);   /* 0 1px 15px 0 */
        }

        /* 表头样式 */
        .api-table thead th {
            background-color: #B91414; /* 深红色背景 */
            color: #ffffff;
            font-size: 1.5em;   /* 24px */
            font-weight: bold;
            letter-spacing: 0.042em;   /* 1px */
            padding: 0.417em 0.75em 0.417em 1.792em;   /* 10px 18px 10px 43px */
            text-align: left; /* 表头居中 */
            border-right: 0.042em solid #B91414;   /* 1px 表头的列分割线 */
        }

        /* 去掉表头最后一列分割线 */
        .api-table thead th:last-child {
            border-right: none;
        }

        /* 表格主体单元格样式 */
        .api-table tbody td {
            padding: 0.417em 0.75em 0.417em 1.792em;   /* 10px 18px 10px 43px */
            color: #121212;
            font-size: 1.5em;   /* 24px */
            border-right: 0.042em solid #B91414;   /* 1px 列分割线 */
            border-bottom: 0.042em solid #B91414;   /* 1px 行分割线 */
            vertical-align: middle;
        }

        /* 去掉最后一列的分割线 */
        .api-table tbody td:last-child {
            border-right: none;
        }

        /* 去掉最后一行的下划线（因为有外层下边框了） */
        .api-table tbody tr:last-child td {
            border-bottom: none;
        }

        /* 列对齐方式自定义 */
        .api-table tbody td:nth-child(1), /* 第一列：居中 */
        .api-table tbody td:nth-child(2) { /* 第二列：居中 */
            text-align: left;
        }

        .api-table tbody td:nth-child(3) { /* 第三列：左对齐 */
            text-align: left;
        }
        
        /* 为了视觉强调可以给第一列的文字加粗 */
        .api-table tbody td:nth-child(1) {
            font-weight: bold;
        }

        /* 手机端更小的内边距（断点 37.5em = 600px） */
        @media (max-width: 37.5em) {
            .api-table thead th,
            .api-table tbody td {
                padding: 0.714em 0.857em;   /* 10px 12px */
                font-size: 0.875em;   /* 14px */
            }
        }
    


        /* 内容容器 */
        .content-wrapper {
            width: 100%;
            /* padding: 1.875em 2.5em; */   /* 30px 40px */
            box-sizing: border-box;
        }

        /* 大的区块（提供 / 不提供） */
        .info-section {
            margin-bottom: 1.875em;   /* 30px */
        }
        .info-section:last-child {
            margin-bottom: 0;
        }

        /* 标题行：图标 + 文字 */
        .section-header {
            display: flex;
            align-items: center;
            font-size: 1.5em;   /* 24px */
            font-weight: bold;
            color: #121212;
            margin-bottom: 0.417em;   /* 10px */
        }

        /* 图标样式 */
        .section-header .icon {
            margin-right: 0.417em;   /* 10px */
            width: 1.125em;   /* 27px */
            height: 1.125em;   /* 27px */
        }

        /* 列表容器 - 缩进对齐标题文字 */
        .item-list {
            list-style: none;
            padding: 0;
            margin: 0;
            padding-left: 2em;   /* 32px（与标题的 "提供：" 对齐） */
        }

        /* 列表项 */
        .item-list li {
            position: relative;
            padding-left: 1.083em;   /* 26px（为圆点留出空间） */
            margin-bottom: 0.25em;   /* 6px */
            font-size: 1.5em;   /* 24px */
            line-height: 1.6;
            color: #121212;
        }

        /* 使用伪元素实现圆点符号 */
        .item-list li::before {
            content: "·";
            position: absolute;
            left: 0;
            top: 0;
            color: #121212;
            font-weight: bold;
        }

  
    


        /* 外层虚线框 */
        .instruction-card {
            width: 100%;
            margin-top: 2.5em;   /* 40px */
            padding: 4em 2.5em;   /* 64px 40px */
            box-sizing: border-box;
            /* background-color: #fcf6f1; 淡米黄色背景 */
            border: 0.125em dashed #B91414;   /* 2px 红色虚线 */
            border-radius: 1.25em;   /* 20px 外边框圆角 */
        }

        /* 内部白色胶囊区域 - 重要定位容器 */
        .command-pill {
            position: relative;
            overflow: visible;
            
            display: flex;
            justify-content: flex-start;
            align-items: center;
            background-color: #ffffff;
            border-radius: 2.5625em;   /* 41px 胶囊大圆角 */
            padding: 1.6875em 2.8125em;   /* 27px 45px */
            box-shadow: 0 0.0625em 0.9375em 0 rgba(185,20,20,0.19);   /* 0 1px 15px 0 */
            margin-bottom: 2.75em;   /* 44px */
        }

        /* 左侧文字 */
        .command-text {
            flex: 1; /* 占满剩余空间 */
            color: #121212;
            font-size: 1.5em;   /* 24px */
            line-height: 1.5;
            word-break: break-all; /* 防止链接撑破布局 */
            padding-right: 2.083em;   /* 50px 给右侧悬浮按钮留出空间，防止文字重叠 */
        }

        /* 复制按钮 - 定位到右上角 */
        .copy-btn {
            position: absolute;
            top: -1.455em;   /* -32px 向上移出胶囊框 */
            right: -0.682em;   /* -15px 靠右对齐 */

            background-color: #ffffff;
            color: #B91414; /* 红色字体 */
            border: 0.045em solid #eed5d5;   /* 1px 极淡的红色边框 */
            border-radius: 0.182em;   /* 4px 小圆角 */
            padding: 0.591em 1.182em;   /* 13px 26px */
            font-size: 1.375em;   /* 22px */
            font-weight: 500;
            cursor: pointer;
            box-shadow: 0 0.091em 0.182em rgba(0,0,0,0.02);   /* 0 2px 4px */
            transition: all 0.2s ease;
            z-index: 10; /* 保证它浮在胶囊框之上 */
        }

        /* 按钮悬停交互效果 */
        .copy-btn:hover {
            background-color: #c93632;
            color: #ffffff;
            border-color: #c93632;
        }

        /* 底部描述文字 */
        .description {
            color: #121212;
            font-size: 1.5em;   /* 24px */
            /* line-height: 1.8; */
            margin: 0;
            padding: 0 0.167em;   /* 0 4px */
        }

       
    




        /* 主容器 */
        .faq-wrapper {
            /* max-width: 48.75em; */   /* 780px */
            /* width: 100%; */
            padding: 2.5em 1.875em;   /* 40px 30px */
            box-sizing: border-box;
        }

        /* 单个问答对 */
        .faq-item {
            margin-bottom: 0.75em;   /* 12px */
        }
        /* 移除最后一个元素的底部间距 */
        .faq-item:last-child {
            margin-bottom: 0;
        }

        /* 问题区块 (米色背景) */
        .question {
            background: linear-gradient(-84deg, rgba(255,246,236,0) 0%, rgba(255,249,239,1) 100%);
            padding: 0.462em 1.5em;   /* 12px 39px */
            border-radius: 0.423em;   /* 11px 小圆角 */
            display: inline-block;     /* 根据内容自适应宽度(可选) */
            color: #873F0A;            /* 橙棕色文字 */
            font-size: 1.625em;   /* 26px */
            font-weight: bold;
            letter-spacing: 0.012em;   /* 0.3px */
        }

        /* 问题前面的 Q: 标签 */
        .question .q-label {
            margin-right: 0.154em;   /* 4px */
        }

        /* 回答区块 */
        .answer {
            /* margin-top: 0.75em; */   /* 12px */
            padding: 0.462em 1.5em;   /* 12px 39px，轻微缩进，与问题对齐 */
            color: #121212;
            font-size: 1.625em;   /* 26px */
            line-height: 1.8; /* 舒适的行高 */
        }

        /* 回答前面的 A: 标签 */
        .answer .a-label {
            font-weight: bold;
            margin-right: 0.154em;   /* 4px */
        }

        /* 复制成功 Toast 提示 */
        .toast{
            position: fixed;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.78);
            color: #FFFFFF;
            font-size: 1.25em;   /* 20px */
            padding: 0.75em 1.5em;   /* 12px 24px */
            border-radius: 0.5em;   /* 8px */
            z-index: 9999;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        .toast.show{
            opacity: 1;
        }

        
    