/* 目录页只负责工具发现，具体表单样式由各工具详情页按需加载。 */
.tools-shell {
    padding-top: 56px;
    padding-bottom: 104px;
}

.tools-shell .page-heading {
    margin-bottom: 38px;
}

.tool-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tool-card {
    position: relative;
    display: grid;
    flex: 1 1 250px;
    min-width: min(100%, 250px);
    min-height: 152px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    transition: border-color 180ms ease, transform 180ms ease;
}

.tool-card:hover {
    border-color: var(--forest);
    transform: translateY(-2px);
}

.tool-card strong {
    align-self: end;
    padding-right: 28px;
    font-size: 21px;
}

.tool-card > span:not(.tool-status, .card-arrow) {
    color: var(--muted);
    font-size: 14px;
}

.tool-status {
    width: fit-content;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 850;
}

@media (max-width: 640px) {
    .tools-shell {
        padding-top: 48px;
        padding-bottom: 88px;
    }

    .tools-shell .page-heading {
        margin-bottom: 30px;
    }

    .tool-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tool-card {
        min-width: 0;
    }
}
