:root {
    --tool-ink: #071b3a;
    --tool-muted: #536582;
    --tool-blue: #0b57e3;
    --tool-line: #dbe5f2;
    --tool-soft: #f4f8fd;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f5f8fc; color: var(--tool-ink); }
a { color: inherit; text-decoration: none; }
.tool-breadcrumb a:hover { color: var(--tool-blue); }
.tool-detail-page { padding: 132px 0 72px; }
.tool-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: #60708d; font-size: 14px; }
.tool-breadcrumb span[aria-hidden="true"] { color: #9aabc0; }
.tool-content-module, .tool-related-section {
    max-width: 1040px; margin: 0 auto 24px; border: 1px solid var(--tool-line); border-radius: 8px; background: #fff;
    box-shadow: 0 16px 40px rgba(7, 27, 58, .055);
}
.tool-content-module { overflow: hidden; }
.tool-detail-hero { padding: 42px 42px 34px; }
.tool-detail-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.tool-detail-icon { width: 60px; height: 60px; flex: 0 0 60px; display: grid; place-items: center; border: 1px solid #d8e6f7; border-radius: 8px; background: #edf5ff; }
.tool-detail-icon img { width: 42px; height: 42px; display: block; object-fit: contain; border-radius: 5px; }
.tool-kicker { margin: 0 0 6px; color: var(--tool-blue); font-size: 14px; font-weight: 800; }
.tool-detail-hero h1 { margin: 0; font-size: 38px; line-height: 1.2; letter-spacing: 0; overflow-wrap: anywhere; }
.tool-lead { margin: 0; color: #263d5d; font-size: 18px; line-height: 1.8; }
.tool-quick-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
.tool-fact { padding: 14px 0; border-top: 1px solid #e1eaf5; border-bottom: 1px solid #e1eaf5; background: transparent; }
.tool-fact strong { display: block; margin-bottom: 6px; font-size: 13px; }
.tool-fact span { color: var(--tool-muted); font-size: 14px; overflow-wrap: anywhere; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tool-actions a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 7px; font-weight: 800; }
.tool-primary { background: var(--tool-blue); color: #fff; }
.tool-secondary { background: #edf5ff; color: var(--tool-blue); }
.tool-preview { margin: 30px 0 0; }
.tool-preview img { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; object-fit: contain; object-position: center top; border: 1px solid var(--tool-line); border-radius: 8px; background: var(--tool-soft); }
.tool-preview figcaption { margin-top: 10px; color: #6c7d96; font-size: 12px; line-height: 1.6; }
.tool-detail-section { margin: 0 38px; padding: 32px 4px; border-top: 1px solid #e4ebf4; }
.tool-related-section { padding: 34px 38px; }
.tool-detail-section h2, .tool-related-section h2 { margin: 0 0 16px; font-size: 25px; line-height: 1.3; }
.tool-detail-section p { margin: 0 0 16px; color: #314865; font-size: 16px; line-height: 1.8; }
.tool-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tool-info-panel { padding: 4px 24px 4px 0; }
.tool-info-panel + .tool-info-panel { padding-left: 28px; border-left: 1px solid #e0e9f4; }
.tool-info-panel h2 { font-size: 22px; }
.tool-list { margin: 0; padding-left: 21px; color: #314865; }
.tool-list li { margin-bottom: 12px; padding-left: 3px; line-height: 1.7; }
.tool-keywords { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.tool-keyword { padding: 6px 10px; border-radius: 4px; background: #eef5ff; color: #24456e; font-size: 13px; }
.tool-note { margin-top: 16px !important; color: #6b7d96 !important; font-size: 13px !important; }
.tool-faq { border-top: 1px solid #dfe8f3; }
.tool-faq details { border-bottom: 1px solid #dfe8f3; background: transparent; }
.tool-faq summary { padding: 16px 2px; cursor: pointer; color: var(--tool-ink); font-weight: 800; }
.tool-faq details p { margin: 0; padding: 0 2px 18px; }
.tool-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-related-card { position: relative; min-height: 200px; display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 14px; padding: 20px; border: 1px solid #dfe8f3; border-top: 3px solid #5275ff; border-radius: 8px; background: #fff; }
.tool-related-card .list-icon { width: 46px; height: 46px; grid-row: 1; display: grid; place-items: center; border-radius: 8px; background: #edf4ff; }
.tool-related-card .list-icon img { width: 28px; height: 28px; object-fit: contain; }
.tool-related-card h3 { grid-column: 2; margin: 8px 0 10px; font-size: 17px; line-height: 1.35; }
.tool-related-card p { margin: 0 0 16px; color: var(--tool-muted); font-size: 14px; line-height: 1.6; }
.tool-related-card p { grid-column: 1 / -1; }
.tool-related-card a { grid-column: 1 / -1; align-self: end; color: var(--tool-blue); font-size: 13px; font-weight: 800; }
@media (max-width: 767px) {
    .tool-detail-page { padding-top: 104px; }
    .tool-detail-hero, .tool-related-section { padding: 24px; }
    .tool-detail-section { margin: 0 20px; padding: 26px 4px; }
    .tool-detail-hero h1 { font-size: 30px; }
    .tool-lead { font-size: 16px; }
    .tool-quick-facts, .tool-two-column, .tool-related-grid { grid-template-columns: 1fr; }
    .tool-info-panel, .tool-info-panel + .tool-info-panel { padding: 0; border-left: 0; }
    .tool-info-panel + .tool-info-panel { padding-top: 22px; }
}
