/* 爱查询 CMS — 工具工作区样式
   页面首区块（面包屑 / 80×80 图标 / 标题描述）已统一到 style.css，全站共用 */

.tool-stage { padding: 24px 26px; }
.result-list { list-style: none; margin: 0; padding: 0; }
.result-list li { padding: 8px 0; border-bottom: 1px dashed #eef2f7; }
.result-list li:last-child { border-bottom: 0; }

/* ===== 工具片段通用 UI ===== */
.tool-form { max-width: 760px; }
.tool-form-row { margin-bottom: 16px; }
.tool-label { display: block; font-size: 13.5px; font-weight: 600; color: #334155; margin-bottom: 7px; }
.tool-input, .tool-select, .tool-textarea {
    width: 100%; padding: 10px 13px; border: 1px solid #e2e8f0; border-radius: 9px;
    font-size: 14px; outline: none; background: #fff; font-family: inherit; color: #1e293b;
}
.tool-textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.tool-input:focus, .tool-select:focus, .tool-textarea:focus { border-color: #a5b4fc; box-shadow: 0 0 0 3px rgba(99, 102, 241, .12); }
.tool-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border: 0; border-radius: 9px;
    background: #4f46e5; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
}
.tool-btn:hover { background: #4338ca; }
.tool-btn-light { background: #f1f5f9; color: #334155; }
.tool-btn-light:hover { background: #e2e8f0; color: #334155; }
.tool-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tool-result { margin-top: 18px; }
.tool-result-box {
    background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: 14px 16px;
    font-size: 14px; color: #1e293b; white-space: pre-wrap; word-break: break-all; line-height: 1.8;
}
.tool-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.tool-row > * { flex: 1; min-width: 160px; }
.tool-item-line { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #eef2f7; }
.tool-item-line:last-child { border-bottom: 0; }
.tool-item-line .k { color: #64748b; }
.tool-item-line .v { color: #1e293b; font-weight: 600; word-break: break-all; }
.tool-tip { font-size: 12.5px; color: #94a3b8; margin-top: 8px; }
.tool-err { color: #b91c1c; font-size: 13.5px; margin-top: 10px; }
.tool-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .tool-grid2 { grid-template-columns: 1fr; } }