@import url("tool-page.css?v=1.0.0");
@import url("components/recent-use.css?v=1.0.0");
@import url("components/tool-footer-nav.css?v=1.0.1");
@import url("components/cron-tool-info.css?v=1.0.0");

.tool-info {
    padding-top: .4rem
}

/* 加粗 + 上下间距；!important 覆盖 tool-compat 对 h3/h4 的重置 */
.my-class .tool-info h3 {
    font-size: 1rem;
    font-weight: 600 !important;
    color: #444;
    margin-top: 1.35rem !important;
    margin-bottom: 0.5rem !important;
    padding: 0;
    line-height: 1.45;
}

.my-class .tool-info h3:first-of-type {
    margin-top: 1rem !important;
}

.my-class .tool-info h4 {
    font-size: .9375rem;
    font-weight: 600 !important;
    color: #555;
    margin-top: 0.85rem !important;
    margin-bottom: 0.35rem !important;
    padding: 0;
    line-height: 1.45;
}

.tool-info h5 {
    font-size: .95rem;
    font-weight: 700;
    padding-top: .6rem;
    padding-bottom: .6rem;
}

.tool-info p {
    font-size: .875rem;
    line-height: 1.8;
    padding-bottom: .25rem;
    color: #666
}

.tool-info pre {
    display: block;
    overflow-x: auto;
    padding: .8rem;
    margin-bottom: .25rem;
    background: #f6f6f6;
    -webkit-text-size-adjust: none;
    border-radius: 4px;
    font-size: 12px;
    font-family: var(--font-mono);
    text-align: left;
    line-height: 1.42857143;
    word-break: break-all;
    word-wrap: break-word;
    color: #555
}

.tool-info code {
    padding: .2rem .4rem;
    margin: 0;
    font-size: 85%;
    white-space: break-spaces;
    background-color: #f6f6f6;
    border-radius: 6px;
    font-family: var(--font-mono);
}

.tool-info ul,
.tool-info .tool-feature-list,
.tool-info .rp-feature-list {
    margin: 0;
    padding: .65rem 1rem .65rem 1.1rem;
    list-style: none;
    background: #f5f8fc;
    border: 1px solid #e3eaf2;
    border-left: 1px solid #3280f8;
    border-radius: 0 6px 6px 0;
    overflow: visible;
}

.tool-info ul li,
.tool-info .tool-feature-list li,
.tool-info .rp-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin: 0;
    padding: .3rem 0;
    font-size: .8125rem;
    line-height: 1.65;
    color: #555;
    list-style: none;
    word-break: break-word;
}

.tool-info ul li::before,
.tool-info .tool-feature-list li::before,
.tool-info .rp-feature-list li::before {
    content: "";
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    margin-top: 0.55em;
    border-radius: 50%;
    background: #3280f8;
}

@media screen and (max-width: 640px) {
    .my-class .tool-info h4 {
        margin-top: 0.85rem !important;
        font-size: .875rem;
    }

    .tool-info ul,
    .tool-info .tool-feature-list,
    .tool-info .rp-feature-list {
        padding: .55rem .75rem .55rem .9rem;
        border-radius: 6px;
    }

    .tool-info ul li,
    .tool-info .tool-feature-list li,
    .tool-info .rp-feature-list li {
        font-size: .8rem;
        line-height: 1.6;
        padding: .35rem 0;
    }
}


.tool-info ol {
    margin: 8px 0;
    padding-left: 20px;
}

.tool-info ol li {
    list-style-type: decimal;
    margin-bottom: 5px;
    color: #666;
    font-size: .82rem;
}

ol.decimal       { list-style-type: decimal; }      /* 1,2,3 */
ol.decimal-zero  { list-style-type: decimal-leading-zero; } /* 01,02 */
ol.lower-alpha   { list-style-type: lower-alpha; }  /* a,b,c */
ol.upper-alpha   { list-style-type: upper-alpha; }  /* A,B,C */
ol.lower-roman   { list-style-type: lower-roman; }  /* i,ii */
ol.upper-roman   { list-style-type: upper-roman; }  /* I,II */

/* 工具说明区正文链接：站点蓝色（与教程页一致），覆盖 tool-compat 全局 a:hover 绿色 */
.my-class .tool-info a,
.my-class .tool-info a:visited {
    color: #5296d6;
    text-decoration: none;
}

.my-class .tool-info a:hover,
.my-class .tool-info a:focus,
.my-class .tool-info a:active {
    color: #5296d6;
    text-decoration: none;
}
