/* Shared chrome for all three free tools. Functional panel styles stay local. */
body.shell-page{--tp:#1d4ed8;--ink:#0f172a;--ink-2:#475569;--line:#e2e8f0;background:#f5f7fb!important;color:#0f172a;font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;margin:0}
body.shell-page .tool-col,body.tool-company main{max-width:816px;margin:0 auto;padding:0 28px}
body.shell-page .crumb{font-size:13px;line-height:20px;color:#64748b;padding-top:20px;display:block;margin:0}
body.shell-page .crumb a{color:#1d4ed8;text-decoration:none}
body.shell-page .tool-hero{padding:8px 0 24px}
body.shell-page .tool-hero h1{font-size:28px;line-height:40px;margin:4px 0 10px;letter-spacing:-.015em;font-weight:700;color:#0f172a}
body.shell-page .tool-hero p{margin:0;color:#475569;font-size:14px;line-height:24px;max-width:64ch}
body.shell-page .tool-switch{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 0}
body.shell-page .tool-switch a{display:inline-flex;align-items:center;min-height:36px;height:auto;padding:7px 16px;border:1px solid #e2e8f0;border-radius:999px;font-size:13px;line-height:20px;color:#475569;background:#fff;text-decoration:none;font-weight:500;white-space:nowrap}
body.shell-page .tool-switch a:hover{border-color:#1d4ed8;color:#1d4ed8}
body.shell-page .tool-switch a[aria-current=page]{background:#1d4ed8;border-color:#1d4ed8;color:#fff;font-weight:600}
body.shell-page .tool-stage{padding:0 28px 48px}
body.tool-company .workspace{border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #0f172a0a,0 12px 32px -16px #0f172a1f}
body.tool-company main{padding-bottom:40px}
body.shell-page .site-ft{margin-top:0}
body.shell-page button:focus-visible,body.shell-page a:focus-visible{outline:3px solid #93b4ff;outline-offset:3px}
@media(max-width:760px){body.shell-page .tool-col,body.tool-company main{padding-left:20px;padding-right:20px}body.shell-page .tool-hero h1{font-size:22px;line-height:32px}body.shell-page .tool-hero p{font-size:13.5px;line-height:22px}body.shell-page .tool-stage{padding:0 20px 36px}body.shell-page .tool-switch{gap:7px;margin-top:16px}body.shell-page .tool-switch a{padding:7px 12px;font-size:12px}body.tool-company .workspace{padding:20px 16px}}
body.shell-page header.hd .hd-in{gap:20px}
[data-free-tools-menu]{flex-shrink:0}
.free-tools-menu{position:relative;color:#1d4ed8;font-size:14px}
.free-tools-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #d8e4f7;border-radius:10px;background:#f8faff;font-weight:600;white-space:nowrap}
.free-tools-menu summary::-webkit-details-marker{display:none}
.free-tools-menu summary:after{content:'⌄';font-size:15px}
.free-tools-menu[open] summary{background:#edf3ff}
.free-tools-dropdown{position:absolute;top:calc(100% + 10px);right:0;width:280px;padding:8px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 16px 40px #14274620;z-index:120}
.free-tools-dropdown a{display:block;padding:12px 14px;border-radius:8px;font-size:14px;line-height:22px;color:#1e293b;text-decoration:none;font-weight:600}
.free-tools-dropdown a span{display:block;color:#7b889b;font-size:12px;font-weight:400;line-height:20px}
.free-tools-dropdown a:hover,.free-tools-dropdown a[aria-current=page]{background:#eef4ff;color:#1d4ed8}
.free-tools-dropdown a:last-child{border-top:1px solid #edf1f7;border-radius:0;margin-top:4px;font-size:12px;color:#1d4ed8}
.free-tools-menu summary:focus-visible{outline:3px solid #93b4ff;outline-offset:3px}
@media(max-width:900px){body.shell-page header.hd .hd-in{gap:12px}body.shell-page [data-free-tools-menu]{margin-left:auto}body.shell-page header.hd .hd-burger{margin-left:0}.free-tools-menu summary{font-size:13px;padding:9px 12px}.free-tools-dropdown{right:-52px;width:min(300px,calc(100vw - 40px))}}

/* 工具目录页（/tools/）卡片布局 —— 2026-12-05 */
.tool-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin:24px 0 32px}
.tool-card{background:#fff;border:1px solid #e3e6eb;border-radius:10px;padding:22px 24px;display:flex;flex-direction:column}
.tool-card h2{font-size:17px;margin:0 0 10px;line-height:1.4}
.tool-card h2 a{color:#111;text-decoration:none}
.tool-card h2 a:hover{color:#174dbd}
.tool-card p{margin:0 0 14px;color:#4b5563;font-size:14.5px;line-height:1.7;flex:1}
.tool-card a.more{color:#174dbd;text-decoration:none;font-size:14px;font-weight:500}
.tool-card a.more:hover{text-decoration:underline}
@media(max-width:560px){.tool-grid{grid-template-columns:1fr}}
