.tools-page { overflow-wrap: anywhere; }
.tools-page a { text-decoration: underline; text-underline-offset: .22em; }
.tools-header { background: var(--navy); color: #eef5ff; border-bottom: 1px solid #344156; }
.tools-header-inner { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; }
.tools-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 16px; }
.tools-header a { display: inline-block; padding: 8px 0; }
.tools-header :focus-visible, .tools-page .article-header :focus-visible { outline-color: var(--mint); }
.tools-page .article-header { padding-block: clamp(28px, 6vw, 70px); }
.tools-page h1 { font-size: clamp(2rem, 5.5vw, 4rem); line-height: 1.08; }
.tools-breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 4px 10px; color: #d4e0ef; font-size: .875rem; }
.tools-breadcrumb li + li::before { content: "/"; margin-right: 10px; }
.tools-layout { display: grid; grid-template-columns: minmax(180px, 245px) minmax(0, 720px); gap: clamp(24px, 5vw, 72px); padding-block: clamp(28px, 5vw, 64px); }
.tools-toc { align-self: start; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.tools-toc ol { padding-left: 1.4em; margin-bottom: 0; }
.tools-toc li + li { margin-top: 8px; }
.tools-page .article-body { min-width: 0; }
.tools-page .article-body h2 { scroll-margin-top: 20px; }
.tools-table { overflow-x: auto; margin: 1.5em 0; }
.tools-table table { width: 100%; border-collapse: collapse; font-size: .92em; }
.tools-table th, .tools-table td { min-width: 132px; padding: 8px 10px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.tools-table th { background: #e7f0f7; }
.tools-page pre { overflow: auto; }
.tools-guide-link, .tools-return { font-weight: 700; }
.tools-return { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }

@media (max-width: 760px) {
  .tools-layout { grid-template-columns: minmax(0, 1fr); }
}
