.tool-page { max-width: 1440px; margin: 0 auto; padding: 36px 32px 55px; }
.tool-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.tool-heading .section-kicker { margin-bottom: 7px; }
.tool-heading h1 { margin: 0 0 8px; font-size: clamp(38px, 4vw, 56px); letter-spacing: -.04em; }
.tool-heading p:last-child { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.tool-external { flex: none; padding: 11px 17px; border: 1px solid var(--sea); border-radius: 12px; color: var(--sea); font-size: 14px; font-weight: 900; text-decoration: none; }
.tool-external:hover { background: #e8f5ed; }
.tool-tabs { display: flex; gap: 9px; margin: 0 0 12px; }
.tool-tabs a { padding: 12px 19px; border: 1px solid #bbd6d0; border-radius: 12px 12px 0 0; background: #edf6f1; color: var(--ink); font-weight: 800; text-decoration: none; }
.tool-tabs a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: white; }
.tool-tabs a:hover { text-decoration: underline; }
.tool-frame { display: block; width: 100%; height: max(680px, calc(100dvh - 260px)); border: 1px solid #bbd6d0; border-radius: 0 16px 16px 16px; background: white; box-shadow: 0 15px 36px rgba(6,65,75,.12); }
.tool-note { max-width: 900px; margin: 19px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
@media (max-width: 720px) {
  .tool-page { padding: 28px 14px 44px; }
  .tool-heading { display: block; }
  .tool-heading p:last-child { margin-bottom: 17px; }
  .tool-external { display: inline-flex; }
  .tool-tabs a { flex: 1; padding: 11px 8px; font-size: 13px; text-align: center; }
  .tool-frame { height: max(650px, calc(100dvh - 230px)); }
}
