/* ========== 辅助工具 iframe 页（tool.html） ========== */
/* 内页横幅（与工具列表页一致） */
.ml-page-banner {
    background: linear-gradient(135deg, var(--c-primary, #2fa36d), var(--c-primary-dark, #1e7a4f));
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 56px 0;
}

.ml-page-banner h2 {
    color: #fff;
    font-size: 28px;
    margin: 0 0 10px;
}

.ml-page-banner .ml-breadcrumb {
    padding: 0;
}

.ml-page-banner .ml-breadcrumb,
.ml-page-banner .ml-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.ml-tool-breadcrumb {
    margin: 12px 0 0;
}

.ml-tool-page {
    padding: 14px 0 40px;
}

.ml-tool-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.ml-tool-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--c-text, #333);
}

.ml-btn-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 13px;
    color: var(--c-primary, #2fa36d);
    background: #fff;
    border: 1px solid var(--c-primary, #2fa36d);
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.ml-btn-open:hover {
    background: var(--c-primary, #2fa36d);
    color: #fff;
    text-decoration: none;
}

.ml-tool-frame {
    display: block;
    width: 100%;
    min-height: 480px;
    border: 1px solid var(--c-border, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

/* 退化文档详情 */
.ml-doc-detail {
    background: #fff;
    border: 1px solid var(--c-border, #e5e7eb);
    border-radius: 8px;
    padding: 30px 34px;
    margin-bottom: 40px;
}

.ml-doc-title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 600;
    color: var(--c-text, #333);
    border-bottom: 1px solid var(--c-border-light, #f0f0f0);
    padding-bottom: 14px;
}

.ml-doc-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--c-text, #333);
    word-break: break-word;
}
