/* ===== 脉动广告网 · 工具箱样式（与 mylead2026 主题变量一致） ===== */
.tools-hero{background:linear-gradient(135deg,#0f2d5c 0%,#1e5aa8 62%,#2f74c0 100%);color:#fff;border-radius:10px;padding:32px 36px;margin-bottom:22px;box-shadow:0 4px 18px rgba(15,45,92,.16)}
.tools-hero h1{font-size:28px;line-height:1.35;margin:10px 0 12px;color:#fff}
.tools-hero p{color:#d7e6f8;font-size:15px;line-height:1.8;max-width:760px}
.th-tag{display:inline-block;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);color:#eaf3ff;font-size:12px;padding:3px 12px;border-radius:20px;letter-spacing:.5px}
.th-meta{display:flex;gap:22px;margin-top:16px;font-size:12.5px;color:#bcd6f2;flex-wrap:wrap}
.th-meta span{display:flex;align-items:center;gap:6px}
.th-meta span:before{content:"";width:5px;height:5px;border-radius:50%;background:#7dd3fc}

/* 工具卡片 */
.tool-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin-bottom:26px}
.tool-card{display:flex;gap:14px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;transition:transform .15s,box-shadow .15s,border-color .15s;box-shadow:0 1px 8px rgba(15,45,92,.05)}
.tool-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(15,45,92,.13);border-color:#bcd4ee}
.tc-icon{width:44px;height:44px;flex-shrink:0;border-radius:9px;background:linear-gradient(135deg,#1e5aa8,#e0a83b);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:bold}
.tc-body{min-width:0;display:flex;flex-direction:column;gap:5px}
.tc-body strong{font-size:15.5px;color:var(--navy);line-height:1.4}
.tc-body em{font-style:normal;font-size:12.5px;color:var(--muted);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tc-tag{align-self:flex-start;background:#eef5ff;color:#1e5aa8;font-size:11.5px;padding:2px 9px;border-radius:3px;margin-top:2px}

/* 工具页头 */
.tool-head{margin-bottom:18px}
.th-badge{display:inline-block;background:var(--navy2);color:#fff;font-size:12px;padding:3px 12px;border-radius:3px;margin-bottom:10px}
.tool-head h1{font-size:27px;color:var(--navy);line-height:1.4;margin-bottom:10px}
.tool-lede{color:#4a5d70;font-size:15px;line-height:1.8;max-width:820px}

/* 计算器面板 */
.tool{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px 26px;margin-bottom:22px;box-shadow:0 2px 12px rgba(15,45,92,.07)}
.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px}
.fld{display:flex;flex-direction:column;gap:6px;min-width:0}
.fld>span{font-size:13px;color:#3d5166;font-weight:600;line-height:1.4}
.fld input,.fld select{width:100%;border:1px solid #cfdcec;border-radius:6px;padding:9px 11px;font-size:14px;background:#fff;color:#243244;font-family:inherit;line-height:1.5}
.fld input:focus,.fld select:focus{outline:0;border-color:var(--navy2);box-shadow:0 0 0 3px rgba(18,87,168,.13)}
.fld em{font-style:normal;font-size:11.5px;color:#8fa0b1;line-height:1.5}
.tool-actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}
.btn-run{background:var(--navy2);color:#fff;border:0;border-radius:6px;padding:11px 28px;font-size:15px;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s}
.btn-run:hover{background:var(--navy)}
.btn-reset{background:#eef5ff;color:#1e5aa8;border:1px solid #cfe0f5;border-radius:6px;padding:11px 20px;font-size:14px;cursor:pointer;font-family:inherit}
.btn-reset:hover{background:#e0edfd}
.tool-out{margin-top:22px}

/* KPI */
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.kpi{background:#f7fafe;border:1px solid var(--line);border-radius:8px;padding:14px 16px}
.kpi b{display:block;font-size:23px;color:var(--navy);line-height:1.2;font-variant-numeric:tabular-nums;word-break:break-all}
.kpi span{display:block;margin-top:5px;font-size:12px;color:var(--muted);line-height:1.4}
.kpi.hi{background:#fff5f5;border-color:#fbd0d0}
.kpi.hi b{color:#c8102e}

/* 结论条 */
.verdict{margin-top:16px;padding:13px 17px;border-radius:8px;font-size:14px;line-height:1.75}
.verdict.ok{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}
.verdict.bad{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.verdict.info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}
.verdict strong{font-weight:700}

/* 结果表 */
.tbl2{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:16px}
.tbl2 table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:430px}
.tbl2 th,.tbl2 td{border:1px solid var(--line);padding:9px 12px;text-align:left;line-height:1.55}
.tbl2 th{background:#f4f8fd;color:var(--navy);font-weight:600;white-space:nowrap}
.tbl2 td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.tbl2 tbody tr:nth-child(even){background:#fbfdff}

/* UTM 结果框 */
.res-box{background:#f4f8fd;border:1px solid #cfe0f5;border-radius:8px;padding:16px 18px;margin-bottom:6px}
.res-label{font-size:12.5px;color:#5b7591;margin-bottom:8px}
.res-url{font-family:Consolas,Monaco,"Courier New",monospace;font-size:13px;line-height:1.7;color:#0f2d5c;word-break:break-all;background:#fff;border:1px dashed #bcd4ee;border-radius:6px;padding:11px 13px}
.btn-copy{margin-top:11px;background:var(--navy2);color:#fff;border:0;border-radius:5px;padding:8px 20px;font-size:13.5px;cursor:pointer;font-family:inherit}
.btn-copy:hover{background:var(--navy)}

/* 尺寸速查 */
.size-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px;margin-top:4px}
.size-card{display:flex;gap:13px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px}
.size-card.hot{border-color:#bfd8f5;background:#fbfdff}
.size-box{width:74px;height:58px;flex-shrink:0;border-radius:6px;background:linear-gradient(135deg,#e8f1fd,#d6e6fa);border:1px solid #c7ddf5;display:flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:700;color:#1e5aa8;font-variant-numeric:tabular-nums;text-align:center;padding:2px;line-height:1.2}
.size-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.size-info strong{font-size:14px;color:var(--navy);line-height:1.35}
.size-tag{font-size:11px;color:#0e7490;background:#ecfeff;border:1px solid #a5f3fc;border-radius:3px;padding:1px 7px;align-self:flex-start}
.size-info p{font-size:12.5px;color:#5b6b7b;line-height:1.5;margin:2px 0 0}
.size-info em{font-style:normal;font-size:11.5px;color:#93a3b3;line-height:1.5}
.size-count{margin-top:14px;font-size:12.5px;color:var(--muted)}

/* 文章区 */
.tool-article{margin-bottom:22px}
.tool-article .entry h2:first-child{margin-top:6px}

/* FAQ */
.faq-box{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px 26px;margin-bottom:22px;box-shadow:0 1px 10px rgba(15,45,92,.05)}
.faq-title{font-size:20px;color:var(--navy);padding-left:11px;border-left:4px solid var(--red);margin-bottom:16px;line-height:1.2}
.faq-item{border-bottom:1px solid var(--line);padding:12px 0}
.faq-item:last-child{border-bottom:0}
.faq-item summary{cursor:pointer;font-size:15px;font-weight:600;color:#2b3742;list-style:none;position:relative;padding-left:22px;line-height:1.6}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:before{content:"+";position:absolute;left:0;top:0;color:var(--navy2);font-weight:700}
.faq-item[open] summary:before{content:"−"}
.faq-item[open] summary{color:var(--navy2)}
.faq-a{padding:9px 0 2px 22px;font-size:14px;line-height:1.85;color:#42566b}
.faq-a strong{color:var(--red)}

/* 其他工具 / 相关阅读 */
.other-tools,.rel-read{margin-bottom:24px}
.rel-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.rel-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px 16px;transition:border-color .15s}
.rel-card:hover{border-color:var(--navy2)}
.rel-card strong{display:block;font-size:14.5px;color:#243244;line-height:1.45;margin-bottom:5px}
.rel-card em{font-style:normal;font-size:12.5px;color:var(--muted);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* 文章末尾工具条 */
.tool-cta{margin:26px 0 0;background:linear-gradient(135deg,#f4f8fd,#eef5ff);border:1px solid #cfe0f5;border-radius:10px;padding:18px 20px}
.tool-cta .tc-title{font-size:15px;color:var(--navy);font-weight:700;margin-bottom:4px}
.tool-cta p{font-size:13px;color:#5b7591;margin-bottom:12px;line-height:1.7}
.tool-cta .tc-links{display:flex;flex-wrap:wrap;gap:9px}
.tool-cta .tc-links a{background:#fff;border:1px solid #cfe0f5;color:#1e5aa8;font-size:13px;padding:6px 13px;border-radius:20px;text-decoration:none}
.tool-cta .tc-links a:hover{background:var(--navy2);color:#fff;border-color:var(--navy2)}

@media (max-width:900px){
  .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .tools-hero{padding:24px 20px}
  .tools-hero h1{font-size:22px}
  .tools-hero p{font-size:14px}
  .tool-cards{grid-template-columns:1fr}
  .tool{padding:18px 16px}
  .tool-grid{grid-template-columns:1fr;gap:13px}
  .tool-head h1{font-size:21px}
  .kpi b{font-size:20px}
  .faq-box{padding:18px 16px}
  .rel-grid{grid-template-columns:1fr}
  .size-grid{grid-template-columns:1fr}
  .btn-run,.btn-reset{flex:1;min-width:120px}
}

/* ===== 工具箱专用补充（gdftu 2026-12） ===== */
.tool-note{margin:12px 0 24px;font-size:12.5px;color:#7d8b99;line-height:1.7;background:#f7f9fc;border:1px dashed #d8e2ee;border-radius:6px;padding:10px 14px}
.home-tools{margin:6px 0 26px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 22px;box-shadow:0 1px 10px rgba(15,45,92,.05)}
.home-tools-desc{font-size:13.5px;color:#5b7591;line-height:1.75;margin:-4px 0 14px;max-width:860px}
.home-tools .tool-cards{margin-bottom:0;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.home-tools .tool-card{padding:14px;background:#fbfdff}
.home-tools .tc-icon{width:38px;height:38px;font-size:17px}
.home-tools .tc-body strong{font-size:14.5px}
.home-tools .tc-body em{font-size:12px}
.mini-tools{list-style:none;margin:0;padding:0}
.mini-tools li{border-bottom:1px dashed #e7ecf2;padding:8px 0;font-size:13.5px}
.mini-tools li:last-child{border-bottom:0}
.mini-tools a{color:#2b3742}
.mini-tools a:hover{color:var(--navy2)}
@media(max-width:640px){.home-tools{padding:16px 14px}.home-tools .tool-cards{grid-template-columns:1fr}}
