/* 功能页公开介绍层（N16）；规则全部限定在 .ti 内，避免影响工具工作台 */
.ti {
    /* 工具页左侧是 .g-slide 固定栏，介绍层是 body 级全宽区块，
       不预留这段内边距，左侧内容会被固定栏压住。数值跟随 tool.css 的断点。 */
    padding: 62px 0 72px 240px;
    background: #f6f9fe;
    border-top: 1px solid #e9f0fa;
    color: #1d2939;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

/* 内容宽度跟随工作台：容器不再居中定宽，改为撑满侧栏右侧的剩余宽度 */
.ti .mxs-container {
    width: auto;
    max-width: var(--container-width);
    margin: 0;
}

.ti h2,
.ti h3,
.ti h4,
.ti p,
.ti ol,
.ti ul,
.ti li,
.ti dl,
.ti dt,
.ti dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ti__head {
    max-width: 830px;
}

.ti__tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #e8f0ff;
    color: #2a5fd6;
    font-size: 12.5px;
    letter-spacing: .04em;
}

.ti__title {
    margin-top: 16px;
    font-size: 26px;
    line-height: 1.55;
    font-weight: 600;
    letter-spacing: -.01em;
}

.ti__lead {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.95;
    color: #55617a;
}

/* ---------- 三条要点 ---------- */
.ti__points {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ti__point {
    padding: 22px 22px 24px;
    background: #fff;
    border: 1px solid #e9f0fa;
    border-radius: 14px;
}

.ti__point-title {
    font-size: 15.5px;
    font-weight: 600;
}

.ti__point-title::before {
    content: "";
    display: block;
    width: 22px;
    height: 3px;
    margin-bottom: 14px;
    border-radius: 2px;
    background: #3b73f0;
}

.ti__point-text {
    margin-top: 10px;
    font-size: 13.8px;
    line-height: 1.9;
    color: #667085;
}

/* ---------- 步骤 + 规格 ---------- */
.ti__split {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1.18fr .82fr;
    gap: 20px;
    align-items: start;
}

.ti__panel {
    padding: 28px 30px 30px;
    background: #fff;
    border: 1px solid #e9f0fa;
    border-radius: 16px;
}

.ti__panel-title {
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f4fb;
    font-size: 16px;
    font-weight: 600;
}

.ti__steps {
    margin-top: 4px;
}

.ti__step {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px dashed #eef3fb;
}

.ti__step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ti__step-num {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef4ff;
    color: #2f6bff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
}

.ti__step-body h4 {
    font-size: 14.5px;
    font-weight: 600;
}

.ti__step-body p {
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #667085;
}

.ti__specs {
    margin-top: 12px;
}

.ti__spec {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed #eef3fb;
    font-size: 13.5px;
}

.ti__spec:last-child {
    border-bottom: 0;
}

.ti__spec dt {
    flex: 0 0 92px;
    color: #8b96a8;
}

.ti__spec dd {
    flex: 1;
    color: #1d2939;
    font-weight: 500;
}

/* ---------- 多模式说明 ---------- */
.ti__section {
    margin-top: 30px;
}

.ti__section-title {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.ti__modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.ti__mode {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    padding: 22px 22px 20px;
    background: #fff;
    border: 1px solid #e9f0fa;
    border-radius: 14px;
}

.ti__mode-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ti__mode-name {
    font-size: 15.5px;
    font-weight: 600;
}

.ti__mode-limit {
    flex: none;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f6bff;
    font-size: 11.5px;
    line-height: 1.6;
}

.ti__mode-use {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #667085;
}

.ti__mode-demo {
    margin-top: auto;
    padding-top: 14px;
}

.ti__mode-line {
    position: relative;
    padding: 9px 12px 9px 40px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.75;
}

.ti__mode-line span {
    position: absolute;
    left: 10px;
    top: 9px;
    font-size: 11.5px;
    color: #98a4b8;
}

.ti__mode-line--before {
    background: #fdf1f1;
    color: #8d5b5b;
}

.ti__mode-line--after {
    margin-top: 8px;
    background: #eefaf2;
    color: #2f6b52;
}

/* ---------- 状态说明 ---------- */
.ti__states {
    margin-top: 20px;
}

.ti__state-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.ti__state {
    padding: 16px 18px 18px;
    border: 1px solid #eef3fb;
    border-radius: 12px;
}

.ti__state-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.ti__state-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2f6bff;
}

.ti__state--ok .ti__state-dot {
    background: #12b76a;
}

.ti__state--fail .ti__state-dot {
    background: #f04438;
}

.ti__state-text {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.8;
    color: #667085;
}

/* ---------- 常见问题 ---------- */
.ti__faq {
    margin-top: 20px;
}

.ti__qa {
    border-bottom: 1px solid #f0f4fb;
}

.ti__qa:last-child {
    border-bottom: 0;
}

.ti__qa summary {
    position: relative;
    padding: 15px 34px 15px 0;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    transition: color .2s ease;
}

.ti__qa summary::-webkit-details-marker {
    display: none;
}

.ti__qa summary::after {
    content: "";
    position: absolute;
    right: 7px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #98a4b8;
    border-bottom: 1.5px solid #98a4b8;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
}

.ti__qa[open] summary {
    color: #2f6bff;
}

.ti__qa[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
}

.ti__qa-body {
    padding: 0 20px 16px 0;
    font-size: 13.5px;
    line-height: 1.9;
    color: #667085;
}

/* ---------- 相关工具 ---------- */
.ti__links {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ti__link {
    display: block;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e9f0fa;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ti__link strong {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: #1d2939;
}

.ti__link span {
    display: block;
    margin-top: 6px;
    font-size: 12.8px;
    line-height: 1.7;
    color: #8592a6;
}

.ti__link:hover {
    border-color: #bcd2ff;
    box-shadow: 0 8px 22px rgba(47, 107, 255, .08);
    transform: translateY(-1px);
}

.ti__link:hover strong {
    color: #2f6bff;
}

/* ---------- 覆盖开头那段重置 ----------
   文件顶部的 `.ti p` / `.ti h2` 等重置带元素选择器，优先级高于 `.ti__xxx` 这种纯类名，
   凡是给 p / h2 / h3 / h4 设 margin、padding 的规则都会被它清掉。
   这里统一用 `.ti .ti__xxx` 提一级，别再改上面的单类名规则。 */
.ti .ti__title {
    margin-top: 16px;
}

.ti .ti__lead {
    margin-top: 14px;
}

.ti .ti__point-text {
    margin-top: 10px;
}

.ti .ti__panel-title {
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f4fb;
}

.ti .ti__section-title {
    margin-bottom: 16px;
}

.ti .ti__mode-use {
    margin-top: 10px;
}

.ti .ti__mode-line {
    padding: 9px 12px 9px 40px;
}

.ti .ti__state-text {
    margin-top: 8px;
}

@media (max-width: 1499px) {
    .ti {
        padding-left: 210px;
    }
}

@media (max-width: 1200px) {
    .ti__points,
    .ti__links,
    .ti__modes,
    .ti__state-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .ti__split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ti {
        padding: 44px 0 52px;
    }

    .ti__title {
        font-size: 21px;
    }

    .ti__lead {
        font-size: 14.5px;
    }

    .ti__points,
    .ti__links,
    .ti__modes,
    .ti__state-list {
        grid-template-columns: 1fr;
    }

    .ti__panel {
        padding: 22px 18px 24px;
    }

    .ti__spec dt {
        flex: 0 0 76px;
    }
}
